/* ==========================================================================
   DISEÑO PROFESIONAL - RESTAURACIÓN FIEL
   ========================================================================== */
:root {
    --primary: #001a33;
    --accent: #d4af37;
    --white: #ffffff;
    --bg-light: #f4f4f4; /* Fondo gris claro */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Great Vibes', cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header-top {
    background: var(--primary);
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
}

.main-nav {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 170px; /* Tamaño duplicado para mayor visibilidad */
    width: auto;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--primary);
}

/* ==========================================================================
   HERO SECTION (HOME)
   ========================================================================== */
.hero {
    height: calc(85vh - 200px); /* Hero reducido 200px */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h2 {
    font-family: var(--font-accent);
    color: var(--accent);
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    max-width: 950px;
    margin-bottom: 25px;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 25px;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Hero Pages */
.hero-inner {
    height: 500px; /* Hero más grande como solicitado */
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: white;
    overflow: hidden;
}

.hero-inner::before {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0, 26, 51, 0.6);
}

.hero-inner h1 {
    position: relative;
    z-index: 1;
    font-family: var(--font-heading);
    font-size: 4rem; /* Texto imponente */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

/* ==========================================================================
   SECCIÓN ACERCA DE (HOME) - DISEÑO ESPECIAL FLOTANTE
   ========================================================================== */
.about-section {
    padding: 50px 0 0 0; /* SE ELIMINA EL PADDING INFERIOR */
    background: white;
    position: relative;
    z-index: 10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end; /* ALINEACIÓN HASTA ABAJO */
}

.about-content {
    padding-top: 50px;
    padding-bottom: 80px; /* ESPACIO PARA EL TEXTO, PERO LA IMAGEN TOCA EL FONDO */
}

.about-content .subtitle {
    font-family: var(--font-accent);
    color: var(--accent);
    font-size: 2.5rem;
    display: block;
    margin-bottom: 5px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: capitalize;
}

.about-content p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 30px;
}

.signature {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--primary);
    margin-top: 20px;
}

/* Imagen Flotante: Sube al Hero */
.about-image {
    position: relative;
    margin-top: -250px; /* Se eleva sobre el Hero como en la imagen */
    z-index: 20;
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    /* Pura imagen, sin marcos, sin sombras inventadas */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

/* ==========================================================================
   TEAM & SHOP - DOS COLUMNAS
   ========================================================================== */
.team-shop-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.team-shop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* DOS COLUMNAS SOLICITADAS */
    gap: 40px;
}

.promo-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.promo-card img {
    width: 100%;
    height: auto; /* IMAGEN COMPLETA SIN RECORTES */
    border-radius: 8px;
    margin-bottom: 25px;
}

.promo-card h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.promo-card p {
    color: #555;
    line-height: 1.7;
}

/* ==========================================================================
   ACERCA DE (VIDEOS & FILOSOFÍA)
   ========================================================================== */
.video-section {
    padding: 100px 0 80px; /* 100px de margen respecto al hero */
    text-align: center;
}

.video-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: inline-block; /* Para que el subrayado se ajuste al texto */
    position: relative;
}

/* Estilo de subrayado compartido con Filosofía */
.video-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 10px auto 0; /* Centrado para el título de historia */
}

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.video-main {
    width: 100%;
}

.video-main video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad y mitad exactos */
    gap: 30px;
}

.video-secondary video {
    width: 100%;
    height: 100%; /* Asegura que sean iguales */
    aspect-ratio: 16/9; /* Proporción uniforme */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.philosophy-section {
    padding: 100px 0;
    background: #fff;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Foto izquierda, texto derecha */
    gap: 80px;
    align-items: center;
}

.philosophy-image img {
    width: 100%;
    border-radius: 20px; /* Bordes redondeados */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2); /* Sombra profesional */
    display: block;
}

.philosophy-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    position: relative;
}

.philosophy-content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-top: 10px;
}

.philosophy-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.philosophy-list {
    list-style: none;
    padding: 0;
}

.philosophy-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    color: var(--primary);
}

.philosophy-list i {
    color: var(--accent);
    font-size: 1rem;
}

/* Full Width */
.full-width-images { display: flex; }
.img-box { width: 50%; }
.img-box img { 
    width: 100%; 
    height: 550px; 
    object-fit: cover; 
    display: block; 
    transition: filter 0.3s ease; /* Transición suave para el oscurecimiento */
}

.img-box:hover img {
    filter: brightness(0.7); /* Oscurece la imagen al pasar el mouse */
}

/* ==========================================================================
   CONTACTO - DISEÑO PREMIUM
   ========================================================================== */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

/* Columna de Información (Izquierda) */
.contact-info-side h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 40px;
    line-height: 1.2;
}

.info-block {
    margin-bottom: 35px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.info-header i {
    color: var(--accent);
    font-size: 1.5rem;
}

.info-content p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 5px;
}

/* Redes Sociales en Contacto */
.social-links-contact h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links-contact h3 i {
    color: var(--accent);
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
}

.social-icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icon-circle:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* Columna de Formulario (Derecha) */
.contact-form-side {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
    background: #fafafa;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Alertas */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-weight: 600;
    text-align: center;
}

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ==========================================================================
   GALERÍA GIRD
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 80px 0;
}

.gallery-item {
    height: 350px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.4s; }
.gallery-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0, 26, 51, 0.7);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Lightbox Modal para el Carrusel */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2100;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border: 4px solid white;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.lightbox-close {
    position: fixed !important;
    top: 30px !important;
    right: 30px !important;
    color: white;
    font-size: 3.5rem !important;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2200 !important;
}

.lightbox-close:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3.5rem;
    cursor: pointer;
    padding: 10px;
    transition: 0.3s;
    user-select: none;
}

.lightbox-nav:hover {
    color: var(--accent);
}

.lightbox-prev { left: -80px; }
.lightbox-next { right: -80px; }

@media (max-width: 768px) {
    .lightbox-nav { font-size: 2.5rem; }
    .lightbox-prev { left: 10px; background: rgba(0,0,0,0.5); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
    .lightbox-next { right: 10px; background: rgba(0,0,0,0.5); border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; }
}

/* ==========================================================================
   FOOTER - RESTAURACIÓN DE ELEGANCIA
   ========================================================================== */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--accent); /* Dorado para los títulos */
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-col p i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.footer-col ul {
    list-style: none; /* Quitar puntos de lista */
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-logo img {
    height: 70px;
    width: auto;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 32px; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none; /* Elimina el subrayado */
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .menu-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: white; padding: 25px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 20px;
        text-align: center;
    }
    .nav-links.active { display: flex; }
    .about-grid, .team-shop-grid, .footer-grid { grid-template-columns: 1fr; }
    .about-image { justify-content: center; }
}

@media (max-width: 767px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h2 { font-size: 2.8rem; }
    .full-width-images { flex-direction: column; }
    .img-box { width: 100%; }
}
