/* =========================================
   GLOW MEDIA — Custom Styles
   Edit the accent color below to rebrand.
   ========================================= */

:root {
  /* PRIMARY ACCENT — change this one variable to re-skin the site */
  --accent: #e05a9c;           /* coral-pink */
  --accent-light: #f08ac0;
  --accent-dark: #b83d7a;
  --accent-glow: rgba(224, 90, 156, 0.35);

  /* Neutral palette */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111119;
  --bg-card: rgba(255, 255, 255, 0.04);
  --text-primary: #f0eff4;
  --text-secondary: #9b99a9;
  --border-subtle: rgba(255, 255, 255, 0.07);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 3px; }

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

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50%      { box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(224, 90, 156, 0.15); }
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.12s; }
.stagger > *:nth-child(3) { animation-delay: 0.19s; }
.stagger > *:nth-child(4) { animation-delay: 0.26s; }
.stagger > *:nth-child(5) { animation-delay: 0.33s; }
.stagger > *:nth-child(6) { animation-delay: 0.40s; }
.stagger > *:nth-child(7) { animation-delay: 0.47s; }
.stagger > *:nth-child(8) { animation-delay: 0.54s; }
.stagger > *:nth-child(9) { animation-delay: 0.61s; }

/* ---------- Hero ---------- */
.hero-gradient {
  background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0f20 40%, #1f1028 60%, var(--bg-primary) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -10%; right: -5%;
}

.hero-orb-2 {
  width: 350px; height: 350px;
  background: #7c3aed;
  bottom: -5%; left: -5%;
}

.hero-orb-3 {
  width: 250px; height: 250px;
  background: #f59e0b;
  top: 40%; left: 30%;
  opacity: 0.15;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s;
  background: linear-gradient(135deg, rgba(224, 90, 156, 0.06), transparent 60%);
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(224, 90, 156, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 30px var(--accent-glow);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ---------- Service Icon ---------- */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 4px 20px var(--accent-glow);
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover .service-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 28px var(--accent-glow);
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 0.85rem 2.2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent-light);
  padding: 0.85rem 2.2rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(224, 90, 156, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ---------- Nav ---------- */
.nav-blur {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
  border-radius: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* ---------- Section Heading ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ---------- Portfolio Video / Instagram Reels ---------- */
.video-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all 0.35s;
}

.video-card:hover {
  border-color: rgba(224, 90, 156, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.video-card iframe {
  width: 100%;
  display: block;
  border: none;
}

.ig-reel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.ig-reel-wrapper iframe {
  width: 100%;
  min-height: 580px;
  border: none;
  display: block;
}

/* ---------- Stats ---------- */
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* ---------- Brand Logos ---------- */
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  transition: all 0.35s;
  text-decoration: none;
}

.brand-logo-item:hover {
  transform: scale(1.08);
}

.brand-logo {
  max-height: 56px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: all 0.35s;
}

.brand-logo-item:hover .brand-logo {
  opacity: 1;
}

/* ---------- Form ---------- */
.form-field {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-field::placeholder {
  color: var(--text-secondary);
}

.form-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

select.form-field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239b99a9' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

select.form-field option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* ---------- Footer ---------- */
.footer-gradient {
  background: linear-gradient(180deg, var(--bg-primary), #0d0b14);
}

/* ---------- Intersection Observer reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .hero-orb-1 { width: 250px; height: 250px; }
  .hero-orb-2 { width: 180px; height: 180px; }
  .hero-orb-3 { width: 120px; height: 120px; }
  .stat-number { font-size: 2rem; }
}
