/* Custom CSS for El Templo del Inka */

/* Color Variables based on logo */
:root {
    --primary-gold: #FFD700;
    --secondary-orange: #FF8C00;
    --accent-red: #DC143C;
    --dark-bg: #1a1a1a;
    --light-text: #ffffff;
    --warm-yellow: #FFA500;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

/* Menu Card Styles */
.menu-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.menu-card:hover::before {
    opacity: 0.1;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.menu-card * {
    position: relative;
    z-index: 2;
}

.menu-card-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.menu-card:hover .menu-card-icon {
    transform: scale(1.1);
    color: var(--secondary-orange);
}

.menu-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
}

.menu-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #cccccc;
    line-height: 1.5;
}

.menu-card-time {
    font-size: 0.85rem;
    color: var(--warm-yellow);
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.menu-card-time i {
    margin-right: 0.5rem;
}

/* Active menu card state */
.menu-card.active {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.menu-card.active::before {
    opacity: 0.15;
}

/* Current Menu Indicator */
.current-menu-indicator {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-orange) 100%);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.current-menu-indicator h3 {
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.current-menu-indicator p {
    color: var(--dark-bg);
    margin: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand img {
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--light-text) !important;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-orange));
    color: var(--dark-bg) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a2a2a 50%, var(--dark-bg) 100%);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

/* Hero Logo */
.hero-logo img {
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-orange));
    border: none;
    color: var(--dark-bg);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(45deg, var(--secondary-orange), var(--primary-gold));
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    opacity: 0.8;
    text-align: center;
    margin-bottom: 2rem;
}

/* Menu Section */
.menu-section {
    background: var(--dark-bg);
    padding: 60px 0;
}

.menu-grid {
    margin-top: 1rem;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.3s ease;
    height: 100%;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-image {
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.menu-item:hover .menu-image {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2);
}

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

.menu-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--light-text);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-overlay {
    transform: translateY(0);
}

/* Reservations Section */
.reservations-section {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--dark-bg) 100%);
    padding: 80px 0;
}

.reservation-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.form-label {
    color: var(--primary-gold);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--light-text);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
    color: var(--light-text);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-select option {
    background: var(--dark-bg);
    color: var(--light-text);
}

/* Contact Section */
.contact-section {
    background: var(--dark-bg);
    padding: 80px 0;
}

.contact-item i {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.contact-item h5 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--light-text);
    opacity: 0.9;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.social-links .social-link {
    color: var(--primary-gold);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.social-links .social-link:hover {
    color: var(--secondary-orange);
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 215, 0, 0.1);
}

.footer hr {
    border-color: rgba(255, 215, 0, 0.2);
}

.footer p {
    color: var(--light-text);
    opacity: 0.7;
    margin: 0;
}

/* Menu Navigation Buttons */
.menu-buttons .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold {
    background: var(--primary-gold);
    color: var(--text-dark);
    border: 2px solid var(--primary-gold);
}

.btn-gold:hover {
    background: var(--secondary-orange);
    border-color: var(--secondary-orange);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-gold-outline {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-gold-outline:hover {
    background: var(--primary-gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.menu-nav-buttons .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    margin: 0 5px;
}

.menu-nav-buttons .btn.active {
    background: var(--primary-gold);
    color: var(--text-dark);
    border-color: var(--primary-gold);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    min-width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    border-radius: 30px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 15px;
    gap: 8px;
}

.whatsapp-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.05);
    color: white;
    text-decoration: none;
    min-width: 160px;
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    max-width: 100px;
}

/* Alert Styles */
.alert-success {
    background: linear-gradient(45deg, rgba(40, 167, 69, 0.2), rgba(40, 167, 69, 0.1));
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #d4edda;
}

.alert-danger {
    background: linear-gradient(45deg, rgba(220, 53, 69, 0.2), rgba(220, 53, 69, 0.1));
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #f8d7da;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
    }
    
    .reservation-form-container {
        padding: 30px 20px;
    }
    
    .menu-item img {
        min-height: 250px;
    }
    
    .whatsapp-float {
        min-width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
        padding: 0 12px;
    }
    
    .whatsapp-text {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 140px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .menu-item img {
        min-height: 200px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item, .reservation-form-container, .contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-gold), var(--secondary-orange));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--secondary-orange), var(--primary-gold));
}
