/* ===========================================
   Sandwich Delivery Website - Main Stylesheet
   Clean Food Product Design
   =========================================== */

/* CSS Variables */
:root {
    --color-white: #ffffff;
    --color-beige-light: #f5f0e8;
    --color-beige: #e8dcc8;
    --color-beige-dark: #d4c4a8;
    --color-text-dark: #2c2416;
    --color-text-medium: #5a4d3a;
    --color-text-light: #8b7d68;
    --color-accent: #c9a962;
    --color-accent-dark: #a88b3d;
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --shadow-sm: 0 2px 4px rgba(44, 36, 22, 0.08);
    --shadow-md: 0 4px 12px rgba(44, 36, 22, 0.12);
    --shadow-lg: 0 8px 24px rgba(44, 36, 22, 0.16);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-medium);
}

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

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

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

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

/* Header */
.header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-beige);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background-color: var(--color-beige);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.logo-text span {
    color: var(--color-accent-dark);
}

/* Navigation */
.nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-medium);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-dark);
}

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-text-dark);
    transition: var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-beige);
    box-shadow: var(--shadow-md);
    padding: 1rem 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-list {
    list-style: none;
    padding: 0 1.5rem;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--color-text-medium);
    font-weight: 500;
    border-bottom: 1px solid var(--color-beige-light);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-beige-light) 0%, var(--color-white) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-medium);
    margin-bottom: 1.5rem;
}

/* Main Content */
.main {
    flex: 1;
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
}

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

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    background-color: var(--color-beige-light);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-beige);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Feature Section */
.feature-section {
    background-color: var(--color-beige-light);
    padding: 3rem 0;
    margin: 3rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.feature-content h2 {
    margin-bottom: 1rem;
}

.feature-content p {
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-medium);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-dark);
    font-weight: 700;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-beige-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-icon {
    font-size: 1.25rem;
    color: var(--color-accent-dark);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-medium);
    display: none;
}

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

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

/* Disclaimer Box */
.disclaimer {
    background-color: var(--color-beige);
    border-left: 4px solid var(--color-accent);
    padding: 1.25rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 2rem 0;
}

.disclaimer p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--color-text-dark);
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info-card {
    background-color: var(--color-beige-light);
    border-radius: 12px;
    padding: 2rem;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

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

.contact-details h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

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

/* About Page */
.about-section {
    padding: 3rem 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Privacy Policy */
.privacy-section {
    padding: 3rem 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    margin-bottom: 1rem;
}

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

.privacy-content li {
    margin-bottom: 0.5rem;
    color: var(--color-text-medium);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--color-beige-light) 0%, var(--color-white) 100%);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--color-text-dark);
    color: var(--color-beige-light);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-beige);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--color-beige-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-beige-light);
    font-size: 0.9rem;
}

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

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

.footer-bottom p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-bottom: 0;
}

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

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

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

/* Responsive Design */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        padding: 1rem 0;
        background: none;
    }
    
    .main {
        padding: 1rem 0;
    }
}