/* ==========================================================================
   Werken Landing Page - Dark Mode with Animated Gradient
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
}

/* Animated Gradient Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(
    135deg,
    #0a0a0a 0%,
    #1a1a2e 20%,
    #16213e 40%,
    #0f3460 60%,
    #16213e 80%,
    #1a1a2e 100%
  );
  background-size: 600% 600%;
  animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Subtle overlay for depth */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(15, 52, 96, 0.2) 0%,
    rgba(10, 10, 10, 0.8) 100%
  );
  pointer-events: none;
}

/* ==========================================================================
   Main Landing Container
   ========================================================================== */

.landing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.content-wrapper {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  z-index: 1;
}

/* ==========================================================================
   Logo Section
   ========================================================================== */

.logo-container {
  animation: fadeInDown 1s ease-out;
}

.logo-img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
}

/* ==========================================================================
   Slogan Section
   ========================================================================== */

.slogan {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */

.cta-container {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::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;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
  background: linear-gradient(135deg, #5a9ff2 0%, #458bcd 100%);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

/* ==========================================================================
   Availability Indicator
   ========================================================================== */

.availability-indicator {
  animation: fadeInUp 1s ease-out 0.6s both;
}

.availability-content {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 1rem;
  color: #e0e0e0;
  transition: all 0.3s ease;
}

.availability-content:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.availability-icon {
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.spaces-number {
  font-weight: 700;
  color: #4a90e2;
  font-size: 1.25rem;
  display: inline-block;
  min-width: 1.5rem;
  transition: all 0.3s ease;
}

.availability-text {
  font-weight: 500;
}

/* ==========================================================================
   Clients Marquee Section
   ========================================================================== */

.clients-section {
  margin-top: 4rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.clients-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(
    to right, 
    rgba(10, 10, 10, 1) 0%, 
    rgba(26, 26, 46, 0.8) 30%,
    rgba(22, 33, 62, 0.5) 60%,
    transparent 100%
  );
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(
    to left, 
    rgba(10, 10, 10, 1) 0%, 
    rgba(26, 26, 46, 0.8) 30%,
    rgba(22, 33, 62, 0.5) 60%,
    transparent 100%
  );
}

.marquee {
  display: flex;
  width: fit-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

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

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.client-logo {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .landing-container {
    padding: 1.5rem;
  }

  .logo-img {
    max-width: 150px;
  }

  .slogan {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .availability-content {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    flex-direction: column;
    text-align: center;
  }

  .clients-section {
    margin-top: 3rem;
  }

  .marquee-content {
    gap: 2rem;
  }

  .client-logo {
    height: 40px;
    max-width: 120px;
  }

  .marquee-container::before,
  .marquee-container::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 120px;
  }

  .slogan {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 0.75rem 1.75rem;
    font-size: 0.938rem;
  }

  .availability-content {
    padding: 0.75rem 1.25rem;
    font-size: 0.813rem;
  }

  .client-logo {
    height: 35px;
    max-width: 100px;
  }
}

/* ==========================================================================
   Selection Styles
   ========================================================================== */

::-moz-selection {
  background: rgba(74, 144, 226, 0.5);
  color: #ffffff;
  text-shadow: none;
}

::selection {
  background: rgba(74, 144, 226, 0.5);
  color: #ffffff;
  text-shadow: none;
}

/* ==========================================================================
   Scrollbar Styles
   ========================================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: rgba(74, 144, 226, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 144, 226, 0.7);
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

a:focus,
button:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 4px;
}

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