/* 
   Foda Truck Website Styles
   SEO-optimized, mobile-responsive design
*/

/* Base Styles & Reset */
:root {
    /* Main Colors */
    --primary-color: #FF6B35;
    --secondary-color: #4FB0C6;
    --accent-color: #F7C59F;
    --dark-color: #2A324B;
    --light-color: #F5F5F5;
    
    /* Fonts */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

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 */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e56231;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: #43a0b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

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

.nav-list a {
    color: var(--dark-color);
    font-weight: 600;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.9), rgba(79, 176, 198, 0.9)), url('../images/hero-bg.svg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px; /* To account for fixed header */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: white;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

/* Menu Section */
.menu {
    padding: 5rem 0;
    background-color: var(--light-color);
}

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

.menu-item {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

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

.menu-price {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

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

.location {
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Game Section */
.game-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.game-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.game-content {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.game-placeholder {
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-placeholder:hover {
    transform: scale(1.02);
}

.game-links {
    text-align: left;
    width: 100%;
}

.game-link-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.game-link-list a {
    display: block;
    padding: 0.5rem;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.game-link-list a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    color: var(--dark-color);
}

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

.events-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.event-type {
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: 10px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--body-font);
}

.form-group textarea {
    resize: vertical;
}

.contact-info .info-item {
    margin-bottom: 2rem;
}

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

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer a {
    color: #bbb;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #aaa;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        display: flex;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: all 0.3s ease;
        opacity: 0;
        z-index: -1;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        z-index: 999;
    }
    
    .nav-list li {
        margin: 1rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .event-types {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 120px 0 70px;
    }
    
    .menu-grid,
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .game-link-list {
        grid-template-columns: 1fr;
    }
}
