/* ============================================================
   JHANKAR AVIATION DESIGN SYSTEM — SHARED STYLES (ds.css)
   Contains: Header, Emergency Call Banner, and Footer
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* --- CSS Variables & Fonts --- */
:root {
  --navy: #002244;
  --navy-light: #003366;
  --navy-card: #082a52;
  --vibrant-blue: #0b4071;
  --blue: #0b4071;
  --light-blue: #eef4fa;
  --orange-red: #FF5722;
  --text-dark: #002244;
  --text-muted: #5a738e;
  --text-light: #ffffff;
  --border-color: rgba(28, 117, 188, 0.15);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global styles for Header and Footer components to ensure typography --- */
header, footer, .emergency-call-banner {
  font-family: var(--font-body);
  box-sizing: border-box;
}
header *, footer *, .emergency-call-banner * {
  box-sizing: border-box;
}

/* --- COMMON COMPONENTS IN NAV/FOOTER --- */
.btn-primary {
  background-color: var(--orange-red);
  color: var(--text-light);
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #e64a19;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

/* --- HEADER (NAVBAR) --- */
header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 34, 68, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-img {
  height: 40px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  text-decoration: none;
}

header nav ul li a:hover {
  color: var(--vibrant-blue);
}

header nav ul li a.active {
  color: var(--vibrant-blue);
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--orange-red);
  transition: var(--transition);
  text-decoration: none;
}

.phone-link:hover {
  color: #e64a19;
}

/* --- EMERGENCY CALL BANNER --- */
.emergency-call-banner {
  background: linear-gradient(320deg, #2b9af8 0%, #f0f8ff 100%) !important;
  padding: 16px 24px;
  width: 100%;
}

.banner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.banner-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(0, 34, 68, 0.08);
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
}

.banner-socials a:hover {
  background: rgba(0, 34, 68, 0.16);
  transform: translateY(-2px);
}

.banner-socials svg {
  width: 16px;
  height: 16px;
  fill: #002244;
  transition: var(--transition);
}

.banner-socials a:hover svg {
  fill: #002244;
}

.banner-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: rgba(0, 34, 68, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #002244;
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}

.banner-link:hover {
  color: var(--vibrant-blue);
}

.banner-link svg {
  width: 22px;
  height: 22px;
  fill: #002244;
  transition: var(--transition);
}

.banner-link:hover svg {
  fill: var(--vibrant-blue);
}

/* --- FOOTER --- */
footer {
  background: var(--blue);
  padding: 20px;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 24px;
  margin-top: 0;
}

.footer-logo-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-top: 16px;
  margin-bottom: 16px;
}

.footer-logo-svg {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-meta-info {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-award {
  color: #ffffff;
  font-weight: 700;
  margin-top: 6px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13.5px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.footer-nav-list a:hover {
  color: var(--vibrant-blue);
  transform: translateX(2px);
}

.footer-contact-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.footer-contact-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-contact-value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  transition: var(--transition);
}

a.footer-contact-item:hover .footer-contact-value {
  color: var(--vibrant-blue);
}

.footer-contact-text {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
}

/* Footer Bottom Bar */
.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--vibrant-blue);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 1024px) {
  .nav-container {
    padding: 8px 16px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
  }
  header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .banner-container {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 16px;
  }
  .banner-left, .banner-right {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
    gap: 12px 16px;
  }
}

.ds-hamburger {
  display: none !important;
}
@media (max-width: 768px) {
  .ds-hamburger {
    display: inline-flex !important;
  }
  header nav {
    display: none !important;
  }
}

/* --- PAGE HERO STYLES --- */
.page-hero {
  background: linear-gradient(320deg, #2b9af8 0%, #f0f8ff 100%) !important;
  color: #002244 !important;
  border-bottom: 1px solid rgba(195, 220, 245, 0.3) !important;
}

/* --- MEMORIES SECTION --- */
.memories {
  background-color: var(--vibrant-blue);
  padding: 40px 0;
  color: var(--text-light);
}

.memories-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.memories-header {
  margin-bottom: 40px;
}

.section-tag {
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.memories-header .section-tag {
  color: rgba(255, 255, 255, 0.7);
}

.memories-header h2 {
  font-size: 36px;
  font-weight: 800;
  font-family: var(--font-display);
}

.memories-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 20px;
}

.carousel-track.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}

.carousel-track.animate-marquee:hover {
  animation-play-state: paused;
}

.memory-slide {
  flex: 0 0 auto;
  height: 360px;
  aspect-ratio: 9 / 16;
  margin-right: 16px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.memory-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Slide Overlay & Zoom */
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 10, 30, 0.75) 100%);
  opacity: 1;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  pointer-events: none;
}

.memory-slide .slide-overlay {
  opacity: 1 !important;
}

.slide-caption {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  font-family: var(--font-display);
}

.slide-subcaption {
  margin-top: 8px;
}

.slide-subcaption-row1 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.slide-subcaption-row2 {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.slide-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  opacity: 1;
  transition: opacity 0.3s;
}

.memory-slide .slide-zoom {
  opacity: 1 !important;
}

@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}
