/* ==========================================================================
   FOOTER STYLES (Shopify'dan birebir)
   ========================================================================== */

.mytheme-footer {
  background-color: var(--mytheme-color-neutral-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: var(--mytheme-space-4xl);
  padding-bottom: var(--mytheme-space-2xl);
  margin-top: var(--mytheme-space-4xl);
  /* Full-width footer - breaks out of any container */
  width: calc(100% + 2 * var(--mytheme-space-lg, 24px));
  margin-left: calc(-1 * var(--mytheme-space-lg, 24px));
  margin-right: calc(-1 * var(--mytheme-space-lg, 24px));
  padding-left: var(--mytheme-space-lg, 24px);
  padding-right: var(--mytheme-space-lg, 24px);
  box-sizing: border-box;
}

.mytheme-footer__main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--mytheme-space-2xl);
  margin-bottom: var(--mytheme-space-3xl);
}

.mytheme-footer__column {
  display: flex;
  flex-direction: column;
}

.mytheme-footer__title {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--mytheme-space-lg);
  /* text-transform: uppercase; KALDIRILDI - İçerik zaten uppercase olarak yazılıyor */
  letter-spacing: 0.5px;
}

.mytheme-footer__text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--mytheme-space-md);
  color: rgba(255, 255, 255, 0.7);
}

/* Logo in Footer */
.mytheme-footer__logo {
  margin-bottom: var(--mytheme-space-md);
}

.mytheme-footer__logo-image {
  height: 36px;
  width: auto;
  display: block;
}

/* Footer Links */
.mytheme-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mytheme-footer__link-item {
  margin-bottom: var(--mytheme-space-sm);
}

.mytheme-footer__link {
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--mytheme-transition-fast);
  position: relative;
}

.mytheme-footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--mytheme-color-primary);
  transition: width 0.3s ease;
}

.mytheme-footer__link:hover {
  color: var(--mytheme-color-primary);
}

.mytheme-footer__link:hover::after {
  width: 100%;
}

/* Social Media Icons */
.mytheme-footer__social {
  display: flex;
  gap: var(--mytheme-space-md);
  margin-top: var(--mytheme-space-lg);
}

.mytheme-footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--mytheme-transition);
}

.mytheme-footer__social-link:hover {
  background-color: var(--mytheme-color-primary);
  transform: translateY(-3px);
  color: white;
}

.mytheme-footer__social-icon {
  width: 20px;
  height: 20px;
}

/* Newsletter Form */
.mytheme-footer__newsletter-form {
  display: flex;
  gap: var(--mytheme-space-sm);
  margin-top: var(--mytheme-space-md);
}

.mytheme-footer__newsletter-input {
  flex: 1;
  height: 44px;
  padding: 0 var(--mytheme-space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--mytheme-border-radius);
  color: white;
  font-size: 14px;
  transition: var(--mytheme-transition-fast);
}

.mytheme-footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.mytheme-footer__newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--mytheme-color-primary);
}

.mytheme-footer__newsletter-button {
  height: 44px;
  padding: 0 var(--mytheme-space-lg);
  background-color: var(--mytheme-color-primary);
  color: white;
  border: none;
  border-radius: var(--mytheme-border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--mytheme-transition);
}

.mytheme-footer__newsletter-button:hover {
  background-color: var(--mytheme-color-accent);
  transform: translateY(-2px);
}

.mytheme-footer__newsletter-message {
  margin-top: var(--mytheme-space-sm);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer Bottom Bar */
.mytheme-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--mytheme-space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--mytheme-space-lg);
}

.mytheme-footer__copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.mytheme-footer__payment {
  display: flex;
  align-items: center;
  gap: var(--mytheme-space-sm);
}

.mytheme-footer__payment-icon {
  height: 28px;
  width: auto;
  opacity: 0.7;
  transition: var(--mytheme-transition-fast);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.mytheme-footer__payment-icon:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .mytheme-footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mytheme-footer {
    padding-top: var(--mytheme-space-3xl);
    /* Mobile'da basit full-width - overflow sorunu yaratmaz */
    width: auto;
    margin-left: calc(-1 * var(--mytheme-space-md, 16px));
    margin-right: calc(-1 * var(--mytheme-space-md, 16px));
    padding-left: var(--mytheme-space-md, 16px);
    padding-right: var(--mytheme-space-md, 16px);
  }

  .mytheme-footer__main {
    grid-template-columns: 1fr;
    gap: var(--mytheme-space-2xl);
  }

  .mytheme-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .mytheme-footer__newsletter-form {
    flex-direction: column;
  }

  .mytheme-footer__newsletter-button {
    width: 100%;
  }
}

