/* RAVE MUN - Premium Black-Silver Theme */

:root {
  --primary-black: #0a0a0a;
  --deep-black: #000000;
  --dark-gray: #1a1a1a;
  --medium-gray: #2a2a2a;
  --light-gray: #3a3a3a;
  --silver: #c0c0c0;
  --light-silver: #e0e0e0;
  --premium-gold: #B66878;
  --premium-blue: #1e3a8a;
  --text-primary: #f0f0f0;
  --text-secondary: #b0b0b0;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --glass-bg: rgba(26, 26, 26, 0.85);
  --glass-border: rgba(192, 192, 192, 0.3);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--primary-black);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  /* cursor: none only on desktop - see style.css media query */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--light-silver);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Custom Cursor */
.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid var(--silver);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

/* Navigation handled by public/css/navbar.css */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('/images/backgroumd.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 1rem;
  margin-top: -60px;
}

.hero-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--premium-gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-title .accent-text {
  color: var(--premium-gold);
  position: relative;
}

.hero-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--premium-gold);
  color: var(--primary-black);
  box-shadow: 0 10px 25px rgba(182, 104, 120, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(182, 104, 120, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--silver);
  border: 2px solid var(--silver);
}

.btn-secondary:hover {
  background: var(--silver);
  color: var(--primary-black);
}

.btn-large {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}



/* Features Section */
.features-section {
  padding: 8rem 0;
  background: var(--dark-gray);
}

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

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-title .accent {
  color: var(--premium-gold);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--premium-gold);
}

.feature-icon {
  width: 80px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: var(--medium-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--premium-gold);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--premium-gold);
  color: var(--primary-black);
  transform: scale(1.1);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
  padding: 6rem 0;
  background: var(--primary-black);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--dark-gray) 0%, transparent 70%);
  opacity: 0.3;
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--premium-gold);
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Countdown Section */
.countdown-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, var(--dark-gray) 0%, var(--primary-black) 100%);
  text-align: center;
  position: relative;
}

.countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 560px;
  margin: 0 auto;
}

.countdown-item {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.countdown-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--premium-gold);
  line-height: 1;
}

.countdown-unit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 280px;
  }

  .countdown-value {
    font-size: 1.85rem;
  }

  .countdown-label {
    font-size: 0.9rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-black) 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.cta-content h2 .accent {
  color: var(--premium-gold);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



/* Responsive Design */
/* Tablet and below */
@media (max-width: 1024px) {
  .container {
    width: 92%;
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

/* Mobile and Tablet */
@media (max-width: 768px) {
  /* Navbar responsiveness handled by public/css/navbar.css */

  .container {
    width: 95%;
    padding: 0 1rem;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 2px;
  }

  .hero-description {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
    padding: 0 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .features-section {
    padding: 5rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .stats-section {
    padding: 4rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 1rem;
  }

  .sg-letter-section {
    padding: 5rem 0;
  }

  .letter-body {
    padding: 2.5rem 1.5rem;
  }

  .letter-body p {
    font-size: 1.05rem;
    line-height: 1.8;
  }

  .first-paragraph {
    font-size: 1.2rem !important;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .cta-content p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }

  .hero-section {
    padding: 100px 0 50px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }

  .letter-body {
    padding: 2rem 1rem;
  }

  .letter-body p {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.85rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .feature-card {
    padding: 1.5rem 1rem;
  }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Premium Glow Effects */
.glow-effect {
  position: relative;
}

.glow-effect::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--premium-gold), var(--silver), var(--premium-gold));
  border-radius: inherit;
  z-index: -1;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.8;
  }
}

/* Secretary General Letter Section */
.sg-letter-section {
  padding: 10rem 0;
  background: var(--dark-gray);
  position: relative;
  overflow: hidden;
}

.sg-letter-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(182, 104, 120, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.letter-content {
  max-width: 800px;
  margin: 0 auto;
}

.letter-body {
  background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(182, 104, 120, 0.2);
  border-radius: 2px;
  padding: 5rem;
  text-align: left;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.letter-body:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 104, 120, 0.5);
  box-shadow: 0 40px 80px rgba(182, 104, 120, 0.15);
}

.letter-body::before,
.letter-body::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--premium-gold);
  border-style: solid;
  transition: all 0.5s ease;
  opacity: 0.5;
}

.letter-body::before {
  top: 20px;
  left: 20px;
  border-width: 1px 0 0 1px;
}

.letter-body::after {
  bottom: 20px;
  right: 20px;
  border-width: 0 1px 1px 0;
}

.letter-body:hover::before,
.letter-body:hover::after {
  width: 100%;
  height: 100%;
  border-color: rgba(182, 104, 120, 0.1);
  top: 0;
  left: 0;
  opacity: 1;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--premium-gold);
  margin-bottom: 2rem;
  opacity: 0.6;
  text-align: center;
}

.letter-body p {
  font-size: 1.15rem;
  line-height: 2;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-family: 'Montserrat', sans-serif;
  text-align: justify;
}

.first-paragraph {
  font-weight: 500;
  color: var(--premium-gold) !important;
  margin-bottom: 2rem !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 1.3rem !important;
  text-align: left !important;
}

/* Drop cap for the second paragraph (first actual content paragraph) */
.letter-body p:nth-of-type(2)::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 0.8;
  margin-right: 1rem;
  color: var(--premium-gold);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.signature-block {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(182, 104, 120, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* Align signature to right */
  text-align: right;
}

.sg-name {
  font-family: 'Playfair Display', serif;
  /* Signature-like font ideally, but Playfair works for premium */
  font-size: 1.8rem;
  color: var(--premium-gold);
  margin-bottom: 0.3rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 1px;
}

.sg-title {
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.sg-email {
  color: var(--silver);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.sg-email:hover {
  color: var(--premium-gold);
  border-bottom-color: var(--premium-gold);
  opacity: 1;
}

@media (max-width: 768px) {
  .sg-letter-section {
    padding: 6rem 0;
  }

  .letter-body {
    padding: 2.5rem 1.5rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .letter-body::before,
  .letter-body::after {
    display: none;
  }

  .letter-body p {
    font-size: 1rem;
    text-align: left;
  }

  .signature-block {
    align-items: center;
    text-align: center;
  }
}