/* css/style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --light: #f5f5f5;
    --accent: #ff6b35;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navegación */
nav {
    position: fixed;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botón hamburguesa - OCULTO en desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

/* Animación hamburguesa a X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 300;
    position: relative;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(20,20,20,0.8) 100%),
                radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #888;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold) 0%, #B8941F 100%);
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Servicios */
.services {
    padding: 100px 5%;
    background: var(--darker);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--gray);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--light);
}

.service-card p {
    color: #888;
    margin-bottom: 12px;
    font-size: 0.9rem;
}


.service-card .price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 15px;
}
.service-icon {
    width: 56px;
    height: 56px;
    color: var(--gold);
    margin: 0 auto 16px auto;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.4));
}


/* Galería */
.gallery {
    padding: 100px 5%;
    background: var(--darker);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.gallery-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Sistema de Reservas */
.booking-section {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--dark) 0%, var(--gray) 100%);
}

.booking-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.booking-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: var(--gold);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    padding: 15px 20px;
    background: rgba(24, 162, 144, 0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.form-group select {
    background-color: var(--gray);
    color: var(--light);
    cursor: pointer;
}

.form-group select option {
    background-color: var(--gray);
    color: var(--light);
    padding: 10px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
/* Horarios ocupados - estilo visual */
.time-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #888;
    text-decoration: line-through;
    position: relative;
}

.time-slot.disabled:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
    transform: none;
}

/* Indicador de ocupado */
.time-slot.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: rgba(239, 68, 68, 0.5);
    transform: rotate(-5deg);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 10px;
}


.time-slot {
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.time-slot:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

.time-slot.selected {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    font-weight: 600;
}

.time-slot.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.submit-btn {
    padding: 18px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast notifications */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gray);
    color: var(--light);
    padding: 20px 30px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 3000;
    animation: slideInRight 0.3s;
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.toast.show {
    display: flex;
}

.toast-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: var(--darker);
    padding: 60px 5% 30px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Banner Cookies */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111;
    border-top: 2px solid var(--gold);
    z-index: 9999;
    padding: 20px 5%;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text strong {
    color: var(--gold);
    font-size: 1rem;
    display: block;
    margin-bottom: 5px;
}

.cookie-text p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-accept {
    padding: 10px 25px;
    background: var(--gold);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.cookie-accept:hover {
    opacity: 0.85;
}

.cookie-reject {
    padding: 10px 25px;
    background: transparent;
    color: #888;
    border: 1px solid #444;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.cookie-reject:hover {
    border-color: #888;
    color: var(--light);
}

/* ============================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Nav */
    nav {
        padding: 15px 5%;
    }

    /* Mostrar hamburguesa en móvil */
    .hamburger {
        display: flex;
    }

    /* Menú móvil - oculto por defecto */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    /* Menú abierto */
    .nav-links.open {
        display: flex;
        right: 0;
    }

    .nav-links a {
        font-size: 1.3rem;
        font-weight: 500;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo img {
        height: 40px !important;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 15px;
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    /* Servicios */
    .services {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .service-card {
        padding: 20px 15px;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .service-card .price {
        font-size: 1.2rem;
    }

    /* Galería */
    .gallery {
        padding: 60px 5%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item {
        aspect-ratio: 1/1;
    }

    /* Formulario reservas */
    .booking-section {
        padding: 60px 4%;
    }

    .booking-container {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group select {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .time-slot {
        padding: 10px 5px;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 15px;
        font-size: 1rem;
    }

    /* Footer */
    footer {
        padding: 40px 5% 20px;
    }

    /* Cookies */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btns {
        width: 100%;
        justify-content: center;
    }

    .cookie-accept, .cookie-reject {
        flex: 1;
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}