/* ===========================================
   YC CAMP 2026 - "Rewrite My Story" Theme
   Color Palette & Typography
   =========================================== */

:root {
  /* Primary Colors */
  --yc-navy: #1E1B3A;
  --yc-navy-dark: #14122A;
  --yc-gold: #C9A85C;
  --yc-gold-light: #D4B872;
  --yc-cream: #F5F0E1;
  --yc-purple: #2D2438;
  --yc-purple-light: #3D3248;

  /* Text Colors */
  --yc-text-light: #F5F0E1;
  --yc-text-gold: #C9A85C;
  --yc-text-muted: rgba(245, 240, 225, 0.7);

  /* Gradients */
  --yc-gradient-dark: linear-gradient(180deg, #1E1B3A 0%, #14122A 100%);
  --yc-gradient-overlay: linear-gradient(180deg, rgba(30, 27, 58, 0.8) 0%, rgba(20, 18, 42, 0.95) 100%);
}

/* ===========================================
   Base Styles
   =========================================== */

.yc-page {
  background: var(--yc-navy);
  color: var(--yc-text-light);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

/* ===========================================
   Hero Section
   =========================================== */

.yc-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  background: var(--yc-navy);
  /* Optional: Add hero-bg.jpg to /img/yc-camp/ folder for background image */
  /* background-image: url('/img/yc-camp/hero-bg.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.yc-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Elegant dark navy gradient as default background */
  background: radial-gradient(ellipse at center bottom, #2a2750 0%, #1E1B3A 40%, #14122A 100%);
  z-index: 1;
}

.yc-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

.yc-event-label {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yc-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.yc-logo-title {
  max-width: 600px;
  width: 90%;
  margin: 0 auto 2rem;
}

.yc-logo-title img {
  width: 100%;
  height: auto;
}

/* Main Title Typography */
.yc-title-rewrite {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--yc-gold);
  line-height: 1;
  margin: 0;
}

.yc-title-mystory {
  font-family: 'Great Vibes', 'Dancing Script', cursive;
  font-size: 4rem;
  color: var(--yc-gold);
  margin-top: -1rem;
  line-height: 1.2;
}

/* Countdown Timer */
.yc-countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.yc-countdown-item {
  text-align: center;
}

.yc-countdown-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--yc-gold);
  line-height: 1;
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
}

.yc-countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yc-text-muted);
  margin-top: 0.5rem;
}

.yc-countdown-separator {
  font-size: 2.5rem;
  color: var(--yc-gold);
  opacity: 0.5;
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Event Info */
.yc-event-info {
  margin: 2rem 0;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--yc-text-light);
}

.yc-event-date {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.yc-event-location {
  color: var(--yc-text-muted);
}

/* CTA Button */
.yc-btn-primary {
  display: inline-block;
  background: var(--yc-gold);
  color: var(--yc-navy);
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 2px solid var(--yc-gold);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.yc-btn-primary:hover {
  background: transparent;
  color: var(--yc-gold);
  text-decoration: none;
}

.yc-btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--yc-gold);
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid var(--yc-gold);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.yc-btn-secondary:hover {
  background: var(--yc-gold);
  color: var(--yc-navy);
  text-decoration: none;
}

/* ===========================================
   About Section
   =========================================== */

.yc-about {
  padding: 6rem 1rem;
  background: var(--yc-cream);
  color: var(--yc-navy);
}

.yc-section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.yc-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.yc-section-label {
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yc-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.yc-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--yc-navy);
  margin: 0;
}

.yc-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.yc-about-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.yc-about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.yc-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.yc-card-link {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yc-navy);
  font-size: 0.875rem;
  z-index: 3;
  transition: all 0.3s ease;
  text-decoration: none;
  transform: rotate(-45deg);
}

.yc-about-card:hover .yc-card-link {
  background: var(--yc-gold);
  color: var(--yc-navy);
  transform: rotate(0deg);
}

.yc-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: white;
}

.yc-about-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: white;
}

.yc-about-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
}

/* ===========================================
   Camp Experience / Gallery Section
   =========================================== */

.yc-experience {
  padding: 6rem 1rem;
  background: var(--yc-navy);
}

.yc-experience .yc-section-title {
  color: var(--yc-text-light);
}

.yc-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.yc-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.yc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.yc-gallery-item:hover img {
  transform: scale(1.1);
}

.yc-gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(30, 27, 58, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.yc-gallery-item:hover::after {
  opacity: 1;
}

.yc-gallery-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-weight: 600;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.yc-gallery-item:hover .yc-gallery-label {
  opacity: 1;
  transform: translateY(0);
}

/* Video Experience Grid */
.yc-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.yc-video-item {
  text-align: center;
}

.yc-video-thumbnail {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yc-video-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(201, 168, 92, 0.3);
}

.yc-video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.yc-video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 27, 58, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.yc-video-thumbnail:hover .yc-video-play-overlay {
  background: rgba(30, 27, 58, 0.3);
}

.yc-video-play-overlay i {
  width: 60px;
  height: 60px;
  background: var(--yc-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yc-navy);
  font-size: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yc-video-thumbnail:hover .yc-video-play-overlay i {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(201, 168, 92, 0.5);
}

.yc-video-item-title {
  margin-top: 1rem;
  color: var(--yc-text-light);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Category Tabs */
.yc-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.yc-tab {
  background: transparent;
  color: var(--yc-text-muted);
  border: 1px solid var(--yc-purple-light);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.yc-tab:hover,
.yc-tab.active {
  background: var(--yc-gold);
  color: var(--yc-navy);
  border-color: var(--yc-gold);
}

/* ===========================================
   FAQ Section
   =========================================== */

.yc-faq {
  padding: 6rem 1rem;
  background: var(--yc-purple);
}

.yc-faq .yc-section-title {
  color: var(--yc-text-light);
}

.yc-accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.yc-accordion-item {
  border-bottom: 1px solid rgba(201, 168, 92, 0.2);
}

.yc-accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--yc-text-light);
  font-size: 1.125rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.yc-accordion-header:hover {
  color: var(--yc-gold);
}

.yc-accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 1rem;
}

.yc-accordion-icon::before,
.yc-accordion-icon::after {
  content: '';
  position: absolute;
  background: var(--yc-gold);
  transition: transform 0.3s ease;
}

.yc-accordion-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.yc-accordion-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.yc-accordion-item.active .yc-accordion-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.yc-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.yc-accordion-item.active .yc-accordion-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.yc-accordion-body {
  color: var(--yc-text-muted);
  line-height: 1.8;
}

/* ===========================================
   Floating CTA (Mobile)
   =========================================== */

.yc-floating-cta {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
}

.yc-floating-cta .yc-btn-primary {
  box-shadow: 0 4px 20px rgba(201, 168, 92, 0.4);
  padding: 1rem 2rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .yc-floating-cta {
    display: block;
  }
}

/* ===========================================
   Navigation
   =========================================== */

.yc-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 1rem 2rem;
  transition: background 0.3s ease;
}

.yc-navbar.scrolled {
  background: rgba(30, 27, 58, 0.95);
  backdrop-filter: blur(10px);
}

.yc-navbar-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.yc-navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.yc-navbar-logo img {
  height: 32px;
  width: auto;
}

.yc-navbar-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.yc-navbar-link {
  color: var(--yc-text-light);
  text-decoration: none;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.yc-navbar-link:hover {
  color: var(--yc-gold);
  text-decoration: none;
}

/* Mobile Menu */
.yc-navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.yc-navbar-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--yc-text-light);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .yc-navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--yc-navy-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
  }

  .yc-navbar-menu.active {
    right: 0;
  }

  .yc-navbar-toggle {
    display: block;
  }
}

/* ===========================================
   Footer
   =========================================== */

.yc-footer {
  background: var(--yc-navy-dark);
  padding: 3rem 1rem;
  text-align: center;
}

.yc-footer-logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.yc-footer-text {
  color: var(--yc-text-muted);
  font-size: 0.875rem;
  margin: 0;
}

.yc-footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.yc-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--yc-purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yc-text-muted);
  transition: all 0.3s ease;
}

.yc-footer-social a:hover {
  background: var(--yc-gold);
  border-color: var(--yc-gold);
  color: var(--yc-navy);
}

/* ===========================================
   Responsive Adjustments
   =========================================== */

@media (max-width: 768px) {
  .yc-title-rewrite {
    font-size: 3rem;
  }

  .yc-title-mystory {
    font-size: 2.5rem;
  }

  .yc-countdown-number {
    font-size: 2rem;
  }

  .yc-countdown {
    gap: 1rem;
  }

  .yc-section-title {
    font-size: 2rem;
  }

  .yc-hero {
    padding-top: 5rem;
  }

  .yc-about,
  .yc-experience,
  .yc-faq {
    padding: 4rem 1rem;
  }
}

@media (max-width: 480px) {
  .yc-title-rewrite {
    font-size: 2.5rem;
  }

  .yc-title-mystory {
    font-size: 2rem;
  }

  .yc-countdown-number {
    font-size: 1.5rem;
  }

  .yc-event-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .yc-btn-primary {
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
  }
}

/* ===========================================
   Animations
   =========================================== */

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

.yc-animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.yc-delay-1 { animation-delay: 0.1s; }
.yc-delay-2 { animation-delay: 0.2s; }
.yc-delay-3 { animation-delay: 0.3s; }
.yc-delay-4 { animation-delay: 0.4s; }
.yc-delay-5 { animation-delay: 0.5s; }

/* Scroll reveal */
.yc-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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