/* CSS Variables & Reset */
:root {
    --color-bg-cream: #F9F8F5;
    --color-bg-white: #FFFFFF;
    --color-bg-footer: #F2EFE9;
    --color-text-primary: #2C2C2C;
    --color-text-secondary: #5A5A5A;
    --color-accent: #A89F91;
    /* Taupe */
    --color-accent-dark: #8C8276;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-cream);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: left;
    /* Left align */
    margin-bottom: 50px;
    color: var(--color-text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 15px 0 0;
    /* Left align underline */
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-text-primary);
    color: var(--color-bg-white);
    padding: 12px 25px;
    /* Reduced visual weight */
    font-family: var(--font-sans);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color var(--transition-speed);
    text-align: center;
    border: 1px solid var(--color-text-primary);
    border-radius: 4px;
    /* Softened edges */
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-text-primary);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(249, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* For absolute centering of links */
}

.logo {
    display: flex;
    align-items: center;
    margin-left: -100px;
    /* Nudge left max++ */
    z-index: 2;
    /* Keep above centered links if overlap */
}

.logo img {
    height: 50px;
    /* Smaller size */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    color: var(--color-text-secondary);
}

.nav-links a:hover {
    color: var(--color-text-primary);
    border-bottom: 1px solid var(--color-text-primary);
}

.btn-nav {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.85rem;
    background-color: var(--color-text-primary);
    /* Or use accent color */
    color: #fff;
    border-radius: 50px;
    /* Pill shape */
    text-transform: uppercase;
    font-weight: 700;
    margin-left: auto;
    /* Push to right if absolute center fails, but we used space-between + absolute center */
    /* Resetting margin-left auto because we want it on the right edge naturally in flex container */
    margin-left: 0;
    z-index: 2;
    border: none;
}

.btn-nav:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    /* Above mobile menu */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-text-primary);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    /* Adjust based on navbar height */
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-bg-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: 0.3s;
    z-index: 999;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu a {
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-family: var(--font-serif);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('assets/hero_bg_spa.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-primary);
    /* Dark text for light background */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.60);
    /* Reduced opacity to show more image */
    backdrop-filter: blur(1px);
    /* Subtle blur to soften */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    /* Removed text-shadow for cleaner look on light bg */
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    font-weight: 400;
    /* Slightly heavier for readability */
    opacity: 1;
    color: var(--color-text-secondary);
}

.hero .btn-primary {
    background-color: var(--color-text-primary);
    /* Dark button */
    color: #ffffff;
    border: none;
    margin-bottom: 25px;
}

.hero .btn-primary:hover {
    background-color: var(--color-accent);
    /* Taupe hover */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 35px;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    /* Consistent gap */
}

/* Wide card specific styles */
@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on tablet/small laptop */
    }

    /* Make specific items span 2 columns */
    .col-span-2 {
        grid-column: span 2;
    }

    /* Split long lists into 2 visual columns */
    .two-col-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols on large desktop */
    }

    /* Ensure span still works in 3-col layout nicely (it occupies 2/3) */
}

/* Service Tile Grid */
.services-tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

/* Individual Service Tile */
.service-tile {
    background-color: var(--color-bg-white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.service-tile:hover {
    transform: translateY(-5px);
}

.service-tile h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-text-primary);
}

.pedicures-section .section-title::before {
    content: '✦';
    /* Sparkle for luxury feel */
    display: block;
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-tile .description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.service-category {
    background-color: var(--color-bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-accent-dark);
    font-family: 'Playfair Display', serif;
}

.service-preview {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.price-list li:last-child {
    border-bottom: none;
}

.price-list .name {
    font-weight: 400;
    color: var(--color-text-primary);
}

.service-variant {
    font-weight: 600;
    /* Slightly bold as requested */
    color: var(--color-text-primary);
}

.price-list .price {
    font-weight: 700;
    color: var(--color-accent-dark);
}

/* New Unified Service Card System */
.services-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

@media (min-width: 600px) {
    .services-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .services-grid-3col {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #F9F8F5;
    /* Warm off-white/cream */
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Very subtle border */
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    /* Very soft shadow */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.service-card .card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.service-card .card-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Push footer down */
}

.service-card .card-divider {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
    width: 100%;
    margin-bottom: 15px;
}

.service-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--color-text-primary);
}

.service-card .footer-label {
    font-weight: 400;
    color: var(--color-text-secondary);
}

.service-card .footer-price {
    font-weight: 700;
    color: var(--color-text-primary);
    /* Bold price */
}

/* Specific button styling for View All Services */
.btn-pill-black {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    margin-top: 20px;
}

.btn-pill-black:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Cleaning up old list styles that might conflict */
.price-list {
    margin: 0;
    padding: 0;
}

.price-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    /* Tighter list spacing */
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    /* Optional dot leader style */
}

/* Luxury Pedicures Section */
.pedi-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--color-text-secondary);
    font-weight: 300;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: zoom-in;
    height: 300px;
}

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

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

/* About Section */
.about {
    background-color: var(--color-bg-white);
    text-align: left;
    /* Left align */
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* About Section Layout */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text-column {
    flex: 1;
}

.about-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
}

.owner-photo {
    width: 100%;
    max-width: 380px;
    /* Increased for better balance */
    height: auto;
    border-radius: 8px;
    /* Subtle rounding */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        /* Center text on mobile for better stack */
    }

    .about-text-column,
    .about-image-column {
        width: 100%;
    }

    .owner-photo {
        max-width: 250px;
        /* Slightly smaller on mobile */
    }

    .about-text {
        text-align: center;
        /* Ensure internal text is centered */
    }
}

/* Contact Section */
.contact-card {
    text-align: left;
    /* Left align */
    background-color: var(--color-bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto;
}


.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-card p {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.contact-phone {
    font-size: 1.3rem;
    margin: 20px 0;
    font-weight: 700;
}

.contact-card .btn-primary {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

/* Footer */
.footer {
    background-color: var(--color-bg-footer);
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.footer p {
    margin-bottom: 10px;
}


.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    opacity: 0.7;
}

.footer-credit {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    /* Match copyright color approx */
    margin-top: 15px;
    text-align: center;
    opacity: 0.6;
    /* Subtle */
}

.footer-credit a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--color-text-primary);
    /* Darker on hover */
    text-decoration: underline;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

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

    .hamburger {
        display: block;
        position: absolute;
        right: 20px;
        margin-left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-container {
        justify-content: center;
        position: relative;
    }

    .logo {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 3rem;
        /* Adjusted for mobile */
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 25px;
        /* Reduced from 30px */
    }

    .hero .btn-primary {
        padding: 15px 30px;
        /* Larger touch target */
        width: 80%;
        /* Easy to tap */
        max-width: 300px;
    }

    .contact-card {
        padding: 20px;
    }

    .hero-subtext {
        margin-top: 25px;
        /* Mobile adjustment */
    }
}