/* Flight PA Landing Page - Custom Styles */

/* Ensure Urbanist font is used throughout */
html,
body {
  font-family: 'Urbanist', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
.text-h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.21;
}

.text-h2 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.27;
}

.text-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

/* Brand Color Classes */
.bg-flight-blue {
  background-color: #07269B;
}

.bg-flight-dark {
  background-color: #04153F;
}

.bg-flight-orange {
  background-color: #FF7139;
}

.bg-flight-grey {
  background-color: #D1D1D1;
}

.bg-flight-notwhite {
  background-color: #F4F4F4;
}

.text-flight-blue {
  color: #07269B;
}

.text-flight-dark {
  color: #04153F;
}

.text-flight-orange {
  color: #FF7139;
}

.text-flight-grey {
  color: #D1D1D1;
}

.border-flight-blue {
  border-color: #07269B;
}

.border-flight-orange {
  border-color: #FF7139;
}

.border-flight-grey {
  border-color: #D1D1D1;
}

/* Button Styles */
button,
input[type="submit"] {
  font-family: 'Urbanist', sans-serif;
}

.btn-primary {
  background-color: #FF7139;
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Urbanist', sans-serif;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #e55a1f;
  box-shadow: 0 10px 25px rgba(255, 113, 57, 0.2);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Form Styles - Email Input */
input[type="email"] {
  font-family: 'Urbanist', sans-serif;
}

input[type="email"]::placeholder {
  color: #D1D1D1;
  opacity: 0.8;
}

input[type="email"]:focus {
  border-color: #07269B;
  box-shadow: 0 0 0 3px rgba(7, 38, 155, 0.1);
}

/* MailerLite Form Customization */
.ml-form-embedContainer {
  width: 100%;
}

.ml-form-embed {
  width: 100%;
}

.ml-form-embedWrapper .ml-form-align-left {
  text-align: left;
}

.ml-form-embedWrapper .ml-form-align-center {
  text-align: center;
}

.ml-form-embedWrapper input[type="email"] {
  padding: 12px 16px;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  color: #04153F;
  transition: all 0.3s ease;
}

.ml-form-embedWrapper input[type="email"]:focus {
  outline: none;
  border-color: #07269B;
  box-shadow: 0 0 0 3px rgba(7, 38, 155, 0.1);
}

.ml-form-embedWrapper input[type="email"]::placeholder {
  color: #D1D1D1;
}

.ml-form-embedWrapper button {
  background-color: #FF7139;
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ml-form-embedWrapper button:hover {
  background-color: #e55a1f;
  box-shadow: 0 10px 25px rgba(255, 113, 57, 0.2);
}

.ml-form-embedWrapper button:active {
  transform: scale(0.98);
}

/* Fallback form styling (if MailerLite doesn't load) */
form input[type="email"],
form input[type="text"] {
  font-family: 'Urbanist', sans-serif;
  border: 1px solid #D1D1D1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 16px;
  color: #04153F;
  transition: all 0.3s ease;
}

form input[type="email"]:focus,
form input[type="text"]:focus {
  outline: none;
  border-color: #07269B;
  box-shadow: 0 0 0 3px rgba(7, 38, 155, 0.1);
}

form input[type="email"]::placeholder,
form input[type="text"]::placeholder {
  color: #D1D1D1;
}

form button {
  background-color: #FF7139;
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Urbanist', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: #e55a1f;
  box-shadow: 0 10px 25px rgba(255, 113, 57, 0.2);
}

form button:active {
  transform: scale(0.98);
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Responsive Typography */
@media (max-width: 640px) {
  .text-h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .text-h2 {
    font-size: 20px;
    line-height: 1.3;
  }

  .text-body {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  body {
    color: #04153F;
    background: white;
  }

  a {
    text-decoration: underline;
  }

  button,
  form {
    display: none;
  }
}
