/* =========================
   Grandeur Concierge Styles
   ========================= */

/* ---------- Theme ---------- */
:root {
  --primary-dark: #070707;
  --secondary-dark: #0f1113;

  --accent-blue: #b8894a;
  --accent-blue-light: #e0b36c;
  --accent-blue-soft: rgba(224, 179, 108, 0.18);

  --text-primary: #ffffff;
  --text-secondary: #c9c3ba;
  --text-tertiary: #9c9488;
  --border-color: rgba(255, 255, 255, 0.1);

  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--primary-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  animation: fadeIn 0.5s ease-out;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

header.is-scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* ---------- Nav links ---------- */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* ---------- Shared Buttons ---------- */
.btn,
.contact-btn,
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

/* ---------- Header CTA ---------- */
.contact-btn {
  background: var(--accent-blue);
  color: #fff;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-btn:hover {
  background: var(--accent-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(224, 179, 108, 0.18);
}

/* ---------- Hero ---------- */
.hero {
  margin-top: 0;
  padding-top: 110px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.88) 100%),
    url("../images/Black+Raven.png") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 48%, rgba(224, 179, 108, 0.2) 0%, transparent 52%),
    radial-gradient(circle at 78% 52%, rgba(184, 137, 74, 0.18) 0%, transparent 58%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 760px;
  width: 100%;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.9rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #f3e2c2 0%, var(--accent-blue-light) 35%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2,
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero p,
.hero-description {
  font-size: 1.1rem;
  color: var(--text-tertiary);
  max-width: 640px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* ---------- Hero CTA group ---------- */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* optional legacy wrapper support */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- CTA buttons ---------- */
.cta-primary,
.cta-secondary,
.btn-book-now {
  padding: 1rem 2.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-width: 220px;
}

.cta-primary,
.btn-book-now {
  background: var(--accent-blue);
  color: #fff;
}

.cta-primary:hover,
.btn-book-now:hover {
  background: var(--accent-blue-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(224, 179, 108, 0.18);
}

.cta-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-3px);
}

/* ---------- Service Area ---------- */
.service-area {
  background: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  text-align: center;
}

.service-area p {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.service-area strong {
  color: var(--accent-blue-light);
  font-weight: 700;
}

/* ---------- Sections ---------- */
section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: #f3efe9;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 110px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent-blue-light), transparent);
  opacity: 0.75;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-blue);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 179, 108, 0.45);
  box-shadow: 0 16px 32px rgba(184, 137, 74, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
#about {
  background: var(--secondary-dark);
}

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

.about-text h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--primary-dark);
  border-left: 3px solid var(--accent-blue);
  border-radius: 4px;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent-blue-light);
}

.feature-text {
  font-weight: 500;
  color: var(--text-primary);
}

/* ---------- Fleet ---------- */
.fleet-showcase {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  margin-top: 3rem;
}

.vehicle-gallery {
  margin-bottom: 3rem;
}

.main-vehicle-image {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 12px;
}

.main-vehicle-image img {
  transition: transform 0.5s ease;
}

.main-vehicle-image:hover img {
  transform: scale(1.05);
}

.vehicle-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.vehicle-images-grid img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vehicle-images-grid img:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(224, 179, 108, 0.14);
}

.vehicle-details {
  text-align: center;
  margin-bottom: 3rem;
}

.vehicle-details h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--accent-blue-light);
}

.vehicle-tagline {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-style: italic;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.spec-item {
  background: var(--primary-dark);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.spec-item:hover {
  border-color: rgba(224, 179, 108, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(184, 137, 74, 0.12);
}

.spec-icon {
  font-size: 2rem;
  min-width: 40px;
}

.spec-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
  font-weight: 600;
}

.spec-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.vehicle-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.vehicle-feature {
  text-align: center;
}

.vehicle-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.vehicle-feature-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
#contact {
  background: var(--primary-dark);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--secondary-dark);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: rgba(224, 179, 108, 0.45);
  transform: translateX(5px);
  box-shadow: 0 16px 32px rgba(184, 137, 74, 0.12);
}

.info-icon {
  font-size: 1.8rem;
  color: var(--accent-blue-light);
  min-width: 40px;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.info-content p,
.info-content a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--accent-blue-light);
}

/* ---------- Form ---------- */
.booking-form {
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  z-index: 5;
}

.booking-form,
.booking-form * {
  pointer-events: auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--primary-dark);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 6;
}

input[type="time"],
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(224, 179, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(224, 179, 108, 0.14);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: var(--accent-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(224, 179, 108, 0.18);
}

.required {
  color: var(--accent-blue-light);
}

/* ---------- Footer ---------- */
footer {
  background: var(--secondary-dark);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-text {
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 2rem 0;
}

.copyright {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 4rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .vehicle-images-grid {
    grid-template-columns: 1fr;
  }

  .main-vehicle-image img {
    height: 350px !important;
  }

  .vehicle-images-grid img {
    height: 200px !important;
  }

  .vehicle-specs {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile Hero Fix ---------- */
@media (max-width: 768px) {
  .hero,
  .hero-section,
  .home-hero {
    position: relative;
    min-height: 78vh;
    padding-top: 130px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
    display: flex;
    align-items: flex-start;
  }

  .hero::after,
  .hero-section::before,
  .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
  }

  .hero > *,
  .hero-section > *,
  .home-hero > * {
    position: relative;
    z-index: 2;
  }

  .hero-content,
  .hero-inner,
  .hero-container {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .hero-logo,
  .brand-logo {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }

  .hero-logo img,
  .brand-logo img {
    width: 56px;
    height: auto;
  }

  .hero h1,
  .hero-title {
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.05;
    margin: 6px 0 0;
    letter-spacing: -0.02em;
  }

  .hero h2,
  .hero-subtitle {
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
    opacity: 0.95;
  }

  .hero p,
  .hero-desc,
  .hero-description {
    font-size: 14.5px;
    line-height: 1.5;
    margin: 0 auto 1rem;
    opacity: 0.9;
  }

  .hero .book-now,
  .hero .cta-top,
  .hero .top-cta,
  .hero .btn-book-now {
    position: static !important;
    align-self: center;
    width: min(92%, 360px);
    margin-top: 6px;
  }

  .hero-cta-group,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero .btn,
  .hero a.btn,
  .hero button,
  .hero .cta,
  .hero .cta-primary,
  .hero .cta-secondary {
    width: min(92%, 420px);
    min-width: 0;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .hero .cta-secondary,
  .hero .btn-call {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .vehicle-features {
    gap: 1.5rem;
  }

  .main-vehicle-image img {
    height: 250px !important;
  }

  nav {
    padding: 1rem 1rem;
  }

  .logo img {
    height: 68px;
  }

  .contact-btn {
    padding: 0.65rem 1rem;
    font-size: 0.8rem;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.85;
  }
}

.field-error {
  color: #ffb3b3;
  font-size: 0.85rem;
  margin-top: 0.45rem;
}