* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
}

a {
    text-decoration: none;
}

:root {
    --font1: "varela";
    --font2: "Droid Sans";
    --black: #000;
    --white: #fff;
}


html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


body {
    background: #111;
}

.container {
    width: 100%;

    margin: auto;
}

/* NAVBAR - Base Styles */
.container {
    width: 90%;
    margin: 0 auto;
}

.navbar {
    position: relative;
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    position: relative;
}

.logo img {
    height: 130px;
    width: auto;
    display: block;
}

/* Desktop Navigation */
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #ccc;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    transition: color 0.3s ease;
}

/* Line animation */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Contact Button */
.btn-contact {
    background: #fff;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 20px;
}

.btn-contact::after {
    background-color: #000;
}

.btn-contact:hover {
    background: #f0f0f0;
}

.btn-contact {
    background: #fff;
    color: #000 !important;
    padding: 6px 14px;
    border-radius: 20px;
}


/* VIDEO SECTION */
.video-section {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}
.video-section iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}


.video-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Makes it fill like background-image */
}




/* ========== HERO ========== */
.hero {
    height: 80vh;
    background-image: url("./img/hero.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
}

.hero h1 {
    font-size: 60px;
    letter-spacing: 5px;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

/* ABOUT */
.about {
    background-image: url('./img/Rectangle\ 126.svg');
    background-repeat: repeat;
    display: flex;
    gap: 50px;
    padding: 80px 0;
    align-items: center;
    position: relative;

}

.abouttop {
    position: absolute;
    top: -59px;
    left: -30%;
    width: 347px;
    height: 59px;
}

.bg-img1 {
    transform: scale(0.5);
    opacity: 35%;
    position: absolute;
    left: -500px;

}

.about-text {
    margin-left: 200px;
    width: 490px;
    height: 355px;
}

.about-text h3 {
    color: #212121;
    font-family: "Droid Sans";
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.about-text p {
    color: #212121;
    text-align: justify;
    font-family: Varela;
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}


.about img {
    width: 100%;
    border-radius: 10px;

}

/* DISCOVER */
.discover {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("./img/bgcDiscover.svg") lightgray 50% center/cover no-repeat;

    display: flex;
    padding: 80px 0;
    height: 135vh;


}
.discover img{
    width: 100%;
}

.discover-content {
    display: flex;
    color: var(--white);
    filter: brightness(100%);
}



.parent {
    display: grid;
    grid-template-columns: repeat(4, 0.5fr);
    grid-template-rows: repeat(3, 0.4fr);
    gap: 4px;
    justify-items: left;
    margin: 0 7vw;
    justify-items: stretch;
}

.div1 {
    grid-column: span 2 / span 2;
    color: #FFF;
    text-align: justify;
    font-family: "Droid Sans";
    font-size: 25px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-align: left;
}

.div2 {
    grid-column: span 2 / span 2;
    grid-column-start: 3;
    margin-bottom: 80px;

    color: #FFF;
    text-align: justify;
    font-family: Varela;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.div4 {
    grid-column: span 2 / span 2;
    grid-row: span 3 / span 3;
    grid-row-start: 2;
}

.div14 {
    grid-column-start: 3;
    grid-row-start: 2;
}

.div15 {
    grid-column-start: 4;
    grid-row-start: 2;
}

.div16 {
    grid-column: span 2 / span 2;
    grid-column-start: 3;
    grid-row-start: 3;
    padding: 20px;
}

.div7 {
    grid-column-start: 4;
    grid-row-start: 4;
}

.discover button {
    font-family: var(--font2);
    margin-top: 15px;
    padding: 15px 30px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 500;
}

.bg-img2 {
    background: linear-gradient(rgba(250, 250, 250, 0.6), rgba(250, 250, 250, 0.6)), url("./img/bgFaGal.svg") lightgray 50% center/cover no-repeat;
    display: grid;

}

/* FACILITY */
.facility {
    color: #000;

    text-align: center;
    height: 50vw;
}

.h2box {
    background-color: #555555;
    color: #FFF;
    text-align: center;
    font-family: var(--font2);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 30vw;
    padding: 15px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.facility-item {
    background: rgba(250, 250, 250, 0);
    margin: 28px;
    padding: 2px;
    border-radius: 10px;
    font-weight: 600;
    font-family: var(--font2);
}

/* GALLERY */
.gallery {

    text-align: center;
    height: 50vw;
}

.gallery h2 {
    font-family: var(--font2);
    color: #212121;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.gallery-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.gallery-item img {
    width: 80%;
    border-radius: 10px;
}

.gallery-item button {
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-family: var(--font2);
    background-color: var(--black);
    color: var(--white);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

/* CTA */
.cta {
    background: linear-gradient(rgba(33, 33, 33, 0.8), rgba(33, 33, 33, 0.8)), url("./img/bgtouch2.jpg") no-repeat;
    background-size: cover;
    display: flex;

    padding: 100px 20px;
    text-align: center;
    height: 40vw;
    align-items: center;
    justify-content: center;
}

.cta-content h2 {
    color: #FFF;
    text-align: center;
    font-family: var(--font1);
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-left: 200px;
    padding-right: 200px;
}

.cta button {
    font-size: 20px;
    font-family: var(--font1);
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    background: #fff;
    cursor: pointer;
}

/* LOCATION */
.location {
    background-color: var(--white);
    font-family: var(--font2);
    padding: 80px 0;
    text-align: center;
    padding: 100px;
}

.location img {
    width: 100%;
    margin: 30px 0;
    border-radius: 15px;
}

.location h2 {
    color: #212121;
    text-align: center;
    font-family: "Droid Sans";
    font-size: 27px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.location button {
    font-size: 20px;
    font-family: var(--font1);
    margin-top: 20px;
    padding: 12px 30px;
    border-radius: 20px;
    border: none;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    color: var(--white);
    justify-content: space-around;
    width: 100%;
}

.footer-content ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.footer-content p {
    text-align: center;
    color: #FFF;
    text-align: justify;
    font-family: var(--font2);
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding-bottom: 5 px;
    padding-top: 10px;

}

.footer-content a:not(.sosial) {
    color: #FFF;
    text-align: justify;
    font-family: Varela;
    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 10px;
}


.footer-content a {
    color: #ccc;
    text-decoration: none;
    font-size: 19px;
    position: relative;
    /* Required for positioning the pseudo-element */
    transition: color 0.3s ease;
    /* Optional: smooth color transition */
}

/* Line animation */
.footer-content a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    /* Adjust distance from text */
    left: 0;
    width: 0;
    height: 2px;
    /* Thickness of the line */
    background-color: #fff;
    /* Color of the line */
    transition: width 0.3s ease;
    /* Smooth width transition */
}

.footer-content a:hover::after {
    width: 100%;
    /* Expands line to full width on hover */
}

.footer-content asd {
    display: inline;
    margin: 20px;
    word-spacing: 20px;
}


/* exterior.html */










@media (min-width: 1440px) {

    .container {
        max-width: 1400px;
    }

    .hero h1 {
        font-size: 72px;
    }

    .about-text p {
        font-size: 26px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .discover {
        padding-left: 6vw;
    }
}


@media (max-width: 1024px) and (min-width: 769px){

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-text {
        margin-left: 0;
        width: 100%;
        height: auto;
    }

    /* ---------- DISCOVER ---------- */
    .discover {
        height: auto;
        padding: 80px 40px;
    }

    .parent {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 20px;
        margin: 0;
    }

    /* Reset manual grid placements */
    .div1,
    .div2,
    .div4,
    .div14,
    .div15,
    .div16,
    .div7 {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .div1 h2 {
        font-size: 32px;
    }

    .div2 {
        margin-bottom: 20px;
    }

    .div4 img,
    .div14 img,
    .div15 img,
    .div16 img {
        width: 100%;
        border-radius: 15px;
    }

    .div7 {
        grid-column: span 2;
        text-align: center;
        margin-top: 20px;
    }

    /* ---------- FACILITY ---------- */
    .facility {
        height: auto;  /* remove 50vw problem */
        padding: 80px 40px;
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .facility-item {
        margin: 0;
    }

    .h2box {
        width: 50%;
        margin: 0 auto 40px auto;
    }

    /* ---------- GALLERY ---------- */
    .gallery {
        height: auto;   /* remove 50vw problem */
        padding: 80px 40px;
    }

    .gallery-grid {
        flex-direction: row;
        gap: 40px;
        justify-content: center;
    }

    .gallery-item img {
        width: 100%;
        max-width: 400px;
    }


    .h2box {
        margin: 0 auto;
        width: 60%;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
    }

    .cta {
        height: auto;
        padding: 80px 20px;
    }

    .cta-content h2 {
        padding: 0 40px;
    }
}


@media (max-width: 768px) {

    /* ========== GLOBAL ========== */
    section {
        padding: 60px 20px !important;
        height: auto !important;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* ========== NAVBAR ========== */
    .navbar {
        height: auto;
        padding: 20px 0;
    }

    /* keep logo and burger on a single row on small screens; menu overlay stays full-screen */
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        width: 100%;
    }

    /* ensure the off-canvas nav remains an overlay under the same breakpoint */
    .nav-menu {
        order: 3;
        /* stays out of flow due to fixed positioning */
        width: 100%;
    }

    .navbar ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .navbar a {
        font-size: 18px;
    }

    .logo img {
        height: 70px;
    }

    /* ========== VIDEO ========== */



    /* ========== HERO ========== */
    .hero {
        height: 533px !important ;
        
        /* Adjust this value to control how much it shrinks */
        background-size: cover;
        background-position: center center;
        /* Move focal point - adjust this */
        width: none;
    }





    /* ========== ABOUT SECTION (STACKED) ========== */
    .about {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        background-size: cover;
    }

    .abouttop,
    .bg-img1 {
        display: none;
        /* remove decorative elements */
    }

    .about-text {
        width: 100%;
        margin: 0;
        height: auto;
    }

    .about-text h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.6;
    }

    .about-image img {
        border-radius: 15px;
    }

    /* ========== DISCOVER (SIMPLIFIED GRID) ========== */
    .discover {
        height: auto;
        padding: 60px 20px;
    }

    .parent {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .div1 h2 {
        font-size: 24px;
        text-align: center;
    }

    .div2 {
        margin: 0;
        text-align: center;
    }

    .div4 img,
    .div14 img,
    .div15 img,
    .div16 img {
        width: 100%;
        border-radius: 15px;
    }

    .div7 {
        text-align: center;
        margin-top: 20px;
    }

    .discover button {
        width: 100%;
        padding: 15px;
    }

    /* ========== FACILITY ========== */
    .facility {
        padding: 60px 20px;
    }

    .h2box {
        width: 100%;
        margin: 0 auto 30px auto;
        font-size: 22px;
        border-radius: 15px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facility-item {
        margin: 0;
        padding: 15px;
    }

    /* ========== GALLERY ========== */
    .gallery {
        padding: 60px 20px;
    }

    .gallery-grid {
        flex-direction: column;
        gap: 25px;
    }

    .gallery-item img {
        width: 100%;
    }

    .gallery-item button {
        width: 48%;
        font-size: 11px;
        padding: 8px;
    }

    /* ========== CTA ========== */
    .cta {
        padding: 80px 20px;
        text-align: center;
    }

    .cta-content h2 {
        padding: 0;
        font-size: 18px;
        line-height: 1.6;
    }

    .cta button {
        width: 48%;
        padding: 8px;
        font-size: 11px;
    }

    /* ========== LOCATION ========== */
    .location {
        padding: 60px 20px;
    }

    .location img {
        width: 100%;
    }

    .location h2 {
        font-size: 18px;
    }

    .location button {
        width: 50%;
        padding: 8px;
        font-size: 11px;
    }

    /* ========== FOOTER ========== */
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .nav.nav-content {
        display: grid;
        grid-template-columns: 1fr, 1fr;
    }

}




/* Burger Menu - Hidden on Desktop */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 0;
    }

    .nav-menu a {
        font-size: 28px;
        color: #fff;
    }

    .btn-contact {
        background: #fff;
        color: #000 !important;
        padding: 10px 30px;
        font-size: 28px;
    }

    /* Burger Menu Animation */
    .burger-menu.active .burger-line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    p{
        font-size: 16px;
    }

    .logo img {
        height: 100px;
    }

    .nav-menu a {
        font-size: 24px;
    }

    .btn-contact {
        font-size: 24px;
        padding: 8px 25px;
    }

    .cta-content h2 {
        font-size: 12px;
    }

        .hero {
        height: 233px !important;
        
        /* Adjust this value to control how much it shrinks */
        background-size: cover;
        background-position: center center;
        /* Move focal point - adjust this */
        width: none;
    }

}