/* Forces Gross - Enhanced Professional Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  color: #1e293b;
}

/* Enhanced Navigation */
.glass-morphism {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-icon {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

#navbar {
  background: transparent;
  backdrop-filter: none;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .nav-link {
  color: #64748b !important;
}

#navbar.scrolled .nav-link:hover {
  color: #2563eb !important;
}

#navbar.scrolled .text-primary {
  color: #2563eb !important;
}

#navbar.scrolled #login-btn {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: white;
  border: none;
}

#navbar.scrolled #mobile-menu-btn {
  color: #64748b !important;
}

/* ===== RESPONSIVE DESIGN IMPROVEMENTS ===== */

/* Mobile First Approach */
@media (max-width: 768px) {
  /* Navigation Mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    min-height: 70vh;
    padding-top: 2rem;
  }

  .hero-section h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  .hero-section p {
    font-size: 1.125rem !important;
    margin-bottom: 2rem !important;
  }

  /* Grid Layouts Mobile */
  .grid-cols-1 {
    grid-template-columns: 1fr;
  }

  .grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards Mobile */
  .listing-card {
    margin-bottom: 1.5rem;
  }

  .listing-card .grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Forms Mobile */
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Buttons Mobile */
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-mobile {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Search Form Mobile */
  .search-form {
    padding: 1.5rem !important;
    border-radius: 1rem !important;
  }

  .search-form .grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Extra Small Screens */
  .hero-section h1 {
    font-size: 2rem !important;
  }

  .hero-section p {
    font-size: 1rem !important;
  }

  .px-4 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Card Adjustments */
  .card-mobile {
    padding: 1rem !important;
    margin: 0.5rem 0 !important;
  }

  .text-mobile {
    font-size: 0.875rem !important;
  }

  /* Navigation Mobile */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-content {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin: 1rem;
    width: 100%;
    max-width: 400px;
  }
}

/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section h1 {
    font-size: 3.5rem !important;
  }

  .grid-cols-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-cols-md-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Large Screens */
@media (min-width: 1024px) {
  .hero-section {
    min-height: 100vh;
  }

  .container-xl {
    max-width: 1280px;
  }
}

/* Touch Device Improvements */
@media (hover: none) and (pointer: coarse) {
  /* Touch-friendly buttons */
  .btn,
  button,
  .touch-target {
    min-height: 44px;
    min-width: 44px;
    padding: 0.75rem 1.5rem;
  }

  /* Larger tap targets */
  .nav-link {
    padding: 1rem !important;
  }

  .card-link {
    padding: 1rem;
  }

  /* Remove hover effects on touch devices */
  .hover\:scale-105:hover {
    transform: none;
  }

  .hover\:shadow-xl:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }

  .print-block {
    display: block !important;
  }

  nav,
  footer,
  .mobile-menu {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .container {
    max-width: none;
    padding: 0;
  }
}

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

/* Dark Mode Support (Future) */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
  }
}

/* Hero Section with Slider */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.slide-overlay {
  position: absolute;
  inset: 0;
}

/* Hero Content Animations */
.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title-main {
  animation: slideInLeft 0.8s ease-out;
}

.hero-title-accent {
  animation: slideInDown 0.8s ease-out 0.2s both;
}

.hero-title-highlight {
  animation: slideInRight 0.8s ease-out 0.4s both;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slider Controls */
.slider-dot {
  transition: all 0.3s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: white;
  transform: scale(1.3);
}

.slider-dot:hover {
  transform: scale(1.2);
}

/* Enhanced Category Slider */
.category-slider {
  position: relative;
  padding: 0 2rem;
}

.category-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 2rem 0;
}

.category-card {
  flex: 0 0 auto;
  user-select: none;
}

.category-item {
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  overflow: hidden;
}

.category-item:hover {
  transform: scale(1.08) translateY(-16px);
  box-shadow: 0 40px 80px rgba(37, 99, 235, 0.2);
}

/* Enhanced Listing Cards */
.listing-card {
  transform: scale(1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.listing-card:hover {
  transform: scale(1.05) translateY(-12px);
  box-shadow: 0 32px 64px rgba(30, 41, 59, 0.2);
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(255, 255, 255, 0.98);
}

.listing-card img {
  transition: transform 0.5s ease;
}

.listing-card:hover img {
  transform: scale(1.1);
}

/* Enhanced Payment Steps */
.payment-step {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 2rem;
  border-radius: 20px;
  background: white;
  border: 2px solid transparent;
}

.payment-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
  border-color: #e2e8f0;
}

.payment-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #e2e8f0, transparent);
  transform: translateY(-50%);
  z-index: -1;
}

.payment-step:last-child::before {
  display: none;
}

@media (max-width: 768px) {
  .payment-step::before {
    display: none;
  }
}

/* Enhanced Partners Slider */
.partners-slider {
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 10%,
    white 90%,
    transparent
  );
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-scroll {
  animation: scroll 25s linear infinite;
}

.animate-scroll:hover {
  animation-play-state: paused;
}

/* Enhanced Button Styles */
.btn-gradient {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

/* Video Modal Enhancements */
#video-modal {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.8);
}

.pb-9\/16 {
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

/* Enhanced Search Form */
.search-form {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Floating Elements */
.floating {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Enhanced Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Enhanced Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  transition: right 0.4s ease;
  z-index: 100;
}

.mobile-menu.active {
  right: 0;
}

/* Section Transitions */
section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(226, 232, 240, 0.5),
    transparent
  );
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.125rem;
  }

  .category-track {
    gap: 1rem;
  }

  .category-card {
    min-width: 280px;
  }

  .listing-card {
    margin-bottom: 1.5rem;
  }

  .payment-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .search-form {
    padding: 1.5rem;
  }

  .category-card {
    min-width: 250px;
  }

  .listing-card {
    border-radius: 20px;
  }
}

/* Print Styles */
@media print {
  .fixed,
  .sticky,
  nav,
  footer,
  .play-btn,
  .partners-slider,
  .slider-dot {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .listing-card,
  .category-item,
  .payment-step {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e2e8f0;
  }
}

/* Enhanced Transitions for Better UX */
* {
  transition: color 0.3s ease, background-color 0.3s ease,
    border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease;
}

/* Focus States for Accessibility */
button:focus,
input:focus,
select:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Enhanced Hero Gradient Overlays */
.slide[data-bg="1"] .slide-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
}

.slide[data-bg="2"] .slide-bg {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.slide[data-bg="3"] .slide-bg {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #059669 100%);
}
