/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.oasis-site {
  font-family: Arial, sans-serif;
  background: #00002b;
  color: #fff;
  line-height: 1.6;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  letter-spacing: 2px;
}

/* ================= HEADER ================= */
section {
  scroll-margin-top: 60px;
}

header {
  position: sticky;
  top: 0;
  background: #00002b;
  z-index: 1000;
  border-bottom: 1px solid #111;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo-band {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-round {
  width: 80px;
}

.band-name {
  height: 30px;
}

/* ================= NAV ================= */
header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  color: #d02f42;
}

.socials a {
  margin-left: 10px;
  color: #fff;
  text-decoration: none;
}

/* ================= HERO ================= */
.hero {
  height: 80vh;
  background: url('images/oasis/hero1.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 100px;
}

.hero .overlay {
  text-align: center;
  background: rgba(0,0,43,0.7);
  padding: 30px 40px;
}

.hero h2 {
  color: #d02f42;
}

.hero-logo {
  max-width: 500px;
  width: 90%;
  margin-bottom: 15px;
}

/* ================= CTA ================= */
.cta {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 2px solid #d02f42;
  color: #fff;
  text-decoration: none;
}

.cta:hover {
  background: #d02f42;
  color: #000;
}

/* ================= GIGS ================= */
#gigs {
  padding: 50px 20px;
  background: #00002b;
}

.gig {
  margin: 10px auto;
  max-width: 500px;
  padding: 10px;
  border-bottom: 1px solid #222;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gig span {
  color: #d02f42;
}

.read-more {
  padding: 6px 10px;
  border: none;
  background: #d02f42;
  color: #000;
  cursor: pointer;
}

/* ================= GIG POPUP ================= */
.gig-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,43,0.9);
}

.gig-popup-content {
  background: #111;
  margin: 10% auto;
  padding: 20px;
  max-width: 500px;
  position: relative;
}

.gig-popup-content a,
.gig-popup-content a:visited,
.gig-popup-content a:active,
.gig-popup-content a:focus {
  color: #d02f42;
  text-decoration: none;
  font-weight: bold;
}

.gig-popup-content a:hover {
  text-decoration: underline;
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

/* ================= NEWS ================= */
#news {
  padding: 50px 20px;
  background: #00002b;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  /* Reverse to show latest news first */
  display: flex;
  flex-direction: column-reverse;
}

.news-item {
  display: grid;
  grid-template-areas:
    "date date"
    "img text"
    "img read";
  grid-template-columns: 200px 1fr;
  gap: 10px;
  background: #111;
  padding: 15px;
}

.news-item .date {
  grid-area: date;
  color: #d02f42;
  font-weight: bold;
}

.news-item img {
  grid-area: img;
  width: 200px;
  height: 200px;
  object-fit: cover;
}

.news-content {
  grid-area: text;
}

.news-item .read-more {
  grid-area: read;
}

/* ================= NEWS MOBILE RESPONSIVE ================= */
@media (max-width: 600px) {
  .news-item {
    grid-template-areas:
      "img"
      "date"
      "text"
      "read";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    text-align: center;
  }

  .news-item img {
    width: 100%;
    height: auto;
  }
}

/* ================= MODAL ================= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,43,0.9);
}

.modal-content {
  background: #111;
  margin: 10% auto;
  padding: 20px;
  max-width: 500px;
  position: relative;
}
/* ================= PHOTO MODAL ================= */
.photo-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.photo-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 5px;
}

#photoCaption {
  margin: 10px auto;
  text-align: center;
  color: #ccc;
  font-size: 16px;
}

.photo-modal .close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.photo-modal .close:hover {
  color: #009bdf;
}

/* Optional: hover zoom on gallery images */
.gallery img:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
  cursor: pointer;
}
/* ================= PHOTOS ================= */
#photos {
  padding: 50px 20px;
  background: #00002b;
}

#photos .gallery {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row-reverse; /* latest images first */
  gap: 10px;
}

#photos .gallery img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

/* Mobile stack */
@media (max-width: 600px) {
  #photos .gallery {
    flex-direction: column-reverse; /* newest on top */
  }

  #photos .gallery img {
    width: 100%;
    height: auto;
  }
}

/* ================= HISTORY ================= */
#history {
  padding: 50px 20px;
}

.history-slider img {
  width: 100%;
  margin-bottom: 10px;
}

/* ================= INSTAGRAM ================= */
#instagram {
  padding: 50px 20px;
  background: #00002b;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.insta-grid img {
  width: 100%;
}

/* ================= CONTACT ================= */
#contact {
  padding: 50px 20px;
  text-align: center;
}

#contact a {
  color: #d02f42;
  text-decoration: none;
  font-weight: bold;
}

#contact a:hover {
  text-decoration: underline;
}

/* ================= FOOTER ================= */
footer {
  background: #00002b;
  text-align: center;
  padding: 20px;
}

.footer-socials a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
}