/* ============================================
   Los Plebes Inc — Custom Styles
   Classic & Elegant · Burgundy + Blush
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(139, 26, 43, 0.15);
    color: #470e13;
}

/* ============================================
   Navbar Scroll State
   ============================================ */
.navbar-scrolled {
    background: rgba(250, 247, 245, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.navbar-scrolled .nav-logo-text {
    color: #1c1917 !important;
}

.navbar-scrolled .nav-logo-sub {
    color: #78716c !important;
}

.navbar-scrolled #menu-icon-open {
    stroke: #1c1917 !important;
}

/* ============================================
   Hero Animations
   ============================================ */
.hero-eyebrow {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-ctas {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-stats {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.hero-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1.2s;
}

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

/* Floating Cards */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

@keyframes float-fast {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float-slow {
    animation: float-slow 5s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 4s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 3.5s ease-in-out infinite;
}

/* ============================================
   Scroll Reveal (Progressive Enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .about-images img {
        transition: transform 0.7s ease;
    }
    
    .about-images img:hover {
        transform: scale(1.03);
    }
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ============================================
   Form Styles
   ============================================ */
input::placeholder,
textarea::placeholder {
    color: rgba(200, 195, 190, 0.6);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Date input text color fix for dark theme */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
}

/* ============================================
   Smooth Scroll Offset for Fixed Nav
   ============================================ */
section[id] {
    scroll-margin-top: 80px;
}

/* ============================================
   Utility & Polish
   ============================================ */
img {
    display: block;
    max-width: 100%;
}

/* Subtle hover lift for cards */
.rounded-2xl {
    transition: box-shadow 0.3s ease;
}

.rounded-2xl:hover {
    box-shadow: 0 20px 60px rgba(45, 8, 9, 0.12);
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 767px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}
