/* Variables de Lujo */
:root {
    --primary: #0a1128;      /* Deep Ocean Blue */
    --secondary: #1c2541;    /* Navy Blue */
    --gold: #d4af37;         /* Classic Gold */
    --gold-light: #f3e5ab;   /* Light Gold/Vanilla */
    --text-main: #f8f9fa;    /* Off-white */
    --text-muted: #a0a5b5;   /* Muted Blue-grey */
    --glass-bg: rgba(10, 17, 40, 0.6);
    --glass-border: rgba(212, 175, 55, 0.2);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    background-color: var(--primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* Navegación Glassmorphism */
.site-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    padding: 25px 0;
    background: transparent;
    transition: var(--transition-fast);
}
.site-header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 600; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav a { font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-main); position: relative; }
.site-nav a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; background-color: var(--gold); transition: var(--transition-fast); }
.site-nav a:hover::after { width: 100%; }

/* Botones Premium */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 35px;
    font-size: 0.85rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; border-radius: 2px;
    transition: var(--transition-slow);
    position: relative; overflow: hidden;
}
.btn-gold {
    background: var(--gold); color: var(--primary);
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: transparent; color: var(--gold); }
.btn-outline-glass {
    background: transparent; color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(5px);
}
.btn-outline-glass:hover { border-color: var(--gold); color: var(--gold); background: rgba(212, 175, 55, 0.05); }

/* Hero Section (2 Videos) */
.hero-section {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
}
.video-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; overflow: hidden;
}
.bg-video {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    object-fit: cover; opacity: 0;
    transition: opacity 2s ease-in-out;
}
.bg-video.active { opacity: 1; }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(10,17,40,0.4) 0%, rgba(10,17,40,0.8) 100%);
    z-index: 2;
}
.hero-content { position: relative; z-index: 3; max-width: 1000px; }
.hero-content h1 {
    font-size: 5rem; font-weight: 400; color: var(--gold-light);
    margin-bottom: 30px; letter-spacing: 1px;
}
.hero-content p {
    font-size: 1.3rem; font-weight: 300; color: var(--text-muted);
    max-width: 700px; margin: 0 auto 50px;
}
.hero-actions { display: flex; gap: 20px; justify-content: center; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 4; opacity: 0.7; transition: var(--transition-fast);
}
.scroll-indicator:hover { opacity: 1; }
.mouse {
    width: 26px; height: 42px; border: 2px solid var(--text-muted); border-radius: 15px;
    display: block; position: relative;
}
.wheel {
    width: 4px; height: 6px; background: var(--gold); border-radius: 2px;
    position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
    animation: scroll 2s infinite;
}
@keyframes scroll { 0% { top: 8px; opacity: 1; } 100% { top: 24px; opacity: 0; } }

/* Philosophy Section */
.philosophy-section { padding: 150px 0; background: url('https://www.transparenttextures.com/patterns/stardust.png'), var(--secondary); }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pre-heading { display: block; font-size: 0.8rem; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; margin-bottom: 20px; }
.philosophy-text h2 { font-size: 3.5rem; margin-bottom: 30px; color: var(--text-main); }
.philosophy-text p { color: var(--text-muted); font-size: 1.1rem; }
.glass-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px); padding: 60px; border-radius: 4px;
    display: flex; gap: 40px; justify-content: center;
}
.stat { text-align: center; }
.stat .number { display: block; font-family: var(--font-heading); font-size: 4rem; color: var(--gold); }
.stat .label { font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }

/* Catalog */
.catalogo-section { padding: 120px 0; background: var(--primary); }
.header-divider { width: 60px; height: 2px; background: var(--gold); margin: 30px auto; }
.section-header h2 { font-size: 3rem; }
.boats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 50px; margin-top: 60px; }
.boat-card { position: relative; group; }
.boat-link-wrapper { display: block; }
.boat-image {
    position: relative; height: 450px; overflow: hidden; border-radius: 4px;
}
.boat-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.boat-overlay-hover {
    position: absolute; inset: 0; background: rgba(10,17,40,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--transition-slow);
}
.view-btn { padding: 15px 30px; border: 1px solid var(--gold); color: var(--gold); letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; transform: translateY(20px); transition: var(--transition-slow); }
.boat-card:hover .boat-image img { transform: scale(1.08); }
.boat-card:hover .boat-overlay-hover { opacity: 1; }
.boat-card:hover .view-btn { transform: translateY(0); }
.boat-info { padding-top: 25px; text-align: center; }
.boat-meta { display: flex; justify-content: center; gap: 20px; font-size: 0.8rem; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 15px; }
.boat-info h3 { font-size: 2rem; margin-bottom: 5px; color: var(--gold-light); transition: color 0.3s; }
.boat-card:hover .boat-info h3 { color: var(--gold); }
.boat-info .subtitle { font-size: 1rem; color: var(--text-muted); }
.img-placeholder { width: 100%; height: 100%; background: #1a233a; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 2px; }

/* Detail Page */
.boat-detail-section { padding-top: 100px; }
.boat-hero { position: relative; height: 70vh; margin-bottom: 80px; }
.boat-hero img { width: 100%; height: 100%; object-fit: cover; }
.boat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, var(--primary) 0%, transparent 100%); display: flex; align-items: flex-end; padding-bottom: 60px; }
.boat-hero-overlay h1 { font-size: 4.5rem; color: var(--gold-light); }
.boat-details { display: grid; grid-template-columns: 2fr 1fr; gap: 80px; margin-bottom: 100px; }
.content-formatted { font-size: 1.15rem; color: var(--text-muted); }
.content-formatted p { margin-bottom: 25px; }
.specs-card { background: var(--secondary); padding: 50px; border-top: 2px solid var(--gold); }
.specs-card h3 { font-size: 1.8rem; color: var(--gold); margin-bottom: 30px; }
.specs-card ul { list-style: none; }
.specs-card ul li { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-main); }
.specs-card ul li strong { color: var(--text-muted); font-weight: normal; }

/* Footer */
.site-footer { background: #050914; padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; margin-bottom: 80px; }
.footer-brand h2 { font-family: var(--font-heading); color: var(--gold); font-size: 2rem; margin-bottom: 20px; }
.footer-contact h3 { color: var(--text-main); font-size: 1.2rem; margin-bottom: 20px; }
.footer-contact a { font-size: 1.5rem; color: var(--gold-light); }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 0.8rem; letter-spacing: 1px; }

/* Reveal Animations Class */
.reveal-text, .reveal-fade, .reveal-fade-up { opacity: 0; }
.reveal-text.visible { animation: revealText 1s forwards cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-fade-up.visible { animation: fadeInUp 1s forwards ease; }
.reveal-fade.visible { animation: fadeIn 1.5s forwards ease; }
@keyframes revealText { 0% { opacity: 0; transform: translateY(40px) scale(0.95); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

/* Media Queries */
@media (max-width: 991px) {
    .hero-content h1 { font-size: 3.5rem; }
    .philosophy-grid, .boat-details, .footer-content { grid-template-columns: 1fr; }
    .site-nav { display: none; }
}
