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

:root {
    --gradient-start: #4A90D9;
    --gradient-end: #8B5CF6;
    --bg-dark: #1a1a2e;
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: 45px;
    border-radius: 8px;
}

.logo:hover {
    opacity: 0.9;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

/* Main Content */
main {
    min-height: calc(100vh - 140px);
}

/* Map Container */
.map-container {
    height: calc(100vh - 80px);
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
}

/* Map Popup Styling */
.location-popup h3 {
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.location-popup p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #555;
}

.location-popup .hours {
    color: #00a86b;
    font-weight: 500;
}

/* Map Logo Markers */
.logo-marker {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    transition: transform 0.2s ease;
}

.logo-marker:hover {
    transform: scale(1.1);
}

/* Map Loading State */
.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f5f5f5;
    color: var(--bg-dark);
}

.map-loading p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.map-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid var(--gradient-end);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Page */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.contact-container h1 {
    color: var(--bg-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-details h3 {
    color: var(--bg-dark);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #666;
}

.contact-details a {
    color: var(--gradient-end);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

footer p {
    font-size: 0.9rem;
    color: #aaa;
}

/* Age Gate Modal */
#age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#age-gate-overlay.age-gate-fade-out {
    opacity: 0;
}

.age-gate-modal {
    background: linear-gradient(145deg, #252542 0%, #1a1a2e 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.age-gate-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.age-gate-logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.age-gate-modal h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.age-gate-modal p {
    color: #ccc;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.age-gate-disclaimer {
    font-size: 0.85rem !important;
    color: #999 !important;
    margin-bottom: 1.5rem !important;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.age-gate-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-gate-btn-yes {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: white;
}

.age-gate-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.age-gate-btn-no {
    background: transparent;
    color: #999;
    border: 1px solid #444;
}

.age-gate-btn-no:hover {
    border-color: #666;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .logo img {
        height: 38px;
        width: 38px;
    }

    .nav-links {
        gap: 1rem;
    }

    .contact-container {
        padding: 2rem 1rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto 1rem;
    }

    .age-gate-modal {
        padding: 2rem;
    }

    .age-gate-logo-img {
        width: 60px;
        height: 60px;
    }
}
