/* Pizza Delivery Routes - Map Navigation Theme */
/* CSS Variables */
:root {
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --route-green: #2e7d32;
    --route-green-light: #4caf50;
    --route-green-dark: #1b5e20;
    --text-dark: #1a1a2e;
    --text-medium: #4a4a68;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

a {
    color: var(--route-green);
    text-decoration: none;
    transition: var(--transition);
}

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

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--route-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--route-green);
    transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--route-green);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(46, 125, 50, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 125, 50, 0.05) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: 2.8rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-medium);
}

.hero-image {
    position: relative;
}

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

/* Route decoration */
.route-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.route-line {
    position: absolute;
    height: 3px;
    background: var(--route-green);
    border-radius: 2px;
    opacity: 0.6;
}

/* Main Content */
main {
    padding: 60px 0;
}

.content-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.content-section h2 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--route-green-light);
    display: inline-block;
}

.content-section h3 {
    margin: 30px 0 15px;
    color: var(--route-green-dark);
}

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

.card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border-left: 4px solid var(--route-green);
}

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

.card h3 {
    margin: 0 0 15px;
    font-size: 1.25rem;
}

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

/* Icon Box */
.icon-box {
    width: 50px;
    height: 50px;
    background: var(--route-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.icon-box svg {
    width: 28px;
    height: 28px;
    fill: white;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--route-green);
    font-weight: 300;
}

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

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    content: '−';
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--route-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-details h4 {
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
    color: var(--text-medium);
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

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

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

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

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: var(--route-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: var(--route-green-dark);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 50px 0 30px;
}

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

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--route-green-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Disclaimer Banner */
.disclaimer {
    background: var(--bg-light);
    border-left: 4px solid var(--route-green);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--route-green) 0%, var(--route-green-dark) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs span {
    color: var(--text-light);
    margin: 0 10px;
}

.breadcrumbs .current {
    color: var(--route-green);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(46, 125, 50, 0.05) 100%);
    border: 1px solid var(--route-green-light);
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.info-box h4 {
    color: var(--route-green-dark);
    margin-bottom: 10px;
}

/* Route Visual */
.route-visual {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    position: relative;
}

.route-path {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
}

.route-point {
    text-align: center;
    position: relative;
}

.route-point-icon {
    width: 60px;
    height: 60px;
    background: var(--route-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.route-point-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.route-point span {
    font-size: 0.9rem;
    font-weight: 500;
}

.route-connector {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, var(--route-green) 0%, var(--route-green-light) 100%);
    margin: 0 15px;
    position: relative;
}

.route-connector::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--route-green-light);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-links a {
        display: block;
        padding: 15px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .content-section {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .route-path {
        flex-direction: column;
        gap: 20px;
    }
    
    .route-connector {
        width: 3px;
        height: 40px;
        margin: 0;
    }
    
    .route-connector::after {
        right: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(50%);
        border: 6px solid transparent;
        border-top-color: var(--route-green-light);
        border-left-color: transparent;
    }
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }

/* Print Styles */
@media print {
    header, footer, .mobile-menu-btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .content-section {
        box-shadow: none;
        break-inside: avoid;
    }
}