@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Color Palette */
    --bg-color: #FAF9F6;
    /* Warm off-white */
    --text-color: #1a1a1a;
    /* Rich near-black */
    --accent-color: #C08A74;
    /* Desaturated terracotta */
    --muted-color: #6a6a6a;
    --border-color: #e2dfd9;
    /* Thin understated line color */
    --soft-bg: #F0EEE9;
    /* Slightly darker off-white for alternate sections */

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

    /* Components */
    --border-radius: 8px;
    /* Standard radius for cards and images */
    --btn-radius: 30px;
    /* Soft rounded buttons */
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
    font-family: var(--font-body);
    font-weight: 500;
}

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

a:hover {
    color: var(--accent-color);
}

p {
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--muted-color);
}

.serif {
    font-family: var(--font-heading);
}

.italic {
    font-style: italic;
}

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

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 3rem 0;
}

/* ==========================================================================
   Layout & Grids
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

section {
    padding: 8rem 0;
    /* Lots of whitespace */
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

/* Margins */
.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 4rem !important;
}

.mb-5 {
    margin-bottom: 5rem !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

/* ==========================================================================
   Components
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
}

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

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

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

.btn-outline:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Image Zoom & Aspect Ratio Containers */
.image-container {
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: var(--soft-bg);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.portrait {
    aspect-ratio: 4 / 5;
}

.landscape {
    aspect-ratio: 3 / 2;
}

.square {
    aspect-ratio: 1 / 1;
}

.float-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transform: translateY(-5px);
    background-color: #fff;
    border-color: #fff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2.5rem 0;
    transition: padding var(--transition), background-color var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    padding: 1rem 0;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.logo:hover {
    color: var(--text-color);
    opacity: 0.8;
}

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding-bottom: 2px;
}

nav a:hover {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 4px;
}

nav a.nav-button {
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: var(--btn-radius);
}

nav a.nav-button:hover {
    border-color: var(--text-color);
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all var(--transition);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-massive-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    text-transform: uppercase;
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

.hero-sub-header {
    position: relative;
    z-index: 3;
}

.hero-small {
    padding-top: 14rem;
    padding-bottom: 6rem;
}

/* CTA Banner Full Width */
.cta-banner {
    padding: 0 !important;
}

.cta-banner-content {
    background: var(--text-color);
    padding: 8rem 5%;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.cta-banner-text {
    max-width: 600px;
}

.cta-banner-text h2 {
    color: white !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    margin-bottom: 1.5rem;
}

.cta-banner-text p {
    color: #aaa;
    font-size: 1.1rem;
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
}

.faq-item:first-of-type {
    border-top: 1px solid var(--border-color);
}

.faq-item h4 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
}

.faq-item p {
    color: var(--muted-color);
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Forms */
.contact-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(192, 138, 116, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 6rem 0 3rem;
    background-color: var(--soft-bg);
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-color);
    transition: all var(--transition);
}

.footer-social a:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
    transform: translateY(-3px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    font-size: 0.85rem;
    color: var(--muted-color);
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Animations (Subtle motion)
   ========================================================================== */
.animate-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-in.visible,
.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    #main-header {
        padding: 1.5rem 0;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    }

    nav.active {
        right: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: 120px;
        min-height: 80vh;
    }

    .hero-small {
        padding-top: 10rem;
    }
}