/* CSS Custom Properties (Design System) */
:root {
    --radius: 1rem;

    /* Colors */
    --white: #FFFFFF;
    --cream: #F5F1ED;
    --orange: #F39C12;
    --orange-dark: #E67E22;
    --orange-light: #FFB347;
    --dark: #1a1a1a;
    --gray: #6B6B6B;
    --gray-light: #E8E8E8;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, var(--orange), var(--orange-dark));
    --gradient-page: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);

    /* Shadows */
    --shadow-orange: 0 12px 32px -8px rgba(243, 156, 18, 0.35);
    --shadow-card: 0 8px 24px -6px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    background-color: #FFFFFF !important;
    color: #1a1a1a !important;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Fraunces", ui-serif, Georgia, serif;
}

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

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

/* Animations */
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.animate-floaty {
    animation: floaty 8s ease-in-out infinite;
}

.transition {
    transition: all 0.3s ease;
}

/* Container & Layout */
.container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Increase padding for all sections on desktop */
section, header, footer {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

@media (min-width: 1280px) {
    section, header, footer {
        padding-left: 4rem !important;
        padding-right: 4rem !important;
    }
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.pointer-events-none {
    pointer-events: none;
}

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

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

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

/* Flexbox */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

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

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

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

.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-2 { row-gap: 0.5rem; }

/* Grid */
.grid {
    display: grid;
}

.place-items-center {
    place-items: center;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:inline { display: inline; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:px-16 { padding-left: 4rem; padding-right: 4rem; }
    .md\:pt-16 { padding-top: 4rem; }
    .md\:text-left { text-align: left; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-center { text-align: center; }
}

/* Sizing */
.w-full { width: 100%; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-6xl { max-width: 72rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.size-8 { width: 2rem; height: 2rem; }
.size-11 { width: 2.75rem; height: 2.75rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }
.h-2 { height: 0.5rem; }
.w-2 { width: 0.5rem; }
.w-6 { width: 1.5rem; }
.aspect-square { aspect-ratio: 1; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

/* Padding */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-8 { padding-top: 2rem; }
.pt-16 { padding-top: 4rem; }
.pt-48 { padding-top: 12rem; }
.pt-64 { padding-top: 16rem; }
.pt-80 { padding-top: 20rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-24 { padding-bottom: 6rem; }
.pb-32 { padding-bottom: 8rem; }
.pb-40 { padding-bottom: 10rem; }

/* Margin */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-9 { margin-top: 2.25rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-4 { margin-left: 1rem; }

/* Display & Overflow */
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.min-h-screen { min-height: 100vh; }

/* Background */
.bg-abyss { background-color: var(--white); }
.bg-deep { background-color: var(--cream); }
.bg-dusk { background-color: var(--gray-light); }
.bg-gradient-glow { background: var(--gradient-orange); }
.bg-gradient-page { background: var(--gradient-page); }
.bg-coral { background-color: var(--orange); }
.bg-glow { background-color: #F39C12 !important; }
.bg-white { background-color: #FFFFFF !important; }
.bg-abyss\/90 { background-color: rgba(255, 255, 255, 0.9) !important; }
.bg-abyss\/80 { background-color: rgba(255, 255, 255, 0.8) !important; }
.bg-abyss\/70 { background-color: rgba(255, 255, 255, 0.7) !important; }
.bg-abyss\/60 { background-color: rgba(255, 255, 255, 0.6) !important; }
.bg-abyss\/40 { background-color: rgba(255, 255, 255, 0.4) !important; }
.bg-abyss\/15 { background-color: rgba(255, 255, 255, 0.15) !important; }
.bg-deep\/90 { background-color: rgba(245, 241, 237, 0.9) !important; }
.bg-deep\/70 { background-color: rgba(245, 241, 237, 0.7) !important; }
.bg-deep\/60 { background-color: rgba(245, 241, 237, 0.6) !important; }
.bg-deep\/40 { background-color: rgba(245, 241, 237, 0.4) !important; }
.bg-deep\/30 { background-color: rgba(245, 241, 237, 0.3) !important; }
.bg-deep\/25 { background-color: rgba(245, 241, 237, 0.25) !important; }
.bg-dusk\/70 { background-color: rgba(232, 232, 232, 0.7); }
.bg-dusk\/50 { background-color: rgba(232, 232, 232, 0.5); }
.bg-glow\/10 { background-color: rgba(243, 156, 18, 0.1); }
.bg-glow\/5 { background-color: rgba(243, 156, 18, 0.05); }
.bg-coral\/80 { background-color: rgba(243, 156, 18, 0.8); }
.bg-gradient-to-b { background-image: linear-gradient(to bottom, var(--cream), var(--white)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--cream), var(--white)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--white), transparent); }

/* Text Colors */
.text-abyss { color: #1a1a1a !important; }
.text-foam { color: #1a1a1a !important; }
.text-glow { color: #F39C12 !important; }
.text-coral { color: #F39C12 !important; }
.text-white { color: #FFFFFF !important; }
.text-foam\/70 { color: rgba(26, 26, 26, 0.7) !important; }
.text-foam\/65 { color: rgba(26, 26, 26, 0.65) !important; }
.text-foam\/60 { color: rgba(26, 26, 26, 0.6) !important; }
.text-foam\/55 { color: rgba(26, 26, 26, 0.55) !important; }
.text-foam\/50 { color: rgba(26, 26, 26, 0.5) !important; }
.text-foam\/45 { color: rgba(26, 26, 26, 0.45) !important; }
.text-foam\/40 { color: rgba(26, 26, 26, 0.4) !important; }
.text-foam\/90 { color: rgba(26, 26, 26, 0.9) !important; }
.text-glow\/70 { color: rgba(243, 156, 18, 0.7) !important; }
.text-coral\/80 { color: rgba(243, 156, 18, 0.8) !important; }

/* Font Sizing */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-\[68px\] { font-size: 68px; }

/* Font Weight */
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* Font Family */
.font-serif { font-family: "Fraunces", ui-serif, Georgia, serif; }
.font-sans { font-family: "Manrope", ui-sans-serif, system-ui, sans-serif; }

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

/* Border */
.border { border: 1px solid; }
.border-glow\/30 { border-color: rgba(243, 156, 18, 0.3); }
.border-glow\/25 { border-color: rgba(243, 156, 18, 0.25); }
.border-glow\/20 { border-color: rgba(243, 156, 18, 0.2); }
.border-glow\/15 { border-color: rgba(243, 156, 18, 0.15); }
.border-glow\/12 { border-color: rgba(243, 156, 18, 0.12); }
.border-glow\/10 { border-color: rgba(243, 156, 18, 0.1); }
.border-glow\/5 { border-color: rgba(243, 156, 18, 0.05); }
.border-glow\/40 { border-color: rgba(243, 156, 18, 0.4); }
.border-glow\/60 { border-color: rgba(243, 156, 18, 0.6); }
.border-glow\/50 { border-color: rgba(243, 156, 18, 0.5); }
.border-foam\/20 { border-color: rgba(26, 26, 26, 0.2); }
.border-foam\/40 { border-color: rgba(26, 26, 26, 0.4); }
.border-foam\/50 { border-color: rgba(26, 26, 26, 0.5); }

/* Border Radius */
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: calc(var(--radius) + 8px); }
.rounded-3xl { border-radius: calc(var(--radius) + 12px); }
.rounded-\[2rem\] { border-radius: 2rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }
.rounded-\[3rem\] { border-radius: 3rem; }

/* Outline */
.outline-1 { outline-width: 1px; }
.-outline-offset-1 { outline-offset: -1px; }
.outline-glow\/10 { outline-color: rgba(243, 156, 18, 0.1); }

/* Shadow */
.shadow-\[var\(--shadow-glow\)\] { box-shadow: var(--shadow-orange); }
.shadow-\[var\(--shadow-glow-sm\)\] { box-shadow: var(--shadow-orange); }
.shadow-\[var\(--shadow-card\)\] { box-shadow: var(--shadow-card); }

/* Opacity & Hover */
.opacity-40 { opacity: 0.4; }
.opacity-50 { opacity: 0.5; }

/* Additional utility classes */
.bg-gray-light { background-color: var(--gray-light); }
.hover\:brightness-110:hover { filter: brightness(1.1); }
.hover\:border-glow\/50:hover { border-color: rgba(243, 156, 18, 0.5); }
.hover\:border-glow\/30:hover { border-color: rgba(243, 156, 18, 0.3); }
.hover\:text-glow:hover { color: var(--orange); }
.hover\:text-glow:hover { color: var(--orange); }
.hover\:bg-abyss:hover { background-color: var(--white); }
.hover\:border-glow\/60:hover { border-color: rgba(243, 156, 18, 0.6); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.04\]:hover { transform: scale(1.04); }

/* Transform & Duration */
.translate-y-0 { transform: translateY(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.scale-105 { transform: scale(1.05); }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.ease-\[cubic-bezier\(0\.22\,1\,0\.36\,1\)\] { transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* Tracking (Letter Spacing) */
.tracking-tight { letter-spacing: -0.015em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }

/* Line Height */
.leading-\[1\.02\] { line-height: 1.02; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }

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

/* Group & Transition */
.group { --tw-group: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:scale-\[1\.04\] { transform: scale(1.04); }
.group:hover .group-hover\:border-glow\/35:hover { border-color: rgba(243, 156, 18, 0.35); }

/* Specific Utilities */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.shrink-0 { flex-shrink: 0; }
.grow-0 { flex-grow: 0; }
.basis-full { flex-basis: 100%; }
.basis-1\/2 { flex-basis: 50%; }
.basis-1\/3 { flex-basis: 33.333%; }

/* Loading lazy images */
img[loading="lazy"] {
    background: rgba(243, 156, 18, 0.05);
}

/* Smooth transitions */
img {
    transition: opacity 0.3s ease;
}

/* Video player */
video {
    display: block;
    width: 100%;
}

/* Modal styles */
.modal-backdrop {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(4px);
}

/* Carousel styles */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    min-height: 400px;
}

.carousel-item {
    flex-shrink: 0;
    flex-grow: 0;
    width: 100%;
    min-width: 100%;
}

@media (min-width: 640px) {
    .carousel-item {
        width: 50%;
        min-width: 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-item {
        width: 33.333%;
        min-width: 33.333%;
    }
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-container {
    min-height: 400px;
}

/* Button group */
.btn-group {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(243, 156, 18, 0.4);
    background-color: rgba(245, 241, 237, 0.9);
    padding: 1rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--orange);
    transition: all 0.3s ease;
}

.btn-group:hover {
    border-color: rgba(243, 156, 18, 0.8);
    background-color: rgba(243, 156, 18, 0.15);
}

/* CTA Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 9999px;
    background: var(--gradient-orange);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: var(--shadow-orange);
    transition: filter 0.3s ease;
}

.btn-primary:hover {
    filter: brightness(0.9);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(243, 156, 18, 0.4);
    padding: 1rem 1.75rem;
    font-weight: 700;
    color: var(--orange);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(243, 156, 18, 0.8);
    color: var(--orange-dark);
    background-color: rgba(243, 156, 18, 0.1);
}

/* Responsive tweaks */
@media (min-width: 768px) {
    .md\:grid-cols-\[0\.9fr_1\.1fr\] {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .md\:grid-cols-\[minmax\(0\,340px\)_1fr\] {
        grid-template-columns: minmax(0, 340px) 1fr;
    }

    .md\:grid-cols-\[1\.1fr_0\.9fr\] {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* Mobile Navigation */
nav {
    position: relative;
}

nav img {
    max-width: 200px;
    height: auto;
}

.nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    min-width: auto;
    box-shadow: none;
    gap: 2rem;
    z-index: 100;
}

.nav-links.active {
    display: flex;
}

.nav-links a {
    padding: 0;
    border-radius: 0;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    background-color: transparent;
    color: #F39C12;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a1a;
    padding: 0.5rem;
    margin-right: 1rem;
}

@media (max-width: 767px) {
    nav {
        flex-wrap: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
        gap: 0.75rem;
        justify-content: space-between;
    }

    nav img {
        max-width: 100px;
        flex-shrink: 0;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        display: none !important;
    }

    .menu-toggle {
        display: none !important;
    }

    .btn-primary.nav-btn {
        font-size: 0.75rem;
        padding: 0.65rem 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    header, section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    p, blockquote {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .md\:text-\[68px\] {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 640px) {
    nav img {
        max-width: 100px;
    }

    .btn-primary.nav-btn {
        font-size: 0.75rem;
        padding: 0.65rem 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .text-\[68px\] {
        font-size: 1.75rem !important;
    }

    /* Fix badge overlap on mobile and tablets */
    header .relative > div[class*="absolute"] {
        top: 12px !important;
        left: 12px !important;
        right: auto;
    }
}
