/* Custom styles for Vintage Rewind — premium dark luxury theme */

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Raleway', system-ui, sans-serif;
    background: #130d17;
    color: #f5f0f7;
    overflow-x: hidden;
}

/* Metallic gold gradient */
.gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #fcd34d 40%, #b8860b 70%, #92600a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-gradient-bg {
    background: linear-gradient(135deg, #C9A84C 0%, #fcd34d 40%, #b8860b 70%, #92600a 100%);
}

/* Decorative line */
.gold-line {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C9A84C 50%, transparent 100%);
}

/* Pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(rgba(201, 168, 76, 0.025) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Hero */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/5531709/pexels-photo-5531709.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19,13,23,0.75) 0%, rgba(45,27,54,0.85) 50%, rgba(19,13,23,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Navbar scroll state */
.navbar {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(19, 13, 23, 0.97) !important;
    box-shadow: 0 1px 20px rgba(201, 168, 76, 0.08);
}

/* Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(201, 168, 76, 0.12);
}

/* Gold button shine */
.btn-gold {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::after {
    left: 100%;
}

.btn-gold:hover {
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
    transform: translateY(-2px);
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #130d17; }
::-webkit-scrollbar-thumb { background: #51315d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #C9A84C; }

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #f5f0f7;
}

/* Form focus states */
input:focus, textarea:focus {
    border-color: rgba(201, 168, 76, 0.6) !important;
    box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.2) !important;
}

/* Image lazy loading fade-in */
img[loading="lazy"] {
    transition: opacity 0.5s ease;
}

/* Smooth anchor offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}
</style>
