/* Local Fonts */
@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('./fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-VariableFont_opsz_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/Inter-Italic-VariableFont_opsz_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: #fbf6ef;
    color: #4a3f2f;
    line-height: 1.6;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.inline-flex {
    display: inline-flex;
}

.inline-block {
    display: inline-block;
}

.block {
    display: block;
}

.hidden {
    display: none;
}

/* Positioning */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* Flexbox & Grid Utilities */
.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.gap-1\.5 {
    gap: 0.375rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-16 {
    gap: 4rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-12 > * + * {
    margin-top: 3rem;
}

.space-y-16 > * + * {
    margin-top: 4rem;
}

/* Sizing */
.w-full {
    width: 100%;
}

.w-auto {
    width: auto;
}

.w-12 {
    width: 3rem;
}

.w-20 {
    width: 5rem;
}

.h-1 {
    height: 0.25rem;
}

.h-5 {
    height: 1.25rem;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-20 {
    height: 5rem;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.max-h-550 {
    max-height: 550px;
}

/* Spacing */
.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-12 {
    padding: 3rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.pt-6 {
    padding-top: 1.5rem;
}

.pt-12 {
    padding-top: 3rem;
}

.pt-20 {
    padding-top: 5rem;
}

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

.pl-6 {
    padding-left: 1.5rem;
}

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

.mt-20 {
    margin-top: 5rem;
}

.mb-2 {
    margin-top: 0.5rem;
}

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

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

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

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

.mb-20 {
    margin-bottom: 5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

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

/* Text Utilities */
.text-left {
    text-align: left;
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

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

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.text-8xl {
    font-size: 6rem;
}

.font-medium {
    font-weight: 500;
    font-size: larger;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

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

.tracking-widest {
    letter-spacing: 0.1em;
}

/* Colors */
.text-primary {
    color: #a37450;
}

.text-foreground {
    color: #4a3f2f;
}

.text-muted {
    color: #6b5d4f;
}

.text-accent {
    color: #c36c3d;
}

.text-accent-2 {
    color: #c9a963;
}

.text-accent-3 {
    color: #8fab8f;
}

.text-light {
    color: #fcf9f4;
}

.text-light-90 {
    color: rgba(252, 249, 244, 0.9);
}

.text-light-80 {
    color: rgba(252, 249, 244, 0.8);
}

.bg-background {
    background-color: #fbf6ef;
}

.bg-secondary {
    background-color: #f4f0ea;
}

/* Border Utilities */
.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-t-2 {
    border-top-width: 2px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-l-2 {
    border-left-width: 2px;
}

.border-l-4 {
    border-left-width: 4px;
}

.border-accent {
    border-color: #c36c3d;
}

.border-muted {
    border-color: #d9cabd;
}

.border-light-20 {
    border-color: rgba(252, 249, 244, 0.2);
}

.rounded {
    border-radius: 0.25rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Background Utilities */
.overflow-hidden {
    overflow: hidden;
}

.object-contain {
    object-fit: contain;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.drop-shadow-2xl {
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
}

.opacity-20 {
    opacity: 0.2;
}

.opacity-95 {
    opacity: 0.95;
}

/* Backdrop */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Z-index */
.z-10 {
    z-index: 10;
}

.z-50 {
    z-index: 50;
}

/* Inset */
.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-8 {
    bottom: 2rem;
}

.left-1\/2 {
    left: 50%;
}

/* Transforms */
.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.transform {
    transform: var(--tw-transform);
}

/* Transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Gradients */
.bg-gradient-hero {
    background: linear-gradient(135deg, #a37450, #c9a963);
}

.bg-gradient-flow {
    background: linear-gradient(135deg, #f5d171, #fae8b3);
}

.bg-gradient-balance {
    background: linear-gradient(135deg, #9ec5d9, #c6dce6);
}

.bg-gradient-focus {
    background: linear-gradient(135deg, #d4b3e0, #e6d4ee);
}

.bg-gradient-shield {
    background: linear-gradient(135deg, #f2b8cc, #f8d9e3);
}

.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-primary-to-indigo {
    background: linear-gradient(to bottom right, #a37450, #7c82ce);
}

.from-accent-10-to-brass-10 {
    background: linear-gradient(to right, rgba(195, 108, 61, 0.1), rgba(201, 169, 99, 0.1));
}

/* Hover States */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

.hover\:text-primary:hover {
    color: #a37450;
}

.hover\:text-accent-2:hover {
    color: #e8d9bb;
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.group:hover .group-hover\:translate-y-1 {
    transform: translateY(0.25rem);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* Button Styles */
.btn-primary {
    background-color: #a37450;
    #color: #fcf9f4;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: larger;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #8c5f40;
    transform: scale(1.05);
}

.btn-card {
    background-color: #fcf9f4;
    color: #a37450;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: larger;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-card:hover {
    background-color: #f4f0ea;
}

/* Back to Top Button */
#backToTop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
    background-color: #a37450;
    color: #fcf9f4;
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    border: none;
    cursor: pointer;
}

#backToTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#backToTop:hover {
    background-color: #8c5f40;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s;
    background-color: rgba(251, 246, 239, 0.6);
    backdrop-filter: blur(4px);
}

.navbar .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar .nav-content {
    /* Flex properties applied via classes */
}

.navbar .logo-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

#navbar.scrolled {
    background-color: rgba(251, 246, 239, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-bottom: 1px solid #d9cabd;
}

#navbar button {
    background: none;
    border: none;
    padding: 0;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mobile-menu {
    display: none;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-image-container {
    transition: transform 0.5s;
}

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

/* Badge */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 0.25rem;
}

/* Card Effects */
.card-bg-light {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(252, 249, 244, 0.2);
}

/* SVG Icons */
svg {
    display: inline-block;
}

/* Responsive Design */
/* Special Color Classes */
.bg-navbar {
    background-color: rgba(251, 246, 239, 0.6);
}

.bg-white-20 {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.1);
}

.text-color-1 {
    color: #a37450;
}

.text-color-2 {
    color: #4a3f2f;
}

.text-color-3 {
    color: #6b5d4f;
}

.text-color-4 {
    color: #c36c3d;
}

.text-color-5 {
    color: #c9a963;
}

.text-color-6 {
    color: #8fab8f;
}

.text-color-7 {
    color: #fcf9f4;
}

.text-color-light-90 {
    color: rgba(252, 249, 244, 0.9);
}

.text-color-light-80 {
    color: rgba(252, 249, 244, 0.8);
}

.bg-color-1 {
    background-color: #fbf6ef;
}

.bg-color-2 {
    background-color: #f4f0ea;
}

.bg-color-3 {
    background-color: #4a3f2f;
}

.border-color-1 {
    border-color: #c36c3d;
}

.border-color-2 {
    border-color: #d9cabd;
}

.border-color-3 {
    border-color: #c9a963;
}

.border-color-4 {
    border-color: #8fab8f;
}

/* Trust Section */
.bg-trust-gradient {
    background: linear-gradient(to bottom right, #a37450, #7c82ce);
}

.bg-gradient-tip {
    background: linear-gradient(to right, rgba(195, 108, 61, 0.1), rgba(201, 169, 99, 0.1));
}

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .md\:hidden {
        display: block;
    }
    
    .text-5xl {
        font-size: 2.5rem;
    }
    
    .text-7xl {
        font-size: 3rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
    
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md\:text-xl {
        font-size: 1.25rem;
    }
    
    .md\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .md\:py-8 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .md\:mr-3 {
        margin-right: 0.75rem;
    }
    
    .md\:h-6 {
        height: 1.5rem;
    }
    
    .md\:w-6 {
        width: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .lg\:col-start-1 {
        grid-column-start: 1;
    }
    
    .lg\:col-start-2 {
        grid-column-start: 2;
    }
    
    .lg\:row-start-1 {
        grid-row-start: 1;
    }
    
    .lg\:text-2xl {
        font-size: 1.5rem;
    }
    
    .lg\:text-5xl {
        font-size: 3rem;
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
    
    .lg\:text-7xl {
        font-size: 4.5rem;
    }
    
    .lg\:p-12 {
        padding: 3rem;
    }
    
    .lg\:order-1 {
        order: 1;
    }
    
    .lg\:order-2 {
        order: 2;
    }
    
    .order-1 {
        order: 1;
    }
    
    .order-2 {
        order: 2;
    }
}