/* =========================================================
   HUMA'S SIGNATURE SALON
   Main Stylesheet
   ========================================================= */


/* ================= ROOT ================= */

:root {
    --ivory: #f8f5ef;
    --cream: #eee8df;
    --warm-white: #fffdf9;

    --taupe: #c8b9aa;
    --rose: #b58f89;
    --rose-light: #ddcbc5;

    --brown: #403832;
    --brown-light: #665c54;

    --charcoal: #292725;
    --muted: #777069;

    --border: rgba(64, 56, 50, 0.14);

    --white: #ffffff;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --container: 1180px;

    --transition: 0.3s ease;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--ivory);
    color: var(--brown);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

.container {
    width: min(var(--container), calc(100% - 60px));
    margin-inline: auto;
}


/* ================= TYPOGRAPHY ================= */

h1,
h2,
h3,
p {
    margin: 0;
}

h1,
h2,
h3 {
    line-height: 1.12;
    font-weight: 600;
}

h1 {
    font-size: clamp(3.3rem, 6vw, 6rem);
    letter-spacing: -0.055em;
}

h2 {
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    letter-spacing: -0.045em;
}

h3 {
    font-size: 1.25rem;
}

p {
    color: var(--muted);
}

.section {
    padding: 120px 0;
}

.section-label,
.eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
}

.section-label {
    color: var(--rose);
    margin-bottom: 20px;
}

.eyebrow {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}


/* ================= HEADER ================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(248, 245, 239, 0.97);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    flex-shrink: 0;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.logo-sub {
    margin-top: 5px;

    font-size: 0.52rem;
    letter-spacing: 0.2em;
    font-weight: 700;

    color: var(--rose);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.main-nav a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brown-light);

    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--rose);
}

.nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 0 20px;

    background: var(--brown);
    color: var(--white);

    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 600;

    transition: var(--transition);
}

.nav-button:hover {
    background: var(--rose);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;

    margin: 5px auto;

    background: var(--brown);
}


/* ================= HERO ================= */

.hero {
    position: relative;
    min-height: 760px;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    background: var(--brown);
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(35, 30, 27, 0.82) 0%,
            rgba(35, 30, 27, 0.55) 45%,
            rgba(35, 30, 27, 0.2) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 150px;
    padding-bottom: 70px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.hero-copy {
    max-width: 720px;
}

.hero h1 {
    color: var(--white);
}

.hero h1 span {
    color: #dfc9c0;
}

.hero-description {
    max-width: 560px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.button {
    min-height: 52px;
    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 0.82rem;
    font-weight: 600;

    transition: var(--transition);
}

.button-primary {
    background: #ddc3ba;
    color: var(--brown);
}

.button-primary:hover {
    background: var(--white);
}

.button-light {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.button-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--white);

    flex-shrink: 0;
}

.hero-rating strong {
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
}

.stars {
    color: #d5a894;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

.hero-rating span,
.review-rating span {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
}


/* ================= INTRO STRIP ================= */

.intro-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.intro-item {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 32px 35px;

    border-right: 1px solid var(--border);
}

.intro-item:first-child {
    padding-left: 0;
}

.intro-item:last-child {
    border-right: 0;
}

.intro-number {
    color: var(--rose);

    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.intro-item h3 {
    font-size: 0.95rem;
}

.intro-item p {
    margin-top: 2px;
    font-size: 0.78rem;
}


/* ================= ABOUT ================= */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;

    align-items: center;

    gap: 90px;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    height: 640px;
    object-fit: cover;

    border-radius: var(--radius-lg);
}

.experience-card {
    position: absolute;

    right: -25px;
    bottom: 35px;

    width: 175px;
    padding: 25px;

    background: var(--brown);
    color: var(--white);

    border-radius: var(--radius-md);

    display: flex;
    flex-direction: column;
}

.experience-card span {
    color: var(--rose-light);

    font-size: 0.6rem;
    letter-spacing: 0.15em;
    font-weight: 700;
}

.experience-card strong {
    margin: 8px 0 4px;

    font-size: 1.5rem;
    font-weight: 600;
}

.experience-card small {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.58rem;
    letter-spacing: 0.18em;
}

.about-content h2 {
    max-width: 570px;
}

.about-content .large-text {
    margin-top: 30px;

    font-size: 1.1rem;
    color: var(--brown-light);
}

.about-content > p:not(.large-text) {
    margin-top: 20px;
    max-width: 540px;
}

.about-signature {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;
}

.about-signature span {
    font-weight: 600;
}

.about-signature small {
    margin-top: 4px;
    color: var(--muted);
}


/* ================= SERVICES ================= */

.services-section {
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}

.section-heading h2 {
    max-width: 700px;
}

.section-intro {
    max-width: 360px;

    font-size: 0.92rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;

    gap: 18px;
}

.service-card {
    min-height: 330px;

    padding: 35px;

    background: var(--warm-white);

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    position: relative;

    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(181, 143, 137, 0.45);
}

.featured-service {
    grid-row: span 2;

    padding: 0;
    overflow: hidden;

    display: flex;
    flex-direction: column;
}

.service-image {
    height: 320px;
}

.service-image img {
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 28px 30px 32px;
}

.service-content > span,
.service-number {
    color: var(--rose);

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.service-content h3 {
    margin-top: 8px;
    font-size: 1.5rem;
}

.service-content p {
    margin-top: 8px;
}

.service-icon {
    margin-top: 45px;

    color: var(--rose);

    font-size: 1.7rem;
}

.service-card:not(.featured-service) h3 {
    margin-top: 18px;
}

.service-card:not(.featured-service) p {
    margin-top: 12px;

    max-width: 290px;

    font-size: 0.9rem;
}

.service-card a {
    position: absolute;
    left: 35px;
    bottom: 30px;

    font-size: 0.8rem;
    font-weight: 700;

    color: var(--brown);
}

.service-card a span {
    margin-left: 8px;
    color: var(--rose);
}


/* ================= STATEMENT ================= */

.statement-section {
    padding: 150px 0;

    background:
        linear-gradient(
            rgba(64, 56, 50, 0.92),
            rgba(64, 56, 50, 0.92)
        ),
        url("https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;

    color: var(--white);
}

.statement-content {
    max-width: 760px;
}

.statement-section .section-label {
    color: #d7b8ad;
}

.statement-section h2 {
    color: var(--white);
}

.statement-section p:last-child {
    max-width: 570px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.72);
}


/* ================= WHY ================= */

.why-grid {
    display: grid;
    grid-template-columns: 0.85fr 1fr;

    gap: 110px;
}

.why-content h2 {
    max-width: 520px;
}

.why-content > p:not(.section-label) {
    max-width: 520px;
    margin-top: 28px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    margin-top: 30px;

    font-size: 0.82rem;
    font-weight: 700;

    border-bottom: 1px solid var(--brown);
    padding-bottom: 5px;
}

.text-link span {
    color: var(--rose);
}

.why-list {
    border-top: 1px solid var(--border);
}

.why-item {
    display: grid;
    grid-template-columns: 50px 1fr;

    gap: 15px;

    padding: 28px 0;

    border-bottom: 1px solid var(--border);
}

.why-item > span {
    color: var(--rose);

    font-size: 0.7rem;
    font-weight: 700;
}

.why-item h3 {
    font-size: 1rem;
}

.why-item p {
    max-width: 460px;

    margin-top: 6px;

    font-size: 0.84rem;
}


/* ================= GALLERY ================= */

.gallery-section {
    background: var(--cream);
}

.gallery-heading {
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 14px;
}

.gallery-item {
    height: 390px;

    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-large {
    height: 500px;
    grid-row: span 2;
}

.gallery-item img {
    height: 100%;
    object-fit: cover;

    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}


/* ================= REVIEWS ================= */

.reviews-section {
    background: var(--warm-white);
}

.reviews-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: center;
}

.reviews-intro h2 {
    max-width: 470px;
}

.reviews-intro > p:last-child {
    max-width: 400px;
    margin-top: 22px;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 35px;
}

.review-rating strong {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 600;
}

.review-rating .stars {
    color: var(--rose);
}

.review-rating span {
    color: var(--muted);
}

.review-feature {
    position: relative;

    min-height: 390px;

    padding: 70px 70px 60px;

    background: var(--cream);

    border-radius: var(--radius-lg);

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-mark {
    position: absolute;

    top: 25px;
    left: 60px;

    font-size: 6rem;
    line-height: 1;

    color: var(--rose-light);
}

.review-feature blockquote {
    position: relative;

    max-width: 720px;

    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    line-height: 1.35;
    letter-spacing: -0.025em;

    color: var(--brown);
}

.review-author {
    display: flex;
    flex-direction: column;

    margin-top: 35px;
}

.review-author strong {
    font-size: 0.9rem;
}

.review-author span {
    margin-top: 3px;

    color: var(--muted);
    font-size: 0.75rem;
}


/* ================= APPOINTMENT ================= */

.appointment-section {
    background: #e4d8ce;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 0.75fr;

    gap: 100px;

    align-items: center;
}

.appointment-content h2 {
    max-width: 600px;
}

.appointment-content > p:not(.section-label) {
    max-width: 530px;
    margin-top: 25px;
}

.appointment-contact {
    display: flex;
    flex-direction: column;

    margin-top: 35px;
}

.appointment-contact a {
    width: fit-content;

    padding: 12px 0;

    border-bottom: 1px solid rgba(64, 56, 50, 0.2);

    font-size: 0.88rem;
    font-weight: 600;
}

.appointment-contact span {
    display: inline-block;
    width: 80px;

    color: var(--rose);

    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.appointment-box {
    padding: 45px;

    background: var(--warm-white);

    border-radius: var(--radius-lg);
    border: 1px solid rgba(64, 56, 50, 0.1);

    box-shadow: 0 20px 50px rgba(64, 56, 50, 0.08);
}

.appointment-box-top {
    display: flex;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);

    color: var(--rose);

    font-size: 0.62rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.appointment-box h3 {
    margin-top: 35px;

    font-size: 1.8rem;
}

.appointment-box p {
    margin-top: 14px;

    font-size: 0.88rem;
}

.button-dark {
    margin-top: 30px;

    background: var(--brown);
    color: var(--white);
}

.button-dark:hover {
    background: var(--rose);
}


/* ================= CONTACT ================= */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    gap: 80px;

    align-items: stretch;
}

.contact-info h2 {
    max-width: 470px;
}

.contact-details {
    margin-top: 45px;
}

.contact-detail {
    padding: 18px 0;

    border-bottom: 1px solid var(--border);
}

.contact-detail span {
    display: block;

    margin-bottom: 5px;

    color: var(--rose);

    font-size: 0.63rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.88rem;
}

.contact-detail a {
    font-weight: 600;
}

.map-wrapper {
    min-height: 530px;

    overflow: hidden;

    border-radius: var(--radius-lg);

    border: 1px solid var(--border);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 530px;

    border: 0;
}


/* ================= FOOTER ================= */

.site-footer {
    background: var(--brown);
    color: var(--white);
}

.footer-main {
    padding-top: 75px;
    padding-bottom: 65px;

    display: flex;
    justify-content: space-between;

    gap: 80px;
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-brand p {
    max-width: 280px;

    margin-top: 20px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    gap: 100px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-heading {
    margin-bottom: 8px;

    color: #d7b8ad;

    font-size: 0.65rem;
    letter-spacing: 0.14em;
    font-weight: 700;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.78rem;

    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    min-height: 70px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: rgba(255, 255, 255, 0.4);

    font-size: 0.68rem;
}


/* ================= RESPONSIVE ================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 18px;
    }

    .nav-button {
        padding: 0 16px;
    }

    .about-grid,
    .why-grid,
    .appointment-grid,
    .contact-grid {
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-service {
        grid-row: span 1;
    }

    .service-image {
        height: 300px;
    }

    .reviews-layout {
        gap: 50px;
    }

}


@media (max-width: 850px) {

    .container {
        width: min(var(--container), calc(100% - 40px));
    }

    .section {
        padding: 90px 0;
    }

    .nav-container {
        min-height: 70px;
    }

    .main-nav,
    .nav-button {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav.active {
        display: flex;

        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        padding: 20px;

        background: var(--ivory);

        border-bottom: 1px solid var(--border);

        flex-direction: column;
        gap: 18px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding-top: 130px;
        padding-bottom: 50px;

        flex-direction: column;
        align-items: flex-start;
    }

    .hero-rating {
        margin-top: 15px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-item,
    .intro-item:first-child {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .intro-item:last-child {
        border-bottom: 0;
    }

    .about-grid,
    .why-grid,
    .appointment-grid,
    .contact-grid,
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 550px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .section-intro {
        max-width: 600px;
    }

    .why-grid,
    .appointment-grid,
    .contact-grid {
        gap: 55px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-large {
        grid-column: span 2;
        height: 450px;
    }

    .reviews-layout {
        gap: 45px;
    }

    .footer-main {
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 75px 0;
    }

    h1 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    h2 {
        font-size: clamp(2.2rem, 11vw, 3.2rem);
    }

    .hero {
        min-height: 690px;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(35, 30, 27, 0.88),
                rgba(35, 30, 27, 0.5)
            );
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-rating strong {
        font-size: 2.5rem;
    }

    .about-image {
        height: 450px;
    }

    .experience-card {
        right: 15px;
        bottom: 20px;
        width: 150px;
        padding: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .featured-service {
        grid-row: auto;
    }

    .service-image {
        height: 270px;
    }

    .service-card {
        min-height: 310px;
    }

    .statement-section {
        padding: 100px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-large {
        grid-column: auto;
        height: 380px;
    }

    .gallery-item {
        height: 300px;
    }

    .review-feature {
        min-height: 360px;
        padding: 60px 30px 45px;
    }

    .quote-mark {
        left: 25px;
        font-size: 5rem;
    }

    .review-feature blockquote {
        font-size: 1.45rem;
    }

    .appointment-box {
        padding: 30px;
    }

    .appointment-box-top {
        gap: 15px;
        flex-direction: column;
    }

    .map-wrapper,
    .map-wrapper iframe {
        min-height: 400px;
    }

    .footer-links {
        gap: 50px;
        flex-wrap: wrap;
    }

    .footer-bottom {
        padding: 20px 0;

        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

}