/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden; /* prevents 100vw breakout causing horizontal scroll */
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: white;
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hidden {
  display: none !important;
}

/* Header */
.header {
  background-color: #000;
  padding: 1.5rem 0;
}

.header .container {
  display: flex;
  justify-content: center;
}

.logo {
  text-align: center;
}

.logo-sports,
.logo-illustrated {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.logo-illustrated {
  margin-top: -0.25rem;
}

.logo-resorts {
  color: white;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
}

/* Hero Section (Full-bleed + responsive) */
/* =========================
   HERO SECTION (FINAL)
   ========================= */

.hero {
  /* Full-bleed breakout (safe) */
  position: relative;
  /* left: 50%; */
  /* right: 50%; */
  /* margin-left: -50vw; */
  /* margin-right: -50vw; */
  max-width: 1440px;

  /* Image behavior */
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain; /* KEY: prevents cropping */

  /* Fallback fill */
  background-color: #000;
  margin: 0px auto;
}

/* -------------------------
   MOBILE HERO
   ------------------------- */
@media (max-width: 500px) {
  .hero {
    background-image: url("https://47115785.fs1.hubspotusercontent-na1.net/hubfs/47115785/hero%20(1)-1.png");

    /* Match mobile design ratio */
    aspect-ratio: 9 / 6;

    /* Let ratio control height */
    min-height: unset;
  }
}

/* -------------------------
   DESKTOP / TABLET HERO
   ------------------------- */
@media (min-width: 501px) {
  .hero {
    background-image: url("https://47115785.fs1.hubspotusercontent-na1.net/hubfs/47115785/hero%20and%20form%20(1).png");

    /* Match desktop design ratio */
    aspect-ratio: 16 / 7;

    min-height: unset;
  }
}

/* Torn Paper (kept as-is) */
.torn-paper-container {
  position: relative;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 3rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.torn-top,
.torn-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
}

.torn-top {
  top: -0.5rem;
  clip-path: polygon(
    0 0,
    5% 100%,
    10% 0,
    15% 100%,
    20% 0,
    25% 100%,
    30% 0,
    35% 100%,
    40% 0,
    45% 100%,
    50% 0,
    55% 100%,
    60% 0,
    65% 100%,
    70% 0,
    75% 100%,
    80% 0,
    85% 100%,
    90% 0,
    95% 100%,
    100% 0
  );
}

.torn-bottom {
  bottom: -0.5rem;
  clip-path: polygon(
    0 100%,
    5% 0,
    10% 100%,
    15% 0,
    20% 100%,
    25% 0,
    30% 100%,
    35% 0,
    40% 100%,
    45% 0,
    50% 100%,
    55% 0,
    60% 100%,
    65% 0,
    70% 100%,
    75% 0,
    80% 100%,
    85% 0,
    90% 100%,
    95% 0,
    100% 100%
  );
}

/* Hero Typography (Responsive) */
.hero-logo {
  margin-bottom: 1.5rem;
}

.hero-logo .logo-sports,
.hero-logo .logo-illustrated {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-logo .logo-illustrated {
  margin-top: -0.25rem;
}

.hero-logo .logo-resorts {
  color: #111827;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #dc2626;
  line-height: 1;
}

/* Cutouts */
.cutout {
  position: absolute;
  background-color: rgba(55, 65, 81, 0.5);
  display: none;
}

.cutout-1 {
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 4px solid #dc2626;
}

.cutout-2 {
  top: 5rem;
  right: 2.5rem;
  width: 10rem;
  height: 10rem;
  border-radius: 0.5rem;
  border: 4px solid white;
}

.cutout-3 {
  bottom: 5rem;
  left: 5rem;
  width: 9rem;
  height: 9rem;
  border-radius: 0.5rem;
  border: 4px solid #dc2626;
}

.cutout-4 {
  bottom: 2.5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 4px solid white;
}

/* Form Section */
.form-section {
  padding: 2rem 0;
  background-color: white;
}

/* Added thank you message styles */
.thank-you-message {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  padding: -1rem 2rem;
}

.thank-you-eyebrow {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.thank-you-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.thank-you-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: #111827;
  line-height: 1.75;
}

.highlight-red {
  color: #dc2626;
  font-weight: 600;
}

/* Added form header styles for title section above the form */
.form-header {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 2rem 1rem 2rem;
}

.form-header .form-eyebrow {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-header .form-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.form-header .form-subtitle {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 2rem;
}

.success-message {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 0;
}

.success-title {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.success-text {
  font-size: 1.25rem;
  color: #111827;
}

.entry-form-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem;
}

.multi-field-form {
  width: 100%;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.full-width {
  grid-template-columns: 1fr;
}

.form-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1.25rem;
  font-size: 1rem;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  border: 3px solid #dc2626;
  border-radius: 0.5rem;
  outline: none;
  background-color: white;
  color: #111827;
}

.form-input::placeholder {
  color: #6b7280;
}

.form-input:focus {
  outline: none;
  border-color: #b91c1c;
}

select.form-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.entry-form-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: start;
}

.form-eyebrow {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.form-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: #111827;
  line-height: 1.2;
}

.form-description {
  color: #374151;
  font-size: 1.125rem;
  line-height: 1.75;
}

.phone-input {
  width: 100%;
  height: 4rem;
  padding: 0 1.5rem;
  font-size: 1.125rem;
  border: 3px solid #dc2626;
  border-radius: 0.5rem;
  outline: none;
}

.phone-input:focus {
  outline: none;
}

.consent-container {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.consent-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #374151;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.25rem;
  appearance: none;
  position: relative;
}

.consent-checkbox:checked {
  background-color: white;
  border-color: #dc2626;
}

.consent-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent-label {
  font-size: 0.65rem;
  color: #111827;
  line-height: 1.75;
  cursor: pointer;
}

.submit-button {
  width: 100%;
  height: 4rem;
  font-size: 1.25rem;
  font-weight: bold;
  background-color: #dc2626;
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 1.5rem;
  letter-spacing: 0.05em;
}

.submit-button:hover:not(:disabled) {
  background-color: #b91c1c;
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Events Section */
.events-section {
  padding: 5rem 0;
  background-color: #000;
  color: white;
  position: relative;
  overflow: hidden;
}

.diagonal-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, white 10px, white 12px);
  opacity: 0.1;
}

.events-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.event-eyebrow {
  color: #dc2626;
  font-weight: bold;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.event-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.event-description {
  color: #d1d5db;
  line-height: 1.75;
}

@media (min-width: 500px) {

.divider {
  max-width: 80rem;
  margin: 3rem auto;
  height: 2px;
  background-color: white;
  position: relative;
  z-index: 10;
}}

@media (max-width: 500px) {
  .divider {
     max-width: 80rem;
  margin: 1rem auto;
    background-color:none;
  height: 2px;
  position: relative;
  z-index: 10;
  }
}

/* Brand Section */
.brand-section {
  display: grid;
}

.brand-image {
  background-image: url("https://47115785.fs1.hubspotusercontent-na1.net/hubfs/47115785/sir-lifestyle-stock-g683446637-edited%201.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;

  /* Keeps the block consistent across screen sizes */
  aspect-ratio: 919 / 612;
}

.brand-content {
  background-color: #dc2626;
  color: white;
  padding: 3rem;
  display: flex;
  align-items: center;
  background-image: url("https://47115785.fs1.hubspotusercontent-na1.net/hubfs/47115785/dots.png");
  background-repeat: repeat;
}

.brand-eyebrow {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  /* margin-bottom: 1rem; */
}

.brand-title {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.brand-description {
  font-size: 1.7rem;
  line-height: 1.75;
}

/* Footer */
.footer {
  background-color: #000;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
  color: white;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #dc2626;
}

.separator {
  color: white;
}

.footer-legal {
  font-size: 0.75rem;
  color: white;
  line-height: 1.75;
}

.footer-legal p {
  margin-bottom: 1rem;
}

.footer-legal p:last-child {
  padding-top: 1rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .entry-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Added responsive 3-column grid for form fields */
  .form-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .brand-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand-content {
    padding: 3rem;
  }

  .cutout {
    display: block;
  }
}
/* Headings / Titles use Industry */
h1,
h2,
h3,
h4,
.hero-title,
.hero-subtitle,
.success-title,
.form-title,
.event-title,
.brand-eyebrow,
.brand-title,
.form-eyebrow,
.event-eyebrow,
.thank-you-eyebrow,
.thank-you-title {
  font-family: "industry", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
