@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');


:root {
    --accent : #35c6f0;
    --accent-light: #ebf8fc;
    /* Set the base font size for Large Desktop as the default */
    --base-font-size: 18px; 
    --text-color: #303030;
    --dark-text: black;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Instrument Sans", sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.5;
}

.container {
    /* DEFAULT STYLES FOR LARGE DESKTOP (1200px and up) */
    width: 100%;
    max-width: 1400px; /* Or 1140px, 1400px, etc. */
    padding: 0 24px;
    margin: 0 auto;
    /* Default: Multi-column layout, large graphics, full navigation */
}

a {
    text-decoration: none;
    color: var(--dark-text);
}

/* ------------------ NAVBAR STRUCTURE ------------------ */

/* ------------------ NAVBAR STRUCTURE ------------------ */

.navbar .container{
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 10px;
    position: relative; /* For mobile menu positioning */
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo {
    max-width: 150px;
}
.logo img {
    width: 100%;
}

/* MOBILE STYLES - Hide desktop nav links by default */
.nav-links {
    display: none; /* Hide nav links on mobile */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: aqua;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile menu when open */
.nav-links.nav-open {
    display: block;
}

.nav-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-direction: column;
    text-align: center;
}

.nav-links ul li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-links ul li:last-child {
    border-bottom: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed);
    display: block;
    padding: 15px 20px;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--accent-color);
    background: rgba(255,255,255,0.1);
}

.nav-links ul li a:hover {
    color: var(--text-color);
}

.contact-btn {
    background-color: var(--accent);
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-block;
    overflow: hidden;
}

.text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 40px;
}

.text-top, .text-bottom {
    color: white;
    font-weight: 400;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 40px;
    height: 20px;
}
.text-bottom {
    transform: translateY(50px);
    transition: all ease-in 0.3s;
    visibility: hidden;
}

.text-top {
    transition: all ease-in 0.3s;
}
.contact-btn:hover .text-bottom{
    transform: translateY(-20px);
    visibility: visible;
}
.contact-btn:hover .text-top {
    transform: translateY(-50px);
    visibility: hidden;
}

.nav-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
    position: relative;
    z-index: 1001;
}
.menu-toggle:focus {
    background-color: var(--accent);
    outline: none;
}

/* Hamburger Icon Styles */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ------------------ MEDIA QUERIES (Desktop-First Layout) ------------------ */

/* Tablet (Landscape) / Desktop Breakpoint */
@media (min-width: 768px) {
    
    .navbar .container {
        padding: 0 40px;
    }

    /* Desktop Links - Show links and hide the hamburger menu */
    .menu-toggle {
        display: none; 
    }

    .nav-links {
        display: block;
        position: static;
        width: auto;
        background: transparent;
        box-shadow: none;
    }

    .nav-links ul {
        list-style: none;
        display: flex;
        gap: 20px;
        flex-direction: row;
    }

    .nav-links ul li {
        border-bottom: none;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 500;
        transition: color var(--transition-speed);
        display: block;
        padding: 5px 10px;
    }

    .nav-links a:hover {
        color: var(--accent-color);
        background: transparent;
    }
    
    .contact-btn {
        padding: 5px 10px;
    }
}

/* Optional: Add a larger desktop breakpoint for better scaling */
@media (min-width: 1024px) {
    .navbar .container {
        padding: 50px 10px;
    }
    
}

/* ------------------ Footer ------------------ */

.footer-wrap{
    max-width:1400px;
    margin:40px auto 0;
    padding:0 32px 10px;
    color:var(--text-color);

    .footer-line{
        border-top:1px solid #e5e5e5;;
        width:100%;
        margin-bottom:40px;
        }

    .footer-grid{
        display:grid;
        grid-template-columns:3fr 1fr 1fr;
        gap:80px;
        align-items:flex-start;
        opacity:1;
        transform:translateY(22px);
        transition:300ms ease;
        will-change:transform,opacity;

        .footer-brand h3{
            color:var(--dark-text);
            font-size:clamp(1.6rem,3.6vw,2.2rem);
            margin:0 0 12px;
            font-weight:600;
            }

        .footer-brand p{
            color:var(--text-color);
            font-size:17px;
            margin:0 0 24px;
            }

        .footer-col h4{
            color: var(--dark-text);
            font-size:20px;
            font-weight:600;
            margin:0 0 20px;
            }

        .footer-col ul{
            list-style:none;
            padding:0;
            margin:0;

            li{
                margin-bottom:12px;
                }
            }
        .footer-col a{
            text-decoration:none;
            color:var(--text-color);
            font-size:18px;
            transition:150ms;

            &:hover {
                color:var(--dark-text);
                }
            }

        .footer-col .footer-social-icon{
            width:20px;
            margin-right:10px;
            transform:translateY(2px);
            }
        }

    .footer-bottom{
        text-align:center;
        margin-top:60px;
        color:var(--dark-text);
        font-size:15px;
        }
    }


.footer-grid.reveal{
        opacity:1;
        transform:translateY(0);
    }

@media(max-width:860px){

    .footer-wrap {
        .footer-grid{
            grid-template-columns:2fr 1fr;
            gap:32px;
        }
    }
  
}

@media(max-width:560px){

    .footer-wrap {
        .footer-grid{
            grid-template-columns:1fr;
            gap:32px;
        }
    }
  
}


/* ------------------ Footer ------------------ */


/* --------------------- UI Button Components ------------*/

.btn-ui {
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
    overflow: hidden;

    .text-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 40px;


        .text-top, .text-bottom {
            font-weight: 500;
            text-align: center;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            line-height: 40px;
            height: 20px;
            font-size: 16px;
        }

        .text-bottom {
            transform: translateY(50px);
            transition: all ease-in 0.3s;
            visibility: hidden;
            }

        .text-top {
            transition: all ease-in 0.3s;
            }
    }

    &:hover .text-bottom{
            transform: translateY(-20px);
            visibility: visible;
            }

    &:hover .text-top {
            transform: translateY(-50px);
            visibility: hidden;
            }
}


/* --------------------- UI Button Components ------------*/


/* --------------------- UI CTA Components ------------*/

.cta-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--accent);
  border-radius: 60px;
  color: var(--dark-text);
  text-align: center;
  padding: 90px 30px;
  max-width: 1200px;
  margin: 50px auto;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;

    h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 40px;
    color: white;
    }

    em {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: italic;
    }
}

@media (max-width: 1200px) {
    .cta-section {
        padding: 90px 20px;
        border-radius: 40px;
        margin: 0 20px;

        h2 {
            font-size: clamp(1.8rem, 6vw, 2.4rem);
        }
    }
}



/* --------------------- UI CTA Components ------------*/


/* --------------------- UI Universal Heading Components ------------*/


#universal-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 1rem;
    overflow: hidden;

    .header {

        .kicker {
            display: inline-block;
            padding: 8px 18px;
            border-radius: 999px;
            background: #fafafa;
            font-size: 13px;
            color: var(--text-color);
            border: 1px solid rgba(0,0,0,0.03);
            margin-bottom: 6px;
            opacity: 0;
            transform: translateY(18px);
            transition: all .8s ease-in-out 0.2s;
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 3.8rem);
            margin: 1rem 0 0.5rem;
            margin-bottom: 0;
            font-weight: 500;
            letter-spacing: -0.035em;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.2s;
            }

        h2 {
            max-width: 700px;
            text-align: center;
            font-size: clamp(2rem, 5vw, 3.3rem);
            font-weight: 500;
            margin-bottom: 1rem;
            margin-top: 1.5rem;
            line-height: 60px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.4s;
            }

        p {
            max-width: 500px;
            margin: 1.5rem auto 2rem;
            font-size: 1.1rem;
            color: var(--text-color);
            line-height: 1.6;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease 0.6s;
        }
    }
}


/* --------------------- UI Universal Heading Components ------------*/


/* --------------------- UI Universal Hero Components ------------*/

#universal-hero {
    .hero-image {
        width: 100%;
        max-width: 1100px;
        margin: 1rem auto;
        height: 670px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease 0.8s;
        
        img {
            width: 100%;
            height: 670px;
            object-fit: cover;
            object-position: center;
            border-radius: 20px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
    }
}


/* --------------------- UI Universal Hero Components ------------*/


/* --------------------- UI Universal Top Review Star Pill Components ------------*/

.star-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;

    /* Rating badge */
    .rating-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--accent-light);
        color: var(--accent);
        border-radius: 999px;
        padding: 0.3rem 1rem 0.3rem 0.3rem;
        font-weight: 500;
        font-size: 0.95rem;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s ease;

        .inside-box {
            background-color: var(--accent);
            padding: 0.5rem 0.5rem;
            border-radius: inherit;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                width: 15px;
                height: 15px;
            }
        }
    }
}

/* --------------------- UI Universal Top Review Star Pill Components ------------*/