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

:root {
    --color-bg-primary: #f3ece9;
    /* Blush/Cream */
    --color-bg-secondary: #ffffff;
    /* Pure White */
    --color-bg-tertiary: #e6deda;
    /* Warm Stone/Beige */
    --color-text-main: #292c2c;
    /* Soft Charcoal */
    --color-accent: #ad8e7a;
    /* Deeper warmer muted peach */

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -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;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

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

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

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

li {
    font-weight: 300;
    color: var(--color-text-main);
}


a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Specific Logo & Icon Hover Fixes */
.logo, .social-icon {
    transition: none !important;
}
.logo:hover, .social-icon:hover {
    opacity: 1 !important;
    transform: none !important;
    border: none !important;
}

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

section {
    padding: 8rem 0;
}

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

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

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

/* Header / Nav */
body {
    padding-top: 80px;
    /* Prevent layout shift when header becomes sticky if relative, but since header is fixed, it just covers content. Let's ensure the transition doesn't jump. */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    background-color: var(--color-bg-primary);
    /* Use solid color to prevent glitch/unstyled text when scrolled up */
    transition: padding 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 35px;
    width: auto;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    position: relative;
}

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

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

.social-icon {
    display: inline-flex;
    align-items: center;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text-main);
}

/* Mobile Nav */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    position: absolute;
    transition: all 0.3s ease;
}

.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span::before {
    top: -8px;
}

.menu-toggle span::after {
    bottom: -8px;
}

.menu-toggle.open span {
    background-color: transparent;
}

.menu-toggle.open span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.open span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.mobile-menu-overlay {
    display: none;
}

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-bg-primary);
        z-index: 99;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-nav-links {
        list-style: none;
        text-align: center;
    }

    .mobile-nav-links li {
        margin: 2rem 0;
    }

    .mobile-nav-links a {
        font-family: var(--font-heading);
        font-size: 2.5rem;
        text-transform: none;
        letter-spacing: normal;
    }
}

/* Button */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid var(--color-text-main);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--color-text-main);
    color: var(--color-bg-primary);
    opacity: 1;
}

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

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

/* Animations (Scroll Reveal) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    background-color: var(--color-bg-tertiary);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.footer-link {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-style: italic;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    border-bottom: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
    opacity: 0.7 !important;
}

.footer-content .logo {
    transition: none !important;
}

.footer-content .logo:hover {
    opacity: 1 !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(41, 44, 44, 0.15);
    padding-top: 2rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-legal a {
    margin-left: 1.5rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-legal a {
        margin: 0 0.75rem;
    }
}

/* Page Components */

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 3rem;
}

.my-3 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pb-2 {
    padding-bottom: 1.5rem;
}

.pt-large {
    padding-top: 10rem;
}

.pr-5 {
    padding-right: 5%;
}

.max-w-800 {
    max-width: 800px;
}

.text-large {
    font-size: 1.25rem;
}

.text-small {
    font-size: 0.9rem;
}

.text-uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.15em;
}

.text-italic {
    font-style: italic;
    font-weight: 300;
}

.text-muted {
    opacity: 0.6;
}

.section-subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-top: 0.5rem;
}

.text-accent-subtitle {
    color: var(--color-accent);
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
    position: relative;
    color: #fff;
    transition: background-position 0.5s ease;
}

@media (max-width: 900px) {
    .hero {
        background-position: 70% center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 44, 44, 0.4);
    /* Soft charcoal dark overlay */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero .btn {
    border-color: #fff;
    color: #fff;
}

.hero .btn:hover {
    background: #fff;
    color: var(--color-text-main);
}

/* Trust Badges */
.trust-badges {
    padding: 5rem 0;
    text-align: center;
}

.trust-badges p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    opacity: 0.8; /* Darkened for greater legibility */
}

.logo-row {
    display: block;
    /* Removed flex stretch to fix hitbox */
    text-align: center;
}

.logo-row img {
    height: 55px;
    width: auto;
    object-fit: contain;
    opacity: 0.65;
    filter: grayscale(100%);
    transition: opacity 0.3s ease, filter 0.3s ease !important;
    display: inline-block;
}

.logo-row img:hover {
    opacity: 0.9 !important;
    filter: grayscale(0%) !important;
    transform: none !important;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    .logo-row {
        gap: 2.5rem;
    }

    .logo-row img {
        height: 40px;
    }
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-layout img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/5;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pr-5 {
        padding-right: 0;
    }
}

/* Quote/Boxed Content Block */
.quote-block {
    padding-left: 1.5rem;
    border-left: 2px solid var(--color-accent);
}

.boxed-content {
    background-color: var(--color-bg-primary);
    padding: 4rem 2rem;
    border: 1px solid rgba(228, 212, 199, 0.5);
    /* Soft accent border */
    transition: transform 0.4s ease;
}

.boxed-content:hover {
    transform: translateY(-5px);
}

/* Minimal List */
ul.list-minimal {
    list-style: none;
    padding: 0;
}

ul.list-minimal li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

ul.list-minimal li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}