/* css/style.css */

/* ==========================================================================
   1. CORE VARIABLES & BASE RESET
   ========================================================================== */
:root {
  --primary: #0a2540;
  --secondary: #d97706;
  --accent: #0284c7;
  --dark: #0f172a;
  --light: #ffffff;
  --bg-light: #f8fafc;
  --gray: #64748b;
  --gray-light: #e2e8f0;
  --border-color: #cbd5e1;
  --font-main: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 6px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   2. TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--light);
  background-color: var(--secondary);
  border: 2px solid var(--secondary);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: #b45309;
  border-color: #b45309;
  color: var(--light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light);
  border-color: var(--light);
}

.btn-secondary:hover {
  background-color: var(--light);
  color: var(--primary);
  border-color: var(--light);
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--secondary);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--light);
  letter-spacing: 1px;
}

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

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray-light);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--light);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--light);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   5. HERO VIDEO BANNER & PAGE BANNERS
   ========================================================================== */
.hero-video-container {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--light);
  text-align: center;
}

.hero-video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 850px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  color: var(--light);
  margin-bottom: 1.25rem;
  font-size: 3.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.page-banner {
  padding: 5rem 0;
  text-align: center;
  color: var(--light);
  position: relative;
}

.page-banner h1 {
  color: var(--light);
  margin-bottom: 0.75rem;
}

.page-banner p {
  font-size: 1.15rem;
  color: var(--gray-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   6. STATS BAR & CARDS
   ========================================================================== */
.stats-bar {
  background-color: var(--dark);
  color: var(--light);
  padding: 2.5rem 0;
  border-bottom: 4px solid var(--secondary);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card {
  background-color: var(--light);
  padding: 2rem;
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ==========================================================================
   7. MEDIA CARDS
   ========================================================================== */
.media-card {
  background-color: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.media-card-img {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: var(--dark);
}

.media-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--secondary);
  color: var(--light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.media-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.media-card-body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.media-card-body p {
  color: var(--gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   8. VIDEO THUMBNAIL & MODAL
   ========================================================================== */
.video-thumbnail {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-thumbnail:hover img {
  transform: scale(1.03);
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: var(--transition);
}

.video-thumbnail:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background-color: var(--light);
  color: var(--secondary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  background-color: var(--dark);
  border-radius: var(--radius);
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--light);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.responsive-iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
footer {
  background-color: var(--primary);
  color: var(--light);
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h3 {
  color: var(--light);
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.footer-col p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  background-color: var(--dark);
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: circle(140% at 100% 0);
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-video-container {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}