/* ===============================
   GLOBAL STYLES
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.65;
}

.container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

section {
  margin-bottom: 3rem;
}

/* ===============================
   HEADER & NAVIGATION
================================= */

.header {
  background: #0a1931;
  color: #fff;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

/* FIX — Only reduce header padding, NOT global container */
.header .nav-container {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.logo img {
  height: 36px;
  width: auto;
  max-width: 150px;
}

.logo span {
  font-size: 1.35rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

/* DESKTOP NAV */
.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: .3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

.donate-btn {
  background: #ffd700;
  color: #0a1931 !important;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  transition: .3s ease;
}

.donate-btn:hover {
  background: #e6be00;
}

/* MOBILE MENU BUTTON */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  padding: .3rem;
}

/* ===============================
   MOBILE SLIDE-IN MENU
================================= */

#mobile-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 998;
  display: none;
}

#mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: #0a1931;
  padding: 1.5rem;
  z-index: 999;
  transition: right .35s ease-in-out;
  display: flex;
  flex-direction: column;
}

#mobile-menu.active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  margin-bottom: 1rem;
}

.mobile-menu-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.mobile-menu-close {
  font-size: 1.9rem;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  padding: 0;
}

.mobile-menu-links li {
  margin: .8rem 0;
}

.mobile-menu-links li a {
  color: white;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500;
}

/* ===============================
   HERO SLIDER — FINAL FIX
================================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 82vh;
  max-height: 720px;
  overflow: hidden;
  margin-top: 0 !important;
  padding-top: 0 !important;
  z-index: 1;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.slide-text {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  text-align: center;
  width: 90%;
  max-width: 700px;
  z-index: 3;
}

.slide-text h2 {
  font-size: 2.7rem;
  font-weight: 700;
  text-shadow: 0 3px 12px rgba(0,0,0,0.4);
}

.slide-text p {
  margin-top: .5rem;
  font-size: 1.15rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* MOBILE SLIDER FIX */
@media (max-width: 768px) {
  .hero-slider {
    height: 60vh;
    max-height: 480px;
  }
  .slide-text h2 {
    font-size: 2rem;
  }
  .slide-text p {
    font-size: 1rem;
  }
}

/* ===============================
   MOBILE HEADER FIX
================================= */

@media (max-width: 768px) {

  .logo img {
    height: 26px !important;
    max-width: 120px;
  }

  .logo span {
    font-size: 1rem !important;
  }

  .nav-container {
    padding: .55rem 0 !important;
  }

  /* Hide desktop nav ONLY on mobile */
  .nav-links {
    display: none !important;
  }

  /* Show mobile hamburger */
  .menu-toggle {
    display: block !important;
  }
}

/* ================================
   FIX — Ensure navigation appears on desktop
================================ */

@media (min-width: 769px) {

  /* Force desktop nav to show */
  .nav-links {
    display: flex !important;
  }

  /* Hide hamburger on desktop */
  .menu-toggle {
    display: none !important;
  }
}

/* Fix header padding ONLY for nav-container */
.header .nav-container {
  padding-top: 0.45rem !important;
  padding-bottom: 0.45rem !important;
}

/* 🔥 FORCE DESKTOP NAV ALWAYS VISIBLE */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        height: auto !important;
    }
    .menu-toggle {
        display: none !important;
    }
}

/* ===============================
   MAP – RESPONSIVE LAYOUT
================================= */

.map-wrapper {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .map-wrapper iframe {
    height: 240px;
  }
  .map-placeholder {
    height: 220px;
  }
}

/* ===============================
   MOBILE MENU — MOVE TO LEFT SIDE
================================= */

#mobile-menu {
  left: -280px !important;
  right: auto !important;
  transition: left .35s ease-in-out !important;
}

#mobile-menu.active {
  left: 0 !important;
}

#mobile-overlay {
  left: 0;
  right: 0;
}

.sidebar img {
    display:block;
    margin:auto;
}

/* ===== COOKIE CONSENT VCARD ===== */
.cookie-card{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  z-index:9999;
  max-width:420px;
  width:calc(100% - 32px);
}

.cookie-inner{
  background:rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-radius:18px;
  padding:18px 20px;
  box-shadow:0 20px 50px rgba(15,23,42,.35);
  border:1px solid rgba(148,163,184,.35);
  font-family:"Segoe UI",system-ui,sans-serif;
}

.cookie-header{
  font-size:1.05rem;
  margin-bottom:.4rem;
}

.cookie-text{
  font-size:.95rem;
  line-height:1.6;
  color:#374151;
}

.cookie-links{
  margin-top:.6rem;
  font-size:.85rem;
}
.cookie-links a{
  color:#2563eb;
  text-decoration:none;
}
.cookie-links a:hover{text-decoration:underline;}

.cookie-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  margin-top:14px;
}

.cookie-actions .btn{
  padding:7px 14px;
  border-radius:10px;
  font-size:.85rem;
}
.cookie-actions .btn-outline{
  background:#f1f5f9;
  border:1px solid #cbd5f5;
}

/* ===== COOKIE CONSENT CARD ===== */
.cookie-card{
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%) translateY(40px);
  max-width:720px;
  width:calc(100% - 32px);
  background:rgba(255,255,255,0.96);
  border-radius:22px;
  border:1px solid rgba(148,163,184,.35);
  box-shadow:0 25px 60px rgba(15,23,42,.25);
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:all .45s ease;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.cookie-card.show{
  opacity:1;
  transform:translateX(-50%) translateY(0);
  pointer-events:auto;
}

.cookie-content{
  padding:1.4rem 1.6rem;
  display:flex;
  gap:1.2rem;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
}

.cookie-text{
  flex:1;
  min-width:240px;
}

.cookie-text strong{
  display:block;
  font-size:1.05rem;
  margin-bottom:.3rem;
}

.cookie-text p{
  font-size:.95rem;
  color:#374151;
  line-height:1.6;
}

.cookie-actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.cookie-btn{
  border:none;
  border-radius:12px;
  padding:8px 14px;
  font-size:.9rem;
  cursor:pointer;
  transition:.2s ease;
}

.cookie-btn.accept{
  background:#2563eb;
  color:#fff;
}
.cookie-btn.accept:hover{background:#1e40af;}

.cookie-btn.reject{
  background:#e5e7eb;
  color:#111827;
}
.cookie-btn.reject:hover{background:#d1d5db;}

.cookie-link{
  font-size:.85rem;
  color:#2563eb;
  text-decoration:none;
}
.cookie-link:hover{text-decoration:underline;}

@media(max-width:640px){
  .cookie-content{
    flex-direction:column;
    align-items:flex-start;
  }
}
