/*
Theme Name: Airport Cars Hull
Theme URI: https://airportcarshull.co.uk
Author: Airport Cars Hull
Description: Custom black, orange and white WordPress theme for Airport Cars Hull premium airport travel.
Version: 1.0.6
License: GPL v2 or later
Text Domain: airport-cars-hull
*/

:root {
  --ach-black: #050505;
  --ach-charcoal: #111111;
  --ach-orange: #f26a00;
  --ach-orange-dark: #b54d00;
  --ach-white: #ffffff;
  --ach-muted: #cfcfcf;
  --ach-border: rgba(255,255,255,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ach-white);
  background: var(--ach-black);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ach-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.logo-text { font-size: 28px; font-weight: 800; letter-spacing: .02em; }
.logo-text span { color: var(--ach-orange); }
.logo-sub { display: block; font-size: 13px; letter-spacing: .35em; color: var(--ach-orange); margin-top: -4px; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; padding: 0; margin: 0; text-transform: uppercase; font-weight: 700; font-size: 14px; }
.nav-menu a:hover { color: var(--ach-orange); }
.header-call, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px;
  background: linear-gradient(135deg, var(--ach-orange), #ff8a1c);
  color: #fff; font-weight: 800; border: 0;
  box-shadow: 0 12px 30px rgba(242,106,0,.24);
}
.btn-outline { background: transparent; border: 2px solid var(--ach-orange); box-shadow: none; }
.mobile-toggle { display: none; background: none; border: 1px solid var(--ach-border); color: white; padding: 9px 12px; border-radius: 8px; }
.hero {
  min-height: 820px;
  display: flex; align-items: center;
  position: relative;
  background-image: url('assets/images/hero-desktop.webp');
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(transparent, #050505); }
.hero-content { position: relative; z-index: 2; max-width: 560px; padding: 70px 0; }
.eyebrow { color: var(--ach-orange); text-transform: uppercase; font-weight: 900; letter-spacing: .18em; }
h1 { font-size: clamp(46px, 7vw, 86px); line-height: .95; margin: 14px 0 16px; text-transform: uppercase; letter-spacing: -.04em; }
h1 span { color: var(--ach-orange); display: block; }
.hero-script { font-family: Georgia, serif; font-style: italic; font-size: clamp(28px, 4vw, 48px); margin: -4px 0 18px; }
.hero p { color: #f2f2f2; font-size: 19px; max-width: 510px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.quick-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: -70px; position: relative; z-index: 4; border: 1px solid var(--ach-border); border-radius: 22px; overflow: hidden; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.feature-card { background: rgba(0,0,0,.75); padding: 28px; min-height: 175px; }
.icon { width: 58px; height: 58px; border: 3px solid var(--ach-orange); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 12px; }
.feature-card h3 { margin: 0 0 8px; color: var(--ach-orange); text-transform: uppercase; font-size: 17px; }
.feature-card p { margin: 0; color: var(--ach-muted); }
.section { padding: 88px 0; }
.section-title { text-align: center; max-width: 780px; margin: 0 auto 46px; }
.section-title h2 { font-size: clamp(32px, 4vw, 54px); margin: 0 0 14px; text-transform: uppercase; }
.section-title span { color: var(--ach-orange); }
.services-grid, .fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: linear-gradient(180deg, #151515, #080808); border: 1px solid var(--ach-border); border-radius: 20px; padding: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.card h3 { color: var(--ach-orange); margin-top: 0; }
.card ul { padding-left: 18px; color: var(--ach-muted); }
.cta { background: linear-gradient(135deg, var(--ach-orange), #ff8a1c); color: #fff; padding: 44px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { margin: 0; font-size: clamp(30px,4vw,52px); }
.cta .phone { font-size: clamp(32px, 5vw, 62px); font-weight: 900; }
.airports { background: #0b0b0b; }
.airport-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.airport-list a, .airport-list span { padding: 16px; border: 1px solid var(--ach-border); border-radius: 14px; background: #121212; text-align: center; font-weight: 700; }
.contact { background: radial-gradient(circle at top, rgba(242,106,0,.18), transparent 35%), #050505; }
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact-details p { font-size: 20px; }
.form-box input, .form-box textarea { width: 100%; margin-bottom: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--ach-border); background: #111; color: white; }
.form-box textarea { min-height: 130px; }
.site-footer { padding: 40px 0; border-top: 1px solid var(--ach-border); color: var(--ach-muted); text-align: center; }
@media (max-width: 900px) {
  .mobile-toggle { display: inline-block; }
  .nav-menu { display: none; position: absolute; left: 16px; right: 16px; top: 76px; background: #050505; padding: 18px; border: 1px solid var(--ach-border); border-radius: 16px; flex-direction: column; align-items: flex-start; }
  .nav-menu.open { display: flex; }
  .header-call { display: none; }
  .hero { min-height: 780px; background-image: url('assets/images/hero-mobile.webp'); background-position: center top; align-items: flex-start; }
  .hero-content { padding-top: 92px; }
  .quick-features, .services-grid, .fleet-grid, .airport-list, .contact-box { grid-template-columns: 1fr; }
  .quick-features { margin-top: 0; border-radius: 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Dropdown menu fix */
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  background: rgba(0,0,0,.96);
  border: 1px solid var(--ach-border);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  z-index: 9999;
  text-transform: none;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
  display: block;
}
.nav-menu .sub-menu li { width: 100%; }
.nav-menu .sub-menu a {
  display: block;
  padding: 11px 18px;
  white-space: nowrap;
  color: var(--ach-white);
  font-size: 13px;
}
.nav-menu .sub-menu a:hover {
  color: var(--ach-orange);
  background: rgba(242,106,0,.10);
}

@media (max-width: 900px) {
  .nav-menu .sub-menu {
    display: block;
    position: static;
    min-width: 0;
    width: 100%;
    margin: 6px 0 0 14px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-menu .sub-menu a {
    padding: 8px 0;
    font-size: 13px;
    white-space: normal;
    color: var(--ach-muted);
  }
}

/* Header spacing fix - keeps logo and menu on one line on desktop */
.site-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 230px;
}
.site-logo img,
.custom-logo {
  display: block;
  max-height: 68px;
  width: auto;
  max-width: 220px;
}
.header-inner {
  gap: 14px;
  padding: 10px 0;
  flex-wrap: nowrap;
}
.nav-menu {
  flex: 1 1 auto;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  min-width: 0;
  font-size: 13px;
  line-height: 1;
}
.nav-menu > li {
  flex: 0 0 auto;
}
.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 12px 4px;
}
.header-call {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 11px 16px;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .nav-menu { gap: 9px; font-size: 12px; }
  .header-call { padding: 10px 12px; font-size: 13px; }
  .site-logo img, .custom-logo { max-height: 60px; max-width: 190px; }
  .logo-text { font-size: 23px; }
}

@media (max-width: 980px) {
  .header-call { display: none; }
  .nav-menu { gap: 11px; font-size: 12px; justify-content: flex-end; }
}

@media (max-width: 900px) {
  .header-inner { padding: 12px 0; }
  .site-logo img, .custom-logo { max-height: 62px; max-width: 210px; }
  .nav-menu {
    flex-wrap: wrap;
    line-height: 1.35;
    font-size: 14px;
  }
}


/* Full-width hero image + header clearance fix */
.site-header {
  z-index: 9999;
}

/* Keep the homepage image full width. Do not crop the sides. */
.hero {
  padding-top: 0 !important;
  background-size: 100% auto !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  min-height: clamp(720px, 56.25vw, 1080px) !important;
}

/* Lower the text/logo area below the header without changing image width. */
.hero-content {
  padding-top: 125px !important;
  padding-bottom: 70px !important;
}

/* Keep the feature cards from sitting too high over the image. */
.quick-features {
  margin-top: 0 !important;
}

/* Keep header logo clean. */
.site-logo img,
.custom-logo {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .hero {
    background-size: 100% auto !important;
    background-position: center top !important;
    min-height: 760px !important;
  }

  .hero-content {
    padding-top: 85px !important;
  }
}



/* Header logo replacement - far left */
.site-header {
    min-height: 105px !important;
    padding: 12px 32px !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    background: #000 !important;
    box-sizing: border-box !important;
}

.site-branding {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 24px 0 0 !important;
}

.header-logo-link {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.header-logo-img {
    height: 78px !important;
    width: auto !important;
    max-width: 260px !important;
    object-fit: contain !important;
    display: block !important;
}

.main-navigation {
    flex: 1 1 auto !important;
}

@media (max-width: 900px) {
    .site-header {
        min-height: 86px !important;
        padding: 10px 15px !important;
        gap: 12px !important;
    }

    .header-logo-img {
        height: 58px !important;
        max-width: 190px !important;
    }
}


/* Replace strong.logo-text with proper logo */
.header-logo-img{
    height:78px !important;
    width:auto !important;
    max-width:260px !important;
    object-fit:contain !important;
    display:block !important;
}

.logo-text{
    display:none !important;
}

.site-header{
    min-height:105px !important;
    align-items:center !important;
}

@media (max-width:900px){
    .header-logo-img{
        height:58px !important;
        max-width:190px !important;
    }
}



/* Final responsive hero and equal brightness fix */
.hero,
.home-hero,
.hero-section,
.banner-section {
    filter: none !important;
    background-repeat: no-repeat !important;
    background-color: #050505 !important;
}

.hero {
    background-image: url('assets/images/hero-desktop.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: calc(100vh - 105px) !important;
    padding-top: 0 !important;
}

.hero::before,
.hero::after,
.home-hero::before,
.home-hero::after,
.hero-section::before,
.hero-section::after,
.banner-section::before,
.banner-section::after {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
}

.hero-content {
    position: relative !important;
    z-index: 2 !important;
    padding-top: clamp(120px, 12vw, 180px) !important;
    padding-bottom: clamp(45px, 7vw, 90px) !important;
    max-width: 560px !important;
}

.hero-content,
.hero-content * {
    filter: none !important;
}

.header-inner {
    flex-wrap: nowrap !important;
}

.nav-menu {
    flex-wrap: nowrap !important;
}

.quick-features {
    margin-top: 0 !important;
}

@media (max-width: 1120px) {
    .container {
        width: min(100% - 24px, 1120px) !important;
    }

    .nav-menu {
        gap: 8px !important;
        font-size: 12px !important;
    }

    .header-call {
        padding: 10px 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 900px) {
    .site-header {
        position: sticky !important;
        min-height: 86px !important;
        padding: 10px 15px !important;
    }

    .header-inner {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .mobile-toggle {
        display: inline-block !important;
        flex: 0 0 auto !important;
    }

    .nav-menu {
        display: none !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: calc(100% + 12px) !important;
        width: 100% !important;
        background: #050505 !important;
        padding: 18px !important;
        border: 1px solid var(--ach-border) !important;
        border-radius: 16px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        z-index: 10000 !important;
    }

    .nav-menu.open {
        display: flex !important;
    }

    .nav-menu > li > a {
        padding: 8px 0 !important;
        white-space: normal !important;
    }

    .header-call {
        display: none !important;
    }

    .hero {
        background-image: url('assets/images/hero-mobile.webp') !important;
        background-size: cover !important;
        background-position: center top !important;
        min-height: calc(100vh - 86px) !important;
        align-items: flex-start !important;
    }

    .hero-content {
        padding-top: 75px !important;
        padding-bottom: 40px !important;
        max-width: 100% !important;
    }

    h1 {
        font-size: clamp(36px, 12vw, 58px) !important;
    }

    .hero p {
        font-size: 17px !important;
    }

    .hero-actions {
        gap: 10px !important;
    }

    .btn,
    .header-call {
        width: 100% !important;
        max-width: 320px !important;
    }

    .quick-features,
    .services-grid,
    .fleet-grid,
    .airport-list,
    .contact-box {
        grid-template-columns: 1fr !important;
    }

    .section {
        padding: 58px 0 !important;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 22px) !important;
    }

    .header-logo-img {
        height: 52px !important;
        max-width: 170px !important;
    }

    .hero {
        min-height: 720px !important;
    }

    .hero-content {
        padding-top: 58px !important;
    }

    .hero-script {
        font-size: 26px !important;
    }

    .feature-card,
    .card {
        padding: 22px !important;
    }
}


/* FINAL HERO FIXES */

/* Desktop wording */
.hero {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.hero-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 50 !important;
    position: relative !important;
    max-width: 620px !important;
    padding-top: 140px !important;
}

.hero-content h1,
.hero-content p,
.hero-content .hero-script,
.hero-content .eyebrow {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.45) !important;
}

/* Mobile image sizing */
@media (max-width: 900px){

    .hero {
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center top !important;
        background-color: #050505 !important;
        min-height: 720px !important;
    }

    .hero-content {
        padding-top: 360px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 520px){

    .hero {
        background-size: contain !important;
        min-height: 660px !important;
    }

    .hero-content {
        padding-top: 300px !important;
    }

    h1 {
        font-size: 38px !important;
        line-height: 1.05 !important;
    }

    .hero p {
        font-size: 16px !important;
    }
}


/* FINAL FIX - show full top of homepage image and allow mobile content below */
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

/* Desktop: show the full top of the designed image, including the wording */
.hero {
    background-image: url('assets/images/hero-desktop.webp') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-color: #050505 !important;
    min-height: 0 !important;
    height: clamp(720px, 56.25vw, 1080px) !important;
    padding: 0 !important;
    overflow: visible !important;
    display: block !important;
}

/* The wording is already on the image, so stop extra hero text affecting layout */
.hero-content {
    display: none !important;
}

/* Keep cards/sections below the image */
.quick-features {
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Remove fades and overlays */
.hero::before,
.hero::after,
.home-hero::before,
.home-hero::after,
.hero-section::before,
.hero-section::after,
.banner-section::before,
.banner-section::after {
    display: none !important;
    content: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* Mobile: make image fit width and keep rest of page visible */
@media (max-width: 900px) {
    .hero {
        background-image: url('assets/images/hero-mobile.webp') !important;
        background-size: contain !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        min-height: 0 !important;
        height: 125vw !important;
        max-height: 720px !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        display: block !important;
    }

    .quick-features,
    .services-grid,
    .fleet-grid,
    .airport-list,
    .contact-box {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .section {
        display: block !important;
        padding: 54px 0 !important;
    }
}

@media (max-width: 520px) {
    .hero {
        height: 130vw !important;
        max-height: none !important;
    }
}


/* MOBILE GAP FIX - reduce space below main image */
@media (max-width: 900px) {
    .hero {
        height: 96vw !important;
        max-height: 560px !important;
        margin-bottom: 0 !important;
    }

    .quick-features {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .section:first-of-type {
        padding-top: 28px !important;
    }
}

@media (max-width: 520px) {
    .hero {
        height: 92vw !important;
        max-height: 430px !important;
        margin-bottom: 0 !important;
    }

    .quick-features {
        margin-top: 0 !important;
    }
}


/* FINAL MOBILE GAP REMOVAL - image height now matches the real mobile image ratio */
@media (max-width: 900px) {
    .hero {
        background-image: url('assets/images/hero-mobile.webp') !important;
        background-size: 100% auto !important;
        background-position: center top !important;
        background-repeat: no-repeat !important;
        height: 58.85vw !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        line-height: 0 !important;
    }

    .hero-content {
        display: none !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .quick-features {
        margin-top: 0 !important;
        padding-top: 0 !important;
        transform: translateY(-1px) !important;
    }

    .feature-card:first-child {
        margin-top: 0 !important;
    }
}

@media (max-width: 520px) {
    .hero {
        height: 58.85vw !important;
    }
}


/* Popular Airports - working link buttons */
.airport-list a,
.airport-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 58px !important;
    padding: 16px 18px !important;
    border: 1px solid var(--ach-border) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #171717, #0b0b0b) !important;
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease !important;
}

.airport-list a:hover,
.airport-button:hover {
    transform: translateY(-2px) !important;
    border-color: var(--ach-orange) !important;
    background: linear-gradient(135deg, var(--ach-orange), #ff8a1c) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(242,106,0,.28) !important;
}

@media (max-width: 900px) {
    .airport-list a,
    .airport-button {
        min-height: 54px !important;
        font-size: 15px !important;
    }
}


/* Popular Airports - all items as full working buttons */
.airport-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
}

.airport-list a,
.airport-list .airport-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 60px !important;
    width: 100% !important;
    padding: 16px 18px !important;
    border: 1px solid var(--ach-border) !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #171717, #0b0b0b) !important;
    color: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.airport-list a:hover,
.airport-list .airport-button:hover {
    transform: translateY(-2px) !important;
    border-color: var(--ach-orange) !important;
    background: linear-gradient(135deg, var(--ach-orange), #ff8a1c) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(242,106,0,.28) !important;
}

@media (max-width: 900px) {
    .airport-list {
        grid-template-columns: 1fr !important;
    }
}


/* CabZen booking widget replacing bottom contact form */
.cabzen-booking-widget-wrap {
    width: 100% !important;
    background: linear-gradient(180deg, #151515, #080808) !important;
    border: 1px solid var(--ach-border) !important;
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.3) !important;
    overflow: hidden !important;
}

.cabzen-booking-widget {
    display: block !important;
    width: 100% !important;
    min-height: 720px !important;
    border: 0 !important;
    background: #ffffff !important;
    border-radius: 14px !important;
}

@media (max-width: 900px) {
    .cabzen-booking-widget-wrap {
        padding: 8px !important;
        border-radius: 16px !important;
    }

    .cabzen-booking-widget {
        min-height: 820px !important;
        border-radius: 12px !important;
    }
}


/* Bigger CabZen booking widget */
.cabzen-booking-widget-wrap {
    padding: 18px !important;
}

.cabzen-booking-widget {
    min-height: 1100px !important;
    height: 1100px !important;
}

@media (max-width: 900px) {
    .cabzen-booking-widget {
        min-height: 1350px !important;
        height: 1350px !important;
    }
}

@media (max-width: 520px) {
    .cabzen-booking-widget {
        min-height: 1450px !important;
        height: 1450px !important;
    }
}


/* EXTRA LARGE CabZen booking widget - 3x taller */
.cabzen-booking-widget {
    min-height: 1800px !important;
    height: 1800px !important;
}

@media (max-width: 900px) {
    .cabzen-booking-widget {
        min-height: 2400px !important;
        height: 2400px !important;
    }
}

@media (max-width: 520px) {
    .cabzen-booking-widget {
        min-height: 2800px !important;
        height: 2800px !important;
    }
}
