/* =====================================================
   ALİ YOLU – user.css (bereinigte Gesamtfassung)
   Diese Datei komplett in css/user.css einfügen.
   ===================================================== */

/* ---------- 1. Grüner Kopfbalken mit "-ALİ YOLU-" ---------- */
.container-header {
  background-color: #4aa826;
  background-image: linear-gradient(90deg,
    #d5e3b9 0%, #b5da87 12%, #8ccd4c 25%, #4aa826 37%, #008000 50%,
    #4aa826 63%, #8ccd4c 75%, #b5da87 88%, #d5e3b9 100%);
}
.container-header .grid-child {
  justify-content: center;
}
.container-header .navbar-brand {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.container-header .brand-logo,
.container-header .brand-logo:hover,
.container-header .brand-logo:focus,
.container-header .site-description {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.container-header .brand-logo {
  font-size: clamp(1.6rem, 7vw, 3rem) !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- 2. Menü im grünen Balken ---------- */
.container-header .container-nav {
  justify-content: center;
}
/* Hauptpunkte: weiß */
.container-header nav > ul > li > a,
.container-header nav > ul > li > button,
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > button {
  color: #ffffff !important;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
/* Pfeil neben Menüpunkten mit Unterpunkten: immer sichtbar, weiß */
.container-header .mod-menu .mm-toggler,
.container-header .mod-menu button {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}
.container-header .mod-menu .mm-toggler::after {
  border-color: #ffffff !important;
}
/* Aufklappfeld: weißer Kasten, grüne Schrift */
.container-header .mod-menu li > ul {
  background: #ffffff !important;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0.3rem 0;
  z-index: 1000;
}
.container-header .mod-menu li > ul a,
.container-header .mod-menu li > ul li a {
  color: #1b5e20 !important;
  text-shadow: none !important;
  font-weight: 500;
  padding: 0.45rem 1rem;
  display: block;
  white-space: nowrap;
}
.container-header .mod-menu li > ul a:hover {
  background: #e8f5e9;
}
/* Am PC: beim Darüberfahren aufklappen */
@media (min-width: 992px) {
  .container-header .mod-menu > li {
    position: relative;
  }
  .container-header .mod-menu > li:hover > ul {
    display: block !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
  }
}

/* ---------- 3. Kopf mit Bildern (Hz. Ali – Text – Logo) ---------- */
.container-banner {
  border-bottom: 0;
}
.container-banner,
.container-banner .banner-overlay,
.container-banner .mod-custom {
  min-height: 0 !important;
  height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
table.aliyolu-kopf {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border: 0;
}
table.aliyolu-kopf td {
  border: 0;
  padding: 10px 6px;
  text-align: center;
  vertical-align: middle;
}
table.aliyolu-kopf td:first-child,
table.aliyolu-kopf td:last-child {
  width: 25%;
}
table.aliyolu-kopf img {
  width: 100%;
  max-width: 220px;
  height: auto !important;
}
table.aliyolu-kopf td:nth-child(2),
table.aliyolu-kopf td:nth-child(2) * {
  font-size: clamp(0.75rem, 2.4vw, 1.5rem) !important;
  font-weight: 600;
  color: #1b5e20 !important;
  line-height: 1.35;
  margin: 0;
}
table.aliyolu-kopf p:empty,
table.aliyolu-kopf td:nth-child(2) br:first-child {
  display: none;
}

/* ---------- 4. Inhalt mittig ---------- */
.site-grid > .container-component {
  grid-column: full-start / full-end;
  justify-self: center;
  width: 100%;
  max-width: 900px;
}

/* ---------- 5. İkrar-Bild am Seitenende ---------- */
.aliyolu-ikrar {
  text-align: center;
  margin-top: 2rem;
}
.aliyolu-ikrar img {
  width: 220px;
  max-width: 60%;
  height: auto;
}

/* ---------- 6. Fußzeile: grüner Balken ---------- */
.container-footer {
  background-color: #4aa826;
  background-image: linear-gradient(90deg,
    #d5e3b9 0%, #b5da87 12%, #8ccd4c 25%, #4aa826 37%, #008000 50%,
    #4aa826 63%, #8ccd4c 75%, #b5da87 88%, #d5e3b9 100%);
  margin-top: 2rem;
}
.container-footer .grid-child {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center !important;
  gap: 0.6rem;
  min-height: 130px;
  padding: 1.5rem 1rem;
  text-align: center;
}
.container-footer .grid-child > *,
.container-footer .moduletable,
.container-footer nav,
.container-footer .mod-custom,
.container-footer ul.mod-menu {
  margin: 0 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.container-footer ul.mod-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
}
.container-footer ul.mod-menu li + li::before {
  content: "·";
  color: #ffffff;
  margin: 0 0.9rem;
  font-weight: 700;
}
.container-footer a,
.aliyolu-copy {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  margin: 0;
}
.container-footer a:hover,
.container-footer a:focus {
  text-decoration: underline;
}

/* ---------- 7. Handy ---------- */
@media (max-width: 700px) {
  .container-banner {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
  }
  table.aliyolu-kopf,
  table.aliyolu-kopf tbody {
    display: block;
    width: 100% !important;
    height: auto !important;
  }
  table.aliyolu-kopf tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto !important;
  }
  table.aliyolu-kopf td {
    display: block;
    width: 100% !important;
    height: auto !important;
    padding: 8px 0;
  }
  table.aliyolu-kopf img {
    max-width: 160px;
  }
  table.aliyolu-kopf td:nth-child(2),
  table.aliyolu-kopf td:nth-child(2) * {
    font-size: 1.15rem !important;
  }
}
/* ---------- 8. Galerien ---------- */
table.aliyolu-galerie { width: 100%; border: 0; table-layout: fixed; }
table.aliyolu-galerie td {
  border: 0; padding: 10px; text-align: center; vertical-align: top;
}
table.aliyolu-galerie img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
table.aliyolu-galerie img:hover { transform: scale(1.03); }
table.aliyolu-galerie p { font-size: 0.9rem; margin: 0.4rem 0 0; color: #333; }
@media (max-width: 700px) {
  table.aliyolu-galerie, table.aliyolu-galerie tbody,
  table.aliyolu-galerie tr, table.aliyolu-galerie td { display: block; width: 100% !important; }
  table.aliyolu-galerie img { height: auto; }
}
   /* VCNT-Zähler auf der Website ausblenden (zählt trotzdem) */
   .vcnt-versteckt,
   .container-footer [class*="vcnt"] {
     display: none !important;
   }