/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM HOME PAGE STYLES
   Premium car rental landing page design - SEO optimized, conversion focused
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Enhanced Root Variables ─────────────────────────────────────────────── */
:root {
  --gradient-hero: linear-gradient(150deg, #091828 0%, #0f2d4a 45%, #162035 75%, #1a1200 100%);
  /* ↑ TODO: replace with a full-bleed Kos coastline photo when available.
     Use:  background: url('../images/hero-kos.jpg') center/cover no-repeat;
           plus a dark overlay:  background-image: linear-gradient(150deg, rgba(9,24,40,0.82) 0%, rgba(22,32,53,0.70) 60%, rgba(10,8,0,0.80) 100%), url('../images/hero-kos.jpg');
  */
  --gradient-gold: linear-gradient(135deg, #d4a845 0%, #f5d79e 50%, #c9983a 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 20px 40px -15px rgba(21, 58, 91, 0.2);
  --shadow-glow: 0 0 60px rgba(201, 154, 59, 0.3);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Premium Hero Section ────────────────────────────────────────────────── */
.page-home {
  padding-top: 0;
}

.page-home .site-header {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .site-header.scrolled {
  background: rgba(11, 24, 43, 0.97);
}

.premium-hero {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.premium-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(201, 154, 59, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 50% 80% at 85% 20%, rgba(30, 90, 160, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(201, 154, 59, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.premium-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-container {
  width: min(1280px, calc(100% - 3rem));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

/* ─── Hero Content Side ───────────────────────────────────────────────────── */
.hero-content {
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 154, 59, 0.15);
  border: 1px solid rgba(201, 154, 59, 0.3);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f5d79e;
  margin-bottom: 1.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 48ch;
  margin: 0 0 2rem;
}

/* ─── Hero Stats ──────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  text-align: left;
}

.stat-value {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.stat-value .gold {
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ─── Hero CTAs ───────────────────────────────────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 300ms var(--transition-smooth);
  border: none;
  text-decoration: none;
}

.btn-premium-gold {
  background: var(--gradient-gold);
  color: #1a1000;
  box-shadow: 0 4px 20px rgba(201, 154, 59, 0.4);
}

.btn-premium-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 154, 59, 0.5);
}

.btn-premium-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-premium-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-premium svg {
  width: 18px;
  height: 18px;
}

/* ─── Booking Panel ───────────────────────────────────────────────────────── */
.booking-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-premium), var(--shadow-glow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.booking-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8eef5;
}

.booking-card-header h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.booking-card-header p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.booking-card label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5a6475;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 1rem 0 0.4rem;
}

.booking-card label:first-of-type {
  margin-top: 0;
}

.booking-card input,
.booking-card select {
  width: 100%;
  border: 2px solid #e8eef5;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fafbfd;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 200ms ease;
}

.booking-card input:focus,
.booking-card select:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(201, 154, 59, 0.1);
}

.booking-card .grid-2 {
  gap: 1rem;
}

.booking-card .pricing-preview {
  background: linear-gradient(135deg, #f0f7ff, #fff8e6);
  border-radius: 12px;
  padding: 1rem;
  margin: 1.25rem 0;
  text-align: center;
  min-height: 3rem;
}

.booking-card .btn-submit {
  width: 100%;
  background: var(--gradient-gold);
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #1a1000;
  cursor: pointer;
  transition: all 300ms var(--transition-smooth);
}

.booking-card .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 154, 59, 0.4);
}

.booking-card .status {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.secure-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #16a34a;
  margin-top: 0.75rem;
}

.secure-badge svg {
  width: 14px;
  height: 14px;
}

/* ─── Trust Section ───────────────────────────────────────────────────────── */
.trust-section {
  padding: 4rem 0;
  background: var(--bg);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(21, 58, 91, 0.06);
  border: 1px solid #e8eef5;
  transition: all 300ms var(--transition-smooth);
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.trust-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eef4ff, #fff8e6);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.trust-text span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ─── How It Works Section ────────────────────────────────────────────────── */
.process-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg), #ffffff);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .eyebrow {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
  margin: 0 0 0.75rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 50ch;
  margin: 0 auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #e8eef5, var(--accent));
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(21, 58, 91, 0.08);
  border: 1px solid #e8eef5;
  transition: all 300ms var(--transition-smooth);
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.process-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1000;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 15px rgba(201, 154, 59, 0.3);
}

.process-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 0.75rem;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Features Section ────────────────────────────────────────────────────── */
.features-section {
  padding: 5rem 0;
  background: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: linear-gradient(180deg, #fafbfd, #ffffff);
  border-radius: 20px;
  border: 1px solid #e8eef5;
  transition: all 300ms var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(201, 154, 59, 0.3);
  box-shadow: 0 15px 40px rgba(21, 58, 91, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), #2d5a84);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.feature-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  color: var(--text);
  margin: 0 0 0.6rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─── Portal Cards Section ────────────────────────────────────────────────── */
.portal-section {
  padding: 5rem 0;
  background: var(--bg);
}

.portal-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portal-card-premium {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #fafbfd);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e8eef5;
  overflow: hidden;
  transition: all 300ms var(--transition-smooth);
  text-decoration: none;
}

.portal-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 300ms var(--transition-smooth);
}

.portal-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

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

.portal-card-premium .eyebrow {
  color: var(--accent);
}

.portal-card-premium h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  color: var(--text);
  margin: 0.5rem 0 0.75rem;
}

.portal-card-premium p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.portal-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 200ms ease;
}

.portal-card-premium:hover .portal-arrow {
  gap: 0.7rem;
}

/* ─── Fleet Preview Section ───────────────────────────────────────────────── */
.fleet-section {
  padding: 5rem 0;
  background: #ffffff;
}

.fleet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.fleet-header .section-header {
  text-align: left;
  margin-bottom: 0;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: gap 200ms ease;
}

.view-all-link:hover {
  gap: 0.7rem;
}

.group-grid-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── Testimonial Section ─────────────────────────────────────────────────── */
.testimonial-section {
  padding: 5rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.testimonial-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(201, 154, 59, 0.08), transparent 70%);
  pointer-events: none;
}

.testimonial-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
}

.testimonial-container blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #1a1000;
}

.testimonial-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.testimonial-info strong {
  color: #ffffff;
}

/* ─── Testimonial split layout ────────────────────────────────────────────── */
.testimonial-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.testimonial-left blockquote {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  color: #ffffff;
  line-height: 1.55;
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.heritage-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: #ffffff;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.3;
}

.heritage-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 1.5rem;
}

/* ─── Modest Google badge ─────────────────────────────────────────────────── */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.google-badge:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  color: #ffffff;
}

.google-badge-stars {
  color: #c99a3b;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.google-badge strong {
  color: #ffffff;
}

@media (max-width: 860px) {
  .testimonial-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ─── Final CTA Section ───────────────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: var(--bg);
}

.cta-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  background: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(21, 58, 91, 0.1);
  border: 1px solid #e8eef5;
}

.cta-card .eyebrow {
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cta-card h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  margin: 0;
  max-width: 28ch;
}

/* ─── Responsive Design ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-title {
    max-width: none;
  }
  
  .hero-subtitle {
    max-width: none;
    margin-inline: auto;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .booking-card {
    max-width: 480px;
    margin: 0 auto;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid::before {
    display: none;
  }
  
  .fleet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .premium-hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .stat-item {
    text-align: center;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid,
  .features-grid,
  .portal-grid-premium,
  .group-grid-premium {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .booking-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    width: calc(100% - 2rem);
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-premium {
    width: 100%;
    justify-content: center;
  }
  
  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}
