/* Main Styles for Domain Burrito Café Website */

/* Base Styles & Variables */
:root {
    --primary-bg: #E5FFD9;
    --accent: #E63946;
    --secondary-bg: #F2F2F2;
    --text: #1D1D1D;
    --decor: #FF477E;
    --white: #FFFFFF;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--primary-bg);
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--decor);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-align: center;
}

.btn:hover {
    background-color: var(--decor);
    color: var(--white);
}

/* Hero button special styling */
.hero .btn {
    background-color: transparent;
    border: 2px solid var(--white);
    padding: 15px 40px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    background-color: var(--white);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text);
    font-weight: 600;
    position: relative;
}

.nav-menu a:before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-menu a:hover:before {
    width: 100%;
}

/* Mobile Nav with Checkbox Hack */
.mobile-nav-toggle {
    display: none;
}

.mobile-nav-label {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--accent) 0%, var(--decor) 100%);
    position: relative;
}

.hero:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 40px;
    color: var(--white);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Menu Section */
.menu {
    background-color: var(--primary-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-item-content {
    padding: 20px;
}

.menu-item-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-item-title h3 {
    margin: 0;
}

.menu-item-price {
    color: var(--accent);
    font-weight: bold;
}

/* Features Section */
.features {
    background-color: var(--secondary-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-bg);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

/* Location Section */
.location {
    background-color: var(--secondary-bg);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-details {
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.location-details h3 {
    color: var(--accent);
}

.location-map {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Booking Section */
.booking {
    background-color: var(--white);
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

.date-selects {
    display: flex;
    gap: 10px;
}

.date-selects select {
    flex: 1;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: var(--text);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--white);
    opacity: 0.8;
}

.footer-column ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--text);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}

.cookie-consent p {
    margin: 0;
    padding-right: 20px;
}

.cookie-btn {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-consent {
        flex-direction: column;
        padding: 12px;
    }
    
    .cookie-consent p {
        padding-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 10px;
    }
}

/* Policy Pages */
.policy-container {
    max-width: 900px;
    margin: 150px auto 80px;
    padding: 40px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    margin-bottom: 30px;
    color: var(--accent);
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container li {
    margin-bottom: 10px;
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 100px 0;
}

.thank-you h1 {
    color: var(--accent);
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content,
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        flex-direction: column;
        background-color: var(--white);
        top: var(--header-height);
        left: 0;
        width: 100%;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        opacity: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
        text-align: center;
    }
    
    .mobile-nav-label {
        display: block;
    }
    
    #mobile-nav:checked ~ .nav-menu {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-grid,
    .features-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
