
/* ===== BASE & GLOBAL STYLES ===== */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.5;
  color: #fff;
  background-color: #1a002e;
}

a {
  color: #00E0FF;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
header {
  background-color: #1A002E;
  padding: 1rem 0;
  border-bottom: 2px solid #B200FF;
}
.logo {
  height: 70px;
  max-height: 80px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
nav.main-nav {
  display: inline-block;
  margin-left: 2rem;
}
nav.main-nav a {
  margin: 0 1rem;
  font-weight: 500;
}
.btn {
  background: linear-gradient(to right, #B200FF, #FF00E6);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  float: right;
  transition: all 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(178, 0, 255, 0.4);
}

/* ===== HERO ===== */
section.hero {
  text-align: center;
  padding: 4rem 0;
}
section.hero h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, #FFD700, #FFA500, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 1rem 0;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.3),
    0 0 20px rgba(255, 165, 0, 0.2);
}
@media (max-width: 768px) {
  section.hero h1 {
    font-size: 2.5rem;
  }
}

/* ===== ADVERTS ===== */
.adverts {
  margin: 2rem 0;
}
.adverts-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 900px) {
  .adverts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .adverts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.ad-slot {
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.ad-slot:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(178, 0, 255, 0.3);
}
.ad-slot img,
.ad-slot video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

/* ===== UTILITIES ===== */
section.utilities {
  background-color: #1A002E;
  padding: 2rem 0;
}
.utility-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
}
.utility-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid #B200FF;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}
.utility-item:hover {
  background: rgba(178, 0, 255, 0.1);
}

/* ===== CONTENT ===== */
section.content {
  padding: 2rem 0;
}
section.content h3 {
  margin-bottom: 1rem;
}

/* ===== GALLERIES ===== */
.gallery.images,
.gallery.videos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
.gallery.images img,
.gallery.videos video {
  flex: 1 1 300px;
  min-width: 200px;
  border-radius: 4px;
}

/* ===== DIRECTORY ===== */
section.directory ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
section.directory li a {
  display: block;
  background-color: #2e004e;
  padding: 0.75rem;
  border-radius: 4px;
  text-align: center;
  flex: 1 1 150px;
}

/* ===== FOOTER ===== */
footer {
  background-color: #1A002E;
  padding: 1rem 0;
  text-align: center;
}
footer a {
  margin: 0 0.5rem;
  font-size: 0.9rem;
}

/* ===== SCROLL FIXES ===== */
html {
  overflow-y: auto;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}

/* ===== HEADER & MENU STYLES (RESTORED) ===== */
nav.main-nav {
  display: inline-block;
  margin-left: 2rem;
  background: rgba(178, 0, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}
nav.main-nav a {
  margin: 0 1rem;
  font-weight: 500;
  color: #00E0FF;
  position: relative;
  padding: 0.5rem 0;
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF00E6;
  transition: width 0.3s ease;
}
nav.main-nav a:hover::after {
  width: 100%;
}

/* Mobile menu fixes and layout wrapping */
@media (max-width: 768px) {
  header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .buy-btn {
    margin-top: 1rem;
    float: none;
    align-self: center;
  }
  nav.main-nav {
    margin: 1rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  nav.main-nav a {
    display: inline-block;
    margin: 0.5rem;
  }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.slider-wrapper {
  width: 100%;
  display: flex;
  height: 100%;
}
.slide {
  flex: 0 0 100%;
  position: relative;
  text-align: center;
  color: #fff;
}
.slide img,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 5%;
  right: 5%;
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 8px;
}
.slide-caption h2 {
  margin: 0;
  font-size: 1.5rem;
}
.slide-caption p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
}
