/**
 * Hero Fullscreen Section Styles
 * 
 * @package TablyClub
 */

/* ===== HERO FULLSCREEN ===== */
.tc-hero-fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* Small viewport height - Android fix */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

/* Android specific fix */
@supports (-webkit-touch-callout: none) {
  .tc-hero-fullscreen {
    min-height: -webkit-fill-available;
  }
}

/* Background */
.tc-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tc-hero-bg__image,
.tc-hero-bg__gradient,
.tc-hero-bg__solid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.tc-hero-bg__image {
  background-size: cover;
  background-position: center;
  animation: kenburns 20s ease-in-out infinite alternate;
  filter: sepia(0.1) contrast(1.05) saturate(0.85) brightness(0.98);
}

@keyframes kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

/* Floating Elements */
.tc-hero-floaters {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tc-floater {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: float 24s ease-in-out infinite;
}

.tc-floater-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -100px;
  animation-delay: 0s;
}

.tc-floater-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -50px;
  animation-delay: -7s;
}

.tc-floater-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -50px) rotate(90deg); }
  50% { transform: translate(-20px, -30px) rotate(180deg); }
  75% { transform: translate(40px, 20px) rotate(270deg); }
}

/* Content */
.tc-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tc-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Badge */
.tc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.tc-badge-icon {
  font-size: 18px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

/* Title */
.tc-hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 30px;
  text-shadow: none;
}

.tc-text-highlight {
  color: var(--tc-color-3);
}

.tc-text-italic {
  font-style: italic;
  position: relative;
}

/* Subtitle */
.tc-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  line-height: 1.6;
  margin: 0 0 40px;
  opacity: 0.9;
}

/* CTAs */
.tc-hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.tc-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.tc-hero-btn--primary {
  background: var(--tc-color-3);
  color: var(--tc-color-2);
  font-weight: 600;
}

.tc-hero-btn--primary:hover {
  background: var(--tc-color-2);
  color: var(--tc-color-1);
  transform: translateY(-3px);
  box-shadow: 0 6px 30px rgba(244, 168, 159, 0.4);
}

.tc-hero-btn--secondary {
  background: transparent;
  color: var(--tc-color-2);
  border: 1.5px solid var(--tc-color-2);
}

.tc-hero-btn--secondary:hover {
  background: var(--tc-color-2);
  color: var(--tc-color-1);
  transform: translateY(-1px);
  box-shadow: none;
}

.tc-btn-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.tc-hero-btn--primary:hover .tc-btn-icon {
  transform: translateX(5px);
}

/* Social Proof */
.tc-hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 14px;
  opacity: 0.8;
}

.tc-proof-stars {
  color: var(--tc-color-3);
}

.tc-proof-divider {
  opacity: 0.3;
}

/* Scroll Down Hint (Below buttons, no overlay) */
.tc-scroll-down-hint {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: currentColor;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.tc-scroll-down-hint:hover {
  opacity: 1;
}

.tc-scroll-arrow {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tc-bounce 2s infinite;
}

.tc-scroll-hint-text {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

@keyframes tc-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

/* Old scroll indicator removed - replaced with tc-scroll-down-hint */

/* Mobile Optimizations */
@media (max-width: 768px) {
  .tc-hero-fullscreen {
    min-height: 100vh;
    min-height: 100svh; /* Small viewport height for Android */
  }

  .tc-hero-content {
    padding: 60px 20px;
    min-height: 100vh;
    min-height: 100svh; /* Small viewport height for Android */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .tc-hero-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .tc-hero-badge {
    font-size: 11px;
    padding: 6px 14px;
    margin-bottom: 20px;
    white-space: nowrap;
  }

  /* BIGGER title on mobile */
  .tc-hero-title {
    font-size: clamp(2.75rem, 11vw, 4.5rem) !important;
    margin-bottom: 20px;
    text-align: center;
  }

  /* BIGGER subtitle on mobile */
  .tc-hero-subtitle {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
    margin-bottom: 30px;
    padding: 0 10px;
    text-align: center;
    line-height: 1.5;
  }

  .tc-hero-actions {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
  }

  /* SMALLER buttons on mobile */
  .tc-hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 12px 24px !important;
    font-size: 15px !important;
  }

  .tc-floater {
    opacity: 0.03;
  }

  .tc-scroll-indicator {
    bottom: 20px;
  }
  
  .tc-scroll-down-hint {
    margin-top: 30px;
  }
  
  .tc-scroll-arrow {
    width: 28px;
    height: 28px;
  }
  
  .tc-scroll-hint-text {
    font-size: 11px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .tc-hero-content {
    padding: 40px 15px;
    min-height: 100vh;
    min-height: 100svh;
  }

  .tc-hero-badge {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 15px;
  }

  /* BIGGER title on extra small mobile */
  .tc-hero-title {
    font-size: clamp(2.25rem, 9vw, 3.5rem) !important;
    margin-bottom: 15px;
  }

  /* BIGGER subtitle on extra small mobile */
  .tc-hero-subtitle {
    font-size: clamp(1.125rem, 4.5vw, 1.5rem) !important;
    margin-bottom: 20px;
  }

  .tc-hero-actions {
    margin-bottom: 0;
  }

  .tc-hero-proof {
    flex-direction: column;
    gap: 8px;
  }

  .tc-proof-divider {
    display: none;
  }
}