/* ================================
   EASY PARK LIMITED - CSS CLONE
================================ */

/* GLOBAL RESETS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* prevent horizontal scroll on small devices */
  
}
.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* ================================
   TOP BAR
================================ */
.top-bar {
  background: #6E2FB5;
  color: white;
  padding: 8px 0;
  font-size: 14px;
  text-align: center;
}

/* ================================
   NAVBAR
================================ */
.navbar {
  background: #fff;
  border-bottom: 1px solid #ececec;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  z-index: 50;
}
.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}
.logo-placeholder {
  display: inline-block;
  width: 140px;
  height: 15px;
  font-weight: 600;
  text-align: center;
  line-height: 50px;
  border-radius: 8px;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
  transition: max-height 0.3s ease;
  align-items: center;
}
.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links li a {
  color: #222;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
  padding: 5px 0;
  display: inline-block;
}
.nav-links li a:hover {
  color: #FFC107;
  text-decoration: underline;
}
.nav-links li.dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  list-style: none;
  padding: 5px 0;
  z-index: 10;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #222;
  text-decoration: none;
  transition: background 0.3s;
}
.dropdown-menu li a:hover {
  background: #f0f0f0;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Call button */
.call-btn {
  background: #FFC107;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: #222;
  border-radius: 2px;
}

/* ================================
   HERO SECTION
================================ */
.hero {
  position: relative;
  padding: 30px 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-inner {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
    padding: 60px 0;
}


.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  background: rgba(0,0,0,0.3);
  position: absolute;
  inset: 0;
  z-index: 2;
}
.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  color: white;
  width: 100%;
  flex-wrap: wrap;
  gap: 30px;
}

/* LEFT TEXT */
.left {
  flex: 1 1 520px;
  min-width: 280px;
}
.left h1 {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.left span {
  color: #9A43CC;
  background: white;
  padding: 2px 4px;
  border-radius: 4px;
}
.badge {
  background: white;
  color: #6E2FB5;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 18px;
  display: inline-block;
}
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.features span {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
}

/* ================================
   QUOTE FORM RIGHT
================================ */
.quote-form {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  width: 550px;
  margin-left: 0; /* changed to 0 to rely on flex spacing */
  box-shadow: 0 4px 25px rgba(0,0,0,0.1);
  font-family: "Poppins", sans-serif;
  color: #222;
  flex: 0 0 420px;
  min-width: 280px;
}
.image-box {
  width: 350px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
}
.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote-form h2 {
  text-align: center;
  color: #ffb700;
  margin-bottom: 25px;
  font-size: 26px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #000;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #eaeaea;
  outline: none;
  font-size: 15px;
  transition: 0.2s ease-in-out;
  background: #fff;
}
.form-group input:focus,
.form-group select:focus {
  border-color: #ffb700;
  box-shadow: 0 0 6px rgba(255,183,0,0.4);
}
.form-row {
  display: flex;
  gap: 15px;
  margin-top: 12px;
}
.form-group {
  flex: 1;
  margin-bottom: 18px;
}
.quote-btn {
  width: 100%;
  background: #ffb700;
  color: #000;
  border: none;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.2s;
  margin-top: 15px;
}
.quote-btn:hover {
  background: #e5a200;
}

/* ================================
   HOW IT WORKS SECTION
================================ */
.how-it-works {
  padding: 80px 0;
  background: linear-gradient(to right, #fff0e5, #f9f2ff);
  text-align: center;
}
.how-it-works h2 {
  font-size: 32px;
  font-weight: 700;
  color: #6E2FB5;
}
.how-it-works h2 span {
  color: #FFC107;
}
.how-it-works .subtitle {
  font-size: 16px;
  margin: 10px 0 40px 0;
  color: #333;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}
.card {
  background: white;
  border: 1px solid #FFC107;
  border-radius: 12px;
  padding: 25px;
  width: 300px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.card:hover {
  background: #6E2FB5;
  color: white;
  border-color: #6E2FB5;
}
.card:hover h3,
.card:hover p,
.card:hover .step-number,
.card:hover .icon {
  color: white;
}
.card .icon {
  font-size: 32px;
  margin-bottom: 15px;
}
.card .step-number {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #EDE0FF;
  color: #6E2FB5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 10px 0 10px 0;
}
.card p {
  font-size: 14px;
  color: #555;
}

/* Buttons */
.compare-btn {
  margin-top: 40px;
  background: #6E2FB5;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}
.compare-btn:hover {
  background: #FFC107;
}

/* ================================
   FEATURED AIRPORT CARD
================================ */
.featured-airport {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(to right, #e5d1c2, #f9f2ff);
}
.featured-airport h2 {
  font-size: 28px;
  font-weight: 700;
  color: #6E2FB5;
}
.featured-airport h2 span {
  color: #FFC107;
}
.featured-airport .subtitle {
  font-size: 16px;
  margin-bottom: 40px;
  color: #333;
}
.airport-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.airport-card {
  background: #fff;
  border-radius: 12px;
  width: 320px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  position: relative;
}
.airport-image img {
  width: 100%;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.deals-available {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #6E2FB5;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
}
.airport-info {
  padding: 20px;
}
.airport-info h3 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #222;
}
.airport-info .code {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}
.airport-info .price {
  font-size: 14px;
  color: #FFA500;
  margin-bottom: 15px;
}

/* ================================
   COMPARE PARKING CARDS
================================ */
.compare-parking {
  padding: 60px 20px;
  background: linear-gradient(to right, #fff0e5, #f9f2ff);
  text-align: center;
}
.compare-parking h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.compare-parking h2 span {
  color: #FFA500;
}
.compare-parking .subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}
.parking-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.parking-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  border-top: 5px solid #FFA500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.parking-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}
.parking-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.parking-info {
  padding: 20px;
  text-align: left;
}
.parking-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #FFC107;
}
.parking-info p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
  color: #555;
}
.parking-info .price {
  font-weight: bold;
  margin-bottom: 15px;
  color: #6E2FB5;
}
.pros-cons {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
.pros-cons div h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
  color: #FFA500;
}
.pros-cons div ul {
  list-style: disc;
  padding-left: 20px;
  color: #333;
}
.parking-card button {
  margin-top: 15px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #FFA500, #FF7F50);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.parking-card button:hover {
  background: linear-gradient(90deg, #FF7F50, #FFA500);
  transform: translateY(-3px);
}

/* ================================
   FOOTER
================================ */
.site-footer {
  background: #390e6b;
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-family: 'Arial', sans-serif;
}
.site-footer h2 span {
  color: #FFA500;
}
.site-footer h4 {
  color: #FFA500;
  margin-bottom: 15px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand {
  flex: 1 1 200px;
}
.footer-brand p {
  margin-top: 10px;
  color: #ccc;
}
.footer-links, .footer-contact {
  flex: 1 1 200px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links ul li a:hover {
  color: #FFA500;
}
.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  transition: transform 0.3s;
}
.social-icons a:hover {
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 15px;
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}
/* ================================
   FULL RESPONSIVE CSS
================================ */

/* -----------------------------
   Large tablets (992px and below)
------------------------------ */
@media (max-width: 992px) {

  .nav-links {
    gap: 12px;
  }

  .left h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .features span {
    font-size: 13px;
  }

  .quote-form {
    flex: 1 1 100%;
    width: 100%;
    padding: 25px;
  }

  .hero {
    gap: 20px;
    padding: 20px 0;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}

/* -----------------------------
   Tablets and smaller (768px and below)
------------------------------ */
@media (max-width: 768px) {

  /* Mobile navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    text-align: center;
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links li {
    padding: 12px 0;
  }

  .call-btn {
    display: none;
  }

  /* Hero adjustments */
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .left {
    flex: 1 1 100%;
  }

  .left h1 {
    font-size: 28px;
  }

  .badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .features {
    justify-content: center;
  }

  .features span {
    font-size: 12px;
    padding: 5px 8px;
  }

  /* Quote Form Tablet Optimized */
  .quote-form {
    width: 100%;
    max-width: 420px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }

  .quote-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .form-group input,
  .form-group select {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-row {
    flex-direction: row;
    gap: 10px;
  }

  .form-row .form-group {
    flex: 1;
  }

  .quote-btn {
    padding: 14px;
    font-size: 15px;
  }
}

/* -----------------------------
   Mobile devices (600px and below)
------------------------------ */
@media (max-width: 600px) {

  .cards,
  .airport-cards,
  .parking-cards {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .airport-card,
  .parking-card {
    width: 95%;
  }

  .left h1 {
    font-size: 24px;
  }

  .quote-form {
    padding: 15px;
  }

  .features span {
    font-size: 11px;
    padding: 4px 6px;
  }

  .compare-btn,
  .parking-card button {
    width: 100%;
    font-size: 14px;
  }

  .pros-cons {
    flex-direction: column;
  }

  .pros-cons div {
    width: 100%;
  }

  /* Quote Form adjustments */
  .quote-form h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .form-row {
    flex-direction: column;
    gap: 12px;
  }

  .form-group input,
  .form-group select {
    padding: 10px;
    font-size: 14px;
  }

  .quote-btn {
    padding: 12px;
    font-size: 14px;
  }
}

/* -----------------------------
   Extra small devices (<480px)
------------------------------ */
@media (max-width: 480px) {

  .left h1 {
    font-size: 20px;
  }

  .badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  .quote-form {
    width: 95%;
    padding: 15px;
    margin: 15px auto;
  }

  .hero {
    padding: 15px 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-links,
  .footer-contact,
  .footer-brand {
    flex: 1 1 100%;
    text-align: center;
  }

  .quote-form h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-group input,
  .form-group select {
    padding: 10px;
  }

  .quote-btn {
    padding: 12px;
    font-size: 14px;
  }
}


@media (min-width: 1200px) {
  .hero-content {
    max-width: 1100px;
    margin: auto;
  }

  .left h1 {
    font-size: 38px;
  }

  .quote-form {
    width: 480px;
    padding: 28px;
  }
}
