/* 
  Ana Rita Costa Hair Design 
  Premium Design — Branco & Bege
*/

:root {
    --color-white: #ffffff;
    --color-bg: #faf8f5;
    --color-light: #f5f1eb;
    --color-beige: #ede7dd;
    --color-beige-dark: #d9cebe;
    --color-accent: #c4a882;
    --color-accent-dark: #a8876a;
    --color-text-main: #2c2420;
    --color-text-muted: #8a7d74;
    --color-border: rgba(196, 168, 130, 0.2);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(100, 80, 60, 0.06);
    --shadow-md: 0 8px 24px rgba(100, 80, 60, 0.08);
    --shadow-lg: 0 16px 40px rgba(100, 80, 60, 0.12);

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-beige {
    background-color: var(--color-beige);
}

/* --- Typography --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-accent-dark);
}

.section-desc {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-accent-dark);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-text-main);
    border: 1px solid var(--color-beige-dark);
}

.btn-secondary:hover {
    background-color: var(--color-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent-dark);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-stars {
    color: #e8c055;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 248, 245, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.96);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    opacity: 0.8;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-dark);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--color-accent-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* --- Dropdown Nav --- */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown .dropbtn {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    opacity: 0.8;
    position: relative;
    padding-bottom: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown .dropbtn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-dark);
    transition: var(--transition);
}

.dropdown:hover .dropbtn,
.dropdown .dropbtn.active {
    opacity: 1;
    color: var(--color-accent-dark);
}

.dropdown:hover .dropbtn::after,
.dropdown .dropbtn.active::after {
    width: 100%;
}

.dropdown-content {
    position: absolute;
    background-color: var(--color-beige);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    z-index: 101;
    border-radius: var(--radius-md);
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 12px 0;
    overflow: hidden;
    border: 1px solid var(--color-beige-dark);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .dropdown-content a {
    color: var(--color-text-main) !important;
    padding: 12px 24px !important;
    text-decoration: none;
    display: block;
    opacity: 0.9;
    font-size: 0.95rem !important;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.nav-links .dropdown-content a::after {
    display: none;
}

.nav-links .dropdown-content a:hover {
    background-color: var(--color-accent);
    opacity: 1;
    color: var(--color-white) !important;
    padding-left: 28px !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-main);
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.mobile-agendar {
    margin-top: 16px;
    text-align: center;
    justify-content: center;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    overflow: hidden;
    padding: 120px 0 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--color-accent-dark);
    font-weight: 700;
    line-height: 1.1;
}

.hero-brand-sub {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--color-text-main);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    z-index: 1;
}

.hero-image-blob {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 100%;
    height: 100%;
    background-color: var(--color-beige);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* --- Transformation Banner --- */
.transformation-banner {
    background-color: var(--color-light);
    padding: 80px 0;
    text-align: center;
}

.transformation-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    color: var(--color-accent-dark);
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 24px;
}

.transformation-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

/* --- Galleries --- */
.gallery {
    display: grid;
    gap: 24px;
}

.masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--color-beige);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.masonry .gallery-item:nth-child(1),
.masonry .gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 2;
}

.service-featured {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 64px;
    padding: 0 8vw;
}

.service-featured-reverse {
    direction: rtl;
}

.service-featured-reverse>* {
    direction: ltr;
}

.service-featured-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-lg);
}

.service-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-featured-img:hover img {
    transform: scale(1.04);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.service-featured-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.service-featured-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

/* --- Infinite Carousel --- */
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 16px 0;
}

.carousel-track {
    display: flex;
    gap: 20px;
    animation: infiniteScroll 40s linear infinite;
    /* duration will be overwritten by JS */
    width: max-content;
}

@keyframes infiniteScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(var(--scroll-dist, -50%));
    }
}

.carousel-item {
    flex-shrink: 0;
    width: 280px;
    height: 340px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.carousel-item:hover img {
    transform: scale(1.06);
}

/* --- Sobre Nós --- */
.sobre-nos-destaque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.sobre-nos-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-white);
    transition: var(--transition);
}

.sobre-nos-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.sobre-nos-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.sobre-nos-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s ease;
}

.sobre-nos-card:hover .sobre-nos-img-wrapper img {
    transform: scale(1.05);
}

.sobre-nos-info {
    padding: 24px 28px;
}

.sobre-nos-info h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
    color: var(--color-text-main);
}

.sobre-nos-info p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Equipa --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    justify-content: center;
}

.team-member {
    width: 100%;
    text-align: center;
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: var(--transition);
}

.team-member:hover .team-img-wrapper img {
    transform: scale(1.05);
}

/* --- Reviews --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.review-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
}

.review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px) scale(1.02);
    border-color: var(--color-accent);
}

.stars {
    color: #e8c055;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}

.star-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.review-text {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 24px;
    color: var(--color-text-main);
    line-height: 1.8;
    flex: 1;
}

.review-author {
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--color-accent-dark);
}

.reviews-action {
    text-align: center;
}

/* --- Contact & Map --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.contact-item i {
    color: var(--color-accent);
}

.schedule-box {
    background: var(--color-beige);
    padding: 32px;
    border-radius: var(--radius-md);
    margin: 32px 0;
}

.schedule-box h3 {
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.schedule-box ul {
    list-style: none;
}

.schedule-box li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-beige-dark);
}

.schedule-box li:last-child {
    border-bottom: none;
}

.schedule-box li.closed {
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-beige);
    color: var(--color-text-main);
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 350px;
    box-shadow: var(--shadow-md);
}

/* --- Menu / Price List --- */
.menu-section {
    margin-top: 80px;
    margin-bottom: 64px;
}

.menu-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-accent-dark);
    margin-bottom: 40px;
    text-align: center;
}

.menu-title-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: -24px;
    margin-bottom: 48px;
    padding: 0 20px;
}

.menu-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    flex: 1;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 8px;
}

.menu-item-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.menu-item-dots {
    flex: 1;
    border-bottom: 2px dotted var(--color-beige-dark);
    opacity: 0.6;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-accent-dark);
    font-weight: 600;
    white-space: nowrap;
}

.menu-item-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.menu-item-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-top: 12px;
    font-weight: 500;
}

.menu-item-duration svg {
    width: 14px;
    height: 14px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 64px;
    max-width: 1000px;
    margin: 0 auto;
}

.menu-grid .menu-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Footer --- */
.footer {
    background-color: var(--color-beige);
    color: var(--color-text-main);
    padding: 80px 0 32px;
    border-top: 1px solid var(--color-beige-dark);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent-dark);
    margin-bottom: 24px;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 16px 32px;
}

.footer-nav a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-accent-dark);
}

.footer-contact p {
    margin-bottom: 12px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid var(--color-beige-dark);
    padding-top: 28px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    .footer-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px 16px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 24px;
    }
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--color-accent-dark);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .service-featured {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .service-featured-reverse {
        direction: ltr;
    }

    .sobre-nos-destaque {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }

    .masonry {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .masonry .gallery-item:nth-child(1),
    .masonry .gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .footer-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 48px;
    }

    .footer-nav {
        align-items: center;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 32px;
    }

    .footer-links,
    .footer-contact {
        align-items: center;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-image-wrapper {
        margin: 0 -16px;
    }

    .service-featured-text,
    .service-featured-text .section-title {
        text-align: center !important;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        gap: 16px 24px;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .section {
        padding: 60px 0;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 100%;
    }

    .team-member,
    .team-member:nth-child(n+4) {
        width: 100%;
        min-width: unset;
    }

    .footer-bottom {
        text-align: center;
    }

    /* Fix mobile pricing uniformity */
    .menu-item {
        padding: 16px 0 !important;
    }

    .menu-item-header {
        margin-bottom: 4px !important;
    }

    .menu-list {
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .menu-list h4 {
        margin: 24px 0 16px !important;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .team-member,
    .team-member:nth-child(n+4) {
        width: 100%;
        min-width: unset;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .carousel-item {
        width: 220px;
        height: 270px;
    }
}

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 36, 32, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--color-white);
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}