/* ============================================
   PUBLIC.CSS — Landing Page Tomohon Events
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --army-deep: #2d3314;
  --army-main: #4B5320;
  --army-light: #6a7a2e;
  --army-glow: rgba(75, 83, 32, 0.15);
  --gold: #ffb703;
  --gold-light: #ffe066;
  --gold-dark: #e09f00;
  --cream: #f8f9f5;
  --dark: #1a1e1c;
  --gray: #64748b;
  --light-gray: #eef2f0;
  --white: #ffffff;
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.12);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================
   TOP NAVIGATION BAR
   ============================================ */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: transparent;
}

.topnav.scrolled {
  background: rgba(45, 51, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 10px 5%;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.topnav-brand img {
  height: 40px;
  width: auto;
  filter: brightness(1.1);
}

.topnav-brand span {
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.topnav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.topnav-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
}

.topnav-menu a:hover {
  color: var(--white);
  background: var(--glass-bg);
}

.topnav-menu a.active {
  color: var(--gold);
}

.topnav-menu .nav-cta {
  background: var(--gold);
  color: var(--dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 12px;
}

.topnav-menu .nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,183,3,0.3);
  color: var(--dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: transparent;
  border: none;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 10% 80px;
  background: linear-gradient(135deg, rgba(45, 51, 20, 0.97), rgba(26, 30, 28, 0.99)),
              url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,183,3,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .sub-headline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 540px;
}

.hero-text .sub-headline .typing {
  color: var(--gold);
  font-weight: 600;
}

/* CTA Buttons */
.btn-holder { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-solid {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--dark);
  box-shadow: 0 8px 25px rgba(255,183,3,0.25);
}

.btn-solid:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255,183,3,0.35);
  color: var(--dark);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--army-main);
  transform: translateY(-4px);
  border-color: var(--white);
}

/* Floating Bubbles */
.floating-bubbles {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  overflow: hidden; z-index: 1; pointer-events: none;
}
.floating-bubbles li {
  position: absolute; display: block; list-style: none;
  background: rgba(255, 255, 255, 0.05);
  animation: bubbleUp 25s linear infinite;
  bottom: -150px; border-radius: 50%;
}
.floating-bubbles li:nth-child(1){ left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.floating-bubbles li:nth-child(2){ left: 10%; width: 30px; height: 30px; animation-delay: 2s; animation-duration: 12s; }
.floating-bubbles li:nth-child(3){ left: 70%; width: 25px; height: 25px; animation-delay: 4s; }
.floating-bubbles li:nth-child(4){ left: 50%; width: 50px; height: 50px; animation-delay: 6s; animation-duration: 18s; }
.floating-bubbles li:nth-child(5){ left: 85%; width: 40px; height: 40px; animation-delay: 8s; animation-duration: 20s; }
.floating-bubbles li:nth-child(6){ left: 35%; width: 20px; height: 20px; animation-delay: 3s; animation-duration: 15s; }

@keyframes bubbleUp {
  0%{ transform: translateY(0) rotate(0deg); opacity: 1; }
  100%{ transform: translateY(-1200px) rotate(720deg); opacity: 0; }
}

/* ============================================
   HERO ILLUSTRATION / VISUAL
   ============================================ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-inner {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  position: relative;
}

.floating-calendar {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(255,183,3,0.15), transparent 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.floating-calendar i {
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.6;
}

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

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
  padding: 80px 10%;
  background: linear-gradient(135deg, var(--army-main), var(--army-deep));
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,183,3,0.06), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

.stat-item i {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-top: 5px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: 100px 10%;
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--army-main), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--army-glow), transparent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--army-main);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--army-main);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ============================================
   EVENT SECTION
   ============================================ */
.event-section {
  padding: 100px 10%;
  background: var(--light-gray);
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 2.2rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-weight: 800;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--army-main), var(--gold));
  border-radius: 2px;
}

.section-heading p {
  color: var(--gray);
  margin-top: 12px;
  font-size: 1rem;
}

.custom-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.custom-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.img-container {
  height: 200px;
  position: relative;
  background: #cbd5e1;
  overflow: hidden;
}

.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.custom-card:hover .img-container img {
  transform: scale(1.08);
}

.badge-tag {
  position: absolute;
  top: 15px; right: 15px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}

.card-details {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-details h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
  line-height: 1.4;
}

.info-line {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-line i { width: 16px; text-align: center; }

.section-cta {
  text-align: center;
  margin-top: 50px;
}

/* ============================================
   ABOUT / CTA SECTION
   ============================================ */
.about-section {
  padding: 100px 10%;
  background: linear-gradient(135deg, var(--army-main), var(--army-deep));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1920&q=80') center/cover;
  opacity: 0.06;
  background-attachment: fixed;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-content h2 span { color: var(--gold); }

.about-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ============================================
   FOOTER
   ============================================ */
.public-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 10% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-brand .footer-logo img {
  height: 36px;
  width: auto;
}

.footer-brand .footer-logo span {
  font-weight: 800;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.footer-col .contact-info li {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-col .contact-info li i {
  color: var(--gold);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 5px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--army-main), var(--army-deep));
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,183,3,0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .btn-holder { justify-content: center; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-text .sub-headline { max-width: 100%; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topnav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26, 30, 28, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 80px 30px 30px;
    transition: all 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    gap: 5px;
  }
  .topnav-menu.open { right: 0; }
  .topnav-menu a { width: 100%; padding: 12px 18px; }
  .topnav-menu .nav-cta { margin-left: 0; margin-top: 10px; text-align: center; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 2rem; }
  .hero-banner { padding: 100px 5% 60px; }
  .event-section, .features-section, .stats-section, .about-section { padding: 60px 5%; }
  .stats-section { padding: 60px 5%; }
  .stats-grid { gap: 15px; }
  .stat-number { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
