/*
Theme Name: Premium Boat Sale v4
Theme URI: https://example.com/premium-boat-v4
Author: AI Generator
Author URI: https://example.com
Description: Un tema premium orientado a la venta de barcos de lujo. Modular, limpio, rápido. Version 4.
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: premium-boat-v4

This theme was built based on the provided architecture document.
*/

/* Basic Reset & Setup */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; color: #0A1A2F; background-color: #F7F9FA; line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; width: 100%; display: block; }
img { max-width: 100%; height: auto; display: block; }
a { color: #1F4B8E; text-decoration: none; }
a:hover { color: #C9A050; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }

/* Header */
.site-header { padding: 1.5rem 0; background: #FFF; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; margin: 0; color: #0A1A2F; }

/* Navigation Menu */
.main-navigation .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.main-navigation .menu a {
    color: #0A1A2F;
    font-weight: 500;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}
.main-navigation .menu a:hover {
    color: #1F4B8E;
    text-shadow: 0 0 0.5px rgba(31,75,142,0.5);
}

/* Footer Container Setup */
.site-footer { background: #0A1A2F; color: #FFF; padding: 2rem 0; text-align: center; margin-top: auto; }
.site-footer p { margin: 0; font-size: 0.95rem; opacity: 0.8; }


/* Buttons */
.btn { display: inline-block; padding: 0.8rem 1.5rem; border-radius: 4px; font-weight: 600; text-align: center; transition: all 0.3s ease; }
.btn-primary { background-color: #0A1A2F; color: #FFF; border: transparent; }
.btn-primary:hover { background-color: #C9A050; color: #FFF; transform: translateY(-2px); }
.btn-whatsapp { background-color: #25D366; color: #FFF; }
.btn-whatsapp:hover { background-color: #1DA851; color: #FFF; }
.btn-text { color: #0A1A2F; font-weight: 600; }

/* Hero Section */
.hero-section { height: 80vh; min-height: 500px; background-size: cover; background-position: center; display: flex; align-items: center; text-align: center; color: #FFF; background-color: #0A1A2F; position: relative; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: rgba(10, 26, 47, 0.4); }
.hero-content { position: relative; z-index: 2; flex: 1; padding: 2rem; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem, 5vw, 5rem); margin-bottom: 0.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.hero-subtitle { font-size: 1.25rem; font-weight: 300; margin-bottom: 2rem; }

/* Summary */
.summary-section { padding: 5rem 0; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; text-align: center; margin-bottom: 1.5rem; }
.summary-text { max-width: 800px; margin: 0 auto 3rem; text-align: center; font-size: 1.125rem; }
.quick-specs { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.spec-item { display: flex; flex-direction: column; align-items: center; }
.spec-item .label { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; color: #666; }
.spec-item .value { font-size: 1.5rem; font-weight: 600; font-family: 'Cormorant Garamond', serif; color: #0A1A2F; }

/* Visual Nav */
.visual-nav-section { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; padding: 0 5% 5rem; }
.nav-card { background: #FFF; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s; display: block; color: inherit; }
.nav-card:hover { transform: translateY(-5px); }
.img-wrapper { height: 200px; background: #eee; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.card-caption { padding: 1.5rem; text-align: center; }
.card-caption h3 { margin: 0; font-size: 1.2rem; }

/* Pages Generics */
.page-header { padding: 4rem 0 2rem; text-align: center; }
.page-title { font-family: 'Cormorant Garamond', serif; font-size: 3rem; margin-bottom: 1rem; }
.page-subtitle { font-size: 1.25rem; color: #555; }

/* Galleries (Interior/Exterior) */
.gallery-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; padding: 2rem 5%; }
.gallery-item { margin: 0; break-inside: avoid; }
.gallery-item img { border-radius: 4px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.gallery-cta { padding: 4rem 0; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem; padding: 2rem 0; }
.video-card { background: #FFF; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.iframe-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.video-caption { padding: 1.5rem; margin: 0; font-size: 1.1rem; }

/* Tech Specs */
.specs-content { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; padding: 2rem 0; }
.specs-table { width: 100%; border-collapse: collapse; background: #FFF; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-radius: 8px; overflow: hidden; }
.specs-table th, .specs-table td { padding: 1.5rem; border-bottom: 1px solid #EEE; text-align: left; }
.specs-table th { font-weight: 600; width: 40%; }
.extras-list { list-style: none; padding: 0; margin: 0; }
.extras-list li { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #EEE; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding: 2rem 0 5rem; }
.location-box { background: #FFF; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin: 2rem 0; }
.sale-form { background: #FFF; padding: 3rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-control { width: 100%; padding: 0.8rem; border: 1px solid #CCC; border-radius: 4px; font-family: inherit; }
.submit-btn { width: 100%; font-size: 1.1rem; padding: 1rem; cursor: pointer; }

/* Media Queries */
@media (max-width: 768px) {
  .specs-content, .contact-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
}
