/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #B8860B;
    --accent-copper: #B87333;
    --dark-brown: #3E2723;
    --warm-brown: #5D4037;
    --cream: #FFF8DC;
    --dark-bg: #0A090B;
    --glass-bg: rgba(255, 248, 220, 0.1);
    --text-light: #F5F5DC;
    --text-dark: #2C1810;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, 
        var(--dark-bg) 0%, 
        var(--dark-brown) 30%, 
        var(--warm-brown) 70%, 
        var(--accent-copper) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 9, 11, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.mobile-menu {
    display: none;
    color: var(--primary-gold);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)),
                radial-gradient(circle at center, 
                    var(--accent-copper) 0%, 
                    var(--dark-brown) 50%, 
                    var(--dark-bg) 100%);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--cream);
}

.tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--primary-gold);
    margin-top: 1rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
    margin: 2rem 0;
}

.section-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-align: center;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: var(--cream);
}

/* Restaurant Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: scale(1.02);
    border-color: var(--primary-gold);
}

.info-card i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.hours-table {
    margin: 1rem 0;
}

.hours-table div {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(45deg, var(--secondary-gold), var(--primary-gold));
}

/* Install Button */
.install-prompt {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-gold);
    color: var(--dark-bg);
    padding: 1rem;
    border-radius: 15px;
    display: none;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    z-index: 1000;
}

.install-prompt.show {
    display: flex;
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 3rem 0 1rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Typing Effect */
.typing::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .info-card, .section-card {
    transition: all 0.3s ease;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #FFD700;
        --text-light: #FFFFFF;
        --dark-bg: #000000;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* SEO and Performance optimizations */
img {
    height: auto;
    max-width: 100%;
}

/* Geolocation styles */
.geo-status {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--primary-gold);
    color: var(--text-light);
    z-index: 999;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.geo-status.success {
    border-color: #4CAF50;
}

.geo-status.error {
    border-color: #f44336;
}

.geo-btn {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    transition: all 0.3s ease;
}

.geo-btn:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-1px);
}

.geo-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

/* Distance indicator */
.distance-info {
    font-size: 0.9rem;
    color: var(--primary-gold);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Loading spinner for geolocation */
.geo-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--glass-bg);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print styles for SEO */
@media print {
    .install-prompt,
    .mobile-menu,
    .geo-status,
    .geo-btn {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .section-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="tel:"]:after {
        content: "";
    }
}