/*
Theme Name:  Mighty Cabs
Theme URI:   https://mightycabs.ie
Author:      Mighty Cabs
Author URI:  https://mightycabs.ie
Description: Official website theme for Mighty Cabs — Ballinasloe's trusted long-distance taxi service since 1991.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mighty-cabs
Tags:        one-page, business, transport, custom-colors, custom-logo, responsive-layout
*/

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --green:       #1a6b2f;
  --green-dark:  #124820;
  --green-light: #2a8f3f;
  --red:         #c0281e;
  --red-dark:    #8f1b13;
  --cream:       #f5f0e8;
  --gold:        #f9d06a;
  --white:       #ffffff;
  --black:       #1a1a1a;
  --text-muted:  #555555;
}

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; }

/* ─── ANNOUNCEMENT BANNER ─── */
.mc-announcement {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 11px 2rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
}

/* ─── HEADER / NAV ─── */
.mc-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  border-bottom: 3px solid var(--red);
}

.mc-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mc-logo-area img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}

.mc-brand-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 3px;
  line-height: 1;
}

.mc-brand-tagline {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.mc-nav a {
  color: var(--cream);
  font-weight: 700;
  font-size: 0.82rem;
  margin-left: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 3px;
}

.mc-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.mc-nav a:hover { color: var(--white); }
.mc-nav a:hover::after { transform: scaleX(1); }

/* ─── HERO ─── */
.mc-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 60%, var(--green-light) 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 4rem 5vw;
  position: relative;
  overflow: hidden;
}

.mc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent 0px, transparent 35px,
    rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px
  );
}

.mc-hero::after {
  content: '☘';
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  font-size: 22rem;
  color: rgba(255,255,255,0.04);
  pointer-events: none;
  line-height: 1;
}

.mc-hero-text { position: relative; z-index: 2; }

.mc-hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.mc-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.mc-hero h1 span { color: var(--gold); }

.mc-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 480px;
}

.mc-hero-sub strong { color: var(--gold); }

.mc-hero-stats {
  margin-top: 2rem;
  display: flex;
  gap: 2.5rem;
}

.mc-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}

.mc-stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.mc-hero-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.mc-hero-img-wrap img {
  width: 100%;
  max-width: 480px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ─── NOTICE SECTION ─── */
.mc-notice {
  background: var(--cream);
  padding: 4rem 5vw;
  text-align: center;
  border-top: 5px solid var(--red);
  border-bottom: 5px solid var(--green);
}

.mc-notice-inner { max-width: 760px; margin: 0 auto; }

.mc-notice h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.4rem;
  color: var(--green-dark);
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.mc-notice p {
  font-size: 1.08rem;
  color: #444;
  line-height: 1.8;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.mc-notice p strong { color: var(--red); }

.mc-notice-date {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  padding: 8px 26px;
  border-radius: 8px;
  margin: 1rem 0;
  letter-spacing: 2px;
}

/* ─── SERVICES ─── */
.mc-services {
  padding: 5rem 5vw;
  background: var(--white);
}

.mc-section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.mc-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--green-dark);
  letter-spacing: 1px;
}

.mc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto;
}

.mc-service-card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--green);
}

.mc-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.14);
  border-bottom-color: var(--red);
}

.mc-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.mc-card-body { padding: 1.4rem; }

.mc-card-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.mc-card-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--green-dark);
  letter-spacing: 1px;
}

.mc-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── THANK YOU ─── */
.mc-thankyou {
  background: var(--green-dark);
  padding: 5rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mc-thankyou::before {
  content: '☘';
  font-size: 18rem;
  position: absolute;
  left: -3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
}

.mc-thankyou::after {
  content: '☘';
  font-size: 18rem;
  position: absolute;
  right: -3rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.05;
  pointer-events: none;
}

.mc-thankyou h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.mc-thankyou p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 660px;
  margin: 0 auto 0.8rem;
  line-height: 1.8;
}

.mc-thankyou p strong { color: var(--gold); }

.mc-thankyou-hearts {
  font-size: 2rem;
  margin-top: 1.5rem;
}

/* ─── CONTACT ─── */
.mc-contact {
  background: var(--red);
  padding: 3.5rem 5vw;
  text-align: center;
}

.mc-contact h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.3rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: 1px;
}

.mc-contact p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.mc-contact-btn {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 2px;
  padding: 14px 44px;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 0 var(--red-dark);
}

.mc-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--red-dark);
  color: var(--red);
}

/* ─── FOOTER ─── */
.mc-footer {
  background: var(--black);
  color: #555;
  padding: 1.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-top: 3px solid var(--green-dark);
}

.mc-footer .green { color: var(--green-light); }
.mc-footer .red   { color: var(--red); }

/* ─── WORDPRESS EDITOR STYLES ─── */
.wp-block-image img { border-radius: 12px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .mc-hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
  }
  .mc-hero-img-wrap { justify-content: center; }
  .mc-hero-img-wrap img { max-width: 100%; }
  .mc-nav { display: none; }
  .mc-hero h1 { font-size: 2.8rem; }
  .mc-services-grid { grid-template-columns: 1fr; }
  .mc-footer { flex-direction: column; text-align: center; }
}
