/* ==========================================================================
   MAIN CSS - Import Aggregator
   Bully No More! Musical Website - TakuTaku-Inspired Design
   ========================================================================== */

/* CSS Modules */
@import 'variables.css';
@import 'reset.css';
@import 'base.css';
@import 'layout.css';
@import 'components.css';

/* ==========================================================================
   PAGE-SPECIFIC STYLES
   ========================================================================== */

/* ==========================================================================
   HOMEPAGE - Hero Section
   ========================================================================== */

.hero-home {
  min-height: auto;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .hero-home {
    min-height: 100vh;
    padding-bottom: var(--space-20);
  }
}

.hero-home .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Large brand text like TakuTaku */
.hero-brand-text {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 7rem);
  font-weight: var(--font-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-black);
  text-align: center;
  margin-bottom: var(--space-8);
}

.hero-brand-text .highlight {
  color: var(--color-primary);
}

/* Hand icon inline in the hero heading */
.hero-hand {
  display: inline-block;
  height: 0.66em;                          /* 2/3 of cap-height */
  width: auto;
  vertical-align: -0.08em;
  margin: 0 0.06em;
}

/* Hero headline */
.hero-headline {
  font-size: var(--text-3xl);
  font-weight: var(--font-bold);
  color: var(--color-text-dark);
  text-align: center;
  max-width: 900px;
  margin: var(--space-6) auto var(--space-4);
  line-height: var(--leading-tight);
  white-space: nowrap;
}

@media (min-width: 768px) {
  .hero-headline {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 767px) {
  .hero-headline {
    white-space: normal;
  }
}

/* Hero description */
.hero-description {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 850px;
  margin: 0 auto var(--space-10);
}

@media (min-width: 768px) {
  .hero-description {
    font-size: var(--text-xl);
  }
}

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

/* Hero visual - video/image area */
.hero-visual {
  margin-top: auto;
  padding-bottom: var(--space-8);
}

/* ==========================================================================
   SERVICE CARDS GRID
   ========================================================================== */

/* Outer grid — 1 col mobile → 2 col tablet → 3 col desktop */
.service-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
  width: 100%;
}

@media (min-width: 640px) {
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Static card */
.service-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: var(--color-cream-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.service-card-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Front face */
.service-card-front {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Image block */
.service-card-img {
  width: 100%;
  height: 280px;
  min-height: 280px;
  max-height: 280px;
  flex-shrink: 0;
  background-color: var(--color-sand);
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.service-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background-color: var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-emoji {
  font-size: 3.5rem;
  line-height: 1;
}

/* Front text block */
.service-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
  margin: 0;
  text-align: center;
}

.service-card-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
  margin: 0;
  text-align: center;
}

.service-card-back .service-card-title {
  color: var(--color-black);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

/* ==========================================================================
   Mission Statement
   ========================================================================== */

.mission-statement {
  padding: var(--space-16) 0;
  text-align: center;
}

.pull-quote-label {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8560;
  margin-bottom: var(--space-4);
}

.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.pull-quote-divider {
  width: 60px;
  height: 3px;
  background-color: #f0d7a4;
  border-radius: 2px;
}

.pull-quote-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 4rem;
  line-height: 0.5;
  color: #f0d7a4;
  font-weight: 700;
}

.mission-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--font-medium);
  color: var(--color-text-body);
  font-style: italic;
  margin: 0;
  line-height: var(--leading-relaxed);
}

/* ==========================================================================
   Stats Section - Multiple Variants
   ========================================================================== */

/* Yellow Background Stats */
.stats-section {
  background-color: var(--color-primary);
  color: var(--color-black);
  padding: var(--space-16) 0;
}

.stats-section h2 {
  color: var(--color-black);
}

.stats-section p {
  color: rgba(0, 0, 0, 0.7);
}

.stats-section .stat-number {
  color: var(--color-black);
}

.stats-section .stat-label {
  color: rgba(0, 0, 0, 0.7);
}

/* Dark Stats Section */
.stats-section-dark {
  background-color: var(--color-black);
  color: var(--color-text-inverse);
  padding: var(--space-16) 0;
}

.stats-section-dark h2 {
  color: var(--color-primary);
}

.stats-section-dark .stat-number {
  color: var(--color-primary);
}

.stats-section-dark .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* Cream Stats Section */
.stats-section-cream {
  background-color: var(--color-cream-light);
  padding: var(--space-16) 0;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section-alt {
  background-color: var(--color-cream-dark);
}

.section-cream {
  background-color: var(--color-cream-light);
}

/* Section with large title like TakuTaku */
.section-title-large {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: var(--font-bold);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
}

/* ==========================================================================
   Featured Work / Portfolio Grid (like TakuTaku)
   ========================================================================== */

.featured-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.featured-card {
  background-color: var(--color-cream-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform var(--transition-base);
}

.featured-card:hover {
  transform: translateY(-8px);
}

.featured-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.featured-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform var(--transition-slow);
}

.featured-card:hover .featured-card-image img {
  transform: scale(1.05);
}

.featured-card-content {
  padding: var(--space-6);
}

.featured-card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-3);
}

.featured-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ==========================================================================
   Image with text overlay for guide preview
   ========================================================================== */

.guide-preview {
  position: relative;
  background-color: var(--color-sand);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.guide-preview img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

/* ==========================================================================
   Donation Amount Selector
   ========================================================================== */

.donation-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

@media (min-width: 640px) {
  .donation-amounts {
    grid-template-columns: repeat(4, 1fr);
  }
}

.donation-amount {
  padding: var(--space-4);
  text-align: center;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
  background-color: var(--color-cream-light);
}

.donation-amount:hover,
.donation-amount.selected {
  border-color: #f0d7a4;
  background-color: #f0d7a4;
}

.donation-amount .amount {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-text-primary);
}

.donation-amount.selected .amount {
  color: var(--color-black);
}

/* ==========================================================================
   Partners / Logo Section
   ========================================================================== */

.partners-section {
  padding: var(--space-16) 0;
}

/* ==========================================================================
   Endorsement Quote
   ========================================================================== */

.endorsement-quote {
  background-color: var(--color-cream-light);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  border-radius: var(--radius-2xl);
}

.endorsement-quote blockquote {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
}

.endorsement-source {
  margin-top: var(--space-4);
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
}

/* ==========================================================================
   Shop Product Grid
   ========================================================================== */

.product-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: var(--color-cream-light);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.product-image {
  aspect-ratio: 1;
  background-color: var(--color-sand);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.product-info {
  padding: var(--space-4);
}

.product-name {
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.product-price {
  color: var(--color-black);
  font-weight: var(--font-bold);
}

/* ==========================================================================
   Contact Form & Info
   ========================================================================== */

.contact-form {
  max-width: 600px;
}

.contact-info-card {
  background-color: var(--color-cream-light);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0d7a4;
  color: var(--color-black);
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.contact-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-value {
  font-weight: var(--font-medium);
  color: var(--color-text-primary);
}

/* ==========================================================================
   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(-10px);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s var(--ease-out) forwards;
}

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

/* Staggered animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ==========================================================================
   Scrolled Header State
   ========================================================================== */

.header.scrolled .header-inner {
  background-color: rgba(237, 228, 216, 0.95);
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   Skip Link
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-black);
  color: var(--color-text-inverse);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  opacity: 1;
}

/* ==========================================================================
   VIDEO PLACEHOLDER
   ========================================================================== */

.video-placeholder {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.video-placeholder:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .header,
  .footer,
  .btn,
  .mobile-menu {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}
