@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #000000;
  --color-surface: #111111;
  --color-surface-light: #222222;
  --color-accent: #ffffff;
  --color-accent-hover: #cccccc;
  --color-text: #ffffff;
  --color-text-muted: #999999;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--color-bg);
}

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

.btn-primary::before {
  background: transparent;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-accent);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo {
  height: 40px; /* Adjust based on your logo's proportion */
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu-btn {
  display: none;
  font-size: 2rem;
  color: var(--color-accent);
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('main-photo.jpg') center/cover;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--color-text-muted);
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.6s backwards;
}

/* Newsletter Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: var(--color-surface);
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  max-width: 500px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.popup-overlay.active .popup-content {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
}

.popup-content h2 {
  color: var(--color-accent);
  margin-bottom: 15px;
  font-size: 2rem;
}

.popup-content p {
  margin-bottom: 25px;
  color: var(--color-text-muted);
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form input {
  padding: 12px;
  background: var(--color-surface-light);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-body);
}

/* Footer */
footer {
  background: var(--color-surface);
  padding: 60px 5% 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-col p, .footer-col a {
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Form Styles */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-family: var(--font-body);
  transition: border-color 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Page Headers */
.page-header {
  padding: 150px 5% 80px;
  text-align: center;
  background: var(--color-surface);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.page-header h1 {
  font-size: 3rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 100px 5%;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-choose-us h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
}

.why-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
}

.why-img {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.why-content {
  padding: 30px 20px;
}

.why-content h3 {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Luxury Experience Section */
.experience-section {
  padding: 100px 5%;
  background-color: var(--color-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 50px;
}
.experience-section.reverse {
  flex-direction: row-reverse;
  background-color: var(--color-bg);
}
.experience-image {
  flex: 1;
  height: 500px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.experience-image::after {
  content: '';
  position: absolute;
  top: 15px; left: 15px; right: -15px; bottom: -15px;
  border: 1px solid var(--color-accent);
  z-index: -1;
  opacity: 0.5;
}
.experience-content {
  flex: 1;
}
.experience-content h2 {
  font-size: 2.8rem;
  color: var(--color-accent);
  margin-bottom: 20px;
}
.experience-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* FAQ Section */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  text-align: left;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question:hover {
  color: var(--color-accent);
}
.faq-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  transition: transform 0.3s;
}
.faq-question.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding-bottom: 20px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Booking Car Grid */
#car-options-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

#car-options-container .car-option {
  margin-bottom: 0; /* Reset margin because grid handles gap */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
}

#car-options-container .car-price {
  margin-top: 15px;
  font-size: 1.8rem;
}



/* ==========================================
   MOBILE RESPONSIVENESS — iOS / Android
   ========================================== */

/* Prevent iOS text size adjust */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Smooth scrolling on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly minimum tap size */
a, button, .btn, .mode-btn, .faq-question {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--color-surface);
    flex-direction: column;
    padding-top: 100px;
    padding-left: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
    gap: 12px;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links a {
    font-size: 1rem;
    width: 100%;
    justify-content: flex-start;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .container {
    padding: 40px 15px;
  }
  .fleet-grid {
    grid-template-columns: 1fr !important;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .experience-section {
    flex-direction: column !important;
  }
  .experience-image::after {
    display: none;
  }
  .time-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Booking container mobile */
  .booking-container {
    padding: 20px 16px !important;
  }
  /* Services grid */
  #services > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  #car-options-container {
    grid-template-columns: 1fr !important;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  /* Azeon Standard feature grid */
  [style*="grid-template-columns: repeat(auto-fit, minmax(320px, 1fr))"] {
    grid-template-columns: 1fr !important;
  }
  /* contact grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  /* hero */
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  /* page header text */
  .page-header {
    padding: 120px 5% 60px !important;
  }
  .page-header h1 {
    font-size: 1.8rem;
  }
  .page-header p {
    font-size: 1rem !important;
  }
  /* time picker fits on small screen */
  .time-picker-dropdown {
    min-width: 260px !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
  }
  .time-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  /* step labels shorter on tiny screens */
  .step-label {
    font-size: 0.5rem !important;
    letter-spacing: 1px !important;
  }
  /* why choose us image taller on mobile */
  .why-img {
    height: 180px;
  }
}

@media (max-width: 400px) {
  #car-options-container {
    grid-template-columns: 1fr !important;
  }
  .booking-container {
    padding: 16px 12px !important;
  }
}

/* ==========================================
   COOKIE BANNER
   ========================================== */
#cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  border-top: 1px solid var(--color-accent);
  padding: 20px 5%;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
  transition: bottom 0.5s ease-in-out;
}

#cookie-banner.show {
  bottom: 0;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 800px;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--color-accent);
  color: #000;
  border: none;
  padding: 10px 25px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  margin-left: 20px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  #cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px;
  }
  .cookie-btn {
    margin-left: 0;
    width: 100%;
  }
}
