body {
  margin:0;
  font-family:"Georgia", serif;
  background:#f7f5f2;
  color:#333;
}

/* ===================== HEADER ===================== */
/* Normal header (always blue) */
header {
  background: #3c3c6d;
  width: 100%;
  z-index: 1000;
}

header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* smaller than before so sidebars and popups can appear above */
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  background: #3c3c6d;
}

/* Placeholder keeps layout from jumping */
.header-placeholder {
  display: none;
  width: 100%;
  height: 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  background: #3c3c6d; /* top part stays blue */
}

header .logo img { width: 90px; display: block; }
header .header-info h1 { font-size: 1.8em; color: white; }
header .header-info p { font-size: 0.9em; margin-top: 5px; color: white; }

/* Language buttons */
header .lang-selector button {
  background: transparent;
  border: 1px solid white;
  color: white;
  margin-left: 5px;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.2s;
}
header .lang-selector button:hover {
  background: white;
  color: #3c3c6d;
}

/* Navigation always same blue */
header nav {
  background: #3c3c6d;
}

header nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  flex-wrap: wrap;
}

header nav ul li a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: 0.2s;
  font-weight: bold;
}

header nav ul li a:hover {
  background: #5c5cad;
  border-radius: 4px;
}

/* Sections */
section { padding: 20px 40px; max-width:1400px; margin:auto; }
section h2 { font-size:1.8rem; margin-bottom:15px; color:#3a2f2f; }

/* Gallery / Videos container */
.gallery-wrapper { margin-bottom:30px; }
.gallery-container, .video-container {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px,1fr));
  gap:25px;
}

/* Cards */
.gallery-item, .video-item, .news-item {
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.gallery-item:hover, .video-item:hover, .news-item:hover { transform:translateY(-4px); }

.gallery-item img, .video-item img { width:100%; height:220px; object-fit:cover; cursor:pointer; display:block; }

.gallery-text, .video-text, .news-text { padding:15px 20px; }
.gallery-text h3, .video-text h3, .news-text h3 { margin:0 0 10px 0; font-size:1.2rem; color:#4b3b3b; }
.gallery-text p, .video-text p, .news-text p { margin:0; line-height:1.4; }

/* Lightbox */
#lightbox {
  position:fixed; top:0; left:0; width:100%; height:100%;
  display:none; justify-content:center; align-items:center;
  background:rgba(0,0,0,0.85); z-index:9999;
}
#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  flex-direction: column;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}


/* Arrows */
.gallery-controls { display:flex; justify-content:center; gap:15px; margin-bottom:10px; }
.gallery-controls button {
  padding:8px 15px; font-size:18px; border:none; border-radius:5px; background:#3a2f2f; color:#fff; cursor:pointer; transition:background 0.2s;
}
.gallery-controls button:disabled { background:#aaa; cursor:not-allowed; }
.gallery-controls button:hover:not(:disabled) { background:#5c4b4b; }

/* News cards - updated to match gallery/video box size */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* same as gallery/video */
  gap: 25px; /* same spacing as gallery/video */
}

.news-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.news-item:hover {
  transform: translateY(-4px);
}

.news-item img {
  width: 100%;
  height: 220px; /* same height as gallery/video images */
  object-fit: cover;
  cursor: pointer;
  display: block;
}

.news-text {
  padding: 15px 20px;
}

.news-text h3 {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  color: #4b3b3b;
}

.news-text p {
  margin: 0;
  line-height: 1.4;
}
#site-footer {
  background-color: #1e3a8a; /* same blue as header */
  color: #fff;
  font-family: sans-serif;
  padding: 50px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 200px; /* responsive columns */
}

.footer-section h4 {
  border-bottom: 2px solid #fff;
  padding-bottom: 8px;
  margin-bottom: 12px;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-section p {
  line-height: 1.5;
  font-size: 14px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-btn {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
}

.social-btn.facebook {
  background-color: #4267B2;
}

.social-btn.telegram {
  background-color: #0088cc;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 15px;
}
/* Dropdown wrapper */
nav ul li.dropdown {
  position: relative;
}

/* Dropdown menu (hidden som default) */
nav ul li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  background-color: #3c3c6d;
  min-width: 160px;
  top: 100%;
  left: 0;
  z-index: 1000;
  border-radius: 4px;
  overflow: hidden;
}

/* Dropdown links */
nav ul li.dropdown .dropdown-content li a {
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

nav ul li.dropdown .dropdown-content li a:hover {
  background-color: #5c5cad;
}

/* Show dropdown on hover */
nav ul li.dropdown:hover .dropdown-content {
  display: block;
}
[id]::before {
  content: "";
  display: block;
  height: 120px; /* height of your fixed header */
  margin-top: -120px; /* negative margin pulls section up */
  visibility: hidden;
}