/* 
 * domain - Burrito Café Website
 * Styles for responsive, modern design
 */

/* === Base Styles === */
:root {
    --primary-bg: #FCF6F5;
    --accent: #FF3C38;
    --secondary: #1C3144;
    --tertiary: #F6D743;
    --text: #231F20;
    --white: #FFFFFF;
    --light-gray: #E5E5E5;
    --blue-light: #A2D2FF;
    --gradient-1: linear-gradient(135deg, var(--tertiary), var(--accent));
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

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

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--primary-bg);
}

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

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

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

p {
    margin-bottom: 1rem;
}

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

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

section {
    padding: 80px 0;
}

/* Alternate section backgrounds in chess pattern */
section:nth-child(3n+1) {
    background: var(--gradient-1);
    color: var(--white);
}

section:nth-child(3n+2) {
    background-color: var(--light-gray);
}

section:nth-child(3n+3) {
    background-color: var(--blue-light);
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

/* === Header & Navigation === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo a {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--accent);
    text-decoration: none;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text);
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

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

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    padding: 160px 0 80px;
    background-color: var(--primary-bg);
}

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

.hero-content {
    width: 50%;
}

.hero-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* === About Section === */
.about {
    text-align: center;
}

.features {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}

.feature {
    width: 30%;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

/* === Menu Section === */
.burrito-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.burrito-card {
    width: 30%;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    transition: var(--transition);
    color: #000000 !important;
}

.burrito-card:hover {
    transform: translateY(-10px);
}

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

.burrito-card h3, 
.burrito-card p {
    padding: 0 20px;
    color: #000000 !important;
}

.burrito-card h3 {
    margin-top: 20px;
}

.burrito-card .price {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.2rem;
}

.burrito-card .description {
    padding-bottom: 20px;
}

/* === Testimonials Section === */
.testimonial-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.testimonial-card {
    width: 30%;
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.quote {
    font-style: italic;
}

.author {
    font-weight: bold;
    text-align: right;
}

/* === Natural Ingredients Section === */
.centered-heading {
    text-align: center;
    margin-bottom: 30px;
}

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

.ingredients-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.ingredients-content {
    width: 50%;
}

/* === Gallery Section === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

/* === Location Section === */
.location-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.address {
    width: 45%;
}

.map {
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Location section links - white color instead of orange */
.location a {
    color: white;
}

.location a:hover {
    color: var(--tertiary);
}

/* === FAQ Section === */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background-color: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    outline: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: var(--transition);
}

details[open] summary::after {
    content: '−';
}

.faq-content {
    padding: 0 20px 20px;
}

/* === Order Form === */
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

input, select, input[type="datetime-local"] {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text);
}

input:focus, select:focus {
    border-color: var(--accent);
    outline: none;
}

select {
    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='black' 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 12px center;
    background-size: 1em;
}

select option {
    color: black;
    background-color: white;
}

.date-selects {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.date-select-item {
    flex: 1;
}

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

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

/* === Footer === */
footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    width: 30%;
}

.footer-logo h3 {
    color: var(--accent);
    font-weight: 800;
    font-size: 1.8rem;
}

.footer-links, .footer-contact {
    width: 30%;
}

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

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

.footer-links a, .footer-contact a {
    color: var(--white);
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--tertiary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--white);
    margin-right: 20px;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

/* === Page Content Styles === */
.page-content {
    padding: 120px 0 80px;
}

.page-content h1 {
    margin-bottom: 30px;
    text-align: center;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.policy h1 {
    text-align: center;
}

.policy-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-top: 30px;
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-date {
    margin-top: 40px;
    font-style: italic;
    text-align: right;
}

/* About Page */
.about-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-image {
    width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-text {
    width: 50%;
}

/* Blog Page */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.blog-date {
    font-style: italic;
    color: var(--secondary);
    margin-bottom: 20px;
}

/* Tips Page */
.tips-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.tip {
    margin-bottom: 30px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.thank-you-content h1 {
    font-size: 3rem;
    color: var(--accent);
}

.thank-you-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* === Responsive Design === */

/* Tablet Styles */
@media screen and (max-width: 992px) {
    .hero-content, .hero-image,
    .ingredients-content, .ingredients-image,
    .about-image, .about-text {
        width: 100%;
    }
    
    .hero .container,
    .ingredients-content-wrapper,
    .about-page {
        flex-direction: column;
    }
    
    .hero-image, .ingredients-image, .about-image {
        margin-top: 30px;
    }
    
    .feature, .burrito-card, .testimonial-card {
        width: 48%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .address, .map {
        width: 100%;
    }
    
    .map {
        margin-top: 30px;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 48%;
        margin-bottom: 30px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: var(--shadow);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
    }
    
    .feature, .burrito-card, .testimonial-card {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .legal-links {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .legal-links a {
        margin: 5px 10px;
    }
    
    .copyright {
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
