/* ---------- General Styles ---------- */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
}

header {
  background-color: #0005B8;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

header .logo {
  width: 150px;
  height: auto;
  transition: filter 0.2s;
  animation: spinLogo 3s cubic-bezier(0.77,0,0.18,1) infinite;
}

/* Logo Animation: 2s spin, 1s pause */
@keyframes spinLogo {
  0%   { transform: rotate(0deg);}
  66%  { transform: rotate(1080deg);}
  100% { transform: rotate(1080deg);}
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
}

#lang-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: #F7931E;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: bold;
  border-radius: 4px;
}

.content-wrapper {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.content-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('images/back.webp') center/cover no-repeat;
  opacity: 0.8;
  z-index: -1;
}

section {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  background-color: rgba(174, 233, 255, 0.85);
  border-radius: 8px;
}

section h2 {
  color: #0050D0;
  margin-bottom: 1rem;
  text-align: center;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}
.gallery-grid picture {
  display: flex;
  align-items: stretch;
}
.gallery-grid img {
  max-width: 250px;
  width: 100%;
  height: 166px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* ---------- Map ---------- */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

/* ---------- Footer ---------- */
footer {
  background-color: #0050D0;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ---------- Social Links ---------- */
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1em 0 0 0;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #f8fafc;
  color: #333;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.4em;
  border: 1px solid #e4e4e7;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
  background: #0005B8;
  color: #fff;
}
.social-links i {
  display: block;
  pointer-events: none;
}

/* ---------- Responsive (Mobile) ---------- */
@media (max-width: 600px) {
  section {
    padding: 1rem 0.5rem;
  }
  .gallery-grid img {
    max-width: 130px;
    height: 86px;
  }
  .social-links {
    gap: 0.5rem;
  }
  .social-links a {
    width: 38px;
    height: 38px;
    font-size: 1.1em;
    padding: 0;
  }
  .map-container iframe {
    height: 250px;
  }
}
