/*
Theme Name: Mid Coast Taxis
Theme URI: https://mctaxis.com.au
Author: Saville Tech Media
Description: Custom one-page WordPress theme converted from the supplied Mid Coast Taxis HTML site. Includes local graphics/assets.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: midcoast-taxis
*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --red:      #D0021B;
      --red-dark: #a80115;
      --black:    #111111;
      --black-mid:#1C1C1C;
      --white:    #FFFFFF;
      --grey:     #6B7280;
      --light:    #F5F5F5;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: 'Inter', sans-serif;
      color: var(--black);
      background: var(--white);
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      background: var(--black);
      border-bottom: 3px solid var(--red);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 2rem;
      height: 70px;
    }

    .nav-logo { display: flex; align-items: center; text-decoration: none; }
    .nav-logo img { height: 54px; width: auto; object-fit: contain; }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      color: rgba(255,255,255,0.78);
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--red); }

    .nav-cta {
      background: var(--red) !important;
      color: var(--white) !important;
      padding: 0.5rem 1.25rem;
      border-radius: 3px;
    }

    .nav-cta:hover { background: var(--red-dark) !important; color: var(--white) !important; }

    /* ── HERO ── */
    .hero {
      min-height: 100vh;
      background: var(--black);
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 7rem 2rem 5rem;
      position: relative;
      overflow: hidden;
    }

    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('assets/images/midcoast-01-d5fe9994b8.jpg');
      background-size: cover;
      background-position: center right;
      opacity: 0.18;
    }

    .hero-checker {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 12px;
      background-image: repeating-linear-gradient(
        90deg,
        var(--red) 0px, var(--red) 18px,
        var(--black) 18px, var(--black) 36px
      );
    }

    .hero-inner {
      max-width: 1100px;
      margin: 0 auto;
      width: 100%;
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      align-items: center;
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 1.25rem;
    }

    .hero-eyebrow::before {
      content: '';
      display: inline-block;
      width: 20px; height: 2px;
      background: var(--red);
    }

    .hero h1 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.8rem, 6vw, 5.5rem);
      font-weight: 900;
      line-height: 0.95;
      color: var(--white);
      text-transform: uppercase;
      letter-spacing: -0.01em;
      margin-bottom: 1.5rem;
    }

    .hero h1 em { font-style: normal; color: var(--red); }

    .hero-sub {
      font-size: 1rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.75;
      margin-bottom: 2rem;
      max-width: 420px;
    }

    .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

    .btn-red {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--red);
      color: var(--white);
      font-weight: 700;
      font-size: 1.05rem;
      padding: 0.9rem 2rem;
      border-radius: 3px;
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: background 0.2s, transform 0.15s;
    }

    .btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

    .btn-outline-white {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      border: 2px solid rgba(255,255,255,0.3);
      color: var(--white);
      font-weight: 600;
      font-size: 1rem;
      padding: 0.9rem 1.75rem;
      border-radius: 3px;
      text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
    }

    .btn-outline-white:hover { border-color: var(--red); background: rgba(208,2,27,0.1); }

    .hero-right {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1.25rem;
    }

    .hero-logo-img {
      width: 100%;
      max-width: 320px;
      object-fit: contain;
      filter: drop-shadow(0 6px 32px rgba(208,2,27,0.5));
      animation: floatlogo 4s ease-in-out infinite;
    }

    @keyframes floatlogo {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    .hero-badge {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.1);
      border-left: 3px solid var(--red);
      border-radius: 3px;
      padding: 0.75rem 1.25rem;
      width: 100%;
      max-width: 320px;
    }

    .hero-badge-icon { font-size: 1.3rem; flex-shrink: 0; }

    .hero-badge-text strong {
      display: block;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--white);
      line-height: 1.2;
    }

    .hero-badge-text span {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.45);
    }

    /* ── SERVICE STRIP ── */
    .service-strip {
      background: var(--black);
      border-top: 3px solid var(--red);
      border-bottom: 1px solid #2a2a2a;
      padding: 1.1rem 2rem;
    }

    .service-strip-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 1rem;
    }

    .strip-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      color: var(--white);
      font-size: 0.82rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    .strip-icon {
      width: 34px; height: 34px;
      background: var(--red);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      flex-shrink: 0;
    }

    /* ── SHARED SECTION STYLES ── */
    section { padding: 5rem 2rem; }
    .section-inner { max-width: 1100px; margin: 0 auto; }

    .section-eyebrow {
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--red);
      margin-bottom: 0.6rem;
    }

    .section-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 900;
      text-transform: uppercase;
      color: var(--black);
      line-height: 1.0;
      margin-bottom: 0.9rem;
      letter-spacing: -0.01em;
    }

    .section-sub {
      font-size: 1rem;
      color: var(--grey);
      max-width: 520px;
      line-height: 1.75;
      margin-bottom: 2.5rem;
    }

    /* ── CHECKER DIVIDER ── */
    .checker-divider {
      height: 10px;
      background-image: repeating-linear-gradient(
        90deg,
        var(--red) 0px, var(--red) 20px,
        var(--black) 20px, var(--black) 40px
      );
    }

    /* ── ABOUT ── */
    #about { background: var(--light); }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .about-img {
      width: 100%;
      border-radius: 4px;
      object-fit: cover;
      border: 3px solid var(--red);
    }

    .about-tag {
      display: inline-block;
      background: var(--red);
      color: var(--white);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.3rem 0.8rem;
      border-radius: 2px;
      margin-bottom: 1rem;
    }

    .about-points {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-top: 1.5rem;
    }

    .about-points li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.95rem;
      color: var(--black);
      font-weight: 500;
    }

    .about-points li::before {
      content: '✔';
      color: var(--red);
      font-weight: 700;
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    /* ── SERVICES ── */
    #services { background: var(--white); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.5px;
      background: #E5E7EB;
      border: 1.5px solid #E5E7EB;
      border-radius: 4px;
      overflow: hidden;
    }

    .service-card {
      background: var(--white);
      padding: 2rem;
      transition: background 0.2s;
    }

    .service-card:hover { background: #fafafa; }
    .service-card:hover .svc-icon { background: var(--red); }

    .svc-icon {
      width: 52px; height: 52px;
      background: var(--black);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      font-size: 1.4rem;
      transition: background 0.2s;
    }

    .service-card h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--black);
      margin-bottom: 0.5rem;
    }

    .service-card p {
      font-size: 0.875rem;
      color: var(--grey);
      line-height: 1.7;
    }

    /* ── CTA BAND ── */
    .cta-band { background: var(--red); padding: 3rem 2rem; }

    .cta-band-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .cta-band h2 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 900;
      text-transform: uppercase;
      color: var(--white);
      line-height: 1.1;
    }

    .cta-band p { color: rgba(255,255,255,0.75); margin-top: 0.4rem; font-size: 0.95rem; }

    .btn-white {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--white);
      color: var(--red);
      font-weight: 800;
      font-size: 1.2rem;
      padding: 1rem 2.25rem;
      border-radius: 3px;
      text-decoration: none;
      letter-spacing: 0.02em;
      transition: background 0.2s, color 0.2s;
      white-space: nowrap;
    }

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

    /* ── FLEET ── */
    #fleet { background: var(--black); }
    #fleet .section-title { color: var(--white); }
    #fleet .section-sub { color: rgba(255,255,255,0.5); }

    .fleet-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .fleet-card {
      background: var(--black-mid);
      border: 1px solid #2a2a2a;
      border-top: 3px solid var(--red);
      border-radius: 4px;
      overflow: hidden;
      transition: transform 0.2s;
    }

    .fleet-card:hover { transform: translateY(-3px); }

    .fleet-card-img-wrap {
      height: 160px;
      background: #0a0a0a;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 4rem;
    }

    .fleet-card-body { padding: 1.5rem; }

    .fleet-tag {
      display: inline-block;
      background: var(--red);
      color: var(--white);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.2rem 0.6rem;
      border-radius: 2px;
      margin-bottom: 0.65rem;
    }

    .fleet-card-body h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.2rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--white);
      margin-bottom: 0.4rem;
    }

    .fleet-card-body p {
      font-size: 0.85rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.7;
    }

    /* ── AREAS ── */
    #areas { background: var(--light); }

    .areas-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 0.75rem;
    }

    .area-pill {
      background: var(--white);
      border: 1.5px solid #E5E7EB;
      border-left: 3px solid var(--red);
      border-radius: 3px;
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--black);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .area-pill::before { content: '📍'; font-size: 0.85rem; }

    /* ── SOCIAL / PLAN B ── */
    #social { background: var(--white); }

    .social-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }

    .social-card {
      border-radius: 6px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    }

    .social-card img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .social-card-label {
      background: var(--black);
      color: rgba(255,255,255,0.6);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 0.6rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .social-card-label::before {
      content: '';
      width: 8px; height: 8px;
      background: var(--red);
      border-radius: 50%;
      flex-shrink: 0;
    }

    /* ── TESTIMONIALS ── */
    #testimonials { background: var(--light); }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 1.5rem;
    }

    .testimonial-card {
      background: var(--white);
      border-radius: 4px;
      padding: 1.75rem;
      border-top: 3px solid var(--red);
      position: relative;
    }

    .testimonial-card::after {
      content: '"';
      position: absolute;
      top: 0.5rem; right: 1.25rem;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 5rem;
      font-weight: 900;
      color: var(--red);
      line-height: 1;
      opacity: 0.12;
    }

    .stars { color: var(--red); font-size: 0.9rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
    .testimonial-text { font-size: 0.95rem; color: #333; line-height: 1.75; margin-bottom: 1.25rem; }
    .testimonial-author { font-size: 0.82rem; font-weight: 700; color: var(--grey); text-transform: uppercase; letter-spacing: 0.06em; }

    /* ── CONTACT ── */
    #contact { background: var(--black); padding: 5rem 2rem; }

    .contact-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .contact-left .section-title { color: var(--white); }
    .contact-left .section-sub { color: rgba(255,255,255,0.5); }

    .contact-items { display: flex; flex-direction: column; gap: 1.25rem; }

    .contact-item { display: flex; align-items: flex-start; gap: 1rem; }

    .contact-item-icon {
      width: 44px; height: 44px;
      background: var(--red);
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .contact-item-text strong {
      display: block;
      color: rgba(255,255,255,0.45);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.15rem;
    }

    .contact-item-text a,
    .contact-item-text span {
      color: var(--white);
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
    }

    .contact-item-text a:hover { color: var(--red); }

    .contact-form {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.1);
      border-top: 3px solid var(--red);
      border-radius: 4px;
      padding: 2rem;
    }

    .contact-form h3 {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--white);
      margin-bottom: 1.5rem;
    }

    .form-group { margin-bottom: 1rem; }

    .form-group label {
      display: block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 0.35rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 3px;
      color: var(--white);
      font-size: 0.9rem;
      padding: 0.7rem 0.9rem;
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: border-color 0.2s;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus { border-color: var(--red); }

    .form-group select option { background: #1C1C1C; color: var(--white); }
    .form-group textarea { resize: vertical; min-height: 80px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

    .btn-form-red {
      width: 100%;
      background: var(--red);
      color: var(--white);
      font-weight: 700;
      font-size: 1rem;
      padding: 0.9rem;
      border: none;
      border-radius: 3px;
      cursor: pointer;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      margin-top: 0.5rem;
      transition: background 0.2s;
      font-family: 'Inter', sans-serif;
    }

    .btn-form-red:hover { background: var(--red-dark); }

    /* ── FOOTER ── */
    footer {
      background: #0a0a0a;
      border-top: 3px solid var(--red);
      padding: 2.5rem 2rem;
    }

    .footer-inner {
      max-width: 1100px;
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }

    .footer-logo img {
      height: 60px;
      width: auto;
      object-fit: contain;
    }

    .footer-center {
      text-align: center;
      flex: 1;
    }

    .footer-phone {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.5rem;
      font-weight: 900;
      color: var(--white);
      text-decoration: none;
      letter-spacing: 0.04em;
    }

    .footer-phone:hover { color: var(--red); }

    .footer-tagline {
      font-size: 0.78rem;
      color: rgba(255,255,255,0.35);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      margin-top: 0.25rem;
    }

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

    .footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.25); }
    .footer-legal { font-size: 0.72rem; color: rgba(255,255,255,0.15); margin-top: 0.25rem; }

    /* ── FLOATING CALL BUTTON ── */
    .phone-float {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 99;
      background: var(--red);
      color: var(--white);
      width: 60px; height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      text-decoration: none;
      box-shadow: 0 4px 20px rgba(208,2,27,0.5);
      animation: pulse 2.5s infinite;
      transition: transform 0.2s, background 0.2s;
    }

    @keyframes pulse {
      0%, 100% { box-shadow: 0 4px 20px rgba(208,2,27,0.45); }
      50% { box-shadow: 0 4px 36px rgba(208,2,27,0.8); }
    }

    .phone-float:hover { transform: scale(1.1); background: var(--red-dark); animation: none; }

    /* ── RESPONSIVE ── */
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hero-inner { grid-template-columns: 1fr; }
      .hero-right { align-items: flex-start; }
      .hero-logo-img { max-width: 220px; }
      .about-grid { grid-template-columns: 1fr; }
      .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
      .form-row { grid-template-columns: 1fr; }
      .social-grid { grid-template-columns: 1fr; }
      .footer-inner { flex-direction: column; align-items: flex-start; }
      .footer-center, .footer-right { text-align: left; }
      section { padding: 3.5rem 1.25rem; }
      .hero { padding: 5.5rem 1.25rem 3.5rem; }
    }

    @media (prefers-reduced-motion: reduce) {
      *, .phone-float, .hero-logo-img { transition: none !important; animation: none !important; }
    }

/* WordPress integration */
body.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar nav { top: 46px; } }
.midcoast-page { margin: 0; padding: 0; }
