/*
Theme Name: Airport Limo Hire
Theme URI: https://airportlimohire.com
Author: Airport Limo Hire
Author URI: https://airportlimohire.com
Description: A clean, conversion-focused WordPress theme for airport limo hire services. Features custom post type for airports, SEO-optimized landing pages, and integrated booking enquiry forms.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: airport-limo-hire
Tags: custom-logo, custom-menu, featured-images, full-width-template, one-column, theme-options, translation-ready
*/

/* ----------------------------------------
   Base styles
---------------------------------------- */

:root {
    --alh-navy: #0a192f;
    --alh-navy-soft: #112240;
    --alh-gold: #d4af37;
    --alh-gold-soft: #e2c566;
    --alh-text: #0b1020;
    --alh-text-soft: #555e70;
    --alh-bg-light: #f5f7fb;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--alh-text);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    color: var(--alh-gold);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ----------------------------------------
   Buttons
---------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.08s ease;
}

.btn-primary {
    background: var(--alh-gold);
    color: #111827;
}

.btn-primary:hover {
    background: var(--alh-gold-soft);
    color: #111827;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--alh-navy);
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.btn-secondary:hover {
    background: rgba(15, 23, 42, 0.04);
    text-decoration: none;
}

/* ----------------------------------------
   Hero section (single airport)
---------------------------------------- */

.airport-hero {
    background: linear-gradient(135deg, var(--alh-navy) 0%, #020617 60%);
    color: #ffffff;
    padding: 3.5rem 0 3rem;
}

.airport-hero-content h1 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
}

.airport-hero-subtitle {
    max-width: 620px;
    margin: 0 0 1.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
}

.airport-hero-buttons .btn + .btn {
    margin-left: 0.75rem;
}

/* ----------------------------------------
   Benefits strip
---------------------------------------- */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.benefit-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.benefit-icon {
    font-size: 1.4rem;
    margin-bottom: 0.6rem;
}

/* ----------------------------------------
   Main airport content
---------------------------------------- */

.airport-content-section {
    padding: 2.5rem 0 1.5rem;
}

.airport-main-content > *:first-child {
    margin-top: 0;
}

/* ----------------------------------------
   Routes table
---------------------------------------- */

.airport-routes {
    padding: 1.5rem 0 2.5rem;
    background: var(--alh-bg-light);
}

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

.routes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.routes-table th,
.routes-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    text-align: left;
}

.routes-table th {
    background: rgba(15, 23, 42, 0.03);
    font-weight: 600;
}

.routes-note {
    font-size: 0.85rem;
    color: var(--alh-text-soft);
    margin-top: 0.75rem;
}

/* ----------------------------------------
   Booking form
---------------------------------------- */

.airport-booking-section {
    padding: 3rem 0 2rem;
}

.airport-booking-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.airport-booking-form {
    max-width: 620px;
    margin-top: 1rem;
}

.form-row {
    margin-bottom: 0.9rem;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.6rem 0.7rem;
    border-radius: 6px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    font-size: 0.95rem;
}

.form-row--half {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

/* Booking messages */

.booking-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.booking-message--success {
    background: #ecfdf3;
    border: 1px solid #16a34a33;
    color: #166534;
}

.booking-message--error {
    background: #fef2f2;
    border: 1px solid #dc262633;
    color: #b91c1c;
}

/* ----------------------------------------
   Final CTA on airport page
---------------------------------------- */

.airport-final-cta {
    background: var(--alh-navy-soft);
    color: #ffffff;
    padding: 2.5rem 0 2.25rem;
    margin-top: 2rem;
    margin-bottom: 1.75rem; /* gives breathing room before country accordion */
}

.airport-final-cta-inner {
    max-width: 720px;
}

.airport-final-cta h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.airport-final-cta p {
    margin: 0 0 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.airport-final-cta-buttons .btn + .btn {
    margin-left: 0.75rem;
}

/* ----------------------------------------
   Airports by Country – Collapsible List
---------------------------------------- */

.airport-country-links {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    margin-top: 0;             /* sits just after final CTA */
    margin-bottom: 2.75rem;    /* space before footer */
    border-top: 1px solid rgba(10, 25, 47, 0.08);
}

.airport-country-accordion {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 8px;
    background: var(--alh-navy);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f7f7f7;
    overflow: hidden;
}

/* Remove default marker */
.airport-country-accordion summary::-webkit-details-marker {
    display: none;
}

.airport-country-accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.95rem;
}

.airport-country-accordion__label {
    margin-right: 0.75rem;
}

.airport-country-accordion__icon {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

/* Rotate icon when open so + looks like × */
.airport-country-accordion[open] .airport-country-accordion__icon {
    transform: rotate(45deg);
}

.airport-country-list {
    margin: 0;
    padding: 0.6rem 1.2rem 1rem;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.airport-country-list li + li {
    margin-top: 0.25rem;
}

.airport-country-list a {
    text-decoration: none;
    font-size: 0.95rem;
    color: #f5f5f5;
    opacity: 0.9;
}

.airport-country-list a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ----------------------------------------
   Responsive tweaks
---------------------------------------- */

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form-row--half {
        grid-template-columns: 1fr;
    }

    .airport-hero-content h1 {
        font-size: 1.6rem;
    }

    .airport-final-cta-buttons .btn + .btn {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .airport-country-accordion {
        max-width: 100%;
    }
}
