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

:root {
    --federal-red: #FF0000;
    --alpine-white: #FFFFFF;
    --railway-green: #228B22;
    --neutral-gray: #71797E;
    --accent-blue: #0057B7;
    --light-bg: #F5F5F5;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: var(--alpine-white);
    padding: 20px;
    z-index: 10000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

.cookie-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}

/* Navigation */
.navbar {
    background: var(--alpine-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--federal-red);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--neutral-gray);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--federal-red);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--federal-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--railway-green) 100%),
                url('https://images.unsplash.com/photo-1530789253388-582c481c54b0?w=1600&h=900&fit=crop') center/cover;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--alpine-white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-large {
    width: 48px;
    height: 48px;
}

.btn-hero {
    display: inline-block;
    background: var(--federal-red);
    color: var(--alpine-white);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-white {
    background: var(--alpine-white);
}

.bg-light {
    background: var(--light-bg);
}

.bg-gradient {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--railway-green) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #222;
}

.section-header.text-white h2,
.section-header.text-white p {
    color: var(--alpine-white);
}

.section-header p {
    font-size: 18px;
    color: var(--neutral-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Cards */
.card {
    background: var(--alpine-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--alpine-white);
}

.bg-red {
    background: var(--federal-red);
}

.bg-green {
    background: var(--railway-green);
}

.bg-blue {
    background: var(--accent-blue);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #222;
}

.card p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* Feature Cards */
.feature-card {
    background: var(--alpine-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--federal-red);
}

.feature-content p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* Transport Cards */
.transport-card {
    background: var(--alpine-white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.transport-card:hover {
    transform: scale(1.05);
}

.transport-icon {
    width: 50px;
    height: 50px;
    stroke: var(--federal-red);
    margin-bottom: 15px;
}

.transport-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #222;
}

.transport-card p {
    color: var(--neutral-gray);
    font-size: 14px;
}

/* Pricing Cards */
.pricing-card {
    background: var(--alpine-white);
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-8px);
}

.pricing-card.featured {
    border: 3px solid var(--federal-red);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--federal-red);
    color: var(--alpine-white);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-bg);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
}

.price {
    font-size: 42px;
    font-weight: 700;
    color: var(--federal-red);
    margin-bottom: 10px;
}

.pricing-header p {
    color: var(--neutral-gray);
    font-size: 14px;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--neutral-gray);
    border-bottom: 1px solid var(--light-bg);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Route Cards */
.route-card {
    background: var(--alpine-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.route-card:hover {
    transform: translateY(-5px);
}

.route-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.route-content {
    padding: 25px;
}

.route-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--federal-red);
}

.route-meta {
    font-size: 14px;
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.route-content p {
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* Region Cards */
.region-card {
    background: var(--alpine-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.region-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

.region-list {
    list-style: none;
}

.region-list li {
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    color: var(--neutral-gray);
    border-bottom: 1px solid var(--light-bg);
}

.region-list li:last-child {
    border-bottom: none;
}

.region-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--federal-red);
    font-weight: bold;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    stroke: var(--federal-red);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
}

.contact-item p {
    color: var(--neutral-gray);
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--federal-red);
}

.form-group textarea {
    resize: vertical;
}

/* Buttons */
.btn-primary {
    background: var(--federal-red);
    color: var(--alpine-white);
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    padding: 15px;
}

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

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

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    font-weight: 600;
    color: #222;
    transition: background 0.3s;
}

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

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--federal-red);
    transition: transform 0.3s;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--neutral-gray);
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--alpine-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--alpine-white);
}

.footer-section p {
    color: #aaa;
    line-height: 1.7;
    font-size: 14px;
}

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

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

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 25px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--alpine-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--railway-green) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: var(--alpine-white);
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 28px;
    color: var(--federal-red);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-size: 22px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--neutral-gray);
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    margin-left: 25px;
    line-height: 1.8;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
    color: var(--neutral-gray);
}

.legal-content a {
    color: var(--accent-blue);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--federal-red);
}

.legal-content strong {
    color: #222;
}

/* About Page Content */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-main h2 {
    font-size: 32px;
    color: var(--federal-red);
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-main h3 {
    font-size: 24px;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-main p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--neutral-gray);
}

.feature-list {
    list-style: none;
    margin: 25px 0;
}

.feature-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--neutral-gray);
    line-height: 1.7;
}

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

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--federal-red);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--neutral-gray);
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: 60px 20px;
    color: var(--alpine-white);
}

.cta-box h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--alpine-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cookie-table th,
.cookie-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-bg);
}

.cookie-table th {
    background: var(--federal-red);
    color: var(--alpine-white);
    font-weight: 600;
}

.cookie-table tr:hover {
    background: var(--light-bg);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .cookie-table {
        font-size: 14px;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .card,
    .contact-form {
        padding: 25px 20px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .cta-box h2 {
        font-size: 28px;
    }
}
