/* ===================================
   FRO ZONE - Custom Styles
   Bold Editorial Design System
   =================================== */

/* Color Variables */
:root {
    --navy-900: #0A1A3A;
    --navy-800: #0F2447;
    --cream: #F5F0E8;
    --gold: #D4AF37;
    --gold-light: #E8C95A;
    --cream-dark: #E8E0D0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--navy-900);
    color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Selection */
::selection {
    background: var(--gold);
    color: var(--navy-900);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 1s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(10, 26, 58, 0.95);
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    animation: slideDown 0.5s ease-out forwards;
}

.mobile-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-link:nth-child(2) { animation-delay: 0.2s; }
.mobile-link:nth-child(3) { animation-delay: 0.3s; }
.mobile-link:nth-child(4) { animation-delay: 0.4s; }

/* Image Hover Effects */
img {
    transition: transform 0.5s ease;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Input Focus Styles */
input:focus, textarea:focus {
    outline: none;
}

/* Section Spacing */
section {
    position: relative;
}

/* Gallery Grid */
.grid > div {
    overflow: hidden;
    border-radius: 8px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print Styles */
@media print {
    #navbar,
    #mobile-menu-btn,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Tailwind Custom Colors */
@layer base {
    .bg-navy-900 {
        background-color: var(--navy-900);
    }
    
    .bg-navy-800 {
        background-color: var(--navy-800);
    }
    
    .text-cream {
        color: var(--cream);
    }
    
    .text-gold {
        color: var(--gold);
    }
    
    .text-gold-light {
        color: var(--gold-light);
    }
    
    .bg-gold {
        background-color: var(--gold);
    }
    
    .bg-gold-light {
        background-color: var(--gold-light);
    }
    
    .border-gold {
        border-color: var(--gold);
    }
}
