/* ==========================================================================
   B2B Wellness Digital Agency Landing Page - Apple Style Glassmorphic CSS
   ========================================================================== */

/* Apple-style typography stack font import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Basic Page Settings */
html {
  scroll-behavior: smooth;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background-color: #050806; /* Deep dark forest background */
  color: #eff3ef; /* High contrast off-white text */
  overflow-x: hidden;
}

/* Custom Minimalist Dark Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050806;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

h1, h2, h3, h4, button, select, input, textarea {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

/* ==========================================================================
   Lüks Glassmorphism Classes (Buzlu Cam)
   ========================================================================== */
.glass-nav {
  background: rgba(5, 8, 6, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.3);
}

.glass-card-hover {
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transform: translateY(-4px) scale(1.005);
  box-shadow: 
    0 30px 60px 0 rgba(0, 0, 0, 0.4),
    0 0 40px 0 rgba(0, 255, 136, 0.1); /* Growth Green outer ambient glow */
}

/* Glassmorphic Form Fields */
.glass-input {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-input:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 255, 136, 0.35);
  box-shadow: 0 0 15px 0 rgba(0, 255, 136, 0.08);
}

/* Glassmorphic Buttons */
.glass-btn-active {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  box-shadow: 0 8px 20px 0 rgba(0, 255, 136, 0.05);
}
.glass-btn-inactive {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.3s ease;
}
.glass-btn-inactive:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* ==========================================================================
   Background Glow Circles & Ambient Lighting
   ========================================================================== */
.glow-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: ambientFloat 25s infinite ease-in-out alternate;
  z-index: 0;
}
.glow-1 {
  background: radial-gradient(circle, #00ff88 0%, transparent 70%);
  width: 550px;
  height: 550px;
  top: 5%;
  left: -15%;
  animation-delay: 0s;
}
.glow-2 {
  background: radial-gradient(circle, #056637 0%, transparent 70%);
  width: 500px;
  height: 500px;
  bottom: 15%;
  right: -10%;
  animation-delay: -6s;
}
.glow-3 {
  background: radial-gradient(circle, #22c55e 0%, transparent 70%);
  width: 450px;
  height: 450px;
  top: 40%;
  left: 35%;
  animation-delay: -12s;
}

@keyframes ambientFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(45px, -65px) scale(1.15);
  }
  100% {
    transform: translate(-35px, 35px) scale(0.9);
  }
}

/* ==========================================================================
   Laptop Mockup Styling (CSS Bezels & Screens)
   ========================================================================== */
.laptop-mockup {
  position: relative;
  background: #111613;
  border: 12px solid #1a221d;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.laptop-keyboard-base {
  position: relative;
  height: 12px;
  background: #232d27;
  border-radius: 0 0 12px 12px;
  border-bottom: 3px solid #2f3c34;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 6px;
  background: #1a221d;
  border-radius: 0 0 6px 6px;
  z-index: 10;
}

/* ==========================================================================
   Web Showroom Card CSS Effects & Dynamic Loading Animation
   ========================================================================== */
.shimmer-bg {
  background: linear-gradient(90deg, rgba(255,255,255,0.01) 25%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.01) 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.8s infinite ease-in-out;
}

@keyframes loadingShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.showroom-card {
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Showroom Image Scroll on Hover */
.showroom-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
}
@media (min-width: 640px) {
  .showroom-img-container {
    height: 280px;
  }
}
.showroom-scroll-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  transition: transform 6s cubic-bezier(0.2, 0, 0.2, 1);
}
.showroom-card:hover .showroom-scroll-img {
  transform: translateY(calc(-100% + 220px));
}
@media (min-width: 640px) {
  .showroom-card:hover .showroom-scroll-img {
    transform: translateY(calc(-100% + 280px));
  }
}

/* Hide Swiper Navigation on Mobile to prevent overflow/layout shifts */
@media (max-width: 640px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}

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

/* ==========================================================================
   Apple-Style Tilted Marquee with Cinematic Faded Edge Overlays
   ========================================================================== */
.marquee-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.tilted-marquee-container {
  position: relative;
  /* Tilting the inner content container at exactly -2 degrees */
  transform: rotate(-2deg) scale(1.1);
  overflow: hidden;
  padding: 5rem 0;
  z-index: 10;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Loop cleanly by scrolling exactly half the duplicated content width */
    transform: translateX(-50%);
  }
}

/* Hover pauses the loop animation */
.marquee-track:hover {
  animation-play-state: paused;
}

/* Cinematic horizontal overlay gradients */
.marquee-fade-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  pointer-events: none;
  z-index: 20;
}
.marquee-fade-left {
  left: 0;
  background: linear-gradient(to right, #050806 0%, rgba(5, 8, 6, 0.5) 55%, rgba(5, 8, 6, 0) 100%);
}
.marquee-fade-right {
  right: 0;
  background: linear-gradient(to left, #050806 0%, rgba(5, 8, 6, 0.5) 55%, rgba(5, 8, 6, 0) 100%);
}

/* ==========================================================================
   Swiper.js Custom Styling Overrides (Growth Green Accents)
   ========================================================================== */
.swiper-button-prev,
.swiper-button-next {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 20;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 255, 136, 0.4);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 15px !important;
  font-weight: bold;
}
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.15) !important;
  opacity: 1 !important;
  width: 8px !important;
  height: 8px !important;
  transition: all 0.3s ease !important;
}
.swiper-pagination-bullet-active {
  background: #00ff88 !important; /* Growth green bullets */
  width: 24px !important;
  border-radius: 9999px !important;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* Fade Scale Animation for Carousel Card Dynamic Render */
@keyframes fadeScaleIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-scale {
  animation: fadeScaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
