/* ==========================
   GLOBAL STYLES
========================== */
body {
  font-family: Arial, sans-serif;
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header, footer {
  background: #f3f3f3;
  text-align: center;
  padding: 1em;
}

/* ==========================
   BANNER
========================== */
.banner {
  background-color: #e0e0e0; /* light gray or another subtle tone to make the white border visible */
  padding: 4px; /* adds white border “space” if needed */
  text-align: center;
}

.banner img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin: 0 auto;
  animation: fadeIn 1s ease-in;
}

/* banner 13nov2025 @6:10pm */
/* =============== Banner Soft Blend Enhancement =============== */
.banner {
  background: linear-gradient(to bottom, #d9d9d9 0%, #f2f2f2 100%);
  padding: 6px;
}

.banner img {
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  border: 3px solid #fff;
  transition: box-shadow 0.3s ease-in-out;
}

.banner img:hover {
  box-shadow: 0 3px 12px rgba(0,0,0,0.35);
}
/* banner 13nov2025 @6:10pm */


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Coaching Details Image - Golden Gate Bridge  6nov2025  */
.coaching-details {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 1em;
  margin-bottom: 2em;
}

.coaching-details .coaching-text {
  flex: 2;
}

.coaching-details .coaching-image {
  flex: 1;
  text-align: right;
}

.coaching-details img {
  max-width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
/* Coaching Details Image - Golden Gate Bridge  6nov2025  */

/* contact-submit page CSS code 7nov2025   */

.contact-section {
  max-width: 600px;
  margin: 40px auto;
  font-family: "Palatino Linotype", Palatino, serif;
}

.contact-section h2 {
  text-align: center;
  font-style: italic;
  font-size: 1.6em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

.form-buttons {
  display: flex;
  justify-content: space-between;
}

.form-buttons button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #336699;
  color: #fff;
  cursor: pointer;
}

.form-buttons button:hover {
  background-color: #264d73;
}

/* Coaching Details Image - Golden Gate Bridge  6nov2025  */


/* ==========================
   MAIN MENU — Final Clean Version (Nov 9 2025 @4:07pm)
========================== */

.main-menu {
  background-color: #003366;
  position: relative;
  font-family: Georgia, serif;
}

/* Hamburger Icon */
.menu-icon {
  display: none;
  font-size: 26px;
  color: white;
  padding: 14px 18px;
  cursor: pointer;
  background-color: #003366;
  text-align: center;
}

#menu-toggle {
  display: none;
}

/* Menu links container */
.menu-container {
  overflow: hidden;
}

.menu-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: max-height 0.4s ease-out;
}

.menu-links li {
  position: relative;
}

.menu-links a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
}

.menu-links a:hover {
  background-color: #00509e;
}

/* Dropdowns */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #004080;
  min-width: 180px;
  z-index: 1000;
}

.dropdown-content a {
  padding: 10px 15px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .menu-links {
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
  }

  #menu-toggle:checked + .menu-container .menu-links {
    max-height: 500px; /* expands smoothly */
  }

  .dropdown-content {
    position: static;
    background-color: #003366;
    width: 100%;
    text-align: center;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* disable hover on mobile */
  }

  .dropdown:focus-within .dropdown-content {
    display: block;
  }
}

/* MAIN MENU — Final Clean Version (Nov 9 2025 @4:07pm) */

/* === Menu hover fix — Nov 9, 2025 evening === */

/* Desktop: show dropdowns on hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }

  /* Optional: small visual polish for dropdowns */
  .dropdown-content {
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }

  .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
  }
}

/* Mobile: ensure dropdowns open on click/tap only */
@media (max-width: 768px) {
  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown:focus-within .dropdown-content,
  .dropdown-content a:focus {
    display: block;
  }
}


/* === Desktop dropdown visibility fix (Nov 10, 2025 @745pm) === */
@media (min-width: 769px) {
  .main-menu .dropdown:hover > .dropdown-content,
  .main-menu .dropdown:focus-within > .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  /* Ensure dropdown layers above banner */
  .dropdown-content {
    z-index: 9999;
  }
}

/* === Desktop dropdown visibility fix (Nov 10, 2025 @745pm) === */


/* === FINAL desktop dropdown override (Nov 10 2025 @7:47pm) === */
@media (min-width: 769px) {
  .main-menu .dropdown:hover > .dropdown-content,
  .main-menu .dropdown:focus-within > .dropdown-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Make sure dropdowns stack over banner and stay clickable */
  .main-menu .dropdown-content {
    z-index: 9999 !important;
    position: absolute !important;
  }
}
/* === FINAL desktop dropdown override (Nov 10 2025 @7:47pm) === */

/* === Dropdown link fix for desktop hover (Nov 10 2025 @7:50pm) === */
@media (min-width: 769px) {
  .main-menu .menu-links > li.dropdown:hover > ul.dropdown-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .main-menu .menu-links > li.dropdown > ul.dropdown-content {
    position: absolute !important;
    top: 100%;
    left: 0;
    background-color: #004080;
    min-width: 180px;
    z-index: 9999;
  }
}
/* === Dropdown link fix for desktop hover (Nov 10 2025 @7:50pm) === */


/* === Diagnostic dropdown visibility test (Nov 10 2025 @7:52pm) === */
@media (min-width: 769px) {
  .main-menu .menu-container,
  .main-menu .menu-links {
    overflow: visible !important;
  }

  .main-menu .dropdown-content {
    display: none;
    position: absolute;
    background-color: #004080;
    min-width: 200px;
    z-index: 9999;
  }

  .main-menu li.dropdown:hover > .dropdown-content {
    display: block !important;
  }
}
/* === Diagnostic dropdown visibility test (Nov 10 2025 @7:52pm) === */

/* === Dropdown visual cleanup (Nov 10 2025 @7:55pm) === */
@media (min-width: 769px) {
  .main-menu .dropdown-content {
    list-style: none !important;   /* remove bullets */
    margin: 0;
    padding: 0;
    border-radius: 0 0 4px 4px;
  }

  .main-menu .dropdown-content a {
    font-size: 0.95em;             /* slightly smaller text */
    padding: 10px 16px;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .main-menu .dropdown-content a:last-child {
    border-bottom: none;
  }

  .main-menu .dropdown-content a:hover {
    background-color: #00509e;
  }
}
/* === Dropdown visual cleanup (Nov 10 2025 @7:55pm) === */

/* =============== MOBILE MENU TOUCH IMPROVEMENTS (13 Nov 2025 @605pm) =============== */
@media (max-width: 768px) {

  /* Bigger tap area on parent links */
  .main-menu .dropdown > a {
    padding: 16px 20px;
  }

  /* Improve spacing around submenu links */
  .dropdown-content a {
    padding: 14px 20px;
    font-size: 1.05em;
  }

  /* Submenu stays open while tapping inside */
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
}
/* =============== MOBILE MENU TOUCH IMPROVEMENTS (13 Nov 2025 @605pm) =============== */

/* footer 13nov2025 at 6:36pm   */
.communities-served {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  max-width: 900px;
  margin: 20px auto 10px;
  line-height: 1.4;
}
/* footer 13nov2025 at 6:36pm   */
