/* ===================================
   RESET AND BASE STYLES
   =================================== */

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

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

/* Container for centering content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION
   =================================== */

.navbar {
    background-color: #2c3e50;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

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

.logo {
    color: #f39c12;
    font-size: 1.8rem;
    font-weight: bold;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: #f39c12;
}

/* ===================================
   HERO SECTION (Homepage)
   =================================== */

/* Hero Section with Background Image */
.hero {
    /* Using online image as fallback */
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1920');
    /* If you have downloaded an image, use this instead:
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('../images/hero-restaurant.jpg'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f39c12;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: 4rem 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.feature-card p {
    color: #7f8c8d;
}

/* ===================================
   PAGE HEADER (Menu, About, Contact)
   =================================== */

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===================================
   MENU SECTION
   =================================== */

.menu-section {
    padding: 4rem 0;
    background-color: white;
}

.menu-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f39c12;
}

.menu-items {
    display: grid;
    gap: 1.5rem;
}

.menu-item {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.item-header h4 {
    font-size: 1.3rem;
    color: #34495e;
}

.price {
    font-size: 1.2rem;
    color: #f39c12;
    font-weight: bold;
}

.menu-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* ===================================
   ABOUT PAGE
   =================================== */

.about-content {
    padding: 4rem 0;
    background-color: white;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-section p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.mission-list {
    list-style: none;
    padding-left: 0;
}

.mission-list li {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #f39c12;
    border-radius: 5px;
}

.mission-list strong {
    color: #2c3e50;
}

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

.team-member {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.member-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.role {
    color: #f39c12;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.team-member p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* ===================================
   CONTACT PAGE
   =================================== */

.contact-section {
    padding: 4rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info h3,
.reservation-form h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item h4 {
    color: #34495e;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: #7f8c8d;
}

/* Form Styles */
.reservation-form {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #34495e;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    resize: vertical;
}

.reservation-form .btn {
    width: 100%;
    margin-top: 1rem;
}

/* Map Section */
.map-section {
    margin-top: 3rem;
}

.map-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.map-placeholder {
    background-color: #ecf0f1;
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    border: 2px dashed #bdc3c7;
}

.map-placeholder p {
    color: #7f8c8d;
    font-size: 1.2rem;
}

.map-placeholder p:first-child {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* ===================================
   FOOTER
   =================================== */

footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #f39c12;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet and below */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .features h2,
    .page-header h2 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .price {
        margin-top: 0.5rem;
    }
}
