body {
  margin: 0;
  font-family: 'Scheherazade New', serif;
  background: linear-gradient(to bottom, #030a10, #0b1f2b);
  color: #f0e8dc;
  overflow-x: hidden;
}

.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  z-index: 0;
  opacity: 0.15;
  animation: twinkle 12s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}

header {
  text-align: center;
  padding: 140px 20px 80px;
  z-index: 1;
  position: relative;
  background: linear-gradient(to bottom, #0c1923, transparent);
}

header h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: #ffefc2;
  text-shadow: 0 0 15px #5c4b1a, 0 0 30px #3e2f0c;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #5c4b1a; }
  to { text-shadow: 0 0 20px #ffe9a0; }
}

header p {
  font-size: 1.4rem;
  max-width: 700px;
  margin: auto;
  color: #e2ded8;
  line-height: 1.8;
  text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.gallery {
  background: linear-gradient(to bottom, #081c27, #112d3f);
  padding: 70px 20px;
  text-align: center;
}

.gallery h2 {
  color: #ffd79d;
  font-size: 2.4rem;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 215, 157, 0.4);
  letter-spacing: 1px;
}

.image-scroll {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.image-card {
  flex: 0 0 auto;
  scroll-snap-align: center;
  background: radial-gradient(circle, #162734, #0e1c27);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 300px;
}

.image-card:hover {
  transform: scale(1.07);
  box-shadow: 0 0 35px rgba(255, 215, 157, 0.3);
}

.image-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

.image-card span {
  display: block;
  padding: 14px;
  font-size: 1.1rem;
  color: #e9faff;
  text-shadow: 0 0 3px rgba(0,0,0,0.4);
}

section.oasis {
  background: linear-gradient(to top, #1a4942, #0b2737);
  padding: 90px 20px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.oasis p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: auto;
  color: #def5f0;
  line-height: 2;
  text-shadow: 0 0 5px rgba(0,0,0,0.2);
}

#map-section {
  background: linear-gradient(to bottom, #0d2430, #06151e);
  padding: 80px 20px;
  text-align: center;
}

#map-section h2 {
  color: #ffdfaf;
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 6px rgba(255, 223, 175, 0.3);
}

#map {
  width: 90%;
  height: 600px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

footer {
  text-align: center;
  font-size: 1rem;
  padding: 50px 20px;
  color: #ccc;
  background-color: #0a1a26;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* FLAGS */

.countries {
  background: linear-gradient(to bottom, #0c1c2c, #081622);
  padding: 80px 20px;
  text-align: center;
}

.countries h2 {
  font-size: 2.4rem;
  color: #ffe9b3;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 230, 180, 0.3);
}

.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}


.flag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #132231;
  padding: 20px 10px;
  border-radius: 12px;
  text-decoration: none;
  color: #fdfdfd;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* Por si se necesita posicionamiento */
  cursor: pointer;
}

.flag-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.flag-item img {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.3));
}

.flag-item span {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 500;
}