/* ==========================================================================
   European Cars - CSS Stylesheet
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Color Palette (Brand: #09388a Blue & #fdc111 Yellow) */
  --primary: #09388a;
  --primary-rgb: 9, 56, 138;
  --primary-light: #124eb8;
  --accent: #fdc111;
  --accent-rgb: 253, 193, 17;
  --accent-hover: #e2ab08;
  --slate-grey: #64748b;
  --slate-grey-rgb: 100, 116, 139;
  
  /* Blended Light Theme Backgrounds (logo bg #fefefe) */
  --bg-body: #fefefe;
  --bg-section-alt: #f6f8fb;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  /* Header Backdrops */
  --header-bg-scrolled: rgba(254, 254, 254, 0.92);
  
  /* Hero Overlays & Opacities */
  --hero-img-opacity: 0.16;
  --hero-overlay: linear-gradient(135deg, rgba(254, 254, 254, 0.95) 0%, rgba(254, 254, 254, 0.65) 50%, rgba(254, 254, 254, 0.95) 100%);
  --hero-grid-opacity: 0.7;
  
  /* Form Inputs (Light Theme defaults) */
  --form-bg: #f8fafc;
  --form-bg-focus: #ffffff;
  
  /* Borders & Dividers */
  --border-color: rgba(9, 56, 138, 0.08);
  --border-focus: rgba(9, 56, 138, 0.3);
  
  /* Typography & Slate colors */
  --text-light: #0f172a; /* Slate 900 */
  --text-muted: #475569; /* Slate 600 */
  --font-headings: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout & Spacing */
  --container-width: 1200px;
  --header-height: 180px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* --- Dark Theme Variables --- */
.dark-theme {
  --bg-body: #0a0d14;
  --bg-section-alt: #101420;
  --bg-card: #151a27;
  --bg-card-hover: #1c2333;
  
  /* Header Backdrops */
  --header-bg-scrolled: rgba(10, 13, 20, 0.92);
  
  /* Hero Overlays & Opacities */
  --hero-img-opacity: 0.4;
  --hero-overlay: linear-gradient(135deg, rgba(10, 13, 20, 0.92) 0%, rgba(10, 13, 20, 0.75) 50%, rgba(10, 13, 20, 0.92) 100%);
  --hero-grid-opacity: 0.3;
  
  /* Form Inputs (Dark Theme overrides) */
  --form-bg: rgba(10, 13, 20, 0.6);
  --form-bg-focus: rgba(10, 13, 20, 0.9);
  
  /* Borders & Dividers */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(253, 193, 17, 0.4);
  
  /* Typography & Slate colors */
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
}

/* --- Base Resets & Global Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-muted);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Text styles overriding base variables */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-light);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* --- Layout Utility --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-section-alt);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--accent);
  font-family: var(--font-headings);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--slate-grey);
  font-size: 16px;
}

/* --- Navigation Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: #fefefe;
  border-bottom: 1px solid rgba(9, 56, 138, 0.08);
  transition: background var(--transition-normal), border var(--transition-normal), height var(--transition-normal);
}

.header.scrolled {
  background: #fefefe;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(9, 56, 138, 0.08);
  box-shadow: 0 4px 20px rgba(9, 56, 138, 0.04);
  height: 100px;
}

/* Intro Viewport Splash State */
.header.intro-viewport {
  height: 100vh !important;
  z-index: 1005;
}

/* Slower transitions specifically during the intro phase */
.header.intro-transition {
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.8s ease,
              border 0.8s ease;
}

.header.intro-transition .logo {
  transition: left 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.intro-transition .logo-img {
  transition: max-width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}



.header .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  height: 100%;
  gap: 48px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  position: absolute;
  left: 24px; /* Left-aligned by default on desktop */
  top: 50%;
  transform: translate(0, -50%);
  transition: left var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1),
              transform var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}

.logo-img {
  display: block;
  width: 90vw;
  max-width: 500px; /* Default unscrolled desktop logo size */
  height: auto;
  transition: max-width var(--transition-normal) cubic-bezier(0.4, 0, 0.2, 1);
}

.header.intro-viewport .logo {
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

.header.intro-viewport .logo-img {
  max-width: 550px; /* Cinematic intro size */
}

.header.scrolled .logo-img {
  max-width: 290px; /* Shrunk size on scroll */
}

.footer-logo {
  margin: 0;
}

.footer-logo .logo-img {
  height: 150px;
  width: auto;
  max-width: 100%;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
}

.header.intro-viewport .nav-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-10px) !important;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #0f172a;
  opacity: 0.85;
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--accent);
  color: #000000;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 4px 15px rgba(253, 193, 17, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(9, 56, 138, 0.05);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline-primary:hover {
  background-color: rgba(9, 56, 138, 0.05);
  transform: translateY(-1px);
}

.header-right-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
}

.header.intro-viewport .header-right-wrap {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-10px) !important;
}

.theme-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.theme-btn:hover {
  background-color: rgba(9, 56, 138, 0.05);
  border-color: var(--primary);
  transform: scale(1.05);
}

.theme-btn .sun-icon {
  display: none;
  width: 20px;
  height: 20px;
}

.theme-btn .moon-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.dark-theme .theme-btn .sun-icon {
  display: block;
  color: var(--accent);
}

.dark-theme .theme-btn .moon-icon {
  display: none;
}



.header-cta {
  display: flex;
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1010;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* Hamburger Open States */
.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
  background-color: var(--bg-body);
}

/* Image Background with Complex Overlays */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-img-opacity);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: var(--hero-overlay);
}

.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-image: radial-gradient(rgba(9, 56, 138, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: var(--hero-grid-opacity);
}

.dark-theme .hero-overlay-grid {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.hero .container {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 780px;
}

.hero-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  background-color: rgba(9, 56, 138, 0.06);
  border: 1px solid rgba(9, 56, 138, 0.15);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(4px);
  text-decoration: none;
  transition: all var(--transition-fast) ease;
}

.hero-map-badge .badge-icon {
  fill: #ea4335;
}

.hero-waze-badge .badge-icon {
  fill: #33ccff;
}

/* Conditionally show map badges only when the shop is open */
.hero-map-badge,
.hero-waze-badge {
  display: none !important;
}

#hero-status-badge.open ~ .hero-map-badge,
#hero-status-badge.open ~ .hero-waze-badge {
  display: inline-flex !important;
}

.hero-badge:hover {
  background-color: rgba(9, 56, 138, 0.1);
  border-color: rgba(9, 56, 138, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(9, 56, 138, 0.08);
}



.hero-badge .badge-icon {
  width: 16px;
  height: 16px;
  fill: #ef4444;
  display: inline-block;
  transition: fill var(--transition-fast) ease;
}

.hero-badge.open .badge-icon {
  fill: #22c55e;
}

.badge-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast), color var(--transition-fast);
  cursor: pointer;
}

.badge-action-icon:hover {
  opacity: 1;
  color: var(--primary-light);
  transform: scale(1.15);
}

.badge-action-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--text-light);
}

.hero-title span {
  background: linear-gradient(to right, var(--primary) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* Hero Trust Badges */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(9, 56, 138, 0.08);
  padding-top: 30px;
}

.hero-feature-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-feature-num {
  font-family: var(--font-headings);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}

.hero-feature-text {
  font-size: 13px;
  color: var(--slate-grey);
  font-weight: 500;
}

/* --- Services Section --- */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background-color: rgba(9, 56, 138, 0.02);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: rgba(9, 56, 138, 0.2);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 56, 138, 0.25);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: var(--bg-card-hover);
  border-color: rgba(9, 56, 138, 0.15);
  box-shadow: 0 15px 35px rgba(9, 56, 138, 0.08);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  background-color: rgba(9, 56, 138, 0.06);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 28px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border: 1px solid rgba(9, 56, 138, 0.1);
}

.service-card:hover .service-icon-wrap {
  background-color: var(--primary);
  color: var(--accent);
  box-shadow: 0 4px 10px rgba(9, 56, 138, 0.2);
}

.service-icon-wrap svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-light);
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.service-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

/* Service Promo Banner */
.service-promo {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(9, 56, 138, 0.06), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.service-promo-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.service-promo-text p {
  color: var(--slate-grey);
  max-width: 600px;
}

/* --- About Us Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-lead {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 24px;
  font-weight: 500;
}

.about-text p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.stat-val {
  font-family: var(--font-headings);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: var(--slate-grey);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* About Image Container with Accent Frame Effect */
.about-image-wrap {
  position: relative;
  padding: 15px;
}

.about-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(9, 56, 138, 0.12);
  position: relative;
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image-wrap:hover .about-image img {
  transform: scale(1.03);
}

.about-image-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  border: 2px solid var(--accent);
  border-radius: var(--border-radius-md);
  z-index: 1;
  pointer-events: none;
  transform: translate(15px, 15px);
  transition: transform var(--transition-normal);
}

.about-image-wrap:hover .about-image-decor {
  transform: translate(8px, 8px);
}

/* --- Contact & Booking Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* Left Column: Info */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-desc {
  color: var(--text-muted);
  font-size: 16px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  transition: border-color var(--transition-fast), background var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.contact-method-card:hover {
  border-color: rgba(9, 56, 138, 0.15);
  background-color: var(--bg-card-hover);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(9, 56, 138, 0.06);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(9, 56, 138, 0.1);
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-method-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-method-content p, .contact-method-content a {
  color: var(--slate-grey);
  font-size: 15px;
}

.contact-method-content a:hover {
  color: var(--primary);
}

/* Dynamic Live Status & Opening Times Card */
.status-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.status-header {
  padding: 20px 24px;
  background-color: rgba(9, 56, 138, 0.02);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-header h4 {
  font-size: 16px;
  color: var(--text-light);
}

/* Indicator dot */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  background-color: rgba(9, 56, 138, 0.05);
  color: var(--text-light);
  padding: 6px 14px;
  border-radius: 50px;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background-color: #ef4444; /* red default */
  box-shadow: 0 0 6px #ef4444;
}

.live-indicator.open .indicator-dot {
  background-color: #22c55e; /* green */
  box-shadow: 0 0 6px #22c55e;
}

.status-list {
  padding: 20px 24px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(149, 163, 171, 0.15);
}

.status-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.status-row:first-child {
  padding-top: 0;
}

.status-row .day {
  color: var(--text-light);
  font-weight: 500;
}

.status-row .time {
  color: var(--text-muted);
}

.status-row.active {
  font-weight: 600;
}

.status-row.active .day {
  color: var(--primary);
}

.status-row.active .time {
  color: var(--primary);
}

/* Right Column: Booking Form */
.booking-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: 0 10px 30px rgba(9, 56, 138, 0.04);
}

.form-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-light);
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
}

.form-control {
  background-color: var(--form-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 8px rgba(9, 56, 138, 0.15);
  background-color: var(--form-bg-focus);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-btn {
  margin-top: 12px;
  width: 100%;
}

/* Alert Boxes inside Form */
.form-alert {
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
  font-weight: 500;
  animation: fadeIn var(--transition-fast) forwards;
}

.form-alert.success {
  background-color: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  display: block;
}

.form-alert.error {
  background-color: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
  display: block;
}

/* Map Container with Light Overlay Effect */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  /* Light Map Grayscale Filter */
  filter: grayscale(20%) contrast(98%);
  transition: filter var(--transition-normal);
}

.map-container:hover iframe {
  filter: none;
}

/* --- Footer --- */
.footer {
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-about {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-links-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  color: var(--text-light);
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links-list a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.footer-contact-item a:hover {
  color: var(--primary);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(9, 56, 138, 0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--slate-grey);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Scroll To Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  color: #000000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(253, 193, 17, 0.35);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Animations Keyframes --- */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 193, 17, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(253, 193, 17, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(253, 193, 17, 0);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Media Queries (Responsive Styling) --- */

@media (max-width: 1100px) {
  .logo-img {
    max-width: 320px;
  }
  .header .container {
    gap: 32px;
  }
  .nav-menu {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .logo-img {
    max-width: 260px;
  }
  .header .container {
    gap: 20px;
  }
  .nav-menu {
    gap: 16px;
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: 46px;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 130px;
  }
  
  .logo {
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
  
  .header.scrolled .logo {
    left: 24px !important;
    transform: translate(0, -50%) !important;
  }
  
  .header-right-wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
  }
  
  .header.scrolled .header-right-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .logo-img {
    width: 90vw;
    max-width: 320px;
    height: auto;
  }
  
  .header.scrolled {
    height: 90px;
  }
  
  .header.scrolled .logo-img {
    height: 70px;
    width: auto;
  }
  
  .footer-logo .logo-img {
    height: 120px;
    width: auto;
  }
  
  .section {
    padding: 70px 0;
  }
  
  /* Hamburger Menu Toggle Display */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #fefefe;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 28px;
    transition: left var(--transition-normal);
    border-top: 1px solid rgba(9, 56, 138, 0.08);
    z-index: 999;
    box-shadow: 0 10px 30px rgba(9, 56, 138, 0.05);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  
  .nav-menu.open {
    left: 0 !important;
  }
  
  .nav-link {
    font-size: 18px;
    width: 100%;
    padding: 10px 0;
  }
  
  .header-cta {
    display: none; /* Hide top CTA on mobile navigation */
  }
  
  .hero {
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 70px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-desc {
    font-size: 16px;
  }
  
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .service-promo {
    flex-direction: column;
    padding: 30px;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .booking-card {
    padding: 30px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-col:first-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 95px;
  }

  .logo-img {
    width: 90vw;
    max-width: 250px;
    height: auto;
  }
  
  .header.scrolled {
    height: 75px;
  }

  .header.scrolled .logo-img {
    height: 55px;
    width: auto;
  }

  .footer-logo .logo-img {
    height: 90px;
    width: auto;
  }

  .hero-title {
    font-size: 32px;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 300px;
  }
}
