/* ================== FOOTER STYLES ================== */

.footer {
  position: relative;
  background: #111111;
  border-top: 3px solid #393939;
}

/* Footer Menu */
.footer-menu {
  padding: 30px 0 20px;
  border-top: none;
}

/* Footer Menu Left - Linkler */
.footer-menu-left .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-left .footer-nav li a {
  color: rgba(240, 232, 213, 0.7);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-menu-left .footer-nav li a:hover {
  color: #fff;
}

/* Footer Menu Right - Sosyal Medya */
.footer-menu-right h6 {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(196, 154, 56, 0.3);
  color: rgba(240, 232, 213, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-links li a:hover {
  background: #C49A38;
  border-color: #C49A38;
  color: #111111;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(196, 154, 56, 0.35);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(196, 154, 56, 0.2);
  padding: 18px 0;
}

.footer-bottom .d-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Copyright */
.copyright p {
  color: rgba(240, 232, 213, 0.5);
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
}

.copyright-link {
  color: #C49A38;
  font-weight: 600;
  transition: color 0.3s ease;
  text-decoration: none;
}

.copyright-link:hover {
  color: #F0E8D5;
}

/* Footer Legal Links */
.footer-legal ul {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.footer-legal ul li {
  position: relative;
}

.footer-legal-link {
  color: rgba(240, 232, 213, 0.45);
  font-size: 12px;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-legal-link:hover {
  color: #C49A38;
}

.footer-legal ul li:not(:last-child):after {
  content: '|';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(196, 154, 56, 0.25);
}

/* ================== RESPONSIVE ================== */

/* Tablet - 992px altı */
@media (max-width: 991px) {
  .footer-menu .d-flex {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .footer-menu-left,
  .footer-menu-right {
    width: 100%;
  }

  .footer-menu-left .footer-nav {
    justify-content: center;
  }

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

  .footer-bottom .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-legal {
    margin-top: 0;
  }
}

/* Mobile - 767px altı */
@media (max-width: 767px) {
  .footer-menu-left .footer-nav {
    gap: 6px 15px;
  }

  .footer-menu-left .footer-nav li a {
    font-size: 13px;
  }

  .footer-menu-right h6 {
    text-align: center;
  }

  .social-links {
    gap: 10px;
  }

  .social-links li a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .copyright p {
    font-size: 13px;
    text-align: center;
  }

  .footer-legal ul {
    justify-content: center;
    gap: 12px;
  }

  .footer-legal-link {
    font-size: 12px;
  }
}

/* Extra Small - 575px altı */
@media (max-width: 575px) {
  .footer-menu-left .footer-nav li a {
    font-size: 12px;
  }

  .social-links {
    gap: 8px;
  }

  .social-links li a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .copyright p {
    font-size: 12px;
  }

  .footer-legal ul {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .footer-legal ul li:not(:last-child):after {
    display: none;
  }

  .footer-legal-link {
    font-size: 11px;
  }
}

/* Extra Small - 400px altı */
@media (max-width: 400px) {
  .footer-menu-left .footer-nav li a {
    font-size: 11px;
  }

  .social-links li a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* Legacy DSN footer grid (not used by new footer, kept for safety) */
.footer .d-grid {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

@media only screen and (max-width: 575px) {
  .footer .d-grid {
    grid-row-gap: 15px;
  }

  .footer .d-grid .footer-item {
    text-align: center;
  }
}

.footer .logo-footer {
  width: 70px;
}

@media only screen and (max-width: 767px) {
  .footer .footer-bottom {
    grid-row-gap: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .footer .footer-bottom .footer-item,
  .footer .footer-bottom .nav-footer {
    text-align: center;
  }
}

.footer .nav-footer li:not(:last-of-type) {
  margin-right: 20px;
}

@media only screen and (max-width: 575px) {
  .footer .nav-footer li {
    margin-right: 10px;
  }
}

body.v-dark .logo-footer img.logo-dark {
  display: block;
}

body.v-dark .logo-footer img.logo-light {
  display: none;
}

body.v-light .logo-footer img.logo-dark {
  display: none;
}

body.v-light .logo-footer img.logo-light {
  display: block;
}

/* Print Mode */
@media print {
  .footer-menu,
  .footer-legal {
    display: none;
  }
}



/* ============================================
   MODAL BİLEŞENİ (Gizlilik & KVKK)
   ============================================ */
.modal {
    visibility: hidden; 
    opacity: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: var(--assistant-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0); 
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-family: var(--heading-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--heading-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--font-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--theme-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    color: var(--font-color);
    font-size: 15px;
    line-height: 1.8;
}

.modal-body h3 {
    color: var(--heading-color);
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 15px;
}

.modal-body p { margin-bottom: 15px; }
.modal-body ul { margin-left: 20px; margin-bottom: 15px; }

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Temaya Uyumlu İptal/Kapat Butonu */
.modal-btn-cancel {
    background: transparent;
    color: var(--font-color);
    border: 1px solid var(--border-color);
}

.modal-btn-cancel:hover {
    background: var(--theme-color);
    color: var(--assistant-color);
    border-color: var(--theme-color);
}