/* 
 * Main Stylesheet for Domain Burrito Café
 * Colors:
 * - Background: #1a1a40 (deep indigo)
 * - Accent: #e6ff00 (lime yellow)
 * - Additional: #ff6b6b (coral)
 * - Text: #ffffff (white)
 * - Containers: #2c2c2c (rich coal)
 */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a40;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #e6ff00;
    margin: 20px auto 0;
    border-radius: 2px;
}

p {
    margin-bottom: 20px;
}

a {
    color: #e6ff00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .cta-button, .submit-button {
    padding: 12px 25px;
    background-color: #e6ff00;
    color: #1a1a40;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover, .cta-button:hover, .submit-button:hover {
    background-color: #ff6b6b;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

option {
    color: black;
    background-color: white;
}

/* Header Styles */
.site-header {
    background-color: rgba(26, 26, 64, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 2rem;
    color: #e6ff00;
    margin: 0;
    letter-spacing: 1px;
}

.logo a {
    text-decoration: none;
}

.nav-links ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover {
    color: #e6ff00;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #e6ff00;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}

.menu-icon, .menu-icon::before, .menu-icon::after {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.menu-icon::before {
    content: '';
    transform: translateY(-8px);
}

.menu-icon::after {
    content: '';
    transform: translateY(5px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(26, 26, 64, 0.8), rgba(26, 26, 64, 0.9)), url("../img/vjPa7Q.jpg") no-repeat center center/cover;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffffff;
    animation: fadeIn 1.5s ease-out;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #ffffff;
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.hero .cta-button {
    font-size: 1.2rem;
    padding: 15px 40px;
    animation: fadeIn 1.5s ease-out 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.about-image:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Burrito Types Section */
.burrito-types {
    background-color: #2c2c2c;
}

.burrito-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.burrito-card {
    background-color: #1a1a40;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.burrito-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.burrito-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.burrito-card h3, .burrito-card p, .burrito-card .calories {
    padding: 0 20px;
}

.burrito-card h3 {
    margin-top: 20px;
    color: #e6ff00;
}

.burrito-card .calories {
    display: inline-block;
    margin: 15px 0 20px 20px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Menu Section */
.menu {
    background-color: #1a1a40;
}

.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

/* Hide radio inputs */
.filter-input {
    display: none;
}

.filter-button {
    background-color: transparent;
    border: 2px solid #e6ff00;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.filter-button:hover, .filter-button.active, .filter-input:checked + .filter-button {
    background-color: #e6ff00;
    color: #1a1a40;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* CSS-only filtering with :checked and sibling selectors */
#filter-all:checked ~ .menu-items .menu-category {
    display: block;
}

#filter-burritos:checked ~ .menu-items .menu-category:not(.category-burritos) {
    display: none;
}

#filter-bowls:checked ~ .menu-items .menu-category:not(.category-bowls) {
    display: none;
}

#filter-sides:checked ~ .menu-items .menu-category:not(.category-sides) {
    display: none;
}

#filter-drinks:checked ~ .menu-items .menu-category:not(.category-drinks) {
    display: none;
}

.menu-category h3 {
    color: #e6ff00;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.menu-category-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-item {
    background-color: #2c2c2c;
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item h4 {
    margin: 0;
    color: #ffffff;
}

.menu-item .price {
    color: #e6ff00;
    font-weight: bold;
}

/* Gallery Section */
.gallery {
    background-color: #2c2c2c;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: #1a1a40;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card .stars {
    color: #e6ff00;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.testimonial-card .quote {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    color: #ff6b6b;
    text-align: right;
    font-weight: 600;
}

/* FAQ Section */
.faq {
    background-color: #2c2c2c;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #1a1a40;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #2a2a60;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #e6ff00;
}

.faq-item[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 20px;
    background-color: #333;
}

/* Reservation Section */
.reservation {
    background-color: #1a1a40;
}

.reservation-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.reservation-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.centered-form {
    display: flex;
    justify-content: center;
}

form {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #444;
    border-radius: 5px;
    background-color: #333;
    color: #ffffff;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: #e6ff00;
    outline: none;
}

.date-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
}

.submit-button {
    width: 100%;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Contact Section */
.contact {
    background-color: #2c2c2c;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.contact-item h3 {
    color: #e6ff00;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
.site-footer {
    background-color: #2c2c2c; /* New darker background */
    padding: 60px 0 20px;
    border-top: 1px solid #444;
    background-image: linear-gradient(to bottom, rgba(26, 26, 64, 0.8), rgba(44, 44, 44, 1)), 
                      url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e6ff00' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* Special styling for footer on additional pages */
.single-block-page + .site-footer {
    background-color: #262626;
    border-top: 4px solid #e6ff00;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(22, 22, 53, 0.9), rgba(44, 44, 44, 1)),
                      url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e6ff00' fill-opacity='0.07' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.single-block-page + .site-footer::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #e6ff00;
    border-radius: 2px;
}

/* Footer divider removed as requested */

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-logo h2 {
    color: #e6ff00;
    margin-bottom: 15px;
    text-align: left;
}

.footer-logo h2::after {
    display: none;
}

.footer-description {
    opacity: 0.8;
    max-width: 300px;
}

.footer-contact h3, .footer-links h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact ul, .footer-links ul {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 15px;
}

.footer-contact span {
    color: #e6ff00;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #e6ff00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    opacity: 0.6;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 -20px;
    padding: 20px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c2c2c;
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}

.cookie-button.accept {
    background-color: #e6ff00;
    color: #1a1a40;
    border: none;
}

.cookie-button.info {
    background-color: transparent;
    border: 2px solid #e6ff00;
    color: #ffffff;
}

/* Policy Pages */
.policy-page {
    padding: 80px 0;
}

.policy-container {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.policy-container h1 {
    color: #e6ff00;
    margin-bottom: 30px;
}

.policy-container h2 {
    font-size: 1.8rem;
    text-align: left;
    margin: 40px 0 20px;
}

.policy-container h2::after {
    margin: 10px 0 0;
}

.policy-container ul, .policy-container ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

.thank-you-content {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-content h1 {
    color: #e6ff00;
}

.thank-you-content .icon {
    font-size: 5rem;
    color: #e6ff00;
    margin-bottom: 20px;
}

/* Single Block Page Template */
.single-block-page {
    padding: 80px 0 80px;
    min-height: 70vh;
    position: relative;
    margin-bottom: 0;
}

.block-container {
    background-color: #2c2c2c;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.block-container h1 {
    color: #e6ff00;
    margin-bottom: 30px;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .mobile-menu-button {
        display: flex;
        z-index: 1010;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #1a1a40;
        padding: 80px 20px 20px;
        z-index: 1000;
        transition: left 0.3s ease;
    }
    
    .mobile-menu-toggle:checked ~ .nav-links {
        left: 0;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-button .menu-icon {
        background-color: transparent;
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-button .menu-icon::before {
        transform: rotate(45deg) translate(0, 0);
    }
    
    .mobile-menu-toggle:checked ~ .mobile-menu-button .menu-icon::after {
        transform: rotate(-45deg) translate(0, -3px);
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-content, 
    .burrito-cards, 
    .testimonial-cards, 
    .reservation-content, 
    .contact-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
    
    .policy-container, 
    .block-container {
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}
