/* ===========================================
   YOUTH RED CROSS (YRC) STYLES
   Based on RRC design pattern
   =========================================== */

/* CSS Variables */
:root {
  --primary-red: #dc3545;
  --primary-red-dark: #b02a37;
  --primary-red-light: #e35d6a;
  --cross-red: #ff0000;
  --cross-white: #ffffff;
  --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, #ff0000);
  --gradient-cross: linear-gradient(135deg, #ff0000, #dc3545);

  --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
   ========================================================= */
.yrc-container {
  margin: 0;
  padding: 0;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.yrc-hero {
  background: linear-gradient(
      135deg,
      rgba(220, 53, 69, 0.95),
      rgba(255, 0, 0, 0.95)
    ),
    url("https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?w=1920&auto=format&fit=crop")
      center/cover no-repeat;
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.yrc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
}

.yrc-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;
}

.yrc-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;
}

.yrc-title {
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.yrc-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 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;
}

.cross-icon {
  font-size: 3rem;
  color: #ffffff;
  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);
}

/* =========================================================
   PRINCIPLES SECTION
   ========================================================= */
.principles-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;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.principle-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.principle-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.principle-icon i {
  font-size: 1.75rem;
  color: white;
}

.principle-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.principle-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* =========================================================
   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;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 1200px) {
  .yrc-hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 992px) {
  .yrc-hero {
    padding: 3rem 0;
  }
  .yrc-hero h1 {
    font-size: 2rem;
  }
  .coordinator-info {
    padding-left: 0;
    padding-top: 2rem;
  }
  .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;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .reports-grid {
    grid-template-columns: 1fr;
  }
  .cta-card {
    padding: 2rem 1rem;
  }
  .cta-content h2 {
    font-size: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .yrc-hero {
    padding: 2rem 0;
  }
  .yrc-hero h1 {
    font-size: 1.5rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .principle-card,
  .activity-item,
  .coordinator-card,
  .benefits-card,
  .join-form-card {
    padding: 1rem;
  }
  .section-subtitle {
    font-size: 0.9rem;
  }
}

/* =========================================================
   REMOVE UNWANTED SPACES
   ========================================================= */
.yrc-container section {
  margin: 0 !important;
  padding: 0 !important;
}

.yrc-container .container {
  padding: 1.5rem 15px;
}

@media (max-width: 768px) {
  .yrc-container .container {
    padding: 1rem 15px;
  }
}
