:root {
    --color-black: #080808;
    --color-white: #FFFFFF;
    --color-text: #EAEAEA;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --rainbow-gradient: linear-gradient(90deg, #833ab4, #fd1d1d, #fcb045);
    --rainbow-stripes: linear-gradient(90deg, 
        #000000 0%, #000000 14.28%, 
        #0000FF 14.28%, #0000FF 28.56%, 
        #008000 28.56%, #008000 42.84%, 
        #FFFF00 42.84%, #FFFF00 57.12%, 
        #FFA500 57.12%, #FFA500 71.4%, 
        #FF0000 71.4%, #FF0000 85.68%, 
        #800080 85.68%, #800080 100%);
    --accent-blue: #007BFF;
    
    --header-height: 80px;
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--color-black);
    color: var(--color-text);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--rainbow-gradient);
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--rainbow-gradient);
    background-size: 200% 200%;
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: #1a1a1a;
    z-index: -1;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover::before {
    opacity: 1;
}

button[type="submit"].btn-primary {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.section-padding {
    padding: 80px 0;
}

.dark-bg {
    background-color: #111;
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--color-text);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
#main-header.scrolled {
    background-color: rgba(8, 8, 8, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.logo {
    height: 50px;
}

#main-nav ul {
    display: flex;
    list-style: none;
}
#main-nav li {
    margin-left: 30px;
}
#main-nav a {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}
#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--rainbow-gradient);
    transition: width 0.3s ease;
}
#main-nav a:hover::after, #main-nav a.active::after {
    width: 100%;
}

.nav-toggle { display: none; }

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('fachada.jpg');
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    background-image: linear-gradient(0deg, rgba(8,8,8,0.7) 0%, rgba(8,8,8,0.1) 50%, rgba(8,8,8,0.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-logo {
    max-width: 250px;
    margin: 0 auto 30px;
}

/* Enhanced Services Section */
.service-categories {
    margin-top: 50px;
}

.service-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.category-description {
    text-align: center;
    color: #b0b0b0;
    max-width: 800px;
    margin: -20px auto 30px auto;
    font-size: 1.1rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rainbow-gradient);
}

.single-item-grid {
    max-width: 400px;
    margin: 0 auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.service-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: transform 0.3s ease, border-image 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-card:hover {
    transform: translateY(-5px);
    border-image: var(--rainbow-gradient) 1;
    box-shadow: 0 0 30px rgba(127, 29, 219, 0.3);
}
.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}
.service-card h4 {
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 15px;
}
.service-card p {
    color: #b0b0b0;
    margin-bottom: 0;
    flex-grow: 1;
}
.price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-white);
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Promotions Section */
#promotions {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.subsection-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--color-white);
    text-align: center;
    margin-bottom: 40px;
    font-family: var(--font-heading);
}

.combos-section {
    margin-bottom: 80px;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.combo-card {
    background: linear-gradient(145deg, #222, #1a1a1a);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 3px solid transparent;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.combo-card.featured {
    border-image: var(--rainbow-gradient) 1;
    box-shadow: 0 0 40px rgba(127, 29, 219, 0.4);
}

.combo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 50px rgba(0, 123, 255, 0.3);
}

.combo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.combo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--rainbow-gradient);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.combo-card h4 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.combo-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    font-size: 1.1rem;
    flex-grow: 1;
}

.combo-includes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0;
    text-align: left;
}

.combo-includes span {
    color: #28a745;
    font-size: 0.9rem;
}

.combo-pricing {
    margin: 25px 0 15px 0;
}

.old-price {
    color: #888;
    text-decoration: line-through;
    font-size: 1.1rem;
    margin-right: 10px;
}

.new-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    background: var(--rainbow-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.combo-bonus {
    color: #ffc107;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 1rem;
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.promo-card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #333;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.promo-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.promo-icon.bar-icon {
    width: 60px;
    height: 40px;
    object-fit: cover;
}

.promo-card h4 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.promo-card p {
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.promo-validity {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Bar Section */
.bar-section {
    position: relative;
    padding: 120px 0;
    background-image: url('bar-area.png');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--color-white);
}
.bar-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
}
.bar-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.bar-content p {
    font-size: 1.2rem;
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}
.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out, filter 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}
@media (min-width: 768px) {
    .gallery-item:nth-child(2), .gallery-item:nth-child(4) {
        grid-column: span 2;
    }
    .gallery-item:nth-child(1), .gallery-item:nth-child(5) {
        grid-row: span 2;
    }
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}
.contact-form-container, .contact-info-map {
    flex: 1;
    min-width: 300px;
}
.form-group {
    margin-bottom: 20px;
}
#booking-form input, #booking-form select {
    width: 100%;
    padding: 15px;
    background: #222;
    border: 2px solid #444;
    border-radius: 5px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
#booking-form input:focus, #booking-form select:focus {
    outline: none;
    border-color: var(--accent-blue);
}
#booking-form input::placeholder {
    color: #888;
}
#booking-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

#form-message {
    margin-top: 15px;
    font-weight: 600;
}
.form-message.success { color: #28a745; }
.form-message.error { color: #dc3545; }

.contact-info h3 {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-top: 20px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-blue);
    display: inline-block;
}
.contact-info p {
    margin-bottom: 10px;
}
.map-placeholder {
    width: 100%;
    height: 300px;
    background: #222;
    border-radius: 8px;
    margin-top: 30px;
    overflow: hidden;
}

/* Reviews Section */
.reviews-actions {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-blue);
}

.review-author {
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.1rem;
}

.review-content {
    color: #b0b0b0;
    flex-grow: 1;
}
.review-content p {
    margin-bottom: 10px;
}
.review-content img {
    max-width: 100%;
    border-radius: 5px;
    margin-top: 10px;
}
.review-card .tip-banner {
    background: var(--rainbow-gradient);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
}

/* Footer */
footer {
    background-color: #000;
    padding: 30px 0;
    border-top: 2px solid #222;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.admin-link {
    background: #333;
    color: #ccc;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.admin-link:hover {
    background: var(--accent-blue);
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 15px;
}
.social-links a {
    transition: transform 0.3s ease;
}
.social-links a:hover {
    transform: scale(1.2);
}

/* Animation on Scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
    filter: invert(1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    :root { --header-height: 70px; }

    .hero-bg {
        background-attachment: scroll;
        transform: none;
    }

    #main-nav ul {
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-black);
        flex-direction: column;
        align-items: center;
        padding-top: 40px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    #main-nav ul.active {
        transform: translateX(0);
    }
    #main-nav li {
        margin: 0 0 30px 0;
    }
    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        width: 30px;
        height: 22px;
        position: relative;
    }
    .hamburger, .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 3px;
        background: var(--color-white);
        border-radius: 3px;
        transition: transform 0.3s ease, top 0.3s ease;
    }
    .hamburger { top: 10px; }
    .hamburger::before { top: -10px; }
    .hamburger::after { top: 10px; }
    .nav-toggle.active .hamburger {
        transform: rotate(45deg);
    }
    .nav-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(90deg);
    }
    .nav-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(90deg);
    }

    .footer-content {
        justify-content: center;
        text-align: center;
    }

    .footer-left {
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .combos-grid {
        grid-template-columns: 1fr;
    }
    
    .combo-card {
        padding: 30px 20px;
    }
    
    .combo-includes {
        text-align: center;
    }
}