/* Global Styles */
body {
  background-color: #F2E9E4;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  color: #2B2B2B;
}

img {
  max-width: 100%;
  height: auto;
}

/* Navigation */
nav.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #FFFFFF;
  border-bottom: 1px solid #ccc;
}

.nav-left button {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-right img.logo {
  height: 40px;
}

/* Mobile Modal Menu */
.nav-modal {
  display: none;
  background-color: #fff;
  width: 100%;
  left: 0;
  z-index: 1000;
  border-top: 1px solid #ccc;
}

.nav-modal .nav-content {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 1rem;
}

.nav-modal a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #7A3B4E;
  font-weight: 500;
  font-size: 1.1rem;
}

.nav-modal.active {
  display: flex !important;
  position: absolute;
  top: 60px;
}


/* General Nav Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block; /* allows multiple dropdowns horizontally in desktop */
}

.nav-dropdown > .dropdown-toggle {
  cursor: pointer;
  font-weight: 500;
  color: #7A3B4E;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  padding: 0.5rem 0;
  z-index: 20;
}

.nav-dropdown .dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #7A3B4E;
  font-weight: 500;
}

.nav-dropdown .dropdown-menu a:hover {
  background-color: #f8f0f4;
  color: #702E3B;
}

/* Desktop Navigation */
.desktop-only .nav-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1rem;
}


@media (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }

  .desktop-only {
    display: block;
  }

  .nav-modal.desktop-only {
    position: static;
    display: block !important;
    background: transparent;
    border: none;
  }

  .nav-modal.desktop-only a {
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
  }

  .nav-modal.desktop-only .profile-dropdown {
    position: relative;
  }

  .nav-modal.desktop-only .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
  }
  .nav-dropdown:hover .dropdown-menu {
    display: block;
  }  
}
/* ===== Global Footer (isolated) ===== */
footer.site-footer {
  background-color: #1c1c1c;
  color: #fff;
  padding: 2rem 1rem;
}

footer.site-footer .footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

footer.site-footer .footer-left p,
footer.site-footer .footer-links a {
  font-size: 0.9rem;
  color: #ccc;
}

footer.site-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
}

footer.site-footer .footer-links li {
  display: inline-block;
  margin-left: 1rem;
}

footer.site-footer .footer-links a {
  text-decoration: none;
}

footer.site-footer .footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

footer.site-footer .social-icons a img {
  width: 24px;
  height: 24px;
  margin-left: 0.5rem;
}

/* Footer responsive */
@media (max-width: 1024px) {
  footer.site-footer .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Toggle dropdown on click for mobile/tablet */
@media (max-width: 767px) {
  .nav-dropdown .dropdown-toggle::after {
    content: " ▼";
    font-size: 0.7rem;
    margin-left: 4px;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }
}


@media (max-width: 767px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-modal {
    display: none;
    flex-direction: column;
    position: absolute;
    width: 100%;
  }

  .nav-modal.active {
    display: flex !important;
  }
}

/* Branding */
.hero-branding {
  text-align: center;
  padding: 2rem 1rem;
}

.branding-logo {
  margin-bottom: 1rem;
}

.branding-logo img {
  width: 40vw;
  max-width: 140px;
  min-width: 80px;
  height: auto;
}

.atl-brand-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #7A3B4E;
  margin-bottom: 0.25rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #2B2B2B;
}

/* Search Box */
.search-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.search-box input {
  width: 90%;
  max-width: 500px;
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 40px;
  margin-bottom: 1rem;
}

.button-group button {
  background-color: #7A3B4E;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  margin: 0 0.5rem;
  font-size: 1rem;
  cursor: pointer;
}

.button-group button:hover {
  background-color: #A86C7A;
}

/* News Section */
.news-feature {
  padding: 2rem 1rem;
  text-align: center;
}

.news-feature img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.news-headline {
  font-weight: bold;
  font-size: 1.1rem;
}

/* Weather Section */
.weather-info {
  text-align: center;
  padding: 2rem 1rem;
  background: #FFF;
}

.weather-info h2 {
  margin-bottom: 0.5rem;
  color: #7A3B4E;
}

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-dropdown img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.profile-dropdown .dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 20;
  padding: 0.5rem;
  border-radius: 6px;
}

.profile-dropdown:hover .dropdown-content {
  display: block;
}


/* News Section Styling */
/* News Section */
.news-feature {
  padding: 2rem 1rem;
  text-align: center;
}

/* News Card Layout */
.news-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 1.5rem auto;
  max-width: 600px;
  overflow: hidden;
  text-align: left;
}

/* Title Head */
.news-card-title {
  background-color: #ffffff;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2B2B2B;
  border-bottom: 1px solid #eee;
}

/* Image Div */
.news-card-image {
  height: 250px;
  background-size: cover;
  background-position: center;
}

/* Description Div */
.news-card-description {
  background-color: #ffffff;
  padding: 1rem;
  font-size: 1rem;
  color: #555;
  border-top: 1px solid #eee;
}



.weather-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 320px;
  margin: 0 auto;
  gap: 1rem;
}

.weather-icon {
  width: 64px;
  height: 64px;
}

.weather-details h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #7A3B4E;
}

.weather-details p {
  margin: 0.25rem 0;
  font-weight: 500;
}

.weather-details small {
  color: #666;
}

.faint-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -100; /* very behind */
  pointer-events: none;
  overflow: hidden;
  opacity: 1; /* opacity is on the img, not the container */
}

.faint-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* raise to 0.2-0.25 for better visibility */
  filter: grayscale(20%) contrast(110%) brightness(90%);
}




