/* ==============================================
   ODYSS PREMIUM STYLESHEET
   Live fully. Think clearly. Do epic shit.
   
   A complete design system for premium websites
   Version: 1.0
   ============================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Source+Sans+Pro:wght@300;400;500;600&display=swap');

/* ======================
   1. CSS RESET & BASE
   ====================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--off-white);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color .8s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, .02) 0%, rgba(26, 26, 26, .01) 100%);
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
    z-index: -1;
}

body.scrolled::before {
    opacity: 1;
}

/* ======================
   2. PREMIUM VARIABLES
   ====================== */

:root {
    /* Brand Colors - More Sophisticated Usage */
    --adventure-sand: #D4A574;
    --sand-subtle: rgba(212, 165, 116, 0.08);
    --sand-light: rgba(212, 165, 116, 0.15);
    --sand-medium: rgba(212, 165, 116, 0.6);
    
    --deep-black: #1A1A1A;
    --charcoal: #2A2A2A;
    --off-white: #F7F3E9;
    --pure-white: #FFFFFF;
    
    /* Sophisticated Text Colors */
    --text-primary: #1A1A1A;
    --text-secondary: #4A4A4A;
    --text-tertiary: #6B6B6B;
    --text-light: #8A8A8A;
    
    /* Premium Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-xxl: 96px;
    --space-xxxl: 128px;
    
    /* Refined Shadows & Effects */
    --shadow-subtle: 0 1px 3px rgba(0,0,0,0.02), 0 4px 8px rgba(0,0,0,0.04);
    --shadow-soft: 0 4px 12px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 24px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.1);
    --shadow-strong: 0 16px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.14);
    --shadow-brand: 0 8px 32px rgba(212, 165, 116, 0.15);
    
    /* Premium Borders */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 32px;
    --border-light: 1px solid rgba(0,0,0,0.06);
    --border-brand: 1px solid var(--adventure-sand);
    
    /* Smooth Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ======================
   3. SOPHISTICATED TYPOGRAPHY
   ====================== */

/* Premium Headings - Strategic Uppercase */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Display Typography */
.display-xl {
    font-size: clamp(48px, 5.5vw, 88px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
    word-spacing: 0.1em;
}

.display-lg {
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.03em;
}

.display-md {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* Standard Headings */
h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 600; }
h3 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; }
h4 { font-size: 24px; font-weight: 600; }
h5 { font-size: 20px; font-weight: 600; }
h6 { font-size: 18px; font-weight: 600; }

/* Body Typography */
p, .body {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.body-lg {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.body-sm {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

/* Premium Labels & Captions */
.label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--adventure-sand);
    margin-bottom: var(--space-sm);
}

.caption {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Premium Highlights - Updated with animation */
.highlight-text {
    color: var(--adventure-sand);
    font-weight: 800;
    background: linear-gradient(135deg, #1A1A1A 0%, #E6B87D 50%, #C19660 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.text-gradient {
    background: linear-gradient(135deg, var(--adventure-sand), var(--charcoal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ======================
   4. PREMIUM COMPONENTS
   ====================== */

/* Sophisticated Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 14px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--deep-black);
    color: white;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--charcoal);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: white;
    color: var(--deep-black);
    border: var(--border-light);
    box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
    border-color: var(--adventure-sand);
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

.btn-brand {
    background: var(--adventure-sand);
    color: white;
    box-shadow: var(--shadow-brand);
}

.btn-brand:hover {
    background: #C19660;
    transform: translateY(-1px);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.25);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
    border-radius: var(--border-radius-lg);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 8px;
}

/* Premium Cards */
.card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    border: var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(212, 165, 116, 0.2);
}

.card-premium {
    background: linear-gradient(135deg, white 0%, rgba(247, 243, 233, 0.3) 100%);
    border: 2px solid var(--adventure-sand);
    box-shadow: var(--shadow-brand);
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(212, 165, 116, 0.2);
}

.card-minimal {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: var(--space-lg);
}

/* Premium Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(247, 243, 233, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: var(--border-light);
    transition: var(--transition);
}

.nav.scrolled {
    padding: 6px 0;
    background: rgba(247, 243, 233, 0.95);
    box-shadow: var(--shadow-soft);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--deep-black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--adventure-sand);
}

.nav-links a.active {
    color: var(--deep-black);
    font-weight: 600;
}

/* Start Here button specific styling */
.nav-links .btn-primary {
    color: var(--off-white);
}

/* Premium Sections */
.section {
    padding: var(--space-xxxl) 0;
}

.section-sm {
    padding: var(--space-xxl) 0;
}

.section-lg {
    padding: 160px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1400px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-xxl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--adventure-sand);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: var(--space-md);
    line-height: 1.6;
}

/* ======================
   5. PREMIUM LAYOUTS
   ====================== */

/* Sophisticated Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Premium Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }

.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* ======================
   6. HERO SECTION COMPONENTS
   ====================== */

/* Premium Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--space-xxxl) 0;
    background: linear-gradient(135deg, var(--off-white) 0%, rgba(247, 243, 233, 0.6) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-xxl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-text {
    max-width: 600px;
}

/* Fixed Hero Visual */
.hero-visual-container {
    position: relative;
}

.hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, var(--adventure-sand) 0%, #C19660 100%);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* Floating Stats/Cards - Updated to match working example */
.floating-stat, .floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: floatAdvanced 8s ease-in-out infinite;
    z-index: 20;
}

.floating-stat.top-right, .floating-card.stats {
    top: -20px;
    right: -40px;
    text-align: center;
    min-width: 120px;
}

.floating-stat.bottom-left, .floating-card.quote {
    bottom: -20px;
    left: -40px;
    max-width: 240px;
}

@keyframes floatAdvanced {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-15px) translateX(5px) rotate(1deg); }
    50% { transform: translateY(-8px) translateX(-3px) rotate(-0.5deg); }
    75% { transform: translateY(-20px) translateX(8px) rotate(0.8deg); }
}

.floating-stat:nth-child(2), .floating-card:nth-child(2) {
    animation-delay: -2s;
}

.floating-stat:nth-child(3), .floating-card:nth-child(3) {
    animation-delay: -4s;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--adventure-sand);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Premium Footer */
.footer {
    background: var(--deep-black);
    color: white;
    padding: var(--space-xxl) 0 var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.4);
    font-size: 14px;
}

/* ======================
   7. UTILITY CLASSES
   ====================== */

/* Spacing */
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.pt-xs { padding-top: var(--space-xs); }
.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }

.pb-xs { padding-bottom: var(--space-xs); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }

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

/* Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-tertiary { color: var(--text-tertiary); }
.text-brand { color: var(--adventure-sand); }
.text-white { color: white; }

/* Backgrounds */
.bg-white { background: white; }
.bg-off-white { background: var(--off-white); }
.bg-dark { background: var(--deep-black); }
.bg-brand { background: var(--adventure-sand); }

/* Display */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* ======================
   8. RESPONSIVE DESIGN
   ====================== */

@media (max-width: 1024px) {
    .hero-content,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 24px;
        --space-xl: 40px;
        --space-xxl: 64px;
        --space-xxxl: 80px;
    }
    
    .container,
    .container-narrow,
    .container-wide {
        padding: 0 var(--space-md);
    }
    
    .nav-container {
        padding: 0 var(--space-md);
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .nav-links {
        display: flex;
        gap: var(--space-sm);
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: var(--space-sm);
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .nav-links .btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .hero-content {
        gap: var(--space-lg);
        text-align: center;
        padding: 0 var(--space-md);
    }
    
    .hero-text {
        max-width: none;
        width: 100%;
    }
    
    .hero-text .flex {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-visual {
        aspect-ratio: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .floating-stat.top-right, .floating-card.stats {
        top: -10px;
        right: -20px;
    }
    
    .floating-stat.bottom-left, .floating-card.quote {
        bottom: -10px;
        left: -20px;
        max-width: 200px;
    }
    
    .btn-lg {
        padding: 16px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .floating-stat, .floating-card {
        position: static;
        margin: var(--space-md) auto;
        animation: none;
        display: block;
        width: fit-content;
    }
    
    .section,
    .section-sm,
    .section-lg {
        padding: var(--space-xl) 0;
    }
    
    .hero-text .flex {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Focus states */
.btn:focus,
.nav-links a:focus {
    outline: 2px solid var(--adventure-sand);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--sand-light);
    color: var(--deep-black);
}

/* Ultra Minimal Footer - Odyss Brand Colors */
.footer-minimal {
    background: var(--deep-black);
    padding: 20px 0;
    border-top: 1px solid rgba(212,165,116,0.15);
    margin-top: auto;
}

.footer-content-minimal {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--space-md);
}

.footer-links-minimal {
    margin-bottom: 4px;
}

.footer-links-minimal a {
    font-family: 'Inter', sans-serif;
    color: var(--off-white);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-minimal a:hover {
    color: var(--adventure-sand);
}

.footer-links-minimal span {
    color: var(--adventure-sand);
    margin: 0 8px;
    font-size: 12px;
    font-weight: 600;
}

.footer-copyright-minimal {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .footer-content-minimal {
        padding: 0 var(--space-sm);
    }
    .footer-links-minimal a {
        font-size: 12px;
    }
    .footer-copyright-minimal {
        font-size: 10px;
    }
    .footer-links-minimal span {
        margin: 0 4px;
    }
}