/* Base Styles */
:root {
    --color-primary: #FD6C63;      /* Deep salmon */
    --color-secondary: #00CFC1;    /* Bright turquoise */
    --color-text: #2E2E2E;         /* Graphite */
    --color-bg: #FFF2E0;           /* Cream */
    --color-dark: #1B1F3B;         /* Dark blue */
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-headings: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Lock body scroll when menu is open */
body:has(#menu-toggle:checked) {
    overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

section {
    padding: 4rem 0;
}

.container > h2, .container > p:first-of-type {
    text-align: center;
}

.container > p {
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    display: block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin: auto;
    max-width: max-content;
}

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

/* Header Styles */
.site-header {
    background-color: var(--color-dark);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: lowercase;
}

.logo:hover {
    color: var(--color-secondary);
}

.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav ul li a {
    color: var(--color-white);
    font-weight: 500;
}

.nav ul li a:hover {
    color: var(--color-secondary);
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle-label span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* Footer Styles */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-transform: lowercase;
}

.footer-info p {
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a, .footer-legal ul li a {
    color: var(--color-white);
}

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: var(--color-secondary);
}

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

/* Hero Section */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0;
    text-align: center;
}

.hero-section .container {
    margin: 0 auto;
    max-width: 800px;
}

.hero-content {
    text-align: center;
    margin: 0 auto;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about-section {
    background-color: var(--color-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

/* Popular Burritos Section */
.popular-section {
    background-color: var(--color-white);
}

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

.burrito-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-light-gray);
    box-shadow: var(--box-shadow);
    display: grid;
}

.burrito-image {
    height: 200px;
    overflow: hidden;
}

.burrito-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.burrito-content {
    padding: 1.5rem;
}

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

/* Benefits Section */
.benefits-section {
    background-color: var(--color-bg);
}

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

.benefit-item {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.gallery-slider {
    overflow: hidden;
    margin: 2rem 0;
    position: relative;
}

.gallery-track {
    display: flex;
    animation: scroll 20s linear infinite;
}

.gallery-slide {
    min-width: 300px;
    height: 250px;
    margin: 0 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 4 - 2rem * 4)); }
}

/* Menu Section */
.menu-section {
    background-color: var(--color-bg);
}

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

.menu-category {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.menu-items {
    margin-top: 1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dotted var(--color-light-gray);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-price {
    font-weight: 700;
    color: var(--color-primary);
}

/* Booking and Order Section */
.booking-section, .order-section {
    background-color: var(--color-white);
}

.booking-form, .order-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Error messages */
.error-message {
    max-width: 600px;
    margin: 0 auto 2rem;
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-left: 5px solid #ff3333;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    color: #cc0000;
}

.error-message p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.error-message ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-main);
}

select {
    background-color: var(--color-white);
}

small {
    color: #666;
    font-size: 0.85rem;
    display: block;
    margin-top: 5px;
}

/* Custom date and time picker styles */
.date-input-group .date-inputs,
.time-input-group .time-inputs {
    display: flex;
    gap: 10px;
}

.date-input-group .date-inputs select {
    flex: 1;
    padding: 0.75rem;
}

/* Time select styling */
.time-select {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E2E2E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    cursor: pointer;
}

.time-select:focus {
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 207, 193, 0.25);
}

.time-select option {
    padding: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group label {
    margin-bottom: 0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.cookie-content {
    text-align: center;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.cookie-btn {
    min-width: 120px;
}

/* Thanks Section */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.thanks-content h2 {
    color: var(--color-primary);
}

/* Policy Pages */
.policy-section {
    padding: 4rem 0;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.policy-content h2 {
    color: var(--color-primary);
    margin-top: 2rem;
}

.policy-content h3 {
    margin-top: 1.5rem;
}

.policy-content ul, .policy-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Blog and Tips Page */
.blog-section {
    padding: 4rem 0;
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.blog-header {
    margin-bottom: 2rem;
}

.blog-header h2 {
    color: var(--color-primary);
}

.blog-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        height: 100vh;
    }
    
    .menu-checkbox:checked ~ .nav {
        max-height: 100vh;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 10px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .booking-form, .order-form {
        padding: 1.5rem;
    }
}
