/*
Theme Name: Direct Airport
Theme URI: https://directairport.co.uk
Author: Direct Airport Transfers
Author URI: https://directairport.co.uk
Description: Premium airport transfer WordPress theme for London. SEO-optimised, high-converting, with instant quote calculator. Serves Heathrow, Gatwick, Stansted, Luton, London City and Southend Airport.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
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: direct-airport
Tags: airport-transfer, transport, booking, friendly, light, responsive, seo-optimised
*/

/* ===== THEME VARIABLES — Friendly & Light ===== */
:root {
    --primary:        #1D3557;
    --primary-light:  #2A4A7F;
    --primary-dark:   #152844;
    --accent:         #E63946;
    --accent-light:   #FF6B6B;
    --accent-dark:    #C1121F;
    --sky:            #A8DADC;
    --sky-light:      #E8F7F8;
    --white:          #FFFFFF;
    --off-white:      #F8FAFC;
    --grey-100:       #F1F5F9;
    --grey-200:       #E2E8F0;
    --grey-300:       #CBD5E1;
    --grey-400:       #94A3B8;
    --grey-500:       #64748B;
    --grey-700:       #334155;
    --grey-900:       #0F172A;
    --text-dark:      #1D3557;
    --text-body:      #334155;
    --text-muted:     #64748B;
    --success:        #16A34A;
    --warning:        #D97706;
    --error:          #DC2626;
    --font-heading:   'Poppins', 'Segoe UI', Arial, sans-serif;
    --font-body:      'Inter', 'Segoe UI', Arial, sans-serif;
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:      0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 32px rgba(0,0,0,0.12);
    --shadow-primary: 0 4px 20px rgba(29,53,87,0.2);
    --radius:         8px;
    --radius-lg:      16px;
    --radius-xl:      24px;
    --container:      1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--white); color: var(--text-body); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(1.9rem,4.5vw,3.2rem); }
h2 { font-size: clamp(1.5rem,3.5vw,2.4rem); }
h3 { font-size: clamp(1.1rem,2.5vw,1.6rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; color: var(--text-body); }
.primary-text { color: var(--primary); }
.accent-text  { color: var(--accent); }
.white-text   { color: var(--white); }
.muted-text   { color: var(--text-muted); }

/* ===== LAYOUT ===== */
.container    { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section      { padding: 80px 0; }
.section-sm   { padding: 50px 0; }
.section-lg   { padding: 110px 0; }
.section-alt  { background: var(--off-white); }
.section-primary { background: var(--primary); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header p { font-size: 1.05rem; max-width: 600px; margin: 12px auto 0; color: var(--text-muted); }
.section-divider { width: 50px; height: 4px; background: linear-gradient(90deg, var(--accent), var(--sky)); margin: 14px auto; border-radius: 2px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; border: none; transition: var(--transition); text-decoration: none; white-space: nowrap; cursor: pointer; font-family: var(--font-body); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(230,57,70,0.3); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.4); }
.btn-secondary { background: var(--primary); color: var(--white); box-shadow: var(--shadow-primary); }
.btn-secondary:hover { background: var(--primary-light); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: var(--white); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); font-weight: 700; }
.btn-white:hover { background: var(--sky-light); color: var(--primary); }
.btn-lg  { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm  { padding: 9px 20px; font-size: 0.875rem; }
.w-full  { width: 100%; justify-content: center; }

/* ===== BADGES ===== */
.badge { display: inline-block; padding: 4px 14px; background: var(--sky-light); color: var(--primary); border: 1px solid var(--sky); border-radius: 50px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.badge-accent  { background: rgba(230,57,70,0.08); color: var(--accent); border-color: rgba(230,57,70,0.2); }
.badge-success { background: rgba(22,163,74,0.08); color: var(--success); border-color: rgba(22,163,74,0.2); }

/* ===== CARDS ===== */
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 28px; transition: var(--transition); box-shadow: var(--shadow-sm); }
.card:hover { border-color: var(--sky); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--white); margin-bottom: 18px; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 6px; font-size: 0.82rem; font-weight: 600; color: var(--grey-700); text-transform: uppercase; letter-spacing: 0.05em; }
.form-control { width: 100%; padding: 12px 14px; background: var(--white); color: var(--text-dark); border: 2px solid var(--grey-200); border-radius: var(--radius); font-size: 0.95rem; font-family: var(--font-body); transition: var(--transition); appearance: none; }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,53,87,0.08); }
.form-control::placeholder { color: var(--grey-400); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231D3557' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
@media(max-width:640px) { .form-row-2,.form-row-3 { grid-template-columns: 1fr; } }
.form-feedback { padding: 12px 16px; border-radius: var(--radius); margin-top: 14px; font-size: 0.9rem; font-weight: 500; }
.form-feedback.success { background: rgba(22,163,74,0.08); color: var(--success); border: 1px solid rgba(22,163,74,0.2); }
.form-feedback.error   { background: rgba(220,38,38,0.08); color: var(--error);   border: 1px solid rgba(220,38,38,0.2); }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--primary); padding: 10px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: rgba(255,255,255,0.85); white-space: nowrap; }
.trust-item .icon { color: var(--sky); font-size: 0.9rem; }
.trust-item strong { color: var(--white); }

/* ===== STARS ===== */
.stars { color: #F59E0B; font-size: 0.9rem; letter-spacing: 1px; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 90px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(ellipse at 80% 50%, rgba(168,218,220,0.15) 0%, transparent 70%); }
.page-hero-content { position: relative; z-index: 1; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p  { color: rgba(255,255,255,0.85); }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; flex-wrap: wrap; }
.breadcrumb a { color: var(--sky); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ===== RESPONSIVE ===== */
.hide-mobile { display: block; }
.show-mobile { display: none; }
@media(max-width:768px) { .hide-mobile{display:none;} .show-mobile{display:block;} .section{padding:56px 0;} .section-lg{padding:70px 0;} }

/* ===== ANIMATIONS ===== */
.fade-up { opacity:0; transform:translateY(24px); transition:opacity .55s ease,transform .55s ease; }
.fade-up.visible { opacity:1; transform:translateY(0); }
@keyframes fadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes spin { to{transform:rotate(360deg)} }

/* ===== WORDPRESS CLASSES ===== */
.alignleft{float:left;margin:0 20px 20px 0} .alignright{float:right;margin:0 0 20px 20px} .aligncenter{display:block;margin:0 auto 20px}
.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px;}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.skip-link{position:absolute;top:-40px;left:0;background:var(--accent);color:var(--white);padding:8px 16px;z-index:9999;}
.skip-link:focus{top:0;}
