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

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: black;
    background: linear-gradient;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

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

/* Header styles */
header {
    background-color: #003B95;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.desktop-nav {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

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

.mobile-nav {
    display: none;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 19px;
    left: 10px;
    z-index: 1002;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #003B95;
    z-index: 1001;
    transition: left 0.3s ease-in-out;
    padding: 60px 20px 20px; /* Add top padding to account for header */
    box-sizing: border-box;
}

.side-menu a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

/* Main content styles */
main {
    padding-top: 60px; /* To account for the fixed header */
    flex: 1 0 auto;
}

.contact-hero {
    background-color: #003B95;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.contact-content {
    padding: 4rem 0;
}

.contact-content .container {
    display: flex;
    gap: 2rem;
}

.contact-form,
.contact-info {
    flex: 1;
}

.contact-form h2,
.contact-info h2 {
    color: #003B95;
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

.btn-submit {
    background-color: #003B95;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #002a6e;
}

/* Updated social links styles */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.social-link:hover {
    color: #003B95;
}

.restaurant-listing {
    background-color: #f0f0f0;
    padding: 4rem 0;
    text-align: center;
}

.restaurant-listing h2 {
    color: #003B95;
    margin-bottom: 1rem;
}

.restaurant-listing p {
    margin-bottom: 1.5rem;
}

.btn-listing {
    display: inline-block;
    background-color: #003B95;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-listing:hover {
    background-color: #002a6e;
}

/* Footer styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 0;
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style-type: none;
}

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

.footer-section a {
    color: #ddd;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Footer social links */
footer .social-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

footer .social-links a {
    color: white;
    font-size: 1.5rem;
}

.copyright {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ddd;
}

/* Responsive design */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo {
        font-size: 1.2rem;
    }

     header .container {
        justify-content: center;
        padding: 0 15px;
    }

    .contact-hero {
        padding: 2rem 0;
    }

    .contact-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .contact-hero p {
        font-size: 0.9rem;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #003B95;
        justify-content: space-around;
        padding: 10px 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav .nav-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5px;
        color: white;
        text-decoration: none;
        font-size: 0.8rem;
    }

    .mobile-nav .nav-link i {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .contact-content .container {
        flex-direction: column;
    }

    /* Hide footer on mobile devices */
    footer {
        display: none;
    }

    /* Create space between content and mobile navbar */
    main {
        padding-bottom: 80px;
    }

    .restaurant-listing {
        padding-bottom: 2rem;
    }
}

/* iPhone X and newer specific styles */
@supports (padding: max(0px)) {
    .mobile-nav {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    body {
        padding-bottom: max(60px, env(safe-area-inset-bottom));
    }
}