/* Eagle Physical & Sports Academy - Global Stylesheet */
:root {
  --primary-navy: #0b1a30;
  --primary-navy-dark: #07101e;
  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-saffron: #f97316;
  --accent-green: #10b981;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Top Notification Bar */
.top-bar {
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
  padding: 3px 0;
}

.top-bar-inner {
  background-color: var(--primary-navy-dark);
  color: #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 5%;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: var(--accent-gold);
  text-decoration: none;
  margin-left: 15px;
}

/* Header & Navigation */
header {
  background-color: var(--primary-navy);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.logo-text h1 {
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text p {
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}

nav ul li a {
  color: #e2e8f0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
}

nav ul li a.btn-cta {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  padding: 8px 18px;
}

.mobile-toggle {
  display: none;
  color: #ffffff;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Page Hero Header */
.page-hero {
  background: linear-gradient(rgba(11, 26, 48, 0.92), rgba(11, 26, 48, 0.92)), url('../images/slides/slide1.jpg') center/cover;
  padding: 55px 5%;
  text-align: center;
  color: #ffffff;
}

.page-hero h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.page-hero h2 span {
  color: var(--accent-gold);
}

.page-hero p {
  color: #cbd5e1;
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Container & Sections */
.main-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .tagline {
  color: var(--accent-saffron);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary-navy);
  font-weight: 800;
}

.section-header .divider {
  width: 70px;
  height: 4px;
  background: var(--accent-gold);
  margin: 10px auto;
  border-radius: 2px;
}

/* Footer */
footer {
  background-color: var(--primary-navy-dark);
  color: #94a3b8;
  padding: 50px 5% 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto 40px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-gold);
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 900px) {
  .mobile-toggle {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--primary-navy);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a {
    width: 100%;
    padding: 10px 15px;
  }
}


/* Gallery Zoom & Lightbox Modal Styles */
.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item .media-container {
  overflow: hidden;
  position: relative;
}

.gallery-item .zoom-hint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
  pointer-events: none;
}

.gallery-item:hover .zoom-hint-overlay {
  opacity: 1;
}

.zoom-hint-btn {
  background: rgba(245, 158, 11, 0.95);
  color: #0b1a30;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .zoom-hint-btn {
  transform: translateY(0);
}

/* Lightbox Modal */
.gallery-lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 10, 20, 0.95);
  backdrop-filter: blur(8px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gallery-lightbox-modal.active {
  display: flex;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  transition: transform 0.25s ease;
  user-select: none;
}

.lightbox-video {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  outline: none;
}

/* Lightbox Controls Bar */
.lightbox-top-bar {
  position: absolute;
  top: 20px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 3010;
}

.lightbox-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-gold);
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-btn-group {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.lightbox-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
  border-color: var(--accent-gold);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(11, 26, 48, 0.8);
  border: 2px solid var(--accent-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3010;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-zoom-tools {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  z-index: 3010;
}

.zoom-tool-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.zoom-tool-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

@media (max-width: 768px) {
  .lightbox-prev { left: 10px; width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-next { right: 10px; width: 40px; height: 40px; font-size: 1rem; }
  .lightbox-title { font-size: 0.9rem; }
}
