/* ===============================================
   GoriDe Tours – Professional Orange & White Theme
   Refined • Bold • Premium Transport Aesthetic
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --primary:        #f97316;
  --primary-dark:   #c2500c;
  --primary-light:  #fff7ed;
  --primary-glow:   rgba(249, 115, 22, 0.15);
  --dark:           #0f172a;
  --dark-mid:       #1e293b;
  --text:           #475569;
  --text-light:     #94a3b8;
  --light-bg:       #f8fafc;
  --white:          #ffffff;
  --border:         #e8eff8;
  --shadow-sm:      0 2px 12px rgba(15, 23, 42, 0.06);
  --shadow-md:      0 8px 30px rgba(15, 23, 42, 0.10);
  --shadow-lg:      0 20px 60px rgba(15, 23, 42, 0.14);
  --shadow-orange:  0 12px 40px rgba(249, 115, 22, 0.25);
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      28px;
  --radius-xl:      40px;
  --transition:     all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── CONTAINER ── */
.container { width: 92%; max-width: 1200px; margin: auto; }

/* ── DECORATIVE STRIPE ── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 100vh;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: 9999;
}

/* ── LOGO IMAGE FIX ── */
.brand img,
.site-header img.logo,
.header-inner img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ═══════════════════════
   HEADER
═══════════════════════ */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hide text brand if logo image is present */
.brand img ~ span,
.brand:has(img) > .brand-text { display: none; }

.brand span { color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark-mid);
  padding: 8px 16px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--primary-glow);
}

.main-nav a:last-child {
  background: var(--primary);
  color: var(--white);
  padding: 8px 22px;
}

.main-nav a:last-child:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover { background: var(--primary-glow); color: var(--primary); }

/* ═══════════════════════
   HERO
═══════════════════════ */
.hero {
  height: 100vh;
  min-height: 600px;
  background:
    linear-gradient(135deg, rgba(11, 17, 32, 0.72) 0%, rgba(249, 115, 22, 0.22) 100%),
    url('images/van.jpeg') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 72px; /* exactly the header height */
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-copy {
  max-width: 780px;
  width: 100%;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto;
}

.hero-copy h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  margin-bottom: 22px;
  line-height: 1.18;
  letter-spacing: -1px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-copy p {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0.92;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.2px;
}

/* ── BUTTONS ── */
.btn {
  background: var(--primary);
  color: var(--white);
  padding: 16px 44px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  transition: var(--transition);
  display: inline-block;
  box-shadow: var(--shadow-orange);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.btn:hover::before { transform: translateX(100%); }

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(249, 115, 22, 0.38);
}

.muted {
  margin-left: 20px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1.5px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: var(--transition);
}

.muted:hover { color: var(--white); border-color: var(--white); }

/* ═══════════════════════
   SECTION BASE
═══════════════════════ */
.section { padding: 120px 0; }

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: -0.5px;
}

/* Orange underline accent after headings */
.section h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background: var(--primary);
  border-radius: 4px;
  margin: 18px auto 56px;
}

/* Alternating backgrounds */
.section:nth-child(even) { background: var(--light-bg); }

/* ═══════════════════════
   ABOUT / VEHICLE
═══════════════════════ */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.vehicle-image {
  position: relative;
}

.vehicle-image::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-glow));
  z-index: 0;
}

.vehicle-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.vehicle-image img:hover { transform: scale(1.02); }

.features { list-style: none; }

.features li {
  margin-bottom: 16px;
  font-size: 0.97rem;
  padding-left: 28px;
  position: relative;
  color: var(--text);
}

.features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1rem;
  top: 1px;
}

/* ═══════════════════════
   SERVICE CARDS
═══════════════════════ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover img { transform: scale(1.04); }

.card h3 {
  padding: 22px 24px 10px;
  color: var(--dark);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.card p {
  padding: 0 24px 26px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════════════════
   GALLERY
═══════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  z-index: 2;
  position: relative;
}

/* ═══════════════════════
   CONTACT
═══════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Info side */
.contact-info {
  padding: 40px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 12px; }

.contact-info strong { color: var(--primary); }

/* Form side */
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--dark);
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 4px;
}

input, textarea, select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  outline: none;
  margin-top: 0;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea { resize: vertical; min-height: 130px; }

button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  margin-top: 24px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-orange);
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(249, 115, 22, 0.38);
  filter: brightness(1.08);
}

/* ═══════════════════════
   REVIEWS
═══════════════════════ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 32px;
}

.review-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  color: var(--primary-glow);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.2);
}

/* star rating color */
.review-card .stars,
.review-card [style*="color: gold"] { color: var(--primary) !important; }

/* ═══════════════════════
   FOOTER
═══════════════════════ */
.site-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.site-footer h3,
.site-footer .brand {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer p { font-size: 0.9rem; line-height: 1.9; }

.site-footer strong,
.site-footer a { color: var(--primary); text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.site-footer hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 40px 0 24px;
}

/* ═══════════════════════
   ALERTS / MESSAGES
═══════════════════════ */
.alert, .success-msg, [class*="msg"] {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
}

/* ═══════════════════════
   RESPONSIVE
═══════════════════════ */
@media (max-width: 1024px) {
  .vehicle-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .vehicle-image::before { display: none; }
}

@media (max-width: 768px) {
  body::before { display: none; }

  .main-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 72px; right: 5%;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    min-width: 200px;
  }

  .main-nav.active { display: flex; }
  .nav-toggle { display: block; }

  .hero { height: 92vh; }
  .section { padding: 80px 0; }
  .cards, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .btn { padding: 14px 32px; font-size: 0.88rem; }
  .muted { display: block; margin: 16px 0 0; }
  .section h2 { font-size: 1.7rem; }
}

/* ═══════════════════════
   SCROLL ANIMATION HOOK
   (JS adds .visible class)
═══════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
