/* ============================================
   VTN AGENCY — Home Page Styles
   Hero, Marquee, Services Grid, Stats,
   Portfolio Teaser, Testimonials
   ============================================ */

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 40px 80px;
}

/* --- Floating Abstract Shapes --- */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  filter: blur(60px);
}

.hero__shape--1 {
  width: 500px;
  height: 500px;
  background: #fff;
  top: -150px;
  right: -100px;
  animation: float-1 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 350px;
  height: 350px;
  background: var(--accent);
  bottom: -80px;
  left: -80px;
  animation: float-2 10s ease-in-out infinite;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: var(--secondary);
  top: 40%;
  left: 20%;
  animation: float-3 7s ease-in-out infinite;
}

.hero__shape--4 {
  width: 150px;
  height: 150px;
  background: var(--primary);
  top: 20%;
  right: 25%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float-4 9s ease-in-out infinite;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 30px) scale(1.1); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -40px) scale(1.05); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(45deg); }
}

@keyframes float-4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-30px, 30px) rotate(-30deg); }
}

/* --- Hero Content --- */
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__title {
  color: #fff;
  margin-bottom: 24px;
  opacity: 0;
}

/* Each word will be wrapped by GSAP */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px);
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
  opacity: 0;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
}

/* Ghost button override for hero context */
.hero .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ==================== MARQUEE ==================== */
.marquee {
  background: var(--dark);
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  white-space: nowrap;
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: rgba(245, 245, 245, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.marquee__item:hover {
  color: var(--primary);
}

.marquee__dot {
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.5;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==================== SERVICES GRID ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  text-align: center;
  padding: 48px 32px;
}

.service-card__icon {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1;
}

.service-card__title {
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-cta {
  text-align: center;
  margin-top: 16px;
}

/* ==================== STATS SECTION ==================== */
.stats-section .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-section .section-header__desc {
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-block {
  padding: 48px 24px;
}

.stat-block__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-block__label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(245, 245, 245, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==================== PORTFOLIO TEASER ==================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.project-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.project-card__visual {
  height: 220px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  overflow: hidden;
  background: var(--gradient-hero);
  position: relative;
}

.project-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-base);
}

.project-card:hover .project-card__visual img {
  transform: scale(1.05);
}

.project-card__info {
  padding: 24px;
}

.project-card__info .badge {
  margin-bottom: 12px;
}

.project-card__title {
  margin-bottom: 8px;
}

.project-card__desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

.portfolio-cta {
  text-align: center;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 245, 245, 0.85);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--light);
}

.testimonial-card__role {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: 90vh;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-block {
    padding: 32px 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}