/* Global Styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #f39c12;
    --accent-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333333;
    --footer-color: #34495e;
    --header-height: 80px;
}

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

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
}

.logo-container img {
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.order-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 5px;
    border: none !important;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Main Content Sections */
main {
    padding: 40px 0;
}

section {
    margin-bottom: 60px;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Popular Items Section */
.popular-items {
    padding: 0 5%;
}

.items-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* About Us Section */
.about-us {
    padding: 0 5%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Menu Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background-color: var(--dark-color);
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.menu-section {
    padding: 0 5%;
    margin-bottom: 50px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-info {
    padding: 20px;
}

.menu-item-info h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.menu-item-info p {
    color: #666;
}

/* Gallery Page Styles */
.gallery-section {
    padding: 0 5%;
    margin-bottom: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid a {
    display: block;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-grid a:hover img {
    transform: scale(1.1);
}

/* Contact Page Styles */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    margin-bottom: 50px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-item h3 i {
    margin-right: 10px;
    color: var(--primary-color);
}

.map-container {
    flex: 1;
    min-width: 300px;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Privacy Policy Page Styles */
.privacy-content {
    padding: 0 5%;
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
}

.privacy-section h2 {
    text-align: left;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.privacy-section h2::after {
    left: 0;
    transform: none;
}

.privacy-section h3 {
    margin: 20px 0 10px;
    color: var(--dark-color);
}

.privacy-section p, .privacy-section ul {
    margin-bottom: 15px;
}

.privacy-section ul {
    padding-left: 20px;
    list-style-type: disc;
}

/* Order Online Section */
.order-online-section {
    text-align: center;
    padding: 50px 5%;
    background-color: var(--dark-color);
    color: white;
    border-radius: 10px;
    margin: 0 5% 60px;
}

.order-online-section h2 {
    color: white;
}

.order-online-section h2::after {
    background-color: var(--secondary-color);
}

.order-online-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Footer Styles */
footer {
    background-color: var(--footer-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
    margin-bottom: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
}

.footer-section ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #bdc3c7;
}

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

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: var(--primary-color);
}

.popup-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.5rem;
}

.popup-content p {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 15px 5%;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero-content {
        width: 90%;
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-details {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .menu-grid, .gallery-grid, .items-container {
        grid-template-columns: 1fr;
    }
}
