/*
 Theme Name: FX Child (Optimum)
 Theme URI: https://www.optimumscr.com
 Template: fx
 Description: Child theme for OptimumSCR custom page templates
 Version: 2.0.0
 Author: Optimum SCR
*/

/* Child theme styles - append custom overrides below */

/* ------------------------------------------------------------------
   Homepage Hero + Logo Slider (migrated from WP Customizer "Additional CSS")
   Why: some cached variants were missing <style id="wp-custom-css">, causing
   the hero/form/logo layout to collapse into unstyled content.
------------------------------------------------------------------ */

/* Hero Section Styles */
.hero-section {
  display: flex;
  min-height: 600px;
  margin: 0;
  padding: 0;
  margin-top: 150px; /* keep hero below fixed header on desktop */
  padding-top: 20px;
}

.hero-left {
  flex: 0 0 65%;
  background-color: #1a365d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 80px;
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  color: #fff;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 40px 0;
  line-height: 1.2;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 0 0 60px 0;
  line-height: 1.6;
  color: #fff;
  opacity: 0.95;
}

.cta-button {
  background-color: #2c5aa0;
  color: #fff;
  padding: 20px 40px;
  border: none;
  border-radius: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 30px;
}

.cta-button:hover {
  background-color: #1e3a5f;
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
}

.hero-right {
  flex: 0 0 35%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
}

.form-container {
  width: 100%;
  max-width: 400px;
}

.form-title {
  color: #1a365d;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
}

/* Logo Slider Section */
.logo-slider-section {
  padding: 60px 0;
  background-color: #fff;
}

.logo-slider-header {
  text-align: center;
  margin-bottom: 40px;
}

.logo-slider-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a365d;
  margin: 0;
  padding: 0;
}

.logo-slider {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 40px;
  padding: 20px 0;
  width: 100%;
}

.logo-slider-container {
  display: flex;
  gap: 40px;
  animation: scroll 40s linear infinite;
  width: max-content;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slider:hover .logo-slider-container {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  min-width: 150px;
  max-width: 200px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-section { flex-direction: column; }
  .hero-left, .hero-right { flex: 1; min-height: 400px; }
  .hero-left { padding: 60px 40px; }
  .hero-right { padding: 30px 20px; }
  .hero-headline { font-size: 2.2rem; margin-bottom: 25px; }
  .hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; }
}

@media (max-width: 768px) {
  .hero-left { padding: 40px 30px; }
  .hero-right { padding: 20px 15px; }
  .hero-headline { font-size: 2rem; margin-bottom: 20px; }
  .hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; }
  .logo-slider-header { margin-bottom: 30px; }
  .logo-slider-title { font-size: 1.3rem; }
  .logo-slider-container { gap: 20px; }
  .logo-item { min-width: 120px; max-width: 150px; }
}

@media (max-width: 480px) {
  .hero-left { padding: 20px 15px; }
  .hero-right { padding: 15px 10px; }
  .hero-headline { font-size: 1.5rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .cta-button { padding: 12px 20px; font-size: 0.9rem; }
}