/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #2c3e50;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #c0392b;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: #c0392b;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c0392b;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #c0392b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a93226;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn i {
    margin-right: 8px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    margin: 1.5rem 0 1rem;
    color: #2c3e50;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Menu Section */
.menu {
    padding: 5rem 0;
    background-color: #f5f5f5;
}

.menu-actions {
    text-align: center;
    margin: 3rem 0;
}

.menu-note {
    margin-top: 1rem;
    color: #666;
    font-style: italic;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-card i {
    font-size: 1.5rem;
    color: #c0392b;
    margin-top: 0.3rem;
    min-width: 24px;
    text-align: center;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #2c3e50;
}

.info-card p {
    color: #555;
    line-height: 1.5;
}

.info-card strong {
    color: #333;
}

/* Contact Links */
.contact-info a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #a93226;
    text-decoration: underline;
}

.directions-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #c0392b;
    color: white !important;
    border-radius: 5px;
    margin-top: 10px;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none !important;
}

.directions-link:hover {
    background-color: #a93226;
    text-decoration: none !important;
    color: white !important;
}

.small-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

.small-note i {
    margin-right: 5px;
}

/* Map Section */
.map-section {
    width: 100%;
}

.map-responsive-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border: 1px solid #eaeaea;
    background: white;
}

/* Responsive Wrapper using aspect-ratio */
.map-responsive-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%; /* Slightly taller aspect ratio for better map view */
    overflow: hidden;
}

.map-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

/* Map Controls */
.map-controls {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #eaeaea;
}

.map-control-btn {
    flex: 1;
    padding: 12px 16px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    font-weight: 500;
}

.map-control-btn:hover {
    background: #f0f0f0;
    border-color: #c0392b;
    color: #c0392b;
    transform: translateY(-2px);
}

.map-control-btn i {
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.footer-logo p {
    color: #ddd;
    font-style: italic;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    color: white;
    font-size: 1.3rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #c0392b;
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    color: #bbb;
    font-size: 0.9rem;
}

/* ============================================ */
/* MOBILE RESPONSIVENESS */
/* ============================================ */

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .contact-content {
        gap: 3rem;
    }
}

/* Tablet */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Hero */
    .hero {
        height: 60vh;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    /* Layout */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* CONTACT & MAP - MOBILE LAYOUT */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .map-section {
        order: 3; /* Move map to bottom on mobile */
        margin-top: 1rem;
    }
    
    /* Map Container Mobile Optimization */
    .map-responsive-container {
        border-radius: 8px;
        margin: 0;
        width: 100%;
    }
    
    .map-responsive-wrapper {
        padding-bottom: 70%; /* Taller aspect for mobile */
    }
    
    .map-controls {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .map-control-btn {
        min-width: calc(50% - 6px);
        padding: 12px;
    }
    
    /* Contact Info Cards */
    .info-card {
        padding: 1rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    /* Extra Small Devices */
    .hero {
        height: 50vh;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about, .menu, .contact {
        padding: 2.5rem 0;
    }
    
    /* Map Mobile Optimization */
    .map-responsive-wrapper {
        padding-bottom: 80%; /* Even taller for small screens */
    }
    
    .map-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .map-control-btn {
        min-width: 100%;
    }
    
    /* Contact Cards */
    .info-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .info-card i {
        margin-top: 0;
        align-self: flex-start;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Very Small Mobile */
@media (max-width: 400px) {
    .hero {
        height: 45vh;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .map-responsive-wrapper {
        padding-bottom: 90%; /* Very tall for narrow screens */
    }
    
    .info-card {
        padding: 0.8rem;
    }
}

/* Landscape Mode Fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }
    
    .map-responsive-wrapper {
        padding-bottom: 50%; /* Adjust for landscape */
    }
}

/* Print Styles */
@media print {
    .map-responsive-container,
    .map-controls,
    .navbar,
    .social-links,
    footer {
        display: none !important;
    }
    
    .contact-content {
        display: block !important;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ensure no horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Touch-friendly sizes for mobile */
@media (max-width: 768px) {
    .btn,
    .map-control-btn,
    .directions-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
