/* =========================================================
   PRECIOUS HAIR PARLOR
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --dark-brown: #3a2922;
    --brown: #5a4034;
    --light-brown: #795b4b;

    --nude: #d8c0aa;
    --light-nude: #eee1d1;

    --cream: #f7f1e6;
    --white: #ffffff;

    --gold: #c7a45c;

    --transition: 0.4s ease;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Poppins", sans-serif;

    background: var(--cream);

    color: var(--dark-brown);

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    display: block;
    max-width: 100%;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    font-family: inherit;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {

    width: 100%;

    background: rgba(247, 241, 230, 0.96);

    border-bottom: 1px solid rgba(90, 64, 52, 0.12);

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);

}


.nav-container {

    width: 90%;

    max-width: 1250px;

    margin: auto;

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


/* LOGO */

.logo {

    font-family: "Cormorant Garamond", serif;

    font-size: 34.4px;

    font-weight: 600;

    color: var(--dark-brown);

    line-height: 0.85;

}


.logo span {

    display: block;

    font-family: "Poppins", sans-serif;

    font-size: 8.8px;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-top: 7px;

    color: var(--light-brown);

}


/* NAVIGATION LINKS */

.nav-menu {

    display: flex;

    align-items: center;

    gap: 32px;

}


.nav-menu a {

    position: relative;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: var(--brown);

    transition: var(--transition);

}


.nav-menu a:hover,
.nav-menu a.active {

    color: var(--gold);

}


.nav-menu a:not(.nav-book)::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition: var(--transition);

}


.nav-menu a:hover::after,
.nav-menu a.active::after {

    width: 100%;

}


/* BOOK BUTTON */

.nav-book {

    padding: 13px 26px;

    border-radius: 99px;

    background: var(--dark-brown);

    color: var(--white) !important;

    transition: var(--transition);

}


.nav-book:hover {

    background: var(--brown);

    transform: translateY(-2px);

}


/* MOBILE MENU BUTTON */

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 26px;

    height: 2px;

    background: var(--dark-brown);

    margin: 5px 0;

    transition: var(--transition);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    width: 90%;

    max-width: 1250px;

    height: 680px;

    margin: 30px auto 0;

    position: relative;

    overflow: hidden;

    background: var(--dark-brown);

    border-radius: 4px;

    isolation: isolate;

}


/* =========================================================
   FULL-WIDTH HERO IMAGE
========================================================= */

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 1.2s ease-in-out,
        visibility 1.2s ease-in-out;

    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}


/* Remove the separate brown/blurred background */

.hero-background {
    display: none;
}


/* =========================================================
   IMAGE FILLS THE ENTIRE HERO
========================================================= */

.hero-slide > img {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    object-fit: cover;

    /*
       This controls which part of your portrait
       photograph stays visible.

       "center center" keeps the hairstyle/person
       around the middle of the hero.
    */
    object-position: center center;

    filter:
        brightness(0.82)
        saturate(0.88);

    transform: scale(1.01);

    transition:
        transform 6s ease,
        filter 1.2s ease;
}


/* Very subtle zoom while slide is active */

.hero-slide.active > img {
    transform: scale(1.03);
}


/* =========================================================
   LUXURY BROWN OVERLAY
========================================================= */

.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(58, 41, 34, 0.82) 0%,
            rgba(58, 41, 34, 0.38) 42%,
            rgba(58, 41, 34, 0.08) 72%,
            rgba(58, 41, 34, 0.25) 100%
        );
}


.hero-overlay::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(58, 41, 34, 0.12),
            transparent 45%,
            rgba(58, 41, 34, 0.35)
        );

}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {

    position: absolute;

    z-index: 5;

    top: 50%;

    left: 8%;

    transform: translateY(-50%);

    width: min(520px, 80%);

    color: var(--white);

}


.hero-small {

    font-size: 13px;

    letter-spacing: 5px;

    font-weight: 500;

    margin-bottom: 10px;

    color: var(--light-nude);

}


.hero-content h1 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(60px, 7vw, 100px);

    font-weight: 500;

    line-height: 0.82;

    margin-bottom: 25px;

}


.hero-content h1 span {

    display: block;

    font-size: 0.62em;

    margin-top: 15px;

    color: var(--light-nude);

}


/* DIVIDER */

.hero-divider {

    width: 70px;

    height: 1px;

    background: var(--gold);

    margin-bottom: 20px;

}


/* SERVICES TEXT */

.hero-services {

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 500;

    color: var(--light-nude);

}


.hero-services span {

    color: var(--gold);

    margin: 0 7px;

}


/* DESCRIPTION */

.hero-description {

    margin-top: 15px;

    font-family: "Cormorant Garamond", serif;

    font-size: 23px;

    font-style: italic;

    color: var(--white);

}


/* =========================================================
   HERO BUTTON
========================================================= */

.hero-button {

    display: inline-block;

    margin-top: 28px;

    padding: 15px 28px;

    border-radius: 999px;

    background: var(--gold);

    color: var(--white);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    transition: var(--transition);

}


.hero-button:hover {

    background: var(--brown);

    color: var(--white);

    transform: translateY(-3px);

}


/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-controls {

    position: absolute;

    z-index: 10;

    bottom: 28px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 9px;

}


.slider-dot {

    width: 8px;

    height: 8px;

    padding: 0;

    border: 1px solid var(--white);

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    transition: var(--transition);

}


.slider-dot.active {

    width: 28px;

    border-radius: 20px;

    background: var(--white);

}


/* =========================================================
   ABOUT SECTION
========================================================= */

.about {

    padding: 110px 0;

    background: var(--cream);

}


.about-container {

    width: 88%;

    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;

}


.about-image {

    position: relative;

}


.about-image::before {

    content: "";

    position: absolute;

    width: 100%;

    height: 100%;

    top: 18px;

    left: 18px;

    border: 1px solid var(--gold);

    z-index: 0;

}


.about-image img {

    position: relative;

    z-index: 1;

    width: 100%;

    height: 520px;

    object-fit: cover;

}


.section-label {

    font-size: 11px;

    letter-spacing: 4px;

    color: var(--gold);

    font-weight: 600;

    margin-bottom: 15px;

}


.about-content h2,
.section-heading h2 {

    font-family: "Cormorant Garamond", serif;

    font-size: clamp(45px, 5vw, 65px);

    line-height: 0.95;

    font-weight: 500;

    color: var(--dark-brown);

    margin-bottom: 25px;

}


.about-content h2 span,
.section-heading h2 span {

    display: block;

    color: var(--brown);

}


.about-content p:not(.section-label) {

    font-size: 14px;

    line-height: 1.9;

    color: var(--light-brown);

    margin-bottom: 15px;

}


/* OUTLINE BUTTON */

.outline-button {

    display: inline-block;

    margin-top: 15px;

    padding: 13px 26px;

    border-radius: 999px;

    border: 1px solid var(--nude);

    color: var(--brown);

    font-size: 10px;

    letter-spacing: 2px;

    font-weight: 600;

    transition: var(--transition);

}


.outline-button:hover {

    background: var(--dark-brown);

    color: var(--white);

}




/* =========================================================
   CTA SECTION
========================================================= */

.cta {
    padding: 68px 20px;
    border-top: 1px solid rgba(90, 64, 52, 0.12);
    text-align: center;
    background: var(--cream, #f7f1e6);
    color: var(--dark-brown);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 35.2px;
    color: var(--dark-brown);
    line-height: 1.1;
    font-weight: 600;
   
}

.cta .section-label {
    color: var(--light-brown);
    font-size: 15.2px;
    font-weight: 400;
    letter-spacing: .5px;
    margin: 10px 0 24px;
}

.cta-button {
    display: inline-block;

    
    padding: 15px 28px;

    border-radius: 999px;

    background: var(--dark-brown);

    color: var(--white);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    transition: var(--transition);
}

.cta-button:hover {
    background: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: clamp(2rem, 7vw, 2.7rem);
    }

    .cta .section-label {
        font-size: 0.9rem;
        margin-bottom: 28px;
    }

    .cta-button {
        padding: 17px 32px;
        font-size: 0.9rem;
    }
}





/* =========================================================
   FOOTER
========================================================= */

.footer {

    background: #2d201b;

    color: var(--light-nude);

}


.footer-container {

    width: 88%;

    max-width: 1100px;

    margin: auto;

    padding: 70px 0;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;

}


.footer-brand h3 {

    font-family: "Cormorant Garamond", serif;

    font-size: 41.6px;

    font-weight: 500;

    color: var(--white);

    line-height: 0.9;

}


.footer-brand h3 span {

    display: block;

    font-family: "Poppins", sans-serif;

    font-size: 9.6px;

    letter-spacing: 4px;

    text-transform: uppercase;

    margin-top: 10px;

    color: var(--gold);

}


.footer-brand p {

    margin-top: 20px;

    font-size: 12px;

    color: var(--nude);

}


.footer h4 {

    font-size: 11px;

    letter-spacing: 3px;

    color: var(--gold);

    margin-bottom: 20px;

}


.footer-links {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.footer-links a {

    font-size: 12px;

    color: var(--nude);

    transition: var(--transition);

}


.footer-links a:hover {

    color: var(--white);

    padding-left: 5px;

}


.footer-contact p {

    font-size: 12.8px;

    line-height: 1.8;

    color: var(--nude);

    margin-bottom: 15px;

}

.where {
font-size:12.8px;
margin-top: 24px;
line-height: 1.8;

}


.footer-contact a {

    color: var(--white);

    font-size: 12px;

}


.footer-bottom {

    border-top: 1px solid rgba(216, 192, 170, 0.12);

    text-align: center;

    padding: 20px;

}


.footer-bottom p {

    font-size: 10px;

    color: var(--nude);

}



/* =========================================================
   TABLET NAVIGATION AND LAYOUT
========================================================= */

@media (max-width: 900px) {

    /* Navbar */
    .nav-container {
        position: relative;
        min-height: 76px;
    }

    .menu-toggle {
        display: block;
        padding: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
        position: relative;
        z-index: 1002;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: -5.56%;
        width: 111.12%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 25px 20px;
        background: var(--cream, #f7f1e6);
        border-top: 1px solid rgba(90, 64, 52, 0.12);
        box-shadow: 0 15px 30px rgba(58, 41, 34, 0.08);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease,
            visibility 0.25s ease;

        z-index: 1001;
    }

    /* Open burger menu */
    .nav-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu a {
        font-size: 12px;
    }

    .nav-menu .nav-book {
        margin-top: 2px;
    }

    /* Hero */
    .hero {
        height: 620px;
    }

    .hero-content {
        left: 6%;
    }

    /* About */
    .about-container {
        gap: 50px;
    }

    
     /* FOOTER */

    .footer-container {

        width: 84%;

        grid-template-columns: 1fr;

        gap: 40px;

    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    /* NAV */

    .nav-container {

        min-height: 72px;

    }


    .menu-toggle {

        display: block;

        z-index: 1001;

    }


    .nav-menu {

        position: absolute;

        top: 72px;

        left: 0;

        width: 100%;

        padding: 25px;

        background: var(--cream);

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 25px;

        transform: translateY(-150%);

        opacity: 0;

        visibility: hidden;

        transition: var(--transition);

        box-shadow: 0 15px 30px rgba(58, 41, 34, 0.08);

    }


    .nav-menu.open {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;

    }


    .nav-book {

        margin-top: 5px;

    }


    /* HERO */

    .hero {
    width: 94%;
    height: 460px;
    min-height: 0;
    margin: 18px auto 0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}


    /*
       Portrait images are kept fully visible.

       The blurred background fills the empty space
       around the portrait photograph.
    */

    .hero-background {
    display: none;
}

.hero-slideshow,
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}



    .hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 45%;
    filter: brightness(0.82) saturate(0.88);
}


    .hero-overlay {

        background:
            linear-gradient(
                90deg,
                rgba(58, 41, 34, 0.74),
                rgba(58, 41, 34, 0.34),
                rgba(58, 41, 34, 0.66)
            );

    }


    .hero-content {

        left: 50%;

        top: 50%;

        transform: translate(-50%, -50%);

        width: 85%;

        text-align: center;

    }


    .hero-small {

        font-size: 10px;

        letter-spacing: 3px;

    }


    .hero-content h1 {

        font-size: 65px;

    }


    .hero-divider {

        margin: 0 auto 20px;

    }


    .hero-services {

        font-size: 9px;

        letter-spacing: 2px;

    }


    .hero-description {

        font-size: 19px;

    }


    .slider-controls {

        bottom: 22px;

    }


    /* ABOUT */

    .about {

        padding: 80px 0;

    }


    .about-container {

        width: 84%;

        grid-template-columns: 1fr;

        gap: 60px;

    }


    .about-image img {

        height: 420px;

    }


    .about-content h2 {

        font-size: 52px;

    }


    /* SERVICES */

    .services {

        padding: 80px 0;

    }


    .services-grid {

        width: 84%;

        grid-template-columns: 1fr;

    }


    /* CTA */

    .cta {

        padding: 85px 20px;

    }


    /* FOOTER */

    .footer-container {

        width: 84%;

        grid-template-columns: 1fr;

        gap: 40px;

    }

} 


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

    .logo {

        font-size: 26px;

    }


    .hero {
        height: 420px;
        min-height: 0;
        overflow: hidden;
    }


    .hero-content h1 {

        font-size: 55px;

    }


    .hero-services {

        font-size: 8px;

    }


    .hero-description {

        font-size: 17px;

    }


    .hero-button {

        padding: 13px 20px;

        font-size: 9px;

    }


    .about-content h2 {

        font-size: 45px;

    }


    .service-card {

        padding: 40px 30px;

    }

}