/* ========================= VARIABLES DE COLOR ========================= */ :root { --blanco: #f5f5f5; --negro: #0b0b0b; --veige: #f0ece2; --ocre: #c7a14a; --gris-claro: #dcd7cc; --rojo-flamenco: #8b0000; } /* ========================= RESET Y TIPOGRAFÍA ========================= */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'inter', sans-serif; background: var(--veige); color: var(--negro); line-height: 1.6; } h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', sans-serif; color: var(--negro); } a { text-decoration: none; color: inherit; } /* ========================= HEADER Y MENÚ HORIZONTAL ========================= */ .header { position: fixed; top: 0; width: 100%; z-index: 1000; background: transparent; backdrop-filter: blur(6px); display: flex; justify-content: space-between; /* logo izquierda, menú derecha */ align-items: center; padding: 1rem 2rem; } /* LOGO */ .header .logo { font-family: 'Playfair Display', sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: 2px; color: var(--negro); text-transform: uppercase; /* Todo en mayúsculas */ } /* Contenedor menú */ .header-right { margin-left: auto; /* fuerza el menú a la derecha */ display: flex; gap: 1rem; } /* Menú horizontal */ .nav-links { display: flex; gap: 2rem; list-style: none; } /* Enlaces */ .nav-links a { font-family: 'inter', serif; font-weight: 500; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--negro); text-decoration: none; position: relative; } /* Hover subrayado */ .nav-links a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: var(--ocre); transition: width 0.3s ease; } .nav-links a:hover::after, .nav-links a.active::after { width: 100%; } /* BOTÓN MENÚ MÓVIL */ .menu-btn { display: none; font-size: 1.5rem; cursor: pointer; background: none; border: none; color: var(--negro); } /* ========================= MENÚ MÓVIL ========================= */ @media (max-width: 768px) { .menu-btn { display: block; } .nav-links { flex-direction: column; position: fixed; top: 0; right: -100%; width: 60%; height: 100vh; background: var(--veige); padding-top: 6rem; gap: 2rem; transition: right 0.4s ease; z-index: 999; } .nav-links.menu-open { right: 0; } } /* ========================= HERO (VIDEO O IMAGEN) ========================= */ .hero { position: relative; width: 100%; height: 100vh; overflow: hidden; } .hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.75); pointer-events: none; } .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(240,236,226,0.35);pointer-events: none; } .hero-content { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--negro); } .hero-content .title { font-family: 'Playfair Display', serif; font-size: 4rem; letter-spacing: 2px; font-weight: 700; } .hero-content .subtitle { font-weight: 300; margin: 1rem 0 2rem; font-size: 1.5rem; } .hero-content { position: absolute; z-index: 2; } /* ========================= BOTONES ========================= */ .btn-primary { display: inline-block; white-space: nowrap; padding: 0.75rem 2rem; border: 1px solid var(--ocre); color: var(--ocre); text-decoration: none; text-transform: uppercase; letter-spacing: 1.5px; font-size: 1rem; transition: all 0.4s ease; } .btn-primary:hover { background: var(--ocre); color: var(--negro); } /* Ajuste específico para móvil */ @media (max-width: 768px) { .btn-primary { padding: 0.5rem 1rem; font-size: 0.9rem; white-space: nowrap; /* evita salto de línea */ } .hero-content .title { font-size: 2.5rem; } .hero-content .subtitle { font-size: 1.2rem; } } /* ========================= SECCIONES (BIO, ESPECTÁCULOS, GALERÍA, VIDEOS) ========================= */ .section { padding: 6rem 2rem; max-width: 1200px; margin: auto; text-align: center; } .section img { width: 420px; max-width: 90%; height: auto; border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); display: block; margin: 2rem auto; } /* GALERÍA / DOSSIERS / VIDEOS */ .gallery, .dossier, .videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 0rem; } .gallery-item, .dossier-item, .video-item { border-radius: 6px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); } .gallery-item img, .dossier-item img, .video-item video { width: 100%; height: auto; display: block; } /* ========================= FOOTER ========================= */ .footer { padding: 2rem 1rem; text-align: center; font-size: 0.85rem; background: var(--veige); } /* ========================= COOKIE BANNER ========================= */ .cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #f0ece2; color: #0b0b0b; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-shadow: 0 -2px 5px rgba(0,0,0,0.1); font-family: 'Inter', sans-serif; font-size: 0.9rem; } .cookie-banner a { color: #c7a14a; text-decoration: underline; } .cookie-buttons button { margin-left: 0.5rem; padding: 0.5rem 1rem; border: none; background-color: #c7a14a; color: #0b0b0b; border-radius: 3px; cursor: pointer; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s; } .cookie-buttons button:hover { background-color: #b0913c; } /* ========================= GALERÍA CENTRADA Y UNIFORME ========================= */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* adapta columnas */ gap: 1.2rem; /* espacio entre imágenes */ margin: 0 auto; /* centra la galería */ padding: 0; /* elimina espacio extra */ max-width: 1200px; /* ancho máximo para no estirar demasiado las imágenes */ } /* Cada bloque de imagen */ .gallery-item { display: flex; justify-content: center; align-items: center; overflow: hidden; border-radius: 6px; background: var(--blanco); box-shadow: 0 5px 15px rgba(0,0,0,0.05); } /* Las imágenes tienen tamaño mediano uniforme */ .gallery-item img { width: 100%; height: auto; object-fit: cover; /* corta si hace falta para mantener proporción */ max-height: 280px; /* tamaño mediano */ transition: transform 0.3s ease; } /* Efecto de zoom suave al pasar el cursor */ .gallery-item img:hover { transform: scale(1.05); } /* ========================= VIDEOS EN GRID ========================= */ .videos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; justify-items: center; /* centrar cada video */ align-items: start; margin-top: 0rem; } .video-item { width: 100%; max-width: 440px; /* tamaño medio */ aspect-ratio: 16/9; /* asegura proporción de video */ } .video-item video, .video-item iframe { width: 100%; height: 100%; display: block; border-radius: 6px; object-fit: cover; } /* ========================= GALERÍA EN GRID – CENTRADA ========================= */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; justify-items: center; /* centra cada imagen */ align-items: start; margin-top: 0rem; padding: 0; max-width: 1200px; margin-left: auto; margin-right: auto; } .gallery-item { width: 100%; max-width: 320px; /* tamaño medio para cada imagen */ overflow: hidden; border-radius: 6px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); } .gallery-item img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform 0.3s ease; } .gallery-item img:hover { transform: scale(1.05); /* efecto sutil al pasar el ratón */ }