/* ================== GLOBAL ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Arial', sans-serif;
  color: #fff;
  height: 100%;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  object-fit: cover;
}

/* ================== HERO ================== */
.hero {
  display: flex;
  justify-content: space-between;
  padding: 130px 30px 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-left {
  max-width: 60%;
  text-align: left;
}

.hero-logo {
  width: 120px;
  margin-bottom: 20px;
}

.catchphrase p {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ================== SLIDESHOW ================== */
.slideshow {
  max-width: 55%;
  width: 60%;
  position: relative;
  z-index: 1;
}

.slide {
  width: 60%;
  height: 420px;
  display: none;
  position: relative;
  top: 0;
  left: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.show {
  display: block;
  opacity: 1;
  text-align: right;
}

/* ================== ABOUT ================== */
.about {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 30px;
  text-align: left;
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 900px;
  margin: 100px auto 40px; /* spacing from fixed navbar */
  line-height: 1.8;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-radius: 10px;
}

.about h2,
.about h3,
.about h4 {
  color: #ffd700;
  margin-top: 30px;
}

.about p {
  margin-bottom: 20px;
  font-size: 16px;
}

.about ol {
  margin-left: 20px;
  padding-left: 20px;
}

.about a {
  color: #87ceeb;
  text-decoration: underline;
}

.about a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* ================== CONTACT ================== */
.contact {
  background: rgba(0, 0, 0, 0.6);
  padding: 60px 30px;
  text-align: left;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 900px;
  margin: 0 auto 40px;
  line-height: 1.8;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.contact h2 {
  color: #ffd700;
  margin-bottom: 30px;
  font-size: 32px;
}

.contact-details p {
  font-size: 18px;
  margin: 15px 0;
}

.contact-details a {
  color: #87ceeb;
  text-decoration: none;
  font-weight: 500;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact .icon {
  margin-right: 8px;
}

/* ================== FOOTER ================== */
footer {
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

/* ================== POLICIES / TERMS ================== */
.policies, .terms {
  background-color: #f8f8f8;
  color: #000;
  padding: 60px 30px;
  max-width: 900px;
  margin: 100px auto;
  line-height: 1.8;
  border-radius: 8px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.policies h2, .policies h3, .policies h4 {
  color: #333;
  margin-top: 30px;
}

.policies a {
  color: #007bff;
  text-decoration: underline;
}

.policies a:hover {
  color: #0056b3;
  text-decoration: none;
}

/* ================== NAVBAR ================== */
.navbar {
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  background: #fff;
  padding: 15px 30px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-section img {
  width: 50px;
}

.brand-name {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto; /* push menu right */
}

.nav-menu a,
.dropbtn {
  text-decoration: none;
  color: #000;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

.nav-menu a:hover,
.dropdown-content a:hover {
  color: #6c1c1c;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  z-index: 10;
}

.dropdown-content a {
  display: block;
  padding: 10px 16px;
  color: #000;
}

/* desktop hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* ================== MOBILE ================== */

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #000;
  position: absolute;
  right: 20px;
}

@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
    padding: 15px 20px;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    z-index: 10000;
    align-items: stretch;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a,
  .dropbtn {
    padding: 12px;
    width: 100%;
    border-bottom: 1px solid #eee;
  }

  .dropdown {
    width: 100%;
    text-align: left;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-left: 4px solid #eee;
    display: none;
    flex-direction: column;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: flex;
  }

  /* Hero responsive */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
  }

  .hero-left, .slideshow {
    max-width: 100%;
  }

  .hero-logo {
    width: 90px;
  }

  .catchphrase p {
    font-size: 1rem;
  }

  .slide {
    width: 100%;
    height: auto;
  }

  .about, .contact {
    padding: 40px 20px;
    max-width: 95%;
    margin-top: 80px; /* extra spacing for mobile */
  }
}

/* Mobile dropdown toggle via JS */
.dropdown-content.show {
  display: flex;
  flex-direction: column;
}
/* ===== Page-specific fix for attar.html ===== */
.attar-page .menu-toggle {
  z-index: 10001; /* ensure hamburger is on top */
  position: relative; /* if needed */
}

.attar-page .nav-menu {
  z-index: 10000; /* ensure menu appears above other elements */
}
