html {
    overflow-y: scroll;
}
    * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: #0f0f0f;
    color: white;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    padding: 20px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);

    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 28px;
    font-weight: 700;
    white-space: nowrap;
}

.logo span {
    font-family: 'Great Vibes', cursive;
    font-size: 56px;
    font-weight: 400;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
    margin-left: auto;
}


.logo {
    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 28px;
    font-weight: 700;
}

.logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;

    font-size: 20px;
    font-weight: 500;
}

.nav-links a:hover {
    opacity: 0.7;
}

.hero-grid {
    height: 100vh;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    position: relative;
}

/* LEVÁ VELKÁ FOTKA */
.hero-left {
    background: url('../images/velka1.jpeg');
    background-size: cover;
    background-position: center;
}

/* PRAVÁ STRANA */
.hero-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
}

/* HORNÍ PRAVÁ */
.hero-right .top {
    background: url('../images/nahore.jpeg');
    background-size: cover;
    background-position: center;
}

/* DOLNÍ DVA BLOKY */
.bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bottom-left {
    background: url('../images/leva\ dole.jpeg');
    background-size: cover;
    background-position: center 25%;
}

.bottom-right {
    background: url('../images/mustang2.jpeg');
    background-size: cover;
    background-position: center 25%;
}

/* TEXT UPROSTŘED */
.hero-text {
    position: absolute;
    top: 25%;
    left: 48%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-text h1 {
    font-size: 45px;
    font-weight: 600;
    letter-spacing: 1.15px;

    text-shadow:
        0 2px 10px rgba(0,0,0,1),
        0 8px 30px rgba(0,0,0,0.9);

    max-width: 700px;
    margin: 0 auto;
}

.hero-text p {
    opacity: 0.8;
    font-size: 24px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    
    text-shadow:
        0 2px 10px rgba(0,0,0,1),
        0 8px 30px rgba(0,0,0,0.9);
}/* GALERIE */

.gallery {
    columns: 6;
    column-gap: 15px;

    padding: 140px 40px 40px;
}

.gallery a {
    display: block;
    break-inside: avoid;
}

.gallery img {
    width: 100%;
    margin-bottom: 15px;

    border-radius: 12px;

    cursor: pointer;
    transition: 0.5s;
    break-inside: avoid;
}

.gallery img:hover {
    opacity: 0.85;
    transform: scale(1.01);
}

/* LIGHTBOX */

.lightbox {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.95);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 99999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;

    border-radius: 10px;
}
/* O MNĚ */

.about-section {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 80px;

    padding: 140px 80px;

    max-width: 1400px;
    margin: auto;
}

.about-image img {
    width: 450px;
    border-radius: 20px;
}

.about-text {
    max-width: 700px;
}

.about-text h1 {
    font-size: 65px;
    margin-bottom: 65px;
}

.about-text p {
    margin-bottom: 24px;

    line-height: 1.8;

    opacity: 0.85;

    font-size: 22px;
}/* KONTAKT + CENÍK */

.contact-section {
    min-height: 100vh;
    padding: 150px 80px 80px;
    max-width: 1300px;
    margin: auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 55px;
    margin-bottom: 15px;
}

.contact-header p {
    opacity: 0.85;
    font-size: 32px;
    line-height: 1.5;
}

.contact-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.contact-box a {
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);

    padding: 18px 34px;

    border-radius: 999px;

    transition: 0.3s;

    font-size: 24px;
    font-weight: 500;
}

.contact-box a:hover {
    background: white;
    color: #0f0f0f;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.price-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 35px 28px;
}

.price-card h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
}

.price-card span {
    display: block;
    opacity: 0.75;
    margin-bottom: 18px;
    line-height: 1.5;
}
/* MOBILNÍ VERZE */

@media (max-width: 768px) {

.navbar {
    padding: 14px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    font-size: 18px;
    line-height: 1.1;
    max-width: none;
}

.logo span {
    font-size: 30px;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.3;
}

.logo img {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    gap: 14px;

    margin: 0;
    padding: 0;
}

.nav-links a {
    font-size: 16px;
    white-space: nowrap;
}

.hero-grid {
    margin-top: 0px;
    height: 90vh;
    grid-template-columns: 1fr;
    grid-template-rows: 45% 55%;
}

    .hero-left {
        grid-row: 1;
        background-position: center;
    }

.hero-right {
    grid-row: 2;
    grid-template-rows: 1.1fr 1fr;
}

/* na mobilu schováme levou spodní fotku */
.bottom-left {
    display: none;
}

/* pravá spodní fotka bude přes celou šířku */
.bottom {
    grid-template-columns: 1fr;
}

.bottom-right {
    display: block;
    background-size: cover;
    background-position: center 70%;
}

    .hero-text {
        width: 90%;
        top: 46%;
    }

    .hero-text h1 {
        display: none;
        
    }

    .hero-text p {
        font-size: 13px;
        letter-spacing: 3px;
        line-height: 1.3;
        margin-top: 4px;
        font-weight: 700;

        text-shadow:
        0 2px 6px rgba(0,0,0,1),
        0 6px 18px rgba(0,0,0,1);

}

}

@media (max-width: 768px) {

    .about-section {
        min-height: auto;
        display: flex;
        flex-direction: column;
        gap: 28px;

        padding: 110px 22px 50px;
    }

    .about-image img {
        width: 100%;
        max-width: 300px;
        border-radius: 18px;
        display: block;
        margin: 0 auto;
    }

    .about-text {
        max-width: 100%;
        text-align: left;
    }

    .about-text h1 {
        font-size: 42px;
        line-height: 1;
        margin-bottom: 24px;
    }

    .about-text p {
        font-size: 17px;
        line-height: 1.55;
        margin-bottom: 18px;
    }
}

@media (max-width: 768px) {

    .contact-section {
        padding: 130px 24px 60px;
        max-width: 100%;
    }

    .contact-header {
        text-align: center;
        margin-bottom: 35px;
    }

    .contact-header h1 {
        font-size: 46px;
        line-height: 1.05;
    }

    .contact-header p {
        font-size: 17px;
        line-height: 1.5;
    }

    .contact-box {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin-bottom: 45px;
    }

    .contact-box a {
        width: 100%;
        max-width: 300px;
        text-align: center;
        font-size: 16px;
        padding: 14px 18px;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .price-card {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .price-card h2 {
        font-size: 26px;
    }

    .price {
        font-size: 30px;
        line-height: 1.2;
    }

    .price-card span {
        font-size: 17px;
        line-height: 1.6;
    }
}
/* FOOTER */
.footer {
    padding: 30px 20px;
    text-align: center;
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer a,
.footer a:visited {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.footer a:hover {
    color: white;
}

/* TERMS */

.terms-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 180px 30px 80px;
}

.terms-section h1 {
    font-size: 56px;
    margin-bottom: 40px;
}

.terms-section p {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 22px;
}
@media (max-width: 768px) {

    .terms-section {
        padding: 130px 24px 60px;
    }

    .terms-section h1 {
        font-size: 42px;
        line-height: 1.05;
    }

    .terms-section p {
        font-size: 17px;
        line-height: 1.7;
    }
}
