/**
 * Airport Limo Hire - Main Stylesheet
 *
 * Colour Palette:
 * - Dark Navy: #0A192F
 * - Accent Gold: #D4AF37
 * - Light Grey: #F4F4F6
 * - Body Text: #222222
 */

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    --color-navy: #0A192F;
    --color-gold: #D4AF37;
    --color-gold-hover: #c9a02f;
    --color-light-grey: #F4F4F6;
    --color-text: #222222;
    --color-white: #ffffff;
    --color-success: #28a745;
    --color-error: #dc3545;
    --font-stack: "system-ui", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-max: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-stack);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

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

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

a:hover {
    color: var(--color-gold);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    padding: 60px 0;
}

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

@media (min-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr 300px;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-navy);
    border-color: var(--color-gold);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-navy);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-navy);
    border-color: var(--color-navy);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-navy);
    height: var(--header-height);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.site-branding a,
.site-branding .site-title {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
}

.site-branding img {
    max-height: 50px;
    width: auto;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle .hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    position: relative;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    left: 0;
}

.menu-toggle .hamburger::before {
    top: -8px;
}

.menu-toggle .hamburger::after {
    top: 8px;
}

.main-navigation {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--color-navy);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
}

.main-navigation.active {
    display: flex;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation a {
    display: block;
    color: var(--color-white);
    padding: 15px 0;
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--color-gold);
}

.header-cta {
    margin-top: 20px;
    text-align: center;
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        background: none;
        padding: 0;
        gap: 30px;
    }

    .main-navigation ul {
        flex-direction: row;
        gap: 25px;
    }

    .main-navigation li {
        border-bottom: none;
    }

    .main-navigation a {
        padding: 0;
    }

    .header-cta {
        margin-top: 0;
    }
}

/* Offset for fixed header */
body {
    padding-top: var(--header-height);
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header .page-subtitle,
.page-header .post-meta {
    opacity: 0.8;
}

.page-header-404 {
    padding: 80px 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a3a5c 100%);
    color: var(--color-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.03">✈</text></svg>') repeat;
    background-size: 200px;
    opacity: 0.5;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr 350px;
        align-items: center;
    }
}

.hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-panel {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.hero-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.hero-panel ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-panel li {
    padding-left: 25px;
    position: relative;
}

.hero-panel li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* ==========================================================================
   Benefits Strip
   ========================================================================== */

.benefits-strip {
    background-color: var(--color-light-grey);
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-navy);
}

.benefit-card p {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================================================
   Section Titles
   ========================================================================== */

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    text-align: center;
    padding: 40px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
}

/* ==========================================================================
   Airports Section
   ========================================================================== */

.airports-section {
    padding: 80px 0;
    background-color: var(--color-light-grey);
}

.airports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .airports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .airports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.airport-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.airport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.airport-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.airport-card-content {
    padding: 25px;
}

.airport-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.airport-card h3 a {
    color: var(--color-navy);
}

.airport-card h3 a:hover {
    color: var(--color-gold);
}

.airport-card p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.airports-cta {
    text-align: center;
    margin-top: 40px;
}

.no-airports {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

/* ==========================================================================
   Quote Section
   ========================================================================== */

.quote-section {
    padding: 80px 0;
    background-color: var(--color-navy);
    color: var(--color-white);
}

.quote-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.quote-content p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.quote-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: var(--color-light-grey);
    border-radius: 8px;
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author strong {
    display: block;
    color: var(--color-navy);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 60px 0;
    background-color: var(--color-gold);
    text-align: center;
}

.cta-content h2 {
    color: var(--color-navy);
    margin-bottom: 10px;
}

.cta-content p {
    color: var(--color-navy);
    opacity: 0.8;
    margin-bottom: 20px;
}

.cta-section .btn-primary {
    background-color: var(--color-navy);
    border-color: var(--color-navy);
    color: var(--color-white);
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: var(--color-navy);
}

/* ==========================================================================
   Airport Archive
   ========================================================================== */

.airport-archive-header {
    padding: 80px 0;
}

.airports-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .airports-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .airports-archive-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.airport-archive-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.airport-archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.airport-archive-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.airport-archive-image-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a3a5c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--color-gold);
}

.airport-archive-content {
    padding: 25px;
}

.airport-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.airport-title a {
    color: var(--color-navy);
}

.airport-title a:hover {
    color: var(--color-gold);
}

.airport-excerpt {
    color: #666;
    margin-bottom: 20px;
}

.no-airports-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

/* ==========================================================================
   Single Airport Template
   ========================================================================== */

.airport-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #1a3a5c 100%);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
}

.airport-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .airport-hero h1 {
        font-size: 3rem;
    }
}

.airport-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

.airport-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.airport-benefits {
    background-color: var(--color-light-grey);
    padding: 60px 0;
}

.airport-content-section {
    padding: 60px 0;
}

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

.airport-main-content h2,
.airport-main-content h3 {
    color: var(--color-navy);
    margin-top: 30px;
    margin-bottom: 15px;
}

.airport-main-content p {
    margin-bottom: 15px;
}

.airport-main-content ul,
.airport-main-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.airport-main-content ul {
    list-style: disc;
}

.airport-main-content ol {
    list-style: decimal;
}

/* ==========================================================================
   Routes Section
   ========================================================================== */

.airport-routes {
    padding: 60px 0;
    background-color: var(--color-light-grey);
}

.airport-routes h2 {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.routes-table-wrapper {
    overflow-x: auto;
}

.routes-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.routes-table th,
.routes-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.routes-table th {
    background-color: var(--color-navy);
    color: var(--color-white);
    font-weight: 600;
}

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

.routes-table tr:hover td {
    background-color: var(--color-light-grey);
}

.routes-note {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* ==========================================================================
   Booking Form Section
   ========================================================================== */

.airport-booking-section {
    padding: 80px 0;
    background-color: var(--color-white);
}

.airport-booking-section h2 {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.booking-message {
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.booking-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.booking-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.airport-booking-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-light-grey);
    padding: 40px;
    border-radius: 8px;
}

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

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-navy);
}

.form-row input,
.form-row textarea,
.form-row select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-row--half {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-row--half {
        grid-template-columns: 1fr 1fr;
    }
}

.form-row button {
    width: 100%;
}

/* ==========================================================================
   More Airports Section
   ========================================================================== */

.more-airports-section {
    padding: 60px 0;
    background-color: var(--color-light-grey);
}

.more-airports-section h2 {
    text-align: center;
    color: var(--color-navy);
    margin-bottom: 30px;
}

.more-airports-cta {
    text-align: center;
    margin-top: 30px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 60px 0 0;
}

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

@media (min-width: 768px) {
    .footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-column h3 {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: var(--color-white);
    opacity: 0.8;
}

.footer-column a:hover {
    color: var(--color-gold);
    opacity: 1;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info strong {
    display: block;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

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

.sidebar-widget {
    background-color: var(--color-light-grey);
    padding: 25px;
    border-radius: 8px;
}

.sidebar-widget .widget-title {
    font-size: 1.1rem;
    color: var(--color-navy);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-gold);
}

.airport-list,
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.airport-list a {
    color: var(--color-text);
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.airport-list a:hover {
    color: var(--color-gold);
}

.cta-widget {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.cta-widget .widget-title {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

.cta-widget p {
    opacity: 0.9;
    margin-bottom: 15px;
}

/* ==========================================================================
   Posts & Blog
   ========================================================================== */

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.post-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.post-content {
    padding: 25px;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.post-title a {
    color: var(--color-navy);
}

.post-title a:hover {
    color: var(--color-gold);
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.post-excerpt {
    margin-bottom: 15px;
}

.post-featured-image,
.page-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.post-categories,
.post-tags {
    margin-bottom: 10px;
}

.post-categories a,
.post-tags a {
    display: inline-block;
    background-color: var(--color-light-grey);
    padding: 5px 10px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.post-navigation a {
    color: var(--color-navy);
}

.post-navigation a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin-top: 40px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--color-light-grey);
    color: var(--color-navy);
    border-radius: 4px;
    transition: var(--transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background-color: var(--color-gold);
    color: var(--color-navy);
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-message {
    margin-bottom: 40px;
}

.error-message h2 {
    color: var(--color-navy);
    margin-bottom: 15px;
}

.error-actions {
    margin-bottom: 60px;
}

.error-actions h3 {
    margin-bottom: 20px;
}

.helpful-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.popular-airports h3 {
    margin-bottom: 30px;
}

.airports-grid-small {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .airports-grid-small {
        grid-template-columns: repeat(4, 1fr);
    }
}

.airport-card-small {
    background-color: var(--color-light-grey);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.airport-card-small h4 {
    margin-bottom: 10px;
}

.airport-card-small h4 a {
    color: var(--color-navy);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

/* ==========================================================================
   Screen Reader Text
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
