/* ==========================================================================
   GRAN ROYAL PRODUCCIONES — styles.css (COMPLETO Y RESTAURADO)
   ========================================================================== */

/* --- VARIABLES GLOBALES --- */
:root {
    --gold: #C9A84C;
    --gold-light: #F1D592;
    --black: #050505;
    --dark-gray: #0d0d0d;
    --white: #ffffff;
    --border: rgba(201,168,76,0.25);
    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- RESET & BASE --- */
*, *::before, *::after { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: "proxima-nova", "Montserrat", sans-serif;
    color: var(--white);
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

.container { 
    max-width: 1440px; 
    margin: 0 auto; 
    padding: 0 50px; 
}

.section-label {
    display: block;
    font-family: "proxima-nova", sans-serif;
    font-size: 11px;
    letter-spacing: 7px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* --- HEADER FIJO --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px !important;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    display: flex !important;
    align-items: center !important;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 55px;
    display: block;
}

/* --- NAVEGACIÓN PRINCIPAL --- */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--white);
    cursor: pointer;
    padding: 35px 0;
}

.nav-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item a:hover, .nav-item:hover {
    color: var(--gold);
}

.arrow {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-2px) rotate(45deg);
    transition: all 0.3s ease;
    margin-left: 5px;
}

.nav-item:hover .arrow {
    border-color: var(--gold);
    transform: translateY(2px) rotate(45deg);
}

/* --- MEGA MENU --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: var(--dark-gray);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1001;
    min-width: max-content;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu a {
    color: #ffffff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mega-menu a:last-child {
    border-bottom: none;
}

.mega-menu a:hover {
    color: var(--gold);
}

/* --- MENÚ MÓVIL Y HAMBURGUESA --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--black);
    z-index: 1001;
    padding: 80px 30px 30px;
    overflow-y: auto;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-section {
    margin-bottom: 30px;
}

.mobile-nav-section h4 {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mobile-nav-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-cotizar {
    display: block;
    background: var(--gold);
    color: #000;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* --- ANIMACIÓN BOTONES --- */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.6); }
    70% { box-shadow: 0 0 0 15px rgba(201,168,76,0); }
    100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
}

.btn-gold {
    background-color: var(--gold);
    color: var(--black);
    padding: 15px 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    animation: pulse-gold 2s infinite;
    text-align: center;
}

.btn-gold:hover {
    background-color: #fff;
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    padding: 15px 30px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    text-align: center;
}

.btn-outline:hover {
    background: var(--gold);
    color: #000;
}

/* --- HERO & VIDEO --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.hero-video-bg {
    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;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-style: italic;
    color: #fff;
    line-height: 1.1;
}

/* --- FORMULARIOS --- */
.cotizar-form-wrapper, .staff-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--dark-gray);
    border: 1px solid var(--border);
    padding: 50px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: bold;
}

.form-field input, .form-field select, .form-field textarea {
    background: #000;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px;
    color: #fff;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    border-color: var(--gold);
}

/* --- GRILLAS DE FOTOS --- */
.photo-grid, .salon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4/5;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-transform: uppercase;
}

/* --- ANIMACIONES REVEAL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
.footer { 
    background: var(--black); 
    padding: 100px 0 40px; 
    border-top: 2px solid var(--gold);
}

.footer-grid { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr 1fr; 
    gap: 60px; 
}

.footer-grid .footer-section:first-child { 
    padding-left: 50px; 
}

.footer-section p, .footer-bottom { 
    color: #ffffff !important; 
    opacity: 0.9; 
}

.footer-links { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    padding-left: 15px; 
}

.footer-links a { 
    color: #fff; 
    text-decoration: none; 
    transition: 0.3s; 
}

.footer-links a:hover { 
    color: var(--gold); 
    transform: translateX(8px); 
}

.footer-bottom { 
    margin-top: 60px; 
    padding-top: 25px; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    text-align: center; 
    color: #444; 
    font-size: 12px; 
    letter-spacing: 2px; 
}

/* --- NEWSLETTER --- */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    background: #000;
    border: 1px solid var(--border);
    color: #fff;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--gold);
}

/* --- LIGHTBOX --- */
.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
    text-align: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin-bottom: 20px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
}

/* --- BOTONES FLOTANTES --- */
.floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    align-items: flex-end;
}

.float-wa {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.float-cotizar {
    background-color: var(--gold);
    color: var(--black);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    animation: pulse-gold 2s infinite;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cifras-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .container { padding: 0 20px; }
    .hero-content h1 { font-size: 2.5rem; }
}