:root {
    /* Color Palette - Coastal Premium */
    --sea-950: hsl(200, 50%, 8%);
    --sea-900: hsl(200, 50%, 12%);
    --sea-800: hsl(200, 45%, 22%);
    --sea-700: hsl(200, 30%, 35%);
    --sea-600: hsl(200, 20%, 45%);
    --amber-600: hsl(35, 90%, 50%);
    --amber-500: hsl(35, 90%, 60%);
    --sand-100: hsl(45, 30%, 93%);
    --sand-50: hsl(45, 30%, 97%);
    --white: #ffffff;
    
    /* Typography */
    --font-heading: 'Epilogue', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 8rem 2rem;
    
    /* Transitions */
    --bezier: cubic-bezier(0.76, 0, 0.24, 1);
    --duration: 1s;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--sand-50);
    color: var(--sea-950);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.navbar {
    background-color: hsla(45, 30%, 97%, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: 90px;
    display: flex;
    align-items: center;
}

.page-content {
    min-height: 100vh;
}

/* Section Components */
.view-section {
    padding: var(--section-padding);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration) var(--bezier), transform var(--duration) var(--bezier);
}

.view-section.animate-fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Transitions for Page Load */
@keyframes pageEntrance {
    from { opacity: 0; transform: scale(1.02); filter: blur(10px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.view-section-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 0;
    animation: pageEntrance 1.5s var(--bezier) forwards;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    padding: 0 2rem;
}

/* Components */
.nav-link {
    color: var(--sea-800);
    position: relative;
    padding-bottom: 4px;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--amber-600);
    transition: width 0.4s var(--bezier);
}

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

.nav-link.active {
    color: var(--sea-950);
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s var(--bezier);
}

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

.footer-logo {
    height: 90px;
    margin-bottom: 1rem;
}

.cta-button {
    box-shadow: 0 10px 30px -10px var(--sea-950);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px var(--sea-950);
}

/* Grainy Effect */
.grainy::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    z-index: 999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Utils */
.text-amber { color: var(--amber-600); }
.italic { font-style: italic; }
.tracking-tighter { letter-spacing: -0.05em; }
.max-w-7xl { max-width: 80rem; margin-inline: auto; }
.hidden { display: none; }
/* Layout Utilities */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; margin-left: auto; margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.flex { display: flex; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.flex-1 { flex: 1 1 0%; }
.whitespace-nowrap { white-space: nowrap; }
.ml-auto { margin-left: auto; }
.min-w-80px { min-width: 80px; }

@media (max-width: 768px) {
    .event-row { flex-direction: column; text-align: center; gap: 1rem; }
    .event-row .ml-auto { margin-left: 0; }
}

/* Spacing Utilities */
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-32 { padding-top: 8rem; }
.pt-40 { padding-top: 10rem; }
.pt-50 { padding-top: 12.5rem; }
.pb-20 { padding-bottom: 5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }

/* Typography Utilities */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.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-8xl { font-size: 6rem; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.italic { font-style: italic; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.2em; }
.tracking-tighter { letter-spacing: -0.05em; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-amber-500 { color: var(--amber-500); }
.text-amber-600 { color: var(--amber-600); }
.text-sea-950 { color: var(--sea-950); }
.text-sea-900 { color: var(--sea-900); }
.text-sea-800 { color: var(--sea-800); }
.text-sea-700 { color: var(--sea-700); }
.text-sea-600 { color: var(--sea-600); }

/* Background Utilities */
.bg-white { background-color: var(--white); }
.bg-sand-50 { background-color: var(--sand-50); }
.bg-sand-100 { background-color: var(--sand-100); }
.bg-sea-950 { background-color: var(--sea-950); }
.bg-sea-900 { background-color: var(--sea-900); }
.bg-sea-800 { background-color: var(--sea-800); }
.bg-amber-600 { background-color: var(--amber-600); }
.bg-amber-500 { background-color: var(--amber-500); }


/* Aspect Ratio Utilities */
.aspect-square { aspect-ratio: 1 / 1; }
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.aspect-\[3\/4\] { aspect-ratio: 3 / 4; }

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

/* Image Stack Component */
.image-stack {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.main-image {
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-card {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    background-color: var(--amber-600);
    color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 20;
    max-width: 280px;
}

@media (max-width: 768px) {
    .image-stack {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    .floating-card {
        position: relative;
        bottom: 0;
        right: 0;
        margin: -2rem auto 0;
        max-width: 90%;
        transform: rotate(0) !important;
    }
}

/* Responsive Grid/Flex */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .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\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:row-span-2 { grid-row: span 2 / span 2; }
    .md\:text-left { text-align: left; }
    .md\:block { display: block; }
    .md\:hidden { display: none; }
}

/* Navbar Fix */
.navbar {
    background-color: hsla(45, 30%, 97%, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    height: 90px;
}

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


/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sand-50); }
::-webkit-scrollbar-thumb { background: var(--sea-800); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--sea-900); }
