/* Home Hero Overlay Pattern Styles */

.fy-hero-overlay {
  --fy-primary: #b51f47;
  --fy-primary-container: #d73b5e;
  --fy-surface: #fff8f7;
  --fy-on-surface: #26181a;
  --fy-on-surface-variant: #8d7072;
  --fy-surface-variant: #f0e8e6;
  --fy-surface-container-lowest: #fffbfa;
  --fy-outline: #8d7072;
}

.fy-hero-container {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.fy-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.fy-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fy-hero-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(255, 248, 247, 0.95) 0%,
    rgba(255, 248, 247, 0.7) 40%,
    rgba(255, 248, 247, 0) 100%
  );
}

.fy-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .fy-hero-content {
    width: 50%;
    padding: 4rem;
  }
}

.fy-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fy-on-surface);
  margin: 0;
}

@media (max-width: 767px) {
  .fy-hero-title {
    font-size: 1.875rem;
  }
}

.fy-hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--fy-on-surface-variant);
  max-width: 28rem;
  margin: 0;
}

.fy-hero-form-wrapper {
  margin-top: 2rem;
}

.fy-hero-form-card {
  background-color: var(--fy-surface-container-lowest);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--fy-surface-variant);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .fy-hero-form-card {
    flex-direction: row;
    gap: 1rem;
    align-items: flex-end;
  }
}

.fy-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-bottom: 1px solid var(--fy-surface-variant);
  padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .fy-form-field {
    border-bottom: none;
    padding-bottom: 0;
  }

  .fy-form-field--location {
    border-right: 1px solid var(--fy-surface-variant);
    padding-right: 1rem;
  }

  .fy-form-field--date {
    padding-left: 1rem;
  }
}

.fy-form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fy-outline);
  margin: 0;
}

.fy-form-input,
.fy-form-input-placeholder {
  font-size: 1rem;
  color: var(--fy-on-surface);
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
}

.fy-form-input::placeholder,
.fy-form-input-placeholder {
  color: var(--fy-outline);
}

.fy-form-input:focus {
  outline: none;
  box-shadow: none;
}

.fy-hero-cta {
  flex-shrink: 0;
}

.fy-hero-cta .wp-block-button__link {
  background-color: var(--fy-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.fy-hero-cta .wp-block-button__link:hover {
  background-color: var(--fy-primary-container);
  opacity: 0.9;
  transform: translateY(-2px);
}

.fy-hero-cta .wp-block-button__link:active {
  transform: translateY(0);
  opacity: 0.85;
}

@media (max-width: 767px) {
  .fy-hero-form-card {
    max-width: 100%;
  }

  .fy-hero-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}
