/* CSS RESET & VARIABLES */
:root {
  --primary-color: #1a252f;
  --accent-color: #f1c40f;
  --accent-hover: #d4ac0d;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: 0 4px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  background-color: var(--bg-light);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* HEADER & NAVIGATION */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo a span {
  color: var(--accent-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  display: block;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Dropdown Submenus */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 220px;
  box-shadow: var(--shadow);
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  z-index: 1001;
}

.dropdown-content a {
  border: none;
  border-radius: 0;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.dropdown-content a:hover {
  background-color: rgba(241, 196, 15, 0.1);
  border-color: transparent;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO SLIDER */
.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide-overlay {
  background: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.slide-overlay h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-overlay p {
  font-size: 1.25rem;
  max-width: 750px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

/* MAIN CONTENT */
.content-container {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  flex: 1;
}

.hero-banner-page {
  background: linear-gradient(rgba(26, 37, 47, 0.85), rgba(26, 37, 47, 0.85)), 
              url('https://images.unsplash.com/photo-1548625149-fc4a29cf7092?auto=format&fit=crop&w=1200&q=80') center/cover;
  color: #fff;
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow);
}

.hero-banner-page h1 {
  color: var(--accent-color);
  font-size: 2.3rem;
  margin-bottom: 0.8rem;
}

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

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--accent-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card h2, .card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.2rem;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--accent-hover);
  color: #000;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.link-card {
  background: #fff;
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--accent-color);
  text-align: center;
}

.link-card h3 {
  margin-bottom: 0.8rem;
  color: var(--primary-color);
}

/* FOOTER */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: var(--transition);
}

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

.footer-copy {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #a0aec0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
    background-color: rgba(0,0,0,0.2);
  }

  .slider-container {
    height: 350px;
  }

  .slide-overlay h2 {
    font-size: 1.8rem;
  }

  .slide-overlay p {
    font-size: 1rem;
  }
}
