@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,100;0,400;0,500;0,600;0,700;1,400&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --white-color: #fff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;

    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;

    --site-max-width: 1300px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
}

img {
    width: 100%;
    display: block;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

header {
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--primary-color);
}

/* ----------------------------------- Menu ---------------------------------- */

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo .logo-text{
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.navbar .nav-menu {
    display: flex;
    gap: 10px;
}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    font-size: var(--font-size-m);
    color: var(--white-color);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.navbar #menu-close-button,
.navbar #menu-open-button {
    display: none;
}

.logo{
    width: 80px;
    height: 80px;
}

/*-------------------------------- Domovská stránka -------------------------------------- */
.hero-section {
    min-height: 100vh;
    background: var(--primary-color);
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    font-family: "Miniver", sans-serif;
}

.hero-section .hero-details .title2 {
    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    font-family: "Miniver", sans-serif;
}

.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
    max-width: 80%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons {
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-details .button:hover {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    margin-right: 70px;
    width: 2100px;
}


/* ------------------------- SEARCH ---------------------------- */


.search {
    width: max-content;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 30px;
    background: var(--primary-color);
    width: 280px;
    transition: box-shadow 0.25s;
    border-color: rgba(0, 0, 0, 0.2);
    border: 3px solid var(--secondary-color);
}
    
.search:focus-within {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.75);
}
    
.search-input {
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    color: white;
    margin-left: 14px;
    outline: none;
    border: none;
    background: transparent;
    width: 300px;
}
    
.search-input::placeholder,
.search-icon {
    color: white;
}


/*-------------------------------- SEARCH -------------------------------------- */


.search {
    position: relative; /* Aby sa div .vysledky mohol správne poziciovať */
}

.vysledky {
    position: absolute;
    top: 100%; /* Zobrazí sa priamo pod vyhľadávacím barom */
    left: 0;
    width: 100%; /* Šírka rovnaká ako vyhľadávací bar */
    background-color: #3e1c28; /* Farba pozadia podobná tvojej stránke */
    border: 0px solid #ff9e2b; /* Oranžový okraj */
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.vysledok-option {
    padding: 10px;
    color: #fff; /* Biela farba textu */
    cursor: pointer;
    transition: background-color 0.3s;
}

.vysledok-option:hover {
    background-color: #ff9e2b; /* Oranžová pri hover */
    color: #3e1c28; /* Text zmenený na tmavú farbu */
}

/*-------------------------------- PS tutorial -------------------------------------- */

.ps-section {
    min-height: 70vh;
    background: var(--primary-color);
}

.ps-section .section-content {
    display: flex;
    align-items: center;
    min-height: 70vh;
    color: var(--white-color);
    justify-content: space-between;
}

.ps-section .ps-details .title {
    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    font-family: "Miniver", sans-serif;
}

.ps-section .ps-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.ps-section .ps-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m);
}

.ps-section .ps-image-wrapper {
    max-width: 330px;
    margin-right: 100px;
    width: 1500px;
}

/* -------------------------PHOTOSHOP NÁVOD---------------------------- */

.blog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.blog-heading span {
    color: #f33c3c;
}

.blog-heading h3 {
    font-size: 2.4rem;
    color: var(--dark-color);
    font-weight: 600;
}

.blog-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    flex-wrap: wrap;
}

.blog-box {
    width: 350px;
    background-color: var(--white-color);
    border: 1px solid #ececec;
    margin: 20px;
}

.blog-img {
    width: 100%;
    height: auto;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.blog-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.blog-text span {
    color: #f33c3c;
    font-size: 0.9rem;
}

.blog-text .blog-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #272727;
}

.blog-text .blog-title:hover {
    color: #f33c3c;
    transition: all ease 0.3s;
}

.blog-text p {
    color: #9b9b9b;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 20px 0px;
}

.blog-text a {
    color: #0f0f0f;
}

.blog-text a:hover {
    color: #f33c3c;
    transition: all ease 0.3s;
}

.blog-box:hover {
    transform: scale(1.02);
}


/* -------------------------JEDNOTLIVÉ NÁVODY---------------------------- */

.tutorial {
    margin: auto;
    width: 65%;
    padding-top: 50px;
}

.tutorial h2 {
    color: var(--secondary-color);
    padding-bottom: 10px;
    font-size: xx-large;
}

.step1 {
    margin-bottom: 70px;
}

.step2 {
    margin-bottom: 70px;
}

.step3 {
    margin-bottom: 120px;
}

.step5 {
    margin-bottom: 80px;
}

.step5 p {
    padding-bottom: 10px;
    font-size: large;
}

.ps1 {
    padding-right: 15px;
    float: left;
    width: 30%
}

.ps2 {
    padding-left: 15px;
    float: right;
    width: 30%;
}

.ps3 {
    width: 40%;
    float: left;
    padding-right: 15px;
}

.ps4 {
    width: 100%;
}

.ps5 {
    width: 75%;
}

.ps6 {
    width: 50%;
    float: right;
    padding-left: 15px;
}

.ps7 {
    width: 60%;
    float: left;
    padding-right: 15px;
}

.ps8 {
    width: 50%;
}

.ps9 {
    width: 30%;
}

.ps10 {
    width:20%;
    height: 450px;
}

.ps11 {
    width: 40%;
}

.ps12 {
    width: 20%;
}

.ps13 {
    width: 20%;
    float: left;
    padding-right: 15px;
}


.step1 p, .step3 p, .step4 p {
    padding-bottom: 50px;
    font-size: large;
}

.step2 p {
    padding-bottom: 40px;
    font-size: large;
}

.step4 {
    margin-bottom: 200px;
}

.step6 {
    margin-bottom: 350px;
}

.step6 p {
    padding-bottom: 10px;
    font-size: large;
}

.step7 {
    margin-bottom: 60px;
}

.step7 p {
    padding-bottom: 10px;
    font-size: large;
}

hr.rounded {
    border-top: 5px solid var(--secondary-color);
    border-radius: 5px;
}



/* -------------------------SLIDER---------------------------- */

::after, ::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container2 {
    display: grid;
    place-content: left;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    --position: 50%;
}

.image-container2 {
    max-width: 2400px;
    max-height: 120vh;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.image-before {
    position: absolute;
    inset: 0;
    width: var(--position, 50%);
    overflow: hidden;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    width: 100%;
    height: 100%;
}

.slider:focus-visible ~ .slider-button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.slider-line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: white;
    left: calc(var(--position, 50%) - 0.1rem);
    transform: translateX(-50%);
    pointer-events: none;
}

.slider-button {
    position: absolute;
    background-color: white;
    color: var(--secondary-color);
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}



/* ------------------------- Formulár ---------------------------- */

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item {
    width: 100%;
    height: 550px;
    max-width: 820px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Zarovná všetko do stredu vertikálne */
    align-items: center; /* Zarovná všetko do stredu horizontálne */
    padding-top: 10px; /* Mierny odstup odhora */
    text-align: center;
}

.first-text {
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px; /* Odstup medzi textom a obrázkom */
    margin-top: 20px; /* Posun textu na úroveň "Kontaktuj nás" */
}

.image {
    height: auto;
    max-width: 80%; /* Prispôsobenie obrázka veľkosti kontajnera */
    margin: 20px 0; /* Priestor okolo obrázka */
}

.submit-form {
    background: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.third-text {
    color: #fff;
    font-size: 28px;
    position: relative;
    top: 20px;
    left: 10px;
    padding-top: 10px;
    font-weight: 800;
    margin-bottom: 20px;
}

.secnd-text {
    font-weight: bold;
    color: var(--secondary-color);
    padding: 20px; /* Priestor okolo textu */
    text-align: center;
}

form {
    padding: 0 50px;
    height: 100%;
    width: 100%;
    overflow: hidden;;
}

.input-box {
    height: 40px;
    width: 100%;
    margin: 30px 0;
    position: relative;
}

.input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 20px;
    outline: none;
    padding-left: 10px;
    color: #fff;
    font-size: 16px;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 10px;
    padding-left: 10px;
    transform: translateY(-50%);
    font-size: 15px;
    font-weight: 500;
    color:#fff;
    transition: .3s;
}

.input-box .input:focus ~ label,
.input-box .input:valid ~ label {
    top: -1px;
    left: 10px;
    background: var(--secondary-color);
    font-weight: 500;
    font-size: 12px;
    padding: 5px;
}

textarea.input {
    resize: none;
    min-height: 150px;
    overflow: auto;
    padding-top: 10px;
}

.button1 {
    position: relative;
    top: -20px;
    background: white;
    outline: none;
    border: none;
    border-radius: 4px;
    height: 60px;
    width: 30%;
    font-size: 16px;
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 500;
}

.button3 {
    position: relative;
    top: 20px;
    background: white;
    outline: none;
    border: none;
    border-radius: 4px;
    height: 48px;
    width: 30%;
    font-size: 16px;
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 600;
}

.button3:hover {
    transform: scale(1.05);
}

.button1:hover {
    transform: scale(1.05);
}


/* ------------------------- PORTFOLIO ---------------------------- */

.portfolio{
    width: 100%;
    padding: 40px 8%;
    background-color: var(--body-clr);
}

.portfolio .section-head{
    max-width: 700px;
    margin: 0px auto 25px;
    text-align: center;
}

.section-head h1{
    position: relative;
    font-size: 32px;
    margin: 10px 0px 30px;
    color: var(--primary-clr);
}

.button-group{
    text-align: center;
    margin-bottom: 40px;
}

.button-group .button{
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: var(--secondary-color);
    color: var(--primary-clr);
    font-style: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s;
    border-radius: 30px;
    outline: none;
    cursor: pointer;
    border: 3px solid transparent;
}

.button-group .button.active{
    background-color: var(--primary-clr);
    color: var(--body-clr);
    border-color: var(--secondary-color);
}

.button-group .button:hover{
    background-color: var(--primary-clr);
    color: var(--body-clr);
    border-color: var(--secondary-color);
}

div.gallery{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

div.gallery .item1{
    position: relative;
    margin: 4px;
    width: calc(33.3% - 8px);
    overflow: hidden;
    cursor: pointer;
}

.item1 img{
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: 0.3s;
}

div.gallery .item1:hover img{
    transform: scale(1.15);
}

.item1 .overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(5,85,92,0.7);
    color: var(--body-clr);
    padding: 15px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
}

.item1:hover .overlay{
    opacity: 1;
}

.item1 .overlay a{
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid var(--body-clr);
    color: var(--body-clr);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    text-align: center;
}

.item1 .overlay a:hover{
    background-color: var(--body-clr);
    color: white;
}

.item1 {
    border-radius: 20px;
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.2);
}

.gallery .overlay .port {
    color: white;
    font-size: x-large;
    font-weight: 600;
}
  

/* ------------------------- FOOTER ---------------------------- */

footer {
    background-color: #311117;
}

.footerContainer {
    width: 100%;
    padding: 10px 30px 20px;;
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.footerNav ul li a {
    color: white;
    margin: 50px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
    font-family: 'Times New Roman', Times, serif;
}

.footerNav ul li a:hover {
    opacity: 1;
}

.footerBottom {
    background-color: #311117;
    padding-bottom: 30px;
    text-align: center;
}

.footerBottom p {
    color: white;
    font-family: 'Times New Roman', Times, serif;
}

/* ------------------------- RESPONZÍVNY WEB ---------------------------- */

@media screen and (max-width: 945px) {
    :root {
        --font-size-m: 1rem;
        --font-size-l: 1.3rem;
        --font-size-xl: 1.5rem;
        --font-size-xxl: 1.8rem;
    }

    body.show-mobile-menu header::before {
        content: "";
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(5px);
        background: rgba(0, 0, 0, 0.2);
    }

    .search.show-mobile-menu header::before {
        display: none;
    }

    .navbar #menu-close-button,
    .navbar #menu-open-button {
        display: block;
        font-size: var(--font-size-l);
    }

    .navbar #menu-open-button,
    .navbar .search #menu-open-button {
        color: var(--white-color);
    }

    .navbar .nav-menu {
        display: block;
        position: fixed;
        left: -300px;
        top: 0;
        width: 300px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        background: var(--white-color);
        transition: left 0.2s ease;
    }

    .navbar .nav-menu.active {
        display: flex;
    }

    body.show-mobile-menu .navbar .nav-menu {
        left: 0px;
    }

    .navbar .nav-menu .nav-link {
        color: var(--dark-color);
        margin-top: 17px;
        font-size: var(--font-size-l);
        text-align: center;
    }

    .hero-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .hero-section .hero-details :is(.subtitle, .description) {
        max-width: 100%;
    }

    .hero-section .hero-details .buttons {
        justify-content: center;
    }

    .hero-section .hero-image-wrapper {
        max-width: 270px;
        margin-right: 0;
        margin-top: 50px;
    }

    .ps-section .section-content {
        gap: 50px;
        text-align: center;
        padding: 30px 20px 20px;
        flex-direction: column-reverse;
        justify-content: center;
    }

    .ps-section .ps-details :is(.subtitle, .description) {
        max-width: 100%;
    }

    .ps-section .ps-details .buttons {
        justify-content: center;
    }

    .ps-section .ps-image-wrapper {
        max-width: 270px;
        margin-right: 0;
        margin-top: 10%;
    }

    .logo{
        width: 70px;
        height: 70px;
    }

    .navbar .search {
        width: 40%;
    }
}

@media(max-width:500px) {
    .blog-box{
        width: 85%;
    }

    .logo{
        width: 60px;
        height: 60px;
    }

    .hero-section .hero-image-wrapper {
        max-width: 250px;
        width: 1600px;
        margin-top: 10px;
    }
}

@media(max-width:565px) {
    .hero-section .hero-image-wrapper {
        max-width: 250px;
        width: 1600px;
        margin-top: 100px;
    }

    .navbar .search {
        width: 60%;
    }
}

@media(max-width:850px) {
    .item {
        grid-template-columns: 1fr;
        margin-left: 10px;
        margin-right: 10px;
    }
    .contact {
        display: none;
    }
    .text {
        font-size: 40px;
        text-align: center;
    }
    .button1 {
        width: 35%;
        height: 50px;
        font-size: 12px;
    }

    .tutorial {
        margin: auto;
        width: 75%;
        padding-top: 50px;
    }
}

@media(max-width:480px) {
    .item {
        grid-template-columns: 1fr;
    }
    .contact {
        display: none;
    }
    .text {
        font-size: 20px;
        text-align: center;
    }
    .button1 {
        width: 30%;
        height: 50px;
        font-size: 12px;
    }

    .ps-section .ps-image-wrapper {
        max-width: 270px;
        margin-right: 0;
        margin-top: 25%;
    }
}

@media (max-width: 1010px) {
    .footerNav ul {
        flex-direction: column;
    }

    .footerNav ul li {
        width: 100%;
        text-align: center;
        margin: 10px;
        padding-right: 40px;
    }
}

@media (max-width: 500px) {
    .step4, .step6, .step1, .step2, .step3, .step5, .step7{
        margin-bottom: 50px;
    }

    .tutorial {
        margin: auto;
        width: 85%;
        padding-top: 50px;
    }

    .ps1, .ps2, .ps3, .ps4, .ps5, .ps6, .ps7, .ps8, .ps9 {
        width: 100%;
    } 

    .step1 p, .step2 p, .step3 p, .step4 p, .step5 p, .step6 p, .step7 p {
        padding-bottom: 10px;
    }
}

@media (min-width: 1600px) {
    .step4, .step5, .step7{
        margin-bottom: 100px;
    }

    .step6 {
        margin-bottom: 450px;
    }

    .step3, .step2 {
        margin-bottom: 250px;
    }

    .step4 {
        margin-bottom: 350px;
    }

    .step1 {
        margin-bottom: 300px;
    }
}

@media(max-width: 1024px){
    div.gallery .item1{
      width: calc(50% - 8px);
    }
  }
  
  @media(max-width: 600px){
    div.gallery .item1{
      width: 100%;
      margin: 4px 0px;
    }

    .ps-section .ps-image-wrapper {
        max-width: 270px;
        margin-right: 0;
        margin-top: 20%;
    }

}

@media (max-height: 800px) and (min-width: 901px) {
    .hero-section .hero-details .title2 {
        visibility: hidden;
    }
}
