/* css/index.css */
@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --primary-blue: #0D2B45;
  --primary-red: #C8102E;
  --accent-gold: #D4AF37;
  --gold-hover: #AA820A;
  --light-bg: #F8F9FA;
  --text-dark: #212529;
  --border-color: #E2E8F0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
}

/* ---------------- HEADER ---------------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  background-color: #ffffff;
  border-bottom: 3px solid var(--accent-gold);
}

.header-left .logo {
  max-height: 70px;
  width: auto;
}

.header-center h1 {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 2.2rem;
  color: var(--primary-blue);
  text-align: center;
  text-shadow: 1px 1px 0px var(--accent-gold);
}

.header-right {
  min-width: 160px;
}

/* ---------------- HEADLINE TICKER ---------------- */
.ticker-wrap {
  width: 100%;
  background: var(--primary-blue);
  color: #ffffff;
  overflow: hidden;
  height: 38px;
  line-height: 38px;
  border-bottom: 1px solid var(--accent-gold);
}

.ticker-wrap:hover .ticker-move {
  animation-play-state: paused;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker 35s linear infinite;
}

.ticker-item {
  display: inline-block;
  padding: 0 30px;
  font-size: 0.9rem;
}

.ticker-item a {
  color: var(--accent-gold);
  text-decoration: none;
  font-weight: 600;
}

.ticker-item a:hover {
  text-decoration: underline;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* ---------------- NAVIGATION ---------------- */
.navbar {
  background-color: var(--primary-blue);
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s, color 0.3s;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  background-color: var(--primary-red);
  color: var(--accent-gold);
}

.nav-icon {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 260px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  list-style: none;
  border-top: 3px solid var(--accent-gold);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
  background-color: var(--primary-blue);
  color: var(--accent-gold);
}

.nav-item:hover .dropdown-menu {
  display: block;
}

/* ---------------- CAROUSEL ---------------- */
.slider-container {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  background-color: #111;
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider-slide.active {
  opacity: 1;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------- FLEXIBLE CONTENT LAYOUT ---------------- */
.layout-container {
  display: flex;
  max-width: 1400px;
  margin: 20px auto;
  padding: 0 15px;
  gap: 20px;
}

.sidebar-left {
  flex: 0 0 220px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.main-content {
  flex: 1;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  min-height: 400px;
}

.sidebar-right {
  flex: 0 0 220px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}

.card-person {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.card-person img {
  width: 100%;
  max-width: 160px;
  height: auto;
  border-radius: 6px;
  border: 2px solid var(--accent-gold);
}

.card-person h4 {
  font-size: 0.95rem;
  color: var(--primary-blue);
  margin-top: 8px;
}

.card-person p {
  font-size: 0.8rem;
  color: #555;
}

/* ---------------- MEGA FOOTER ---------------- */
.mega-footer {
  background-color: var(--primary-blue);
  color: #ffffff;
  border-top: 4px solid var(--accent-gold);
  margin-top: 40px;
  padding: 40px 20px 20px;
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h3 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 5px;
  display: inline-block;
}

.footer-col p, .footer-col ul {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  color: #ffffff;
  background-color: var(--primary-red);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: #aaa;
}

/* ---------------- RESPONSIVE MEDIA QUERIES ---------------- */
@media (max-width: 1024px) {
  .layout-container {
    flex-wrap: wrap;
  }
  .sidebar-left, .sidebar-right {
    flex: 0 0 100%;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
  }
}