/* =====================================================
   Sandwich Delivery Guide - Casual Food Blog Style
   ===================================================== */

/* CSS Variables for Color Palette */
:root {
    --cream-bg: #FDF8F0;
    --cream-light: #FFF9F0;
    --tomato-red: #E74C3C;
    --tomato-dark: #C0392B;
    --warm-yellow: #F4D03F;
    --yellow-light: #F9E79F;
    --dark-brown: #4A3728;
    --brown-medium: #6B4E3D;
    --brown-light: #8B7355;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #95A5A6;
    --shadow: rgba(74, 55, 40, 0.1);
    --shadow-hover: rgba(74, 55, 40, 0.2);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--cream-bg);
    color: var(--dark-brown);
    line-height: 1.8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
    color: var(--dark-brown);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--brown-medium);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

a {
    color: var(--tomato-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--tomato-dark);
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--tomato-red), var(--warm-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-brown);
}

.logo-text span {
    color: var(--tomato-red);
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-brown);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-brown);
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background-color: var(--tomato-red);
    color: var(--white);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream-light) 0%, var(--yellow-light) 100%);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '🥪';
    position: absolute;
    font-size: 15rem;
    opacity: 0.08;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-brown);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--brown-medium);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin-top: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 0;
}

.content-section {
    background-color: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px var(--shadow);
}

.content-card {
    background-color: var(--cream-light);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    border-left: 4px solid var(--tomato-red);
}

.content-card:last-child {
    margin-bottom: 0;
}

.content-card h3 {
    color: var(--tomato-red);
    margin-bottom: 1rem;
}

.content-card h3 .icon {
    margin-right: 10px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--tomato-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--brown-medium);
    font-size: 0.95rem;
}

/* Info Banner */
.info-banner {
    background: linear-gradient(135deg, var(--yellow-light), var(--warm-yellow));
    border-radius: 15px;
    padding: 25px 30px;
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-banner-icon {
    font-size: 2.5rem;
}

.info-banner-content h4 {
    color: var(--dark-brown);
    margin-bottom: 5px;
}

.info-banner-content p {
    margin: 0;
    color: var(--brown-medium);
    font-size: 0.95rem;
}

/* Steps List */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding: 20px 20px 20px 80px;
    margin-bottom: 15px;
    background-color: var(--cream-light);
    border-radius: 10px;
    counter-increment: step-counter;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--tomato-red), var(--tomato-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.steps-list li h4 {
    margin-bottom: 5px;
    color: var(--dark-brown);
}

.steps-list li p {
    margin: 0;
    color: var(--brown-medium);
    font-size: 0.95rem;
}

/* FAQ Accordion */
.faq-section {
    margin-top: 30px;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: var(--cream-light);
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-brown);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    font-family: 'Georgia', serif;
}

.faq-question:hover {
    background-color: var(--yellow-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--tomato-red);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--brown-medium);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-brown);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tomato-red);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--tomato-red), var(--tomato-dark));
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Georgia', serif;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.3);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    background-color: var(--cream-light);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--tomato-red));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
}

.contact-card h4 {
    margin-bottom: 10px;
    color: var(--dark-brown);
}

.contact-card p {
    color: var(--brown-medium);
    margin: 0;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--cream-light), var(--yellow-light));
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--brown-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--brown-light);
}

.breadcrumb a {
    color: var(--brown-medium);
}

.breadcrumb span {
    margin: 0 8px;
}

/* Footer */
footer {
    background-color: var(--dark-brown);
    color: var(--cream-bg);
    padding: 50px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--warm-yellow);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

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

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

.footer-section ul li a {
    color: var(--cream-bg);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-section p {
    color: var(--cream-bg);
    opacity: 0.8;
    margin-bottom: 10px;
}

/* Disclaimer */
.disclaimer {
    background-color: rgba(244, 208, 63, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid var(--warm-yellow);
}

.disclaimer h5 {
    color: var(--dark-brown);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclaimer p {
    font-size: 0.9rem;
    color: var(--brown-medium);
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    color: var(--cream-bg);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.6;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--tomato-red);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu {
        gap: 2px;
    }
    
    .nav-menu li a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li a {
        padding: 12px 15px;
        border-radius: 8px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-list li {
        padding: 15px 15px 15px 70px;
    }
    
    .steps-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section {
        padding: 20px;
        border-radius: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    header, footer, .nav-toggle {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .content-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}