/* OverNormal Studios - styles.css */
/* Root variables for design system */
:root {
  --bg-primary: #0B0F1A;
  --bg-secondary: #151B2B;
  --bg-alt: rgba(255, 255, 255, 0.02);
  --accent-aqua: #21F2D7;
  --accent-gold: #F6D78B;
  --text-primary: #F8F8F8;
  --text-muted: #9AA3B2;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-md);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.8;
}

a {
  color: var(--accent-aqua);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--accent-gold);
  text-decoration: underline;
}

/* Navbar */
.navbar {
  background-color: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  transition: var(--transition);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.nav-solid {
  background-color: var(--bg-primary);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-aqua) !important;
  transition: var(--transition);
}

.navbar-brand:hover {
  color: var(--accent-gold) !important;
  transform: translateY(-2px);
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-aqua), var(--accent-gold));
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link:focus::after {
  width: 80%;
}

.nav-link:hover, .nav-link:focus {
  color: var(--accent-gold) !important;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero video, .hero picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fireflies Effect */
.fireflies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.firefly {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent-aqua);
  border-radius: 50%;
  box-shadow: 
    0 0 10px var(--accent-aqua),
    0 0 20px var(--accent-aqua),
    0 0 30px var(--accent-aqua);
  opacity: 0;
  animation: float 15s infinite ease-in-out;
}

.firefly:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-duration: 12s;
  animation-delay: 0s;
  width: 2px;
  height: 2px;
}

.firefly:nth-child(2) {
  left: 80%;
  top: 60%;
  animation-duration: 18s;
  animation-delay: 2s;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  box-shadow: 
    0 0 10px var(--accent-gold),
    0 0 20px var(--accent-gold),
    0 0 30px var(--accent-gold);
}

.firefly:nth-child(3) {
  left: 30%;
  top: 70%;
  animation-duration: 14s;
  animation-delay: 1s;
}

.firefly:nth-child(4) {
  left: 60%;
  top: 30%;
  animation-duration: 16s;
  animation-delay: 3s;
  width: 3px;
  height: 3px;
}

.firefly:nth-child(5) {
  left: 90%;
  top: 80%;
  animation-duration: 20s;
  animation-delay: 1.5s;
  background: var(--accent-gold);
  box-shadow: 
    0 0 10px var(--accent-gold),
    0 0 20px var(--accent-gold),
    0 0 30px var(--accent-gold);
}

.firefly:nth-child(6) {
  left: 15%;
  top: 50%;
  animation-duration: 13s;
  animation-delay: 4s;
  width: 2.5px;
  height: 2.5px;
}

.firefly:nth-child(7) {
  left: 70%;
  top: 15%;
  animation-duration: 17s;
  animation-delay: 2.5s;
}

.firefly:nth-child(8) {
  left: 40%;
  top: 40%;
  animation-duration: 15s;
  animation-delay: 0.5s;
  width: 3.5px;
  height: 3.5px;
}

.firefly:nth-child(9) {
  left: 25%;
  top: 85%;
  animation-duration: 19s;
  animation-delay: 3.5s;
  background: var(--accent-gold);
  box-shadow: 
    0 0 10px var(--accent-gold),
    0 0 20px var(--accent-gold),
    0 0 30px var(--accent-gold);
}

.firefly:nth-child(10) {
  left: 85%;
  top: 25%;
  animation-duration: 14s;
  animation-delay: 1.8s;
}

.firefly:nth-child(11) {
  left: 50%;
  top: 10%;
  animation-duration: 16s;
  animation-delay: 2.8s;
  width: 2px;
  height: 2px;
}

.firefly:nth-child(12) {
  left: 95%;
  top: 50%;
  animation-duration: 18s;
  animation-delay: 4.2s;
  width: 4px;
  height: 4px;
}

.firefly:nth-child(13) {
  left: 5%;
  top: 35%;
  animation-duration: 15s;
  animation-delay: 0.8s;
  background: var(--accent-gold);
  box-shadow: 
    0 0 10px var(--accent-gold),
    0 0 20px var(--accent-gold),
    0 0 30px var(--accent-gold);
}

.firefly:nth-child(14) {
  left: 65%;
  top: 75%;
  animation-duration: 13s;
  animation-delay: 3.2s;
}

.firefly:nth-child(15) {
  left: 35%;
  top: 5%;
  animation-duration: 17s;
  animation-delay: 1.2s;
  width: 3px;
  height: 3px;
}

.firefly:nth-child(16) {
  left: 75%;
  top: 90%;
  animation-duration: 19s;
  animation-delay: 2.2s;
}

.firefly:nth-child(17) {
  left: 45%;
  top: 65%;
  animation-duration: 14s;
  animation-delay: 4.5s;
  background: var(--accent-gold);
  box-shadow: 
    0 0 10px var(--accent-gold),
    0 0 20px var(--accent-gold),
    0 0 30px var(--accent-gold);
}

.firefly:nth-child(18) {
  left: 20%;
  top: 95%;
  animation-duration: 16s;
  animation-delay: 0.3s;
  width: 2.5px;
  height: 2.5px;
}

.firefly:nth-child(19) {
  left: 55%;
  top: 45%;
  animation-duration: 18s;
  animation-delay: 3.8s;
}

.firefly:nth-child(20) {
  left: 12%;
  top: 78%;
  animation-duration: 15s;
  animation-delay: 1.5s;
  width: 3.5px;
  height: 3.5px;
}

@keyframes float {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) translateX(0) scale(1);
  }
  10% {
    opacity: 0.8;
  }
  25% {
    opacity: 1;
    transform: translateY(-30px) translateX(20px) scale(1.2);
  }
  50% {
    opacity: 0.9;
    transform: translateY(-60px) translateX(-15px) scale(1.1);
  }
  75% {
    opacity: 0.7;
    transform: translateY(-40px) translateX(25px) scale(1.3);
  }
  90% {
    opacity: 0.3;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 15, 26, 0.7), rgba(11, 15, 26, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  animation: fadeIn 1s ease-out;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4rem);
  margin-bottom: var(--spacing-md);
  color: var(--accent-gold);
  text-shadow: 0 4px 20px rgba(246, 215, 139, 0.3);
  font-weight: 700;
}

.hero h2 {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-weight: 600;
}

.tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  margin-bottom: var(--spacing-lg);
  color: var(--text-muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.cta-buttons {
  margin-bottom: var(--spacing-lg);
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-aqua), #1BC9B4);
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(33, 242, 215, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--accent-gold), #E5C570);
  color: var(--bg-primary);
  box-shadow: 0 6px 25px rgba(33, 242, 215, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-aqua);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--accent-aqua);
  color: var(--bg-primary);
  border-color: var(--accent-aqua);
  transform: translateY(-2px);
}

.btn-outline-light {
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-outline-light:hover {
  background-color: var(--accent-aqua);
  border-color: var(--accent-aqua);
  color: var(--bg-primary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.slogan {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
  margin-top: var(--spacing-md);
}

/* Sections */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-alt);
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-aqua), transparent);
  opacity: 0.3;
}

.section-title {
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-aqua), var(--accent-gold));
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.philosophy, .callout {
  color: var(--accent-aqua);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: var(--spacing-lg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Cards */
.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-aqua), var(--accent-gold));
  transform: translateY(-3px);
  transition: var(--transition);
}

.card:hover::before {
  transform: translateY(0);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-aqua);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.card-body {
  padding: clamp(1.5rem, 4vw, 2rem);
}

.card h3 {
  color: var(--accent-gold);
  margin-bottom: var(--spacing-sm);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
}

.card p {
  color: rgba(248, 248, 248, 0.9);
  line-height: 1.7;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--accent-aqua);
  margin-bottom: var(--spacing-md);
  transition: var(--transition);
}

.card:hover .card-icon {
  color: var(--accent-gold);
  transform: scale(1.1) rotate(5deg);
}

.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Video cards for latest videos */
.video-card-grid {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-card-grid:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-aqua);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-card-grid:hover .video-thumbnail img {
  transform: scale(1.05);
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(33, 242, 215, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-size: 20px;
  transition: var(--transition);
  opacity: 0;
}

.video-card-grid:hover .video-play-button {
  opacity: 1;
  background: var(--accent-aqua);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.video-description {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(248, 248, 248, 0.8);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
  flex-grow: 1;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(248, 248, 248, 0.6);
}

.video-date {
  font-style: italic;
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: var(--spacing-md);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(33, 242, 215, 0.2);
  transition: var(--transition);
}

.video-wrapper:hover {
  border-color: var(--accent-aqua);
  box-shadow: 0 12px 40px rgba(33, 242, 215, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Quote */
.section-quote {
  background: linear-gradient(135deg, rgba(33, 242, 215, 0.05), rgba(246, 215, 139, 0.05));
  position: relative;
}

blockquote {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  margin: 0;
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  font-weight: 500;
  line-height: 1.6;
}

blockquote p {
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

blockquote::before {
  content: '"';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: var(--accent-aqua);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

blockquote::after {
  content: '';
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-aqua), var(--accent-gold));
  border-radius: 2px;
}

cite {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-style: normal;
  display: block;
  margin-top: var(--spacing-md);
}

/* Social icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  flex-wrap: wrap;
}

.social-icons a {
  font-size: 1.75rem;
  color: var(--text-muted);
  transition: var(--transition);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.social-icons a::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-aqua), var(--accent-gold));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.social-icons a:hover::before, .social-icons a:focus::before {
  opacity: 1;
}

.social-icons a:hover, .social-icons a:focus {
  color: var(--bg-primary);
  border-color: transparent;
  transform: translateY(-5px) scale(1.1);
}

/* Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--accent-aqua);
  box-shadow: 0 0 0 3px rgba(33, 242, 215, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, var(--bg-primary), #050810);
  padding: clamp(2rem, 5vw, 3rem) 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-aqua), transparent);
}

.footer p {
  margin-bottom: var(--spacing-sm);
  font-size: 0.95rem;
}

.footer a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer a:hover, .footer a:focus {
  color: var(--accent-aqua);
  text-decoration: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(11, 15, 26, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--border-radius);
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .nav-link::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .slogan {
    font-size: 0.85rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .social-icons {
    gap: 1rem;
  }
  
  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 2.5rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  blockquote {
    font-size: 1.1rem;
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  blockquote::before {
    font-size: 3rem;
  }
}

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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Focus visible */
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent-aqua);
  outline-offset: 3px;
}

/* Utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-aqua), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Print styles */
@media print {
  .navbar, .hero-video-wrapper video, .footer, .social-icons {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
}