:root {
    --primary-blue: #1e3d59;
    --secondary-blue: #17293d;
    --primary-yellow: #ffc13b;
    --secondary-yellow: #ffd571;
    --text-dark: #1e3d59;
    --text-light: #ffffff;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: var(--text-dark);
}

header {
    background: var(--primary-blue);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links a {
    color: var(--primary-yellow);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: bold;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary-yellow);
}

.hero {
    background: linear-gradient(rgba(30, 61, 89, 0.9), rgba(30, 61, 89, 0.9)),
                var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 180px 20px 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-yellow) 0,
        var(--primary-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
    opacity: 0.1;
}

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

.hero p {
    font-size: 1.5rem;
    color: var(--primary-yellow);
}

section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

.category {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.category:hover {
    transform: translateY(-5px);
    border-color: var(--primary-yellow);
}

.category h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.food-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: background-image 0.3s ease;
}

.food-image div {
    font-size: 1rem;
    color: #666;
    text-align: center;
    padding: 1rem;
}

.category ul {
    list-style: none;
}

.category ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    color: var(--text-dark);
}

.category ul li:last-child {
    border-bottom: none;
}

.limited-time {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    padding: 6rem 5%;
}

.limited-time h2 {
    color: var(--primary-yellow);
}

.promo-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.promo-item {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    max-width: 450px;
    border: 3px solid var(--primary-yellow);
}

.promo-item h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin: 1.5rem 0;
}

.price {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: bold;
    margin: 1rem 0;
}

.limited-tag {
    color: #ff4444;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #ffe6e6;
    border-radius: 20px;
    display: inline-block;
}

.history {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-yellow);
    top: 50%;
    z-index: -1;
}

.milestone {
    background: var(--primary-blue);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    color: white;
    position: relative;
    min-width: 150px;
}

.milestone h3 {
    color: var(--primary-yellow);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.story {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 2rem;
}

footer {
    background: var(--primary-blue);
    color: var(--text-light);
    text-align: center;
    padding: 3rem;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
    color: var(--primary-yellow);
}

.soda-logos {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    gap: 1rem;
}

.soda-logos div {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.soda-logos div:hover {
    transform: scale(1.05);
}

.coca-cola {
    background: var(--primary-blue);
    color: white;
}

.sprite {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.fanta {
    background: var(--secondary-yellow);
    color: var(--primary-blue);
}

.full-menu-section {
    background-color: #f4f4f4;
    padding: 4rem 5%;
}

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

.menu-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.menu-category h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.menu-category p {
    color: #666;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--primary-blue);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--primary-yellow);
}

.order-online-btn {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.order-online-btn:hover {
    background-color: var(--secondary-yellow);
    transform: scale(1.05);
}

.order-online-section {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 2rem;
    text-align: center;
}

.order-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.order-method {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 300px;
    transition: transform 0.3s ease;
}

.order-method:hover {
    transform: translateY(-10px);
}

.order-method i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.order-method button {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin-top: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-method button:hover {
    background-color: var(--secondary-yellow);
}

.order-location-section, .order-menu-section {
    margin-top: 3rem;
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 15px;
}

.location-search {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.location-search input {
    width: 400px;
    padding: 0.8rem;
    border: 2px solid var(--primary-blue);
    border-radius: 25px;
    margin-right: 1rem;
}

.location-search button {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
}

.nearby-locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.location-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-item button {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-tabs .tab {
    background-color: #f1f1f1;
    border: none;
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tabs .tab.active {
    background-color: var(--primary-blue);
    color: white;
}

.order-menu-section .menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.order-menu-section .menu-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.order-menu-section .menu-item button {
    background-color: var(--primary-yellow);
    color: var(--primary-blue);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

.order-summary {
    margin-top: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.order-summary ul {
    list-style: none;
    margin-bottom: 1rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 1rem;
}

#checkout-btn {
    width: 100%;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#checkout-btn:hover {
    background-color: var(--secondary-blue);
}

.hidden {
    display: none;
}

.nutrition-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    z-index: 1100;
    max-width: 400px;
    width: 90%;
}

.nutrition-popup.active {
    display: block;
}

.nutrition-popup h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: center;
}

.nutrition-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.nutrition-item {
    background: #f5f5f5;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
}

.nutrition-item span {
    display: block;
    font-weight: bold;
    color: var(--primary-blue);
}

.close-nutrition {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}

.menu-item {
    position: relative;
}

.nutrition-button {
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

.nutrition-button:hover {
    background: var(--secondary-blue);
}

.nutrition-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
}

.nutrition-overlay.active {
    display: block;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .timeline {
        flex-direction: column;
        gap: 2rem;
    }
    
    .timeline::after {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
}