/* ═══════════════════════════════════════════════
   REUSABLE NAVBAR (stable, no transparency)
═══════════════════════════════════════════════ */

/* ── Root variables – same palette ── */
:root {
  --primary-green:   #014A2E;
  --accent-pink:     #D6497B;
  --secondary-green: #509F3D;
  --green-deep:      #012A1A;
  --green-mid:       #023D27;
  --pink-dark:       #A3305A;
  --white:           #FFFFFF;
  --text-dark:       #1A2420;
  --font-sans:       'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-display:    'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --container-w:     1240px;
  --t-fast:          0.2s;
  --t-mid:           0.4s;
  --ease-smooth:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Base reset (minimal) ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
a { text-decoration: none !important; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }



/* ══════════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════════ */
.ddsea-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: var(--green-deep);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.topbar-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
}
.topbar-info span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.76);
}
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.topbar-socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.75rem;
  transition: all var(--t-fast);
}
.topbar-socials a:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════
   MAIN NAVIGATION (solid background, no transparency)
══════════════════════════════════════════════ */
.ddsea-nav {
  position: fixed;
  top: 35px;          /* space for topbar */
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--green-deep);  /* solid green – no transparency */
  /* padding: 0.5rem 0; */
  transition: padding var(--t-mid) var(--ease-smooth);
}
/* Optional: you can keep a subtle shadow instead of a transparent background */
.nav-inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo img {
  width: 170px;
  height: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.3rem;
  margin-bottom: 0;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
  text-transform: uppercase;
  font-family: var(--font-sans)
}
.nav-links a:hover {
  color: var(--white);
}
.nav-cta {
  background: var(--accent-pink) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background var(--t-fast) !important;
}
.nav-cta:hover {
  background: var(--pink-dark) !important;
}

/* Dropdown menu */
.nav-dropdown {
  position: relative;
}
.dropdown-menu-ddsea {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 150px;
  padding: 0.5rem 0;
  background: rgba(1, 42, 26, 0.98);
  border: 1px solid rgba(255,255,255,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--t-fast);
}
.nav-dropdown:hover .dropdown-menu-ddsea {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu-ddsea a {
  display: block;
  padding: 0.65rem 1rem;
  white-space: nowrap;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--t-mid);
}
.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ══════════════════════════════════════════════
   MOBILE MENU (slide-in)
══════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--green-deep);
  z-index: 1002;
  padding: 7rem 2rem 3rem;
  transition: right 0.4s ease;
  overflow-y: auto;
}
.mobile-menu.open {
  right: 0;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-link {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-link:hover {
  color: var(--accent-pink);
}
.mobile-cta {
  color: var(--accent-pink) !important;
}
.mobile-socials {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1.4rem;
}
.mobile-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 1rem;
}
.mobile-socials a:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
}
.mobile-close {
  position: absolute;
  top: 1.4rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mobile-close:hover {
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg);
}
.mobile-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 10px;
}
.mobile-close span:first-child {
  transform: rotate(45deg);
}
.mobile-close span:last-child {
  transform: rotate(-45deg);
}

/* ══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (IMPROVED)
══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .ddsea-topbar {
    display: none;
  }
  .ddsea-nav {
    top: 0;
    padding: 0.6rem 0;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-logo img {
    width: 145px;
  }
  /* Mobile menu open state - smoother transition */
  .mobile-menu {
    padding: 6rem 2rem 2.5rem;
  }
  .mobile-link {
    font-size: 1.4rem;
    padding: 0.9rem 0;
  }
  .mobile-socials a {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }
  .mobile-close {
    top: 1.2rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }
  .mobile-close span {
    width: 16px;
  }
}

@media (max-width: 768px) {
  .nav-inner {
    padding: 0 1.2rem;
  }
  .ddsea-nav {
    padding: 0.5rem 0;
  }
  .nav-logo img {
    width: 130px;
  }
  .mobile-menu {
    padding: 5rem 1.5rem 2rem;
  }
  .mobile-link {
    font-size: 1.25rem;
    padding: 0.8rem 0;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    padding: 0 0.8rem;
  }
  .ddsea-nav {
    padding: 0.4rem 0;
  }
  .nav-logo img {
    width: 110px;
  }
  .nav-hamburger {
    gap: 4px;
  }
  .nav-hamburger span {
    width: 20px;
    height: 2px;
  }
  .mobile-menu {
    padding: 4.5rem 1.2rem 1.5rem;
  }
  .mobile-link {
    font-size: 1.1rem;
    padding: 0.7rem 0;
  }
  .mobile-socials {
    gap: 0.6rem;
    padding-top: 1rem;
  }
  .mobile-socials a {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
  .mobile-close {
    top: 1rem;
    right: 0.8rem;
    width: 38px;
    height: 38px;
  }
  .mobile-close span {
    width: 14px;
    height: 1.5px;
  }
}
/* footer css */

/* ══════════════════════════════════════════════
   FOOTER (updated with mobile fixes)
══════════════════════════════════════════════ */
.ddsea-footer {
  background: var(--green-deep);
  padding-top: 4rem;
  margin-top: 0;          /* remove large top margin */
  overflow: hidden;       /* prevent horizontal scroll */
}

.footer-top {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--secondary-green); /* changed to existing var */
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.footer-col-title {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links-col a {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--t-fast);
}

.footer-links-col a:hover { color: var(--white); }
.footer-links-col a i { font-size: 0.75rem; color: var(--accent-pink); }

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--t-mid);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
  background: var(--accent-pink); /* changed to existing var */
  border-color: var(--accent-pink);
}

.footer-partner-logo {
  max-width: 140px;
  height: auto;
  margin-top: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-partner-logo:hover {
  opacity: 1;
}

.footer-bottom {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--t-fast);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-partner-logo {
  max-width: 140px;
  height: auto;
  margin: 1rem auto 0;
  display: block;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-partner-logo:hover {
  opacity: 1;
}

/* ── Mobile responsive fixes ── */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 0 1rem 2rem;
  }

  .footer-brand,
  .footer-links-col {
    text-align: center;
  }

  .footer-brand .footer-logo {
    justify-content: center;
  }

  .footer-links-col ul {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-partner-logo {
    display: block;
    margin: 1rem auto 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }

  .footer-copy {
    text-align: center;
    font-size: 0.7rem;
  }

  .footer-legal {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .ddsea-footer {
    padding-top: 2.5rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* nomination modsl */

.nomination-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.nomination-modal.active {
  display: flex;
}

.nomination-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 30, 20, 0.72);
  backdrop-filter: blur(6px);
}

.nomination-modal-box {
  position: relative;
  width: min(720px, 100%);
  background: var(--white);
  border-radius: 8px;
  padding: 2.2rem;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  z-index: 1;
}

.nomination-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(1,74,46,0.08);
  color: var(--primary-green);
}

.nomination-modal-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-pink);
  margin-bottom: 0.7rem;
}

.nomination-modal-box h2 {
  font-family: var(--font-display);
  color: var(--primary-green);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.nomination-modal-box p {
  color: var(--text-mid);
  margin-bottom: 1.5rem;
}

.nomination-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nomination-choice-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem;
  border: 1px solid rgba(1,74,46,0.16);
  border-radius: 8px;
  background: #fafaf7;
  color: var(--text-dark);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.nomination-choice-card i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-green);
  color: #fff;
}

.nomination-choice-card strong {
  color: var(--primary-green);
  font-size: 1rem;
}

.nomination-choice-card span {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.55;
}

.nomination-choice-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-pink);
  box-shadow: 0 12px 30px rgba(1,74,46,0.12);
}

@media (max-width: 650px) {
  .nomination-modal-box {
    padding: 1.5rem;
  }

  .nomination-choice-grid {
    grid-template-columns: 1fr;
  }
}
