/*
 * The Boy Who Knew Me First - Website Styles
 * Base CSS framework extracted from templates
 */

/* Custom utility classes */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.box-shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Glass morphism effects for overlaid content */
.glass-card {
  background: rgba(26, 35, 50, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(45, 74, 110, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-dark {
  background: rgba(26, 35, 50, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Full-screen background with overlay */
.bg-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 0;
  height: 100vh;
  width: 100vw;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Smooth transitions */
.transition-smooth {
  transition: all 250ms ease;
}

/* Hover effects */
.hover-lift {
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.hover-lift:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Character card specific styles */
.character-card {
  transition: transform 300ms ease;
}

.character-card:hover {
  transform: translateY(-8px) scale(1.05);
}

/* Button styles */
.btn-primary {
  background: linear-gradient(to right, #ff6b4a, #ff8c6b);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 200ms ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  transition: background 200ms ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Menu button styles */
.menu-button {
  transition: transform 200ms ease, opacity 200ms ease;
}

.menu-button:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Responsive image containers */
.aspect-portrait {
  aspect-ratio: 2 / 3;
}

.aspect-landscape {
  aspect-ratio: 16 / 9;
}

/* Typography helpers */
.heading-hero {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.heading-section {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.text-body {
  font-size: 1.125rem;
  line-height: 1.75;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus styles for keyboard navigation */
*:focus-visible {
  outline: 2px solid #ff6b4a;
  outline-offset: 2px;
}

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

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}
