/* --- VARIABLES Y TIPOGRAFÍA --- */
:root {
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --color-bg: #ffffff;
    --color-light: #f9f9f9;
    --color-text: #1a1a1a;
    --color-text-muted: #666666;
    --color-accent: #B89C72;
    --color-accent-hover: #9A805A;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* --- HEADER PREMIUM --- */
.premium-header {
  background-color: #47413f;
  padding: 15px 50px;
  border-bottom: 2px solid #d9822b;
  font-family: Arial, sans-serif;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo img {
  height: 65px;
  display: block;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-nav a {
  text-decoration: none;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
}

.header-nav a:hover {
  color: #ca741e;
}

.header-nav .quote-btn {
  background-color: #ca741e;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.header-nav .quote-btn:hover {
  background-color: #a85e15;
  color: #ffffff;
}

/* Adaptación Menú Móvil */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .header-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

/* --- HERO SECTION (La imagen de impacto) --- */
.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/modern-custom-kitchen-design-miami.webp'); 
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
}

/* --- GALERÍAS --- */
.gallery-section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--color-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--color-text);
}

.divider {
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 20px auto 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.img-wrapper {
    overflow: hidden;
    background: #000;
}

.img-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    opacity: 0.95;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
    opacity: 1;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.footer-brand p, .footer-contact p {
    color: #aaaaaa;
    font-size: 13px;
    margin: 0;
}

.footer-contact {
    text-align: right;
}

.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--color-accent);
}

/* --- BOTÓN FLOTANTE DE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0px 6px 16px rgba(0,0,0,0.2);
}

/* --- REDES SOCIALES EN EL FOOTER --- */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    justify-content: flex-end;
}

.social-links a {
    color: #ffffff;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--color-accent);
    transform: translateY(-3px);
}

/* --- ADAPTACIÓN A MÓVILES GENERAL --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        height: 60vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .gallery-section {
        padding: 50px 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-contact {
        text-align: center;
        margin-top: 15px;
    }
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    .social-links {
        justify-content: center;
    }
}
/* Forzar cuadrícula de 2x2 para galerías de 4 fotos */
@media (min-width: 768px) {
    .grid-2x2 {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
} 

/* ==========================================================================
   GALERÍA DE COCINAS (OPTIMIZADA PARA DESKTOP Y MÓVIL)
   ========================================================================== */

.gallery-grid-pro {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

.gallery-item {
    display: block !important;
    height: 320px !important; 
    overflow: hidden !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Efecto hover exclusivo para ordenadores */
@media (hover: hover) {
    .gallery-item:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
        cursor: zoom-in !important;
    }
}

/* ==========================================================================
   OPTIMIZACIÓN PARA MÓVILES (Pantallas de hasta 480px de ancho)
   ========================================================================== */
@media (max-width: 480px) {
    .gallery-grid-pro {
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 10px !important; 
    }
    
    .gallery-item {
        height: 180px !important; 
        box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    }
}
/* ==========================================================================
   AVISO DE COOKIES PREMIUM
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background-color: #413b39; /* Combinación exacta con el fondo de tu cabecera */
    color: #ffffff;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
    border-top: 2px solid #d9822b;
    transition: transform 0.4s ease;
    transform: translateY(100%);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    margin: 0;
    padding-right: 20px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #d9822b;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-banner a:hover {
    color: #ffffff;
}

.cookie-btn {
    background-color: #d9822b;
    color: #ffffff;
    border: none;
    padding: 10px 28px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #a85e15;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    .cookie-banner p {
        padding-right: 0;
    }
}
/* ==========================================================================
   PORTADA DE VIDEO PREMIUM (HERO SECTION) - MONACO
   ========================================================================== */
.hero-video-section {
    position: relative;
    height: 80vh; /* Ocupa el 80% de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
    background-color: #413b39; /* Fondo de respaldo */
}

.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(65, 59, 57, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background-color: #d9822b;
    color: #ffffff;
    padding: 14px 38px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #a85e15;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-video-section { height: 65vh; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
}
