/*==================================================
 * VERS - Cocktail Bar Website Styles
 *==================================================*/

/* Base Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    padding: 15px 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    background: transparent;
    border: none;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Sidebar Navigation Styles */
.sidebar-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--secondary-color);
    padding-top: 80px;
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar-nav.active {
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-nav .container {
    padding: 20px;
}

.sidebar-nav .nav-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem; /* Increased from 0.7rem to 1rem */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 44px;
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-link:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-nav .nav-link:last-child {
    border-bottom: none;
}

:root {
    --primary-color: #6B0000; /* Darker deep red */
    --secondary-color: #000000; /* Black */
    --accent-color: #00BFFF; /* Neon blue */
    --accent-color-2: #8B008B; /* Darker magenta/purple */
    --light-color: #F5F5DC; /* Off-white/cream */
    --text-color: #FFFFFF;
    --text-secondary: #CCCCCC;
    --bg-dark: #1a1a1a;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Reduced padding for mobile */
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Georgia', serif;
    font-weight: bold;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0.5rem auto;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 20px; /* Reduced padding for mobile */
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    width: auto; /* Ensures buttons size correctly on mobile */
}

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

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--secondary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-link {
    display: block;
    text-align: center;
    margin: 1.5rem auto;
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    padding: 10px 15px;
    border-bottom: 1px dotted var(--accent-color);
}

/* Header */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Darker red overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 1.5rem; /* Reduced padding */
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(135, 0, 0, 0.806);
}

.hero-logo {
    width: 40%;
    max-width: 480px;
    height: auto;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1rem; /* Reduced font size */
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding-top: 80px; /* Offset for fixed header */
    padding-bottom: 2rem; /* Reduced from 4rem to 2rem for mobile */
}

#carta {
    /* Additional offset specifically for carta since its h1 starts at the top */
     padding-top: 100px;
}

.about {
    background-color: var(--bg-dark);
}

/* Carta Teaser */
.carta-teaser {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('../assets/images/cocktails/mojito.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 2rem 0; /* Reduced padding */
}

.carta-teaser h2 {
    color: var(--light-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.cocktail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
    margin-bottom: 1.5rem; /* Reduced from 2rem to 1.5rem */
}

.cocktail-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.cocktail-card:hover {
    transform: translateY(-5px);
}

.cocktail-card img {
    width: 100%;
    height: 180px; /* Reduced from 200px to 180px */
    object-fit: cover;
}

.cocktail-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--accent-color);
}

.cocktail-card p {
    padding: 0 1rem 1rem;
    text-align: center;
    color: var(--text-secondary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 180px; /* Reduced from 200px to 180px */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* Location */
.location-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
    align-items: start;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 300px; /* Reduced from 450px to 300px */
    border: none;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-table {
    width: 100%;
    margin: 1rem 0;
    font-size: 0.9rem; /* Slightly smaller font for tables */
}

.hours-table td {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.music-schedule {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.9rem; /* Slightly smaller font for lists */
}

.music-schedule li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Reservations */
.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 2rem 0; /* Reduced from 3rem to 2rem */
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
    text-align: center;
}

.footer-logo h3 {
    color: var(--light-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-qr img {
    width: 120px; /* Reduced from 150px to 120px */
    height: auto;
    border: 2px solid var(--text-color);
    padding: 5px;
}

.footer-social a {
    display: inline-block;
    margin: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem; /* Slightly smaller font */
}

.footer-social a:hover {
    color: var(--accent-color);
}

.footer-copyright {
    grid-column: 1 / -1;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

/* Announcement Banner */
.announcement-banner {
    background-color: #ffcc00;
    color: var(--secondary-color);
    padding: 12px;
    text-align: center;
    position: relative;
}

.close-banner {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}


.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

/* Carta Page Styles */
.carta-header {
    background-color: var(--bg-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary-color);
}

/* Fix for fixed header overlapping content on carta page */
.carta-menu-container {
    margin-top: 60px;
}

.carta-header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.back-link {
    display: block;
    text-align: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 1rem;
}

.menu-container {
    padding: 1.5rem 0; /* Reduced from 2rem to 1.5rem */
}

.menu-category h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced from 2rem to 1.5rem */
}

.menu-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.2rem; /* Reduced from 1.5rem to 1.2rem */
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.item-content h3 {
    color: var(--accent-color-2);
    margin-bottom: 0.5rem;
}

.item-content p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.9rem; /* Slightly smaller font */
}

.price {
    display: block;
    font-weight: bold;
    font-size: 1rem; /* Reduced from 1.2rem to 1rem */
    color: var(--accent-color-2);
    text-align: right;
    margin-top: 0.5rem;
}

.carta-footer {
    margin-top: 2rem; /* Reduced from 3rem to 2rem */
}

/* Responsive Design - Mobile First Approach */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .cocktail-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Additional responsive improvements */
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 10px 15px; /* Reduced padding */
        font-size: 0.9rem; /* Slightly smaller text */
    }
    
    .cocktail-card img {
        height: 150px;
    }
    
    .gallery-grid img {
        height: 150px;
    }
    
    .map-container iframe {
        height: 250px;
    }
}

/* Hamburger menu for mobile devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Ensure sidebar navigation is hidden by default on larger screens */
    .sidebar-nav {
        left: -100%;
    }
    
    /* Make sure the sidebar is visible and properly sized on mobile */
    .sidebar-nav {
        width: 85%;
        max-width: 300px;
    }
    
    /* Adjust spacing for better touch targets */
    .sidebar-nav .nav-link {
        font-size: 1rem; /* Ensure 1rem font size in sidebar */
        min-height: 44px; /* Minimum touch target size */
        padding: 15px 20px;
    }
}
