/* Sandwich Delivery Zones - Main Stylesheet */

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

:root {
    --primary-green: #2d8a4e;
    --light-green: #e8f5e9;
    --dark-text: #1a1a2e;
    --medium-text: #4a4a5a;
    --light-bg: #f8faf9;
    --white: #ffffff;
    --border-color: #d1e7dd;
    --accent-green: #4caf50;
    --zone-green: #81c784;
    --overlay-green: rgba(45, 138, 78, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

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

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

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

a:hover {
    color: var(--accent-green);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-green);
}

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

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

nav ul li a {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    color: var(--medium-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: var(--light-green);
    color: var(--primary-green);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--white) 100%);
    border-radius: 16px;
    padding: 3rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.hero-map {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.map-visual {
    width: 100%;
    height: 280px;
    background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.map-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(45, 138, 78, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 138, 78, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.zone-overlay {
    position: absolute;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    background: var(--overlay-green);
}

.zone-1 {
    width: 60%;
    height: 70%;
    top: 15%;
    left: 20%;
}

.zone-2 {
    width: 30%;
    height: 40%;
    top: 25%;
    left: 10%;
    border-color: var(--accent-green);
    background: rgba(76, 175, 80, 0.25);
}

.zone-3 {
    width: 25%;
    height: 30%;
    top: 50%;
    left: 55%;
    border-color: var(--zone-green);
    background: rgba(129, 199, 132, 0.3);
}

.zone-label {
    position: absolute;
    background: var(--primary-green);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 138, 78, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

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

/* Section Styles */
.section {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Info Box */
.info-box {
    background: var(--light-green);
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.info-box h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* Disclaimer Box */
.disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}

.disclaimer h4 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.disclaimer p {
    color: #856404;
}

/* Zone Diagram */
.zone-diagram {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.zone-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.concentric-zones {
    position: relative;
    width: 350px;
    height: 350px;
}

.zone-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px dashed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zone-ring.outer {
    inset: 0;
    border-color: var(--zone-green);
    background: rgba(129, 199, 132, 0.15);
}

.zone-ring.middle {
    inset: 15%;
    border-color: var(--accent-green);
    background: rgba(76, 175, 80, 0.2);
}

.zone-ring.inner {
    inset: 35%;
    border-color: var(--primary-green);
    background: rgba(45, 138, 78, 0.3);
}

.zone-center {
    position: absolute;
    inset: 55%;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.zone-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

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

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

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--medium-text);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

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

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin: 0;
}

.contact-form {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

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

/* Footer */
footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

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

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

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

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

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

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

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

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

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

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

.breadcrumb span {
    color: var(--primary-green);
}

/* Lists */
.feature-list {
    list-style: none;
    margin: 1rem 0;
}

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

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-table th,
.info-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table th {
    background: var(--light-green);
    color: var(--primary-green);
    font-weight: 600;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Coverage Map */
.coverage-map {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.map-placeholder {
    background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(45, 138, 78, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 138, 78, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-placeholder span {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: var(--primary-green);
    font-weight: 600;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-map {
        order: -1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .zone-visual {
        transform: scale(0.85);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 0.25rem;
    }
    
    nav ul li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .zone-visual {
        transform: scale(0.7);
    }
}

/* Print Styles */
@media print {
    header, footer, .btn {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .card, .zone-diagram, .coverage-map {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}