/* ================================
   MODERNE INDEX.HTML STYLES
   ================================ */

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero Section - Search */
.hero-search {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 2rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(26,26,26,0.4) 100%);
  z-index: 2;
}

.hero-search-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1000px;
  width: 100%;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-branding {
  margin-bottom: 3.5rem;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

.hero-logo {
  width: 550px;
  max-width: 90%;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-welcome {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 400;
}

.hero-main-title {
  font-size: clamp(2.2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.25;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  margin: 0;
  letter-spacing: -0.5px;
}

/* Search Box */
.search-box {
  background: linear-gradient(135deg, rgba(185, 157, 95, 0.95) 0%, rgba(168, 140, 82, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2rem 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out 0.5s backwards;
  max-width: 900px;
  margin: 0 auto;
}

.search-box-title {
  color: white;
  font-size: clamp(1.4rem, 2.8vw, 1.75rem);
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.search-form {
  width: 100%;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
}

.search-field {
  position: relative;
}

.search-select,
.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  background: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.search-input::placeholder {
  color: #999;
}

.search-select:hover,
.search-input:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.search-select:focus,
.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 157, 95, 0.3);
}

.search-radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  padding: 0;
}

.search-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.search-radio input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 24px;
  height: 24px;
  border: 2px solid white;
  border-radius: 50%;
  background: transparent;
  position: relative;
  transition: all 0.3s;
  flex-shrink: 0;
}

.search-radio input[type="radio"]:checked + .radio-custom {
  background: white;
  border-color: white;
}

.search-radio input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
}

.radio-label {
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.search-button {
  padding: 1.2rem 2rem;
  background: white;
  color: var(--brand);
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  letter-spacing: 1px;
  white-space: nowrap;
  height: 100%;
}

.search-button:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.search-button:active {
  transform: translateY(0);
}

.search-button svg {
  transition: transform 0.3s;
}

.search-button:hover svg {
  transform: scale(1.1);
}

/* Modern Buttons */
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-modern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-modern:hover::before {
  transform: translateX(100%);
}

.btn-modern-primary {
  background: var(--brand);
  color: white;
  box-shadow: 0 10px 30px rgba(185, 157, 95, 0.3);
}

.btn-modern-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(185, 157, 95, 0.4);
}

.btn-modern-primary svg {
  transition: transform 0.3s;
}

.btn-modern-primary:hover svg {
  transform: translateX(5px);
}

.btn-modern-secondary {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: white;
  border: 2px solid rgba(255,255,255,0.2);
}

.btn-modern-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 25px;
  position: relative;
}

.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: scrollDot 2s infinite;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
}

.stat-item {
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
  margin: 0 auto;
}

/* Why Section */
.why-section {
  background: white;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 157, 95, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.section-header-modern {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(185, 157, 95, 0.1);
  border: 1px solid rgba(185, 157, 95, 0.2);
  border-radius: 50px;
  color: var(--brand);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-title-modern {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle-modern {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
}

.section-subtitle-modern strong {
  color: #1a1a1a;
  font-weight: 400;
}

/* Features Grid Modern */
.features-grid-modern {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.feature-card-modern {
  background: transparent;
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.feature-icon-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.feature-icon-bg {
  display: none;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0;
  color: #1a1a1a;
  stroke: #1a1a1a;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s, color 0.3s;
}

.feature-card-modern:hover .feature-icon {
  transform: scale(1.1);
  color: var(--brand);
  stroke: var(--brand);
}

.feature-icon path,
.feature-icon circle,
.feature-icon line,
.feature-icon polyline,
.feature-icon rect {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.feature-description {
  color: #666;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.feature-link {
  display: none;
}

/* CTA Modern */
.cta-modern {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(185, 157, 95, 0.1) 0%, transparent 70%);
  animation: float 20s infinite;
}

.cta-content-modern {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-decoration {
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  margin: 0 auto 3rem;
  border-radius: 2px;
}

.cta-title-modern {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-subtitle-modern {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.btn-modern-cta {
  background: var(--brand);
  color: white;
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  box-shadow: 0 15px 40px rgba(185, 157, 95, 0.3);
}

.btn-modern-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(185, 157, 95, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    top: 10px;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    top: 30px;
  }
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .stat-divider {
    display: none;
  }

  .hero-search {
    padding-bottom: 2rem;
  }

  .hero-branding {
    margin-bottom: 2rem;
  }

  .hero-logo {
    width: 300px;
    max-width: 85%;
  }

  .hero-main-title {
    font-size: 1.85rem;
  }

  .search-box {
    padding: 2rem 1.5rem;
  }

  .search-box-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .search-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .search-radio-group {
    flex-direction: row;
    gap: 2rem;
  }

  .search-button {
    width: 100%;
    padding: 1rem;
  }

  .features-grid-modern {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feature-card-modern {
    padding: 1.5rem;
  }

  .cta-modern {
    padding: 4rem 1.5rem;
  }

  .btn-modern {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
