:root {
    --bg-color: #000000;
    --acc-color: #cc0000;
    --gold: #d4af37;
    --text-color: #f1f1f1;
    --card-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Oswald', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.rock-font {
    font-family: 'Metal Mania', cursive;
    letter-spacing: 2px;
}

/* Intro Overlay */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    text-align: center;
    transition: opacity 0.5s ease;
}

.intro-logo {
    max-width: 450px;
    height: auto;
    margin-bottom: 10px;
}

#intro-overlay h1 {
    font-size: 5rem;
    color: var(--acc-color);
    margin-bottom: 2rem;
    text-shadow: 0 0 30px rgba(204, 0, 0, 0.8);
}

/* Buttons */
.main-btn {
    background-color: var(--acc-color);
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    font-family: 'Metal Mania', cursive;
    font-size: 2rem;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s, background 0.3s;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.main-btn:hover {
    background-color: #a00000;
    transform: scale(1.05);
}

.alt-btn {
    background-color: #25d366;
    color: white;
    padding: 1rem 2rem;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    border-radius: 5px;
}

/* Header & Nav */
header {
    background: #000000;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--acc-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--acc-color);
}

.social-header {
    display: flex;
    gap: 15px;
}

.social-header a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-header a:hover {
    color: var(--acc-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.hero-logo {
    height: 250px;
    filter: drop-shadow(0 0 10px rgba(204, 0, 0, 0.5));
}

.hero h1 {
    font-size: 5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

/* Carta Section */
.carta {
    padding: 100px 20px;
    text-align: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--acc-color);
    text-align: center;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.menu-item-card {
    background: var(--card-bg);
    padding: 10px;
    border: 3px solid #333;
    transition: transform 0.3s;
    max-width: 500px;
}

.menu-item-card:hover {
    transform: scale(1.02);
    border-color: var(--acc-color);
}

.menu-item-card img {
    width: 100%;
    height: auto;
}

/* Gallery */
.galeria {
    padding: 100px 20px;
    background: #050505;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 400px;
    background-color: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(230, 57, 70, 0.8);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
    font-weight: bold;
}

.gallery-item:hover .overlay-text {
    transform: translateY(0);
}

/* Opiniones */
.opiniones {
    padding: 100px 20px;
    background: #000000;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--acc-color);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ccc;
}

.reviewer {
    display: block;
    text-align: right;
    font-weight: bold;
    color: var(--acc-color);
}

/* Contact */
.contacto {
    padding: 100px 20px;
    background: var(--bg-color);
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-details {
    margin: 2rem 0;
    font-size: 1.2rem;
}

.map-container {
    margin-top: 2rem;
    border: 5px solid #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: #000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.social-footer a {
    color: white;
    font-size: 2rem;
    transition: transform 0.3s, color 0.3s;
}

.social-footer a:hover {
    color: var(--acc-color);
    transform: translateY(-5px);
}

footer p {
    font-size: 0.9rem;
    color: #666;
}

/* Animations */
.fadeIn {
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slideUp {
    animation: slideUp 1s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Solidaridad Section */
.solidaridad {
    padding: 60px 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    text-align: left;
}

.video-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(30, 30, 30, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-description {
    flex: 1;
}

.video-description h3 {
    color: var(--acc-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.video-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #eee;
}

.video-wrapper {
    flex: 1;
    position: relative;
    border: 3px solid #444;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.solidarity-video {
    width: 100%;
    display: block;
}

/* Lightbox Modal Specifics */
.lightbox-content {
    max-width: 90vw;
    margin: 2% auto;
    padding: 10px;
    background: none;
    border: none;
    box-shadow: none;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border: 3px solid var(--acc-color);
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
}

.menu-item-card img {
    cursor: zoom-in;
    transition: transform 0.3s;
}

.menu-item-card img:hover {
    transform: scale(1.02);
}

/* Ambiente Gallery */
.ambiente {
    padding: 80px 5%;
    background-color: #111;
}

.upload-zone {
    padding: 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    border: 2px dashed var(--acc-color);
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 10% auto;
    padding: 40px;
    border: 2px solid var(--acc-color);
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.5);
    color: white;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

#rock-code {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #444;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
}

#rock-code:focus {
    border-color: var(--acc-color);
    outline: none;
}

/* Cookies Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 20px;
    text-align: center;
    z-index: 10000;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-banner p {
    font-size: 0.9rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Legal Links */
.legal-links {
    margin-top: 15px;
    font-size: 0.9rem;
}
.legal-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}
.legal-links a:hover {
    color: var(--acc-color);
}

/* Legal Modal Specifics */
.legal-content {
    max-width: 800px;
    text-align: left;
    max-height: 80vh;
    overflow-y: auto;
}
.legal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
    margin-top: 10px;
}
.legal-text h3 {
    color: var(--acc-color);
    margin-top: 20px;
    margin-bottom: 10px;
}
.legal-text p {
    margin-bottom: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 10px;
    }

    .nav-logo {
        height: 70px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .nav-links li {
        margin-left: 0;
        font-size: 0.95rem;
    }

    .social-header {
        display: flex;
        margin-top: 15px;
        margin-bottom: 5px;
    }

    .hero {
        height: auto;
        padding: 80px 20px;
    }

    .hero-title-container {
        flex-direction: column;
    }

    .hero-logo {
        height: 180px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .intro-logo {
        max-width: 90%;
        height: auto;
    }

    #intro-overlay h1 {
        font-size: 2rem;
    }

    #intro-overlay .intro-content {
        width: 100%;
        padding: 0 20px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }

    .main-btn, .alt-btn {
        width: 100%;
        margin-left: 0;
        text-align: center;
        font-size: 1rem;
        padding: 1rem;
        box-sizing: border-box;
    }

    .carta, .galeria, .opiniones, .contacto, .ambiente, .solidaridad {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }

    .menu-item-card {
        max-width: 100%;
    }

    .review-card {
        min-width: 100%;
    }

    .video-container {
        flex-direction: column;
        padding: 20px 15px;
        text-align: center;
    }

    .video-description h3 {
        font-size: 2rem;
    }
}