﻿/* Home Page Styles */

.home-page {
    width: 100%;
    min-height: 100vh;
}

/* Section title shared across home sections */

.section-title {
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: var(--color-platinum-grey);
    margin-bottom: 48px;
}

/* Hero Section */

.hero-section {
    position: relative;
    padding: 100px 24px 120px;
    text-align: center;
    border-bottom: 2px solid var(--color-solar-yellow);
    background-image: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(13, 13, 13, 0.95)), url("/Images/Home-Background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    max-width: 480px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.company-logo {
    margin-bottom: 40px;
}

.company-name {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-solar-yellow);
    margin-bottom: 16px;
    line-height: 1.2;
}

.tagline {
    font-size: 20px;
    color: var(--color-platinum-grey);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    color: var(--color-matte-grey);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .hero-actions .btn {
        padding: 14px 32px;
        font-size: 16px;
    }

/* Features Section */

.features-section {
    padding: 100px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--color-charcoal-black);
    border: 1px solid var(--color-slate-grey);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        border-color: var(--color-solar-yellow);
    }

.feature-card-gold,
.feature-card-platinum,
.feature-card-chrome,
.feature-card-coal {
    background: var(--color-charcoal-black);
    border: 1px solid var(--color-slate-grey);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-card-gold {
    background-image: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(13, 13, 13, 0.95)), url("/Images/gold.png");
}

.feature-card-platinum {
    background-image: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(13, 13, 13, 0.95)), url("/Images/platinum.png");
}

.feature-card-chrome {
    background-image: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(13, 13, 13, 0.95)), url("/Images/chrome.png");
}

.feature-card-coal {
    background-image: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(13, 13, 13, 0.95)), url("/Images/coal.png");
}

.feature-card-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--color-solar-yellow);
    background-image: url("/Images/gold.png");
}

.feature-card-platinum:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--color-solar-yellow);
    background-image: url("/Images/platinum.png");
}

.feature-card-chrome:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--color-solar-yellow);
    background-image: url("/Images/chrome.png");
}

.feature-card-coal:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: var(--color-solar-yellow);
    background-image: url("/Images/coal.png");
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-platinum-grey);
    margin-bottom: 16px;
}

/* When the card is wrapped in a link */

.feature-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .feature-card-link:hover .feature-title {
        color: var(--color-solar-yellow);
    }

.feature-description {
    font-size: 16px;
    color: var(--color-matte-grey);
    line-height: 1.6;
}

/* Locations Section */

.locations-section {
    padding: 64px 24px 100px;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--color-charcoal-black);
}

    .locations-section .section-title {
        font-size: 26px;
        margin-bottom: 12px;
        position: relative;
    }

        .locations-section .section-title::after {
            content: "";
            display: block;
            width: 72px;
            height: 2px;
            margin: 8px auto 0;
            background: var(--color-solar-yellow);
        }

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.location-card {
    background: var(--color-deep-black);
    border: 1px solid var(--color-slate-grey);
    border-radius: 12px;
    padding: 32px;
    border-left: 4px solid var(--color-solar-yellow);
}

.location-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-solar-yellow);
    margin-bottom: 12px;
}

.location-details {
    font-size: 16px;
    color: var(--color-amber-yellow);
    font-weight: 500;
    margin-bottom: 16px;
}

.location-info {
    font-size: 15px;
    color: var(--color-matte-grey);
    line-height: 1.6;
}

/* Distances table under locations */

.locations-section.distances {
    margin-top: var(--space-48);
}

.location-table-wrapper {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-24);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-card-border);
    overflow-x: auto;
}

.location-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-base);
}

    .location-table th,
    .location-table td {
        padding: var(--space-12) var(--space-16);
        text-align: left;
        border-bottom: 1px solid var(--color-border);
    }

    .location-table th {
        color: var(--color-solar-yellow);
        font-weight: var(--font-weight-semibold);
        background: var(--color-gunmetal-grey);
    }

    .location-table tbody tr:nth-child(even) {
        background: rgba(99, 102, 102, 0.08);
    }

    .location-table tbody tr:hover {
        background: rgba(241, 196, 15, 0.06);
    }

.location-filter-bar {
    display: flex;
    justify-content: space-between;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
    align-items: center;
}

.location-sort-button {
    padding: 8px 16px;
    font-size: var(--font-size-sm);
}

.location-filter-input {
    max-width: 320px;
    background: var(--color-deep-black);
    border: 1px solid var(--color-slate-grey);
    color: var(--color-platinum-grey);
    font-size: var(--font-size-sm);
}

    .location-filter-input::placeholder {
        color: var(--color-matte-grey);
    }

.locations-intro {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 14px;
}

    .locations-intro p {
        margin: 4px 0;
    }

.locations-map-link a {
    margin-left: 4px;
    color: var(--color-solar-yellow);
    font-weight: 500;
    text-decoration: none;
}

    .locations-map-link a:hover {
        color: var(--color-amber-yellow);
    }

/* Divider between sections */

.section-divider {
    max-width: 900px;
    margin: 8px auto 0;
    border-top: 1px solid rgba(160, 164, 167, 0.25);
    text-align: center;
    position: relative;
}

.section-divider-label {
    position: relative;
    top: -11px;
    padding: 0 12px;
    font-size: 11px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    background: var(--color-deep-black);
    color: var(--color-text-secondary);
}

/* Stats Section */

.stats-section {
    padding: 100px 24px;
    background: linear-gradient( 135deg, var(--color-charcoal-black) 0%, var(--color-gunmetal-grey) 100% );
    border-top: 2px solid var(--color-solar-yellow);
    border-bottom: 2px solid var(--color-solar-yellow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-solar-yellow);
    margin-bottom: 12px;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--color-platinum-grey);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Section */

.cta-section {
    padding: 100px 24px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-platinum-grey);
    margin-bottom: 20px;
}

.cta-description {
    font-size: 18px;
    color: var(--color-matte-grey);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

    .cta-actions .btn {
        padding: 14px 32px;
        font-size: 16px;
    }

.section-subtitle {
    text-align: center;
    margin: 0 auto 16px;
    font-size: 18px;
    color: var(--color-platinum-grey);
}

.section-link {
    margin-left: 8px;
    font-size: 14px;
    color: var(--color-solar-yellow);
}

    .section-link:hover {
        color: var(--color-amber-yellow);
    }

/* Differentiator Section (Why MCT) */

.differentiator-section {
    padding: 48px 24px 32px;
    max-width: 900px;
    margin: 0 auto 16px;
    text-align: center;
}

    .differentiator-section .section-title {
        margin-bottom: 16px;
        font-size: 24px;
    }

.differentiator-content p {
    font-size: 15px;
    color: var(--color-matte-grey);
    line-height: 1.7;
    margin: 4px 0;
}

.differentiator-tagline {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-solar-yellow);
}

/* Footer */

.home-footer {
    background: var(--color-charcoal-black);
    border-top: 1px solid var(--color-slate-grey);
    padding: 80px 24px 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-solar-yellow);
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    color: var(--color-matte-grey);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: var(--color-matte-grey);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.2s ease;
    }

        .footer-links a:hover {
            color: var(--color-solar-yellow);
        }

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--color-slate-grey);
}

    .footer-bottom p {
        font-size: 14px;
        color: var(--color-matte-grey);
        margin: 0;
    }

/* Responsive */

@media (max-width: 768px) {
    .hero-logo {
        max-width: 320px;
    }

    .hero-section {
        padding: 80px 20px 100px;
    }

    .company-name {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

        .hero-actions .btn,
        .cta-actions .btn {
            width: 100%;
        }

    .section-title,
    .cta-title {
        font-size: 28px;
    }

    .features-section,
    .locations-section,
    .stats-section,
    .cta-section {
        padding: 80px 20px;
    }

    .stat-value {
        font-size: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-footer {
        padding: 60px 20px 24px;
    }
}