/* ==========================================================================
   Sri Venkata Vigneswara Self Drive Car Rental
   Minimal Premium Contact Landing Page Stylesheet
   ========================================================================== */

/* Design Tokens & CSS Variables */
:root {
  --color-navy: #0b1a30;
  --color-navy-dark: #071222;
  --color-royal: #1a56db;
  --color-royal-dark: #1442a8;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20bd5a;
  --color-whatsapp-dark: #128c7e;
  --color-gold: #f59e0b;
  --color-gold-dark: #d97706;
  --color-bg-page: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text-main: #0b1a30;
  --color-text-muted: #475569;
  --color-text-subtle: #64748b;
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --color-pill-bg: #f1f5f9;

  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-badge: 9999px;
  --radius-info: 12px;

  --shadow-card: 0 16px 36px -12px rgba(11, 26, 48, 0.08), 0 0 0 1px rgba(11, 26, 48, 0.04);
  --shadow-btn-wa: 0 4px 14px rgba(37, 211, 102, 0.28);
  --shadow-btn-wa-hover: 0 6px 20px rgba(37, 211, 102, 0.38);
  --shadow-btn-call: 0 4px 14px rgba(11, 26, 48, 0.22);
  --shadow-btn-call-hover: 0 6px 20px rgba(11, 26, 48, 0.32);

  --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  line-height: 1.5;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-x: hidden;
}

/* Layout Wrapper */
.page-wrapper {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main Card Container */
.premium-card {
  width: 100%;
  background-color: var(--color-bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  padding: 32px 28px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Top / Hero Section */
.hero-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Official Logo Display */
.logo-container {
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  margin: 0 auto 12px auto;
}

.logo-container picture {
  display: block;
  width: 100%;
}

.brand-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 679 / 432;
  object-fit: contain;
  display: block;
  /* Preserves exact artwork, crisp rendering, no distortion, no filter */
  image-rendering: -webkit-optimize-contrast;
}

/* Typography Hierarchy */
.brand-identity {
  margin-bottom: 6px;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1.25;
}

.brand-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-royal);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

.brand-tagline {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-pill-bg);
  color: var(--color-navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-badge);
  border: 1px solid var(--color-border);
  margin-top: 10px;
  letter-spacing: 0.01em;
}

.location-badge svg {
  width: 14px;
  height: 14px;
  color: #dc2626; /* Tasteful red pin */
  flex-shrink: 0;
}

/* Action Area - Dual Contact Buttons */
.action-area {
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 480px) {
  .action-area {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  min-height: 52px;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  flex: 1;
  letter-spacing: 0.01em;
  position: relative;
  user-select: none;
}

.btn-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
}

/* WhatsApp Button */
.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #ffffff;
  box-shadow: var(--shadow-btn-wa);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: var(--color-whatsapp-hover);
  box-shadow: var(--shadow-btn-wa-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-whatsapp:active {
  transform: translateY(0) scale(0.985);
  box-shadow: var(--shadow-btn-wa);
}

/* Call Button */
.btn-call {
  background-color: var(--color-navy);
  color: #ffffff;
  box-shadow: var(--shadow-btn-call);
}

.btn-call:hover,
.btn-call:focus-visible {
  background-color: var(--color-royal);
  box-shadow: var(--shadow-btn-call-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-call:active {
  transform: translateY(0) scale(0.985);
  box-shadow: var(--shadow-btn-call);
}

/* Information Row Area */
.info-row {
  width: 100%;
  margin-top: 22px;
  padding: 14px 10px;
  background-color: var(--color-bg-page);
  border-radius: var(--radius-info);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 4px 6px;
  position: relative;
}

.info-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-border);
}

.info-icon {
  width: 18px;
  height: 18px;
  color: var(--color-royal);
  stroke-width: 2;
  flex-shrink: 0;
}

.info-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-main);
  text-transform: uppercase;
  line-height: 1.25;
}

/* Minimal Footer */
.minimal-footer {
  width: 100%;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-copy {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-subtle);
}

.footer-location {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-subtle);
}

.footer-phone {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  display: inline-block;
  margin-top: 2px;
  transition: color 0.15s ease;
}

.footer-phone:hover {
  color: var(--color-royal);
  text-decoration: underline;
}

/* Mobile Optimizations (Android & iOS viewport refinements) */
@media (max-width: 480px) {
  body {
    padding: 12px 10px;
    justify-content: flex-start;
  }

  .premium-card {
    padding: 24px 18px 20px 18px;
    border-radius: 16px;
  }

  .logo-container {
    max-width: 320px;
    margin-bottom: 12px;
  }

  .brand-title {
    font-size: 1.22rem;
  }

  .brand-subtitle {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.88rem;
    margin-top: 6px;
  }

  .location-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
    margin-top: 8px;
  }

  .action-area {
    margin-top: 20px;
    gap: 10px;
  }

  .btn {
    min-height: 50px;
    font-size: 0.98rem;
    padding: 12px 16px;
  }

  .info-row {
    margin-top: 18px;
    padding: 12px 6px;
    gap: 4px;
  }

  .info-icon {
    width: 16px;
    height: 16px;
  }

  .info-text {
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }

  .minimal-footer {
    margin-top: 16px;
    padding-top: 14px;
  }
}

/* Ultra-compact screens (e.g. 360px viewport width) */
@media (max-width: 370px) {
  .premium-card {
    padding: 20px 14px 16px 14px;
  }

  .logo-container {
    max-width: 280px;
  }

  .brand-title {
    font-size: 1.12rem;
  }

  .brand-subtitle {
    font-size: 0.88rem;
  }

  .btn {
    font-size: 0.92rem;
  }

  .info-text {
    font-size: 0.6rem;
  }
}
