/* ============================================
   Blue Baux Seafood — Custom Styles
   ============================================ */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background-color: rgba(212, 163, 115, 0.3);
    color: #4A3B52;
}

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

::-webkit-scrollbar-track {
    background: #F8F5F7;
}

::-webkit-scrollbar-thumb {
    background: #C4B0C2;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8B6B8A;
}

/* ============================================
   Floating Card Animations
   ============================================ */
.card-float-1 {
    animation: float1 4s ease-in-out infinite;
}

.card-float-2 {
    animation: float2 5s ease-in-out infinite;
}

.card-float-3 {
    animation: float3 6s ease-in-out infinite;
}

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

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

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* ============================================
   Scroll Reveal Animations
   (Progressive enhancement — content visible without JS)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal[data-reveal="delayed"] {
        transition-delay: 0.2s;
    }
    
    .reveal[data-reveal="delayed-2"] {
        transition-delay: 0.4s;
    }
}

/* Default state: always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobileMenu.menu-open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.menu-closed {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   Navbar Scroll State
   ============================================ */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(74, 59, 82, 0.08);
}

/* ============================================
   Form Focus States
   ============================================ */
input:focus,
textarea:focus {
    outline: none;
}

/* ============================================
   Image aspect ratios
   ============================================ */
img {
    display: block;
    max-width: 100%;
}

/* ============================================
   Responsive adjustments
   ============================================ */
@media (max-width: 768px) {
    .card-float-1,
    .card-float-2,
    .card-float-3 {
        display: none;
    }
}

/* ============================================
   Print styles
   ============================================ */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
