/* ============================================
   SANDWICH DELIVERY HUB - Modern Food Magazine Style
   ============================================ */

/* CSS Variables - Color Palette */
:root {
    --bg-beige: #F5F0E8;
    --bg-light: #FBF8F3;
    --olive-green: #6B7B4C;
    --olive-dark: #4A5A35;
    --warm-orange: #E07B39;
    --orange-light: #F4A261;
    --dark-brown: #3D2B1F;
    --brown-medium: #5C4033;
    --white: #FFFFFF;
    --gray-light: #E8E4DD;
    --gray-medium: #9A9590;
    --shadow: rgba(61, 43, 31, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--bg-beige);
    color: var(--dark-brown);
    line-height: 1.8;
    font-size: 18px;
}

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

h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    color: var(--olive-dark);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brown-medium);
}

p {
    margin-bottom: 1.25rem;
    color: var(--brown-medium);
}

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

a:hover {
    color: var(--warm-orange);
}

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

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
    background-color: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

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

.logo-text span {
    color: var(--warm-orange);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

nav ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--brown-medium);
    font-size: 0.95rem;
    font-family: 'Arial', sans-serif;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--bg-beige);
    color: var(--olive-green);
}

nav ul li a.active {
    background-color: var(--olive-green);
    color: var(--white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-beige) 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(107, 123, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text .tagline {
    display: inline-block;
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--brown-medium);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

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

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--white);
}

.section-beige {
    background-color: var(--bg-beige);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--olive-green), var(--warm-orange));
    border-radius: 2px;
}

.section-header p {
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.card h3 {
    margin-bottom: 1rem;
}

.card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
}

.info-box h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.info-box p {
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FEATURE BLOCKS
   ============================================ */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.feature-block.reverse {
    direction: rtl;
}

.feature-block.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 2rem 0;
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px var(--shadow);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Steps */
.process-steps {
    counter-reset: step;
}

.process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.process-step::before {
    counter-increment: step;
    content: counter(step);
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--warm-orange), var(--orange-light));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Georgia', serif;
}

.process-content {
    flex: 1;
    padding-top: 0.5rem;
}

.process-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-brown);
}

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

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

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark-brown);
    transition: background-color 0.3s ease;
}

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

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

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

.faq-answer {
    padding: 0 2rem 1.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-beige);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-brown);
}

.contact-details p {
    margin: 0;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow);
}

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--olive-green);
    box-shadow: 0 0 0 4px rgba(107, 123, 76, 0.15);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 123, 76, 0.3);
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background-color: var(--dark-brown);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: var(--orange-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--orange-light);
}

/* Disclaimer */
.disclaimer {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--warm-orange);
}

.disclaimer p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PAGE HEADER (Internal Pages)
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--olive-green), var(--olive-dark));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 2rem;
    }
    
    .feature-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-block.reverse {
        direction: ltr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li a {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .info-box {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .legal-content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .hero-text h1 {
        font-size: 1.85rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}