/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Playfair Display', serif;
  background-color: #181818;
  color: #ffffff;
  line-height: 1.5;
}

/* Header */
header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 10px 20px;
  background-color: #181818;
}
/* Sticky Header */
header.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #181818;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 50px;
  margin-left: 20px;
}

header .logo h1 {
  font-family: 'Elsie Swash Caps', serif;
  font-size: 24px;
  color: #C1C1C1;
  text-shadow: 0 0 1px #C1C1C1;
}

header .contact-info {
  display: flex;
  flex-direction: column; 
  align-items: flex-end; 
  gap: 10px;
}

header .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .contact-item img {
  height: 25px; 
}

header .contact-item span {
  font-size: 20px; 
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 100px;
}

nav ul li a {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #91ff85;
}
    
/* Hero Section */
.hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero .hero-bg {
  width: 100%;
  height: auto;
}
  
.hero .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
  
.hero .hero-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 106px;
  font-weight: bold;
  font-style: italic;
  color: #ffffff;
  text-shadow: -3px 1px 2px #40E32E, 0 0 5px rgba(0, 0, 0, 0.7);
}
  
.hero .hero-content button {
  margin-top: 20px;
  padding: 15px 30px;
  font-size: 28px; 
  font-weight: bold;
  font-family: 'Shippori Mincho', serif; /* Updated font */
  color: #ffffff;
  background-color: #235A1D;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero .hero-content button:hover {
  background-color: #259c18;
}

.hero, .services, .booking {
  padding-top: 0px;
}

/* Introduction Section */
.introduction {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #ffffff;
  min-height: 80vh; /* Ensures the section has enough vertical space */
}

.intro-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1100px;
  gap: 100px;
  min-height: 70vh; /* Makes sure the content is at least this tall */
}

/* Image Section */
.intro-image {
    position: relative;
    text-align: center;
}

.intro-image img {
    width: 100%;
    max-width: 500px;
}

/* Hire This Car Text */
.hire-text {
    font-size: 24px;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: #37CA27;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 10px;
}

/* Text Content */
.intro-text {
    max-width: 500px;
    text-align: left;
}

.intro-text h2 {
    font-family: 'Crimson Text', serif;
    font-weight: bold;
    font-size: 36px;
    color: #000000;
}

.intro-text p {
    font-family: 'Crimson Text', serif;
    font-size: 20px;
    color: #333333;
    line-height: 1.6;
}

/* Book Now Button (Modified) */
.intro-button {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 22px;
    font-weight: bold;
    font-family: 'Shippori Mincho', serif;
    color: #9FFF95; /* New color */
    background-color: #000000; /* Black background */
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.intro-button:hover {
    background-color: #222222;
}

/* Header */
.services {
  background-color: white;
  padding-bottom: 50px;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.services-header h2 {
  font-family: 'Crimson Text', serif;
  font-size: 56px;
  font-weight: bold;
  color: #37CA27;
  text-align: center;
  margin: 0 20px;
}

.line {
  width: 80px;
  height: 2px;
  background-color: #ffffff;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two columns */
  gap: 100px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px; /* Keeps spacing */
}

/* Individual Service Item */
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.service-item img {
  width: 30px; /* Adjust icon size */
  height: 30px;
}

.service-text h3 {
  font-family: 'Crimson Text', serif;
  font-size: 24px;
  font-weight: bold;
  color: #000000;
}

.service-text p {
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  color: #333333;
  line-height: 1.6;
}

/* Call us section*/

.call-us-section {
  width: 100%;
  position: relative;
}

.background-image {
  width: 100%;
  height: auto;
  display: block;
}

.call-us-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 50px 0;
}

h1.call-us-container {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  text-shadow: -3px 1px 2px #40E32E, 0 0 5px rgba(0, 0, 0, 0.7)
}

p.description {
  font-family: Playfair;
  font-weight: 900;
  width: 50%;
  font-size: 2.25rem;
  color: white;
  margin-top: 15px;
  text-shadow: 4px 4px 4px rgba(35, 90, 29, 0.88);
}


p.call-now {
  font-family: Playfair;
  font-weight: 900;
  font-size: 2.5rem;
  color: white;
  margin-top: 15px;
  text-shadow: 4px 4px 4px rgba(35, 90, 29, 0.88)
}

p.or {
  font-size: 40px;
  color: white;
  margin-top: 15px;
  font-weight: 900;
  text-shadow: 4px 4px 4px rgba(35, 90, 29, 0.88)
}

.book-now-container {
  margin-top: 20px;
}

.book-now {
  font-family: 'Shippori Mincho', serif;
  font-weight: bolder;
  font-size: 30px;
  padding: 15px 20px;
  color: white;
  background: #257C1B;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* Service Rates Section */
.service-rates {
  background-color: white;
  min-height: 800px; 
  padding-top: 24px;
  padding-bottom: 100px;
  text-align: center;
}

/* Header Styling */
.services-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  padding: 20px;
  width: 100%;
  margin-bottom: 40px;
}

.services-header h2 {
  font-family: 'Crimson Text', serif;
  font-size: 56px;
  font-weight: bold;
  color: #37CA27;
  text-align: center;
  margin: 0 20px;
}

.line {
  width: 80px;
  height: 2px;
  background-color: #ffffff;
}

/* Service Rates Content */
.service-rates-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  padding-top: 150px;
}

.service-image img {
  width: 150px;
}

.service-image p {
  font-family: 'Crimson Text', serif;
  font-size: 22px;
  font-weight: bold;
  color: #000;
  margin-top: 10px;
}

/* Pricing Grid */
.service-pricing-grid {
  display: flex;
  gap: 30px;
}

.pricing-card {
  background-color: #f8f8f8;
  padding: 100px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  width: 240px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.pricing-card:hover {
  transform: scale(1.1);
  background-color: #a8f0a5; /* Light green */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pricing-header {
  background-color: #235A1D;
  color: white;
  padding: 12px;
  font-size: 20px;
  font-weight: bold;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.pricing-rate {
  font-size: 28px;
  font-weight: bold;
  color: #235A1D;
  margin-top: 12px;
}

.pricing-rate span {
  font-size: 18px;
  color: black;
}

/* Description Text Styling */
p.description {
  font-family: Playfair;
  font-weight: 900;
  font-size: 24px;
  color: white;
  margin-top: 15px;
  text-shadow: 4px 4px 4px rgba(35, 90, 29, 0.88);
}
#booking {
  text-align: center;
  padding: 40px;
  background-color: #f8f9fa;
  scroll-margin-top: 100px;
  text-decoration: none;
}
#booking h2 {
  font-family: Playfair;
  color: black;
  font-size: 36px;
  margin-bottom: 10px;
}
#booking p {
  font-family: Playfair;
  font-size: 24px;
  color: #555;
}
/* Arrow */
#scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  display: none; /* Hidden initially */
  align-items: center;
  justify-content: center;
}

#scrollToTop:hover {
  background-color: darkgreen;
}

/* Footer Section */
.footer {
  width: 100%;
  background-color: #000000;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: white;
  margin: 0;
}

@media screen and (min-width: 769px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px; /* Reduce padding */
    height: 90px; /* Set a fixed height */
  }

  .desktop-nav {
      flex-grow: 1;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .desktop-nav ul {
      display: flex;
      list-style: none;
      gap: 100px;
  }

  .desktop-nav ul li a {
      font-size: 20px;
      font-weight: bold;
      text-decoration: none;
      color: #ffffff;
      transition: color 0.3s ease;
  }

  .desktop-nav ul li a:hover {
      color: #91ff85;
  }

  .logo img {
      height: 50px; /* Adjust logo size */
  }
  
  .mobile-nav {
      display: none !important;
  }
  .hamburger {
      display: none !important;
  }
}


/* Responsive Design for iPhone 12 Pro (390 x 844) */
@media screen and (max-width: 420px) {
  /* Prevent Horizontal Scroll */
  html, body {
      overflow-x: hidden;
  }
  
  /* Header Navigation */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1200;
    background-color: #181818;
    padding: 10px 20px;
}

  body {
    padding-top: 60px; /* To prevent content from being hidden behind the fixed header */
  }
  
  .desktop-nav {
      display: none;
  }
  
  /* Hamburger Menu */
  .hamburger {
      display: block;
      font-size: 28px;
      cursor: pointer;
      color: white;
      position: absolute;
      right: 20px;
      top: 15px;
      z-index: 1100; /* Ensure hamburger icon is on top */
  }
  
  /* Mobile Navigation */
  .mobile-nav {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background-color: #181818;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.3s ease-in-out;
      z-index: 1090; /* Ensure mobile nav appears above content */
  }
  
  .mobile-nav ul {
      list-style: none;
      text-align: center;
      padding: 0;
  }
  
  .mobile-nav ul li {
      margin: 20px 0;
  }
  
  .mobile-nav ul li a {
    font-size: 22px;
    color: lightgreen;
    text-decoration: none;
  }
  
  /* Mobile Nav Active */
  .mobile-nav.active {
      right: 0;
  }

  nav ul {
    display: flex;
    gap: 80px;
    margin-left: 0px;
    flex-direction: column;
  }
  
  .contact-info {
    display: none !important;
  }
  .mobile-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 50px;
    padding: 10px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* Adds a subtle divider */
  }
  .mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: white;
    font-weight: bold;
  }
  .mobile-contact-item img {
    height: 20px;
  }

  /* Hero Section */
  .hero .hero-content button {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Shippori Mincho', serif;
    color: #ffffff;
    background-color: #235A1D;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3sease;
  }

  .hero .hero-bg {
    width: 180%;
    height: 491px;
  }

  .hero, .services, .booking {
    padding-top: 0px;
  }
  .hero .hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: bold;
    font-style: italic;
    color: #ffffff;
    text-shadow: 0px 0px 0px #ffffff00, 0 0 5px rgba(0, 0, 0, 0.7);
  }
  .hero-content button {
      font-size: 18px;
      padding: 10px 20px;
  }

  /* Introduction Section */
  .introduction {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    background-color: #ffffff;
    min-height: 78vh;
  }

  .intro-content {
      flex-direction: column;
      gap: 20px;
      text-align: center;
  }
  .intro-text {
      max-width: 100%;
  }
  .intro-text h2 {
    font-size: 24px;
    text-align: center;
  }
  .intro-text p {
      font-size: 16px;
      text-align: center;
  }
  .intro-button {
    font-size: 18px;
    padding: 10px 15px;
    margin-top: 40px;
    margin-left: 112px;
    border-radius: 5px;
  }

  /* Services Section */
  .service-rates {
    padding-top: 0;
    text-align: center;
  }

  .service-rates-content {
      padding-top: 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .service-image img {
      width: 70%; /* Resize image */
      max-width: 300px;
  }

  .services-header h2 {
    font-size: 24px;
  }
  .services-grid {
      grid-template-columns: 1fr;
      gap: 30px;
      padding: 0px 20px;
  }
  .service-item {
      flex-direction: column;
      text-align: center;
      align-items: center;
  }
  .service-text h3 {
      font-size: 22px;
  }
  .service-text p {
      font-size: 16px;
  }

  /* Call Us Section */
  .background-image {
    width: 229%;
  }
  .call-us-content h1 {
      font-size: 28px;
  }
  
  .call-us-content p {
    font-size: 16px;
    padding: 0px 34px;
    width: 100%;
  }

  h1.call-us-container {
    text-shadow: 0px 0px 0px #000000, 0 0 5px rgba(0, 0, 0, 0);
  }
  .book-now {
      font-size: 16px;
  }
  .service-pricing-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .pricing-card {
    width: 90%; /* Adjust width to fit screen */
    max-width: 320px;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
  }

  .pricing-header {
    font-size: 20px;
  }

  .pricing-rate {
    font-size: 24px;
  }

  /* Booking Section */
  #booking h2 {
      font-size: 28px;
  }
  #booking p {
      font-size: 18px;
  }

  /* Footer */
  .footer p {
      font-size: 14px;
  }

  /* Scroll to Top Button */
  #scrollToTop {
      width: 40px;
      height: 40px;
      font-size: 18px;
  }
}
