/* ========================================
   CONTACT PAGE STYLES - Using Design Tokens
   ======================================== */

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, #0a2a42 100%);
  color: var(--color-white);
  padding: var(--section-padding-lg) 0 var(--section-padding-md);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  width: 100%;
  margin: 0;
}

.hero-section .container {
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.second-home-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.second-home-text-holder {
  text-align: center;
}

.hero-section h1 {
  font-size: var(--font-size-h1);
  color: var(--color-cream);
  font-family: var(--font-heading);
  margin: 0 0 var(--space-md) 0;
  font-weight: var(--font-weight-normal);
}

.second-home-description {
  font-size: var(--font-size-lg);
  max-width: 700px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
  opacity: 0.95;
}

/* ========================================
   BOOKING WIDGET
   ======================================== */
.booking-widget-container {
  padding: var(--section-padding-md) var(--space-md) var(--section-padding-sm);
  text-align: center;
  background: var(--color-background-secondary);
}

.booking-widget-container h2 {
  font-size: var(--font-size-h2);
  font-family: var(--font-heading);
  margin: 0 0 var(--space-md) 0;
  color: var(--color-navy);
  font-weight: var(--font-weight-semibold);
}

/* TidyCal Embed Wrapper */
.tidycal-embed-wrapper {
  width: 100%;
  max-width: 1600px;
  margin: var(--space-xl) auto;
  padding: 0 var(--space-md);
}

.tidycal-embed {
  width: 100%;
  min-height: 800px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.tidycal-embed iframe {
  width: 100% !important;
  min-height: 800px !important;
  border: none !important;
  border-radius: var(--radius-lg);
}

.booking-iframe {
  width: 100%;
  max-width: 900px;
  height: 600px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-md) auto;
  display: block;
}

/* ========================================
   CLUTCH WIDGET
   ======================================== */
.clutch-widget {
  margin: var(--space-md) auto;
}

hr.dashed {
  border: none;
  border-top: var(--border-width-medium) dashed var(--color-border-medium);
  margin: var(--space-2xl) 0;
}

/* ========================================
   FORM SECTION
   ======================================== */
.section {
  padding: var(--section-padding-sm) var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

#custom-form-container {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

/* ========================================
   MULTI-STEP FORM
   ======================================== */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  font-family: var(--font-heading);
  font-size: var(--font-size-h3);
  margin: 0 0 var(--space-xl) 0;
  text-align: center;
}

.form-step input,
.form-step select,
.form-step textarea {
  width: 100%;
  padding: var(--space-sm);
  margin-bottom: var(--space-md);
  border: var(--border-light);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  transition: var(--transition-colors);
}

.form-step input:focus,
.form-step select:focus,
.form-step textarea:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(4, 45, 77, 0.1);
}

.form-step textarea {
  min-height: 150px;
  resize: vertical;
}

.form-step button {
  background: var(--button-primary-bg);
  color: var(--button-primary-text);
  padding: var(--button-padding-md);
  border: none;
  border-radius: var(--button-radius);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: var(--transition-all);
}

.form-step button:hover {
  background: var(--button-primary-bg-hover);
  transform: translateY(-2px);
}

.nav-buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: space-between;
  margin-top: var(--space-md);
}

.nav-buttons button {
  flex: 1;
}

.paragraph-46 {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: var(--line-height-normal);
  margin: var(--space-sm) 0;
}

.paragraph-46 a {
  color: var(--color-navy);
  text-decoration: underline;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  
  .animation-5-text-line {
    font-size: var(--font-size-lg);
  }
  
  .tidycal-embed {
    min-height: 500px;
  }
  
  .tidycal-embed iframe {
    min-height: 500px !important;
  }
  
  .booking-iframe {
    height: 500px;
  }
  
  #custom-form-container {
    padding: var(--space-lg) var(--space-md);
  }
  
  .form-step h3 {
    font-size: var(--font-size-h4);
  }
  
  .nav-buttons {
    flex-direction: column;
  }
  
  .nav-buttons button {
    width: 100%;
  }
}
