* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "founders-grotesk", sans-serif;
  overflow-x: hidden;
}

.page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://hebbkx1anhila5yf.public.blob.vercel-storage.com/Bball%20Court%20Expanded%201-1xSeTiPyyFjFF8YdgcalCGhec7JNHi.png");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 80px;
  gap: 80px;
}

.hero-left {
  flex: 0.8;
  max-width: 500px;
}

.logo-container {
  margin-bottom: 40px;
}

.main-logo {
  width: 350px; /* Increased logo size for desktop */
  height: auto;
}

.heading-container {
  margin-bottom: 20px;
}

.main-heading {
  font-size: 90px; /* Reduced from 120px for better responsiveness */
  font-weight: 900;
  font-style: italic;
  color: white;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: 2px white;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.subtitle {
  font-size: 22px; /* Reduced from 28px */
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  -webkit-text-stroke: 1px white;
  letter-spacing: 2px;
}

.hero-right {
  flex: 0.9;
  max-width: 500px;
}

.hero-form-title {
  font-size: 28px; /* Reduced from 36px */
  font-weight: 900;
  color: white;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  background: white;
  color: #000;
}

.form-input::placeholder {
  color: #000;
  font-weight: 600;
}

.hero-button {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.primary-button {
  padding: 22px 40px;
  background: #0066cc;
  color: white;
  border: 3px solid #004999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.primary-button:hover {
  background: #0052a3;
  border-color: #003d7a;
}

.primary-button:disabled {
  background: #666;
  border-color: #555;
  cursor: not-allowed;
}

.secondary-button {
  padding: 14px 32px;
  font-size: 16px;
  background: black;
  color: white;
  /* border: 2px solid white; */
  max-width: 200px;
  margin: 0 auto;
}

.secondary-button:hover {
  background: #222;
  border-color: #ddd;
}

.footer {
  padding: 30px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: black;
}

.legal-text {
  flex: 1;
}

.legal-text p {
  font-size: 11px;
  color: white;
  line-height: 1.5;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.travel-leisure-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: white;
}

.travel-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.leisure-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

.vacations-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-magic-logo img {
  width: 171px;
  height: auto;
}

/* Updated media queries for proper responsive breakpoints */

@media (min-width: 900px) and (max-width: 1024px) {
  .main-content {
    padding: 40px 40px;
    gap: 40px;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .hero-left {
    flex: 0.7;
    max-width: 350px;
  }

  .hero-right {
    flex: 1;
    max-width: 450px;
  }

  .main-logo {
    width: 220px;
  }

  .logo-container {
    margin-bottom: 30px;
  }

  .main-heading {
    font-size: 58px;
    -webkit-text-stroke: 2px white;
  }

  .subtitle {
    font-size: 16px;
  }

  .hero-form-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .form-input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .form-row {
    gap: 12px;
  }

  .hero-form {
    gap: 12px;
  }

  .primary-button {
    padding: 18px 32px;
    font-size: 16px;
  }

  .secondary-button {
    padding: 12px 28px;
    font-size: 14px;
  }

  .footer {
    padding: 25px 40px;
    gap: 30px;
  }

  .legal-text p {
    font-size: 10px;
  }

  .travel-text,
  .leisure-text {
    font-size: 16px;
  }

  .footer-magic-logo img {
    width: 60px;
  }
}

@media (min-width: 769px) and (max-width: 899px) {
  .main-content {
    padding: 40px 30px;
    gap: 30px;
    min-height: 100vh;
    justify-content: flex-start;
  }

  .hero-left {
    flex: 0.75;
    max-width: 320px;
  }

  .hero-right {
    flex: 1;
    max-width: 400px;
  }

  .main-logo {
    width: 200px;
  }

  .logo-container {
    margin-bottom: 25px;
  }

  .main-heading {
    font-size: 52px;
    -webkit-text-stroke: 2px white;
  }

  .subtitle {
    font-size: 15px;
  }

  .hero-form-title {
    font-size: 20px;
    margin-bottom: 18px;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .form-row {
    gap: 12px;
  }

  .hero-form {
    gap: 12px;
  }

  .primary-button {
    padding: 16px 30px;
    font-size: 15px;
  }

  .secondary-button {
    padding: 11px 26px;
    font-size: 13px;
  }

  .footer {
    padding: 25px 30px;
    gap: 25px;
  }

  .legal-text p {
    font-size: 9px;
  }

  .travel-text,
  .leisure-text {
    font-size: 15px;
  }

  .footer-magic-logo img {
    width: 55px;
  }
}

/* iPad landscape optimization (wider screens) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .main-content {
    padding: 50px 50px;
    gap: 60px;
    justify-content: flex-start;
  }

  .main-logo {
    width: 280px; /* Reduced from 320px */
  }

  .main-heading {
    font-size: 80px; /* Reduced from 110px */
  }

  .subtitle {
    font-size: 20px; /* Reduced from 27px */
  }

  .hero-form-title {
    font-size: 25px; /* Reduced from 34px */
  }

  .form-input {
    padding: 15px 18px; /* Adjusted padding */
    font-size: 15px; /* Reduced from 17px */
  }

  .hero-button {
    padding: 16px 26px; /* Adjusted padding */
    font-size: 17px; /* Reduced from 19px */
  }

  .hero-left {
    flex: 0.8;
  }

  .hero-right {
    flex: 0.9;
  }
}

@media (min-width: 1201px) {
  .main-content {
    padding: 60px 80px;
  }
}

/* Mobile layout - stacked vertical layout for 768px and below */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    padding: 30px 20px;
  }

  .main-logo {
    width: 250px;
  }

  .main-heading {
    font-size: 60px;
  }

  .subtitle {
    font-size: 20px;
  }

  .hero-form-title {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .footer-logos {
    flex-direction: column;
    gap: 20px;
  }
}

/* Desktop layout - keep side-by-side layout above 768px */
@media (min-width: 769px) {
  .main-content {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .hero-left {
    flex: 0.8;
  }

  .hero-right {
    flex: 0.9;
  }
}
