/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700&display=swap');

:root {
  /* Classic RCMC Colors - Modernized */
  --primary-dark: #121c36;
  --primary-header: #1B2D55;
  --secondary-blue: #687BA6;
  --highlight-light: #90C9E2;
  --accent: #1487BA;
  
  --text-main: #E2E8F0; /* Brighter readabilty */
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  
  --glass-bg: rgba(27, 45, 85, 0.6);
  --glass-border: rgba(144, 201, 226, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--primary-dark);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(20, 135, 186, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(27, 45, 85, 0.2) 0%, transparent 40%),
    linear-gradient(135deg, var(--primary-dark) 0%, #0c1221 100%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-main);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--highlight-light);
}

a {
  color: var(--highlight-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

/* Glassmorphism Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: linear-gradient(135deg, rgba(27, 45, 85, 0.85), rgba(18, 28, 54, 0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--glass-shadow);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  height: 60px;
  filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}

.logo-container:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.site-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--highlight-light);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 1px;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-link {
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--highlight-light);
  opacity: 0;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: -1;
  border-radius: 8px;
}

.nav-link:hover::before, .nav-link.active::before {
  transform: translateY(0);
  opacity: 0.15;
}

.nav-link:hover, .nav-link.active {
  color: var(--highlight-light);
  text-shadow: 0 0 10px rgba(144, 201, 226, 0.5);
}

/* Mobile Menu Toogle (Hidden on Desktop) */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--highlight-light);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 3rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -2;
  filter: brightness(0.6) contrast(1.1);
  transition: transform 10s ease;
}

.hero:hover .hero-img {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(27, 45, 85, 0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: -1;
}

.hero-content {
  background: rgba(18, 28, 54, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp 0.8s forwards;
  max-width: 800px;
}

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

.hero-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--highlight-light);
}

/* Main Content Layout */
.main-wrapper {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 30px;
  flex: 1;
  margin-bottom: 40px;
}

.content-area {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background: linear-gradient(145deg, rgba(20, 135, 186, 0.15), rgba(27, 45, 85, 0.4));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(144, 201, 226, 0.3);
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease;
}

.sidebar-widget:hover {
  transform: translateY(-5px);
}

.sidebar-widget h3 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #fff;
}

/* Cards / News Items */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: var(--transition);
  cursor: pointer;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  border-color: var(--highlight-light);
}

.card-date {
  font-size: 0.85rem;
  color: var(--highlight-light);
  margin-bottom: 8px;
  display: block;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* Easter Special Card */
.easter-card {
  background: linear-gradient(135deg, rgba(144, 201, 226, 0.1), rgba(20, 135, 186, 0.1)) !important;
  border: 1px solid var(--highlight-light) !important;
  position: relative;
  overflow: hidden;
}

.easter-card::before {
  content: '\f7ad'; /* Rabbit icon (FA) */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-size: 5rem;
  opacity: 0.1;
  color: var(--highlight-light);
  transform: rotate(-15deg);
  transition: var(--transition);
}

.easter-card:hover::before {
  opacity: 0.2;
  transform: rotate(0deg) scale(1.1);
}

.easter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--highlight-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--highlight-light), var(--accent));
  color: var(--primary-dark);
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(20, 135, 186, 0.4);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(144, 201, 226, 0.6);
  color: var(--primary-dark);
}

/* Footer */
footer {
  background: linear-gradient(180deg, rgba(27, 45, 85, 0.9), rgba(18, 28, 54, 1));
  border-top: 1px solid var(--glass-border);
  padding: 40px 0 20px;
  margin-top: auto;
}

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

.footer-widget h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Forms & Inputs */
input, textarea, select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--highlight-light);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(144, 201, 226, 0.2);
}

label {
  display: block;
  margin-bottom: 5px;
  color: var(--highlight-light);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* In a real app we'd toggle this with JS */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-header);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }
  
  .nav-menu.show {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

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