﻿@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

.footer-container-2 {
  background-color: #482875;
  color: #fff;
  padding: 50px 0 40px 0; /* Adjusted top padding */
  font-family: "Poppins", sans-serif;
}

.footer-content-2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start; /* Use flex-start for better alignment */
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-logo img {
  max-width: 250px;
  filter: brightness(0) invert(1); /* Make logo white */
  margin-bottom: 1.5rem; /* Add margin to push content down */
}

.footer-menu {
  margin-top: 30px;
}

.footer-description {
  margin-top: 30px;
}

.footer-description p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  text-align: justify;
}

.footer-menu p {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-links h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #fff;
}

.footer-links .footer-menu {
  margin-top: 0;
  margin-bottom: 25px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-menu a:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 1.5rem;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: start;
  flex-basis: 25%;
  flex-shrink: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    text-align: right;
    max-width: 500px;
}

/* Sosyal medya stilleri */
.footer-social {
  margin-top: 20px;
}

.footer-social h5 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 15px;
  justify-content: start;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #e1306c, #fd1d1d, #fcb045);
  color: white;
  border-color: #e1306c;
}

.social-link.facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.social-link.linkedin:hover {
  background: #0a66c2;
  color: white;
  border-color: #0a66c2;
}

.social-link.youtube:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.footer-addresses {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.address-block {
  max-width: 300px;
}

.address-block h5 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.address-block p {
  font-size: 0.7rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0;
}


.newsletter-signup h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    max-width: 500px;
}

    .newsletter-form input {
        width: 70%;
        padding: 15px;
        border: none;
        background-color: transparent;
        color: #fff;
        outline: none;
        font-size: 1rem;
    }

        .newsletter-form input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

    .newsletter-form button {
        padding: 15px 35px;
        border: none;
        background-color: #F6861F;
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 1rem;
        box-shadow: 3px 3px 0 0 white;
        border-radius: 8px;
        width: 30%;
    }

        .newsletter-form button:hover {
            background-color: #e0700f;
        }

@media (max-width: 1200px) {
  .footer-links h4 {
    font-size: 1rem;
  }
}

/* Tablet view */
@media (max-width: 1024px) and (min-width: 993px) {
  .footer-content-2 {
    gap: 30px;
  }

  .footer-left,
  .footer-right {
    flex-basis: 32%;
  }

  .footer-center {
    flex-basis: 20%;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-container-2 {
    padding: 50px 0 30px 0;
    margin-top: -50px;
  }

  .footer-content-2 {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding: 0 20px 30px 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex-basis: 100%;
    width: 100%;
    text-align: center;
  }

  .footer-description p {
    text-align: center;
  }

    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
        margin-top: 2rem;
    }

  .footer-center {
    order: 2;
  }

  .footer-right {
    order: 3;
  }

  .footer-addresses {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }
}


@media (max-width: 480px) {

    .footer-content-2 {
        padding: 10px 0;
        gap: 20px;
    }

    .newsletter-form {
        margin: 0 1rem;
    }

    .newsletter-signup h4 {
        font-size: 1rem;
        margin: 0 1rem 1rem 1rem;
    }

    .footer-container-2 {
        padding: 0 0 30px 0;
    }

    .newsletter-form input {
        width: 80%;
        font-size: 0.8rem;
    }

    .newsletter-form button {
        padding: 15px 25px;
        font-size: 0.7rem;
        width: 30%;
    }

}
