/* ===========================================
   RED RIBBON CLUB (RRC) STYLES
   =========================================== */

/* CSS Variables */
:root {
  --primary-red: #dc3545;
  --primary-red-dark: #b02a37;
  --primary-red-light: #e35d6a;
  --ribbon-red: #e53935;
  --ribbon-pink: #ff6b6b;
  --accent-blue: #0066cc;
  --accent-green: #28a745;
  --dark-color: #1a1d29;
  --light-color: #f8fafc;
  --light-secondary: #e9ecef;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --gradient-red: linear-gradient(135deg, #dc3545, #e53935);
  --gradient-ribbon: linear-gradient(135deg, #ff6b6b, #e53935);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 4px 20px rgba(220, 53, 69, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* =========================================================
   INTERNAL NAVIGATION
   ========================================================= */
.internal-nav {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
  padding: 0.5rem 0;
  position: sticky;
  top: var(--header-height, 80px);
  margin: 0;
}
.internal-nav .navbar-nav {
  gap: 0.5rem;
}
.internal-nav .nav-link {
  position: relative;
  color: var(--dark-color);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}
.internal-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--primary-red);
  transition: all 0.3s ease;
  border-radius: 2px;
  transform: translateX(-50%);
}
.internal-nav .nav-link:hover,
.internal-nav .nav-link.active {
  color: var(--primary-red);
  background: rgba(220, 53, 69, 0.1);
}
.internal-nav .nav-link:hover::after,
.internal-nav .nav-link.active::after {
  width: 80%;
}

/* =========================================================
   MAIN CONTAINER
   ========================================================= */
.rrc-container {
  margin: 0;
  padding: 0;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.rrc-hero {
  background: linear-gradient(
      135deg,
      rgba(220, 53, 69, 0.95),
      rgba(229, 57, 53, 0.95)
    ),
    url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=1920&auto=format&fit=crop")
      center/cover no-repeat;
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.rrc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 107, 107, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}
.rrc-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  position: relative;
  z-index: 2;
}
.rrc-hero h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}
.red-ribbon {
  color: #ffccd5;
  position: relative;
  display: inline-block;
}
.red-ribbon::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 204, 213, 0.3);
  z-index: -1;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.ribbon-icon {
  font-size: 3rem;
  color: #ffccd5;
  margin-bottom: 1rem;
  text-align: center;
}
.hero-stats-card h4 {
  color: white;
  margin-bottom: 1rem;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-item {
  text-align: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   MISSION SECTION
   ========================================================= */
.mission-section {
  padding: 3rem 0;
  background: white;
  margin: 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.mission-card {
  background: #f8f9fa;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  border-left: 4px solid var(--primary-red);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.mission-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.mission-icon i {
  font-size: 1.5rem;
  color: white;
}
.mission-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}
.mission-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.objective-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red-light);
}
.objective-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.objective-icon i {
  font-size: 1.25rem;
  color: white;
}
.objective-card h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}
.objective-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   ACTIVITIES SECTION
   ========================================================= */
.activities-section {
  padding: 3rem 0;
  background: #f8f9fa;
  margin: 0;
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.activity-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-red);
  transition: all 0.3s ease;
}
.activity-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.activity-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-icon i {
  font-size: 1rem;
  color: white;
}
.activity-content h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}
.activity-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}
.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.report-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: block;
}
.report-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-red);
  text-decoration: none;
  color: inherit;
}
.report-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 0.75rem;
}
.report-card h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}
.report-card p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-red);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(220, 53, 69, 0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.report-card:hover .download-btn {
  background: var(--primary-red);
  color: white;
}

/* =========================================================
   EVENTS SECTION
   ========================================================= */
.events-section {
  padding: 3rem 0;
  background: white;
  margin: 0;
}
.events-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.events-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-red);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.timeline-item:nth-child(odd) {
  flex-direction: row;
}
.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}
.timeline-date {
  width: 100px;
  flex-shrink: 0;
  text-align: center;
  background: white;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--primary-red);
  position: relative;
  z-index: 2;
}
.date-day {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  line-height: 1;
}
.date-month {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-content {
  flex: 1;
  padding: 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 1rem;
  border: 1px solid #e9ecef;
  position: relative;
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 1rem;
}
.timeline-item:nth-child(even) .timeline-content {
  margin-right: 1rem;
}
.timeline-content h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}
.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.9rem;
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.gallery-section {
  padding: 3rem 0;
  background: white;
  margin: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 250px;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(220, 53, 69, 0.9), transparent);
  color: white;
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}
.gallery-overlay h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.gallery-overlay p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin: 0;
}

/* =========================================================
   RESOURCES SECTION
   ========================================================= */
.resources-section {
  padding: 3rem 0;
  background: white;
  margin: 0;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.resource-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}
.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}
.resource-icon {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
}
.resource-card h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}
.resource-card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary-red);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(220, 53, 69, 0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.resource-link:hover {
  background: var(--primary-red);
  color: white;
  text-decoration: none;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1200px) {
  .rrc-hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 992px) {
  .rrc-hero {
    padding: 3rem 0;
  }
  .rrc-hero h1 {
    font-size: 2rem;
  }
  .timeline-item {
    flex-direction: column !important;
    align-items: flex-start;
    margin-left: 60px;
  }
  .events-timeline::before {
    left: 30px;
  }
  .timeline-date {
    position: absolute;
    left: -60px;
    top: 0;
  }
  .timeline-content {
    margin: 0 !important;
    margin-top: 0.5rem !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .internal-nav .navbar-nav {
    padding: 0.75rem 0;
  }
  .internal-nav .nav-link {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .timeline-item {
    margin-left: 50px;
  }
  .events-timeline::before {
    left: 25px;
  }
  .timeline-date {
    left: -50px;
    width: 90px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .rrc-hero {
    padding: 2rem 0;
  }
  .rrc-hero h1 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .mission-card,
  .objective-card,
  .activity-item,
  .resource-card,
  .report-card {
    padding: 1rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* =========================================================
   REMOVE UNWANTED SPACES
   ========================================================= */
.rrc-container section {
  margin: 0 !important;
  padding: 0 !important;
}
.rrc-container .container {
  padding: 1.5rem 15px;
}
@media (max-width: 768px) {
  .rrc-container .container {
    padding: 1rem 15px;
  }
}
