:root {
    /* Color Palette - Modern Organic */
    --color-bg: #F3F1E7;
    /* Warm Sand */
    --color-text-main: #1A3C34;
    /* Deep Jungle Green */
    --color-text-light: #4A5D55;
    /* Sage Grey */
    --color-accent: #7C9082;
    /* Sage Green */
    --color-highlight: #C8A279;
    /* Soft Gold/Copper */
    --color-white: #ffffff;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --blur-strength: 16px;

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

    /* Spacing */
    --section-padding: 8rem 2rem;
    --container-width: 1400px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: transparent;
    color: var(--color-text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur-strength));
    -webkit-backdrop-filter: blur(var(--blur-strength));
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    top: 10px;
    width: 95%;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.9);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
}

.logo span {
    color: var(--color-highlight);
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding: 5px 0;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-text-main);
    transition: width 0.3s ease;
}

nav a:hover::before {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    min-height: 700px;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    /* True full width hack if parent is constrained, though here body is clean */
    display: flex;
    align-items: center;
    /* Centering vertically */
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* For parallax */
    background-image: url('../rsrc/Studio Sauv 2.heic');
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(-10%);
    /* Init position */
    filter: brightness(0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(26, 60, 52, 0.6) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero h1 {
    font-family: var(--font-body);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.2s;

    /* Readability & Style */
    display: inline-block;
    padding: 1rem 3rem;
    background: rgba(0, 0, 0, 0.2);
    border: 0px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.hero h1 i {
    font-style: italic;
    color: var(--color-highlight);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.4s;
}

/* Scroll Button Animation */
.btn-scroll span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.btn-scroll span:nth-child(2) {
    animation-delay: -0.2s;
}

.btn-scroll span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

.btn-scroll {
    display: inline-block;
    margin-top: 50px;
    padding-top: 30px;
}

/* --- Sections Common --- */
section {
    padding: var(--section-padding);
    max-width: var(--container-width);
    margin: 0 auto;
}

/* --- Background Parallax --- */
#global-parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

.bg-collage {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    filter: blur(8px);
    opacity: 0.4;
}

.bg-collage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 241, 231, 0.7);
    /* Matching var(--color-bg) with opacity */
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    color: var(--color-text-main);
}

/* --- Alternating Layout (ZigZag) --- */
.services-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 0;
    gap: 4rem;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.service-row.active {
    opacity: 1;
    transform: translateY(0);
}

.service-row:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.service-row:hover .service-image img {
    transform: scale(1.05);
}

.service-text {
    flex: 1;
    padding: 2rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-text h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
}

.service-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.btn-text {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    border-bottom: 2px solid var(--color-highlight);
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.btn-text:hover {
    color: var(--color-highlight);
    border-color: var(--color-text-main);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {

    .service-row,
    .service-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 4rem 0;
    }

    .service-image {
        width: 100%;
        height: 300px;
    }

    .service-text {
        width: 100%;
        padding: 2rem;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .service-text h3 {
        font-size: 2.5rem;
    }
}

/* --- Featurette (ZigZag) for specific sections if needed --- */
/* (Keeping grid for now for consistency, but styling Location differently) */

/* --- Location Section --- */
.location-section {
    position: relative;
    background: var(--color-text-main);
    color: var(--color-bg);
    border-radius: 40px;
    padding: 5rem;
    text-align: center;
    overflow: hidden;
    margin: 4rem auto;
    width: 90%;
}

.location-section h2 {
    color: var(--color-highlight);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.location-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.8;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--color-highlight);
    color: var(--color-text-main);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

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

/* --- Contact Form --- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(124, 144, 130, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-highlight);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(200, 162, 121, 0.1);
}

/* --- Footer --- */
footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(26, 60, 52, 0.1);
}

footer p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Utility for JS Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

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

/* Media Queries */
@media (max-width: 768px) {
    header {
        width: 100%;
        top: 0;
        border-radius: 0;
        left: 0;
        transform: none;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .location-section {
        padding: 3rem 1.5rem;
        width: 95%;
    }

    .location-section h2 {
        font-size: 2.5rem;
    }
}