/* ===========================
   Careers – Full CSS
   (Desktop-safe; mobile bottom nav only on ≤768px)
   =========================== */

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e1e;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0d0d0d;
  color: #fff;
}

/* Dropdown container */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0d0d0d;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 999;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}

.dropdown-menu li a:hover { background-color: #aa3f63; }

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu { display: flex; }

/* Branding */
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.logo img { height: 60px; }
.logo-text { height: 28px; }

/* Desktop Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.nav-links a:hover { color: #ffbad2; }

/* Header Section */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(30, 30, 30, 0.9), rgba(30, 30, 30, 0.9)),
    url('Careers_Background.png') center/cover no-repeat;
  color: #f0f0f0;
  padding: 100px 20px;
  text-align: center;
  border-bottom: 3px solid #444;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #ffcb6b;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #ccc;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.section h2 {
  font-size: 2rem;
  color: #aa3f63;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Disclaimer */
.careers-disclaimer {
  background-color: rgba(0, 0, 0, 0.7);
  color: #f2f2f2;
  padding: 2rem;
  margin: 3rem auto;
  max-width: 800px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

.careers-disclaimer h3 {
  color: #ff69b4;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Job Listings */
.job-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  align-items: stretch;
}

.job-posting {
  flex: 0 1 300px;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-posting:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}

.job-posting h3 {
  color: #ff69b4;
  margin-bottom: 0.5rem;
}

.job-posting p {
  color: #393939;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Apply Button */
.apply-button {
  background-color: #ff69b4;
  color: #fff;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.15s ease;
}
.apply-button:hover {
  background-color: #ffc107;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #0d0d0d;
  color: #fff;
  font-size: 0.8rem;
}

/* =========================================================
   MOBILE UI VISIBILITY (Desktop default)
   Hide mobile header + bottom bar on desktop/tablet
   ========================================================= */
.mobile-navbar,
.bottom-nav {
  display: none !important; /* prevents spillover on desktop */
}

/* =========================================================
   MOBILE (≤768px): show mobile nav, hide desktop header
   ========================================================= */
@media screen and (max-width: 768px) {
  /* Hide desktop header on mobile */
  .desktop-only { display: none !important; }

  /* Show mobile header wrapper */
  .mobile-navbar { display: block !important; }

  /* Fixed bottom navigation bar */
  .bottom-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background-color: #0d0d0d;
    padding: 0.4rem 0;
    list-style: none;
    z-index: 1000;
    border-top: 2px solid #ff69b4;
  }

  .bottom-nav li { flex: 1; text-align: center; }

  .bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s ease;
  }
  .bottom-nav a:hover { color: #ffbad2; }

  .nav-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 0.2rem;
  }

  /* Mobile spacing & type */
  .hero { padding: 60px 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; line-height: 1.6; }

  .careers-disclaimer { padding: 1.5rem 1rem; font-size: 0.9rem; }

  .section { padding: 2rem 1rem; }
  .section h2 { font-size: 1.6rem; }

  .job-list { flex-direction: column; padding: 1rem; gap: 1.5rem; }
  .job-posting { max-width: 100%; padding: 1rem; }

  /* keep footer clear of fixed bar */
  footer { padding-bottom: 60px; }
}
