/* Modern Footer Styles */
footer {
  background-color: var(--primary);
  color: var(--medium-gray);
  position: relative;
}

.footer-top {
  padding: 5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.footer-top::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
}

.footer-top::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.02);
}

.footer-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.footer-logo .tagline {
  color: var(--medium-gray);
  font-size: 1.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.footer-heading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--white);
}

.footer-about {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-newsletter h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.newsletter-form {
  display: flex;
  height: 45px;
}

.newsletter-input {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-right: none;
  padding: 0 1rem;
  color: var(--white);
  font-size: 0.9rem;
  border-radius: 4px 0 0 4px;
}

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

.newsletter-input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-button {
  width: 45px;
  background-color: var(--white);
  color: var(--primary);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0 4px 4px 0;
}

.newsletter-button:hover {
  background-color: var(--light-gray);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: "›";
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 15px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-contact i {
  margin-right: 0.8rem;
  color: var(--white);
  width: 20px;
}

.footer-contact a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5rem 0;
}

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

.copyright {
  font-size: 0.9rem;
}

.footer-credits a {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-credits a:hover {
  opacity: 0.8;
}

.payment-icons {
  height: 25px;
}

/* ============================================
   Comprehensive Responsive Styles
   ============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .footer-grid {
    gap: 3rem;
  }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
  .footer-grid {
    gap: 2.5rem;
  }
}

/* Laptop/Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
  .footer-grid {
    gap: 2rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 992px) {
  .footer-top {
    padding: 3.5rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-column {
    text-align: left;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 768px) {
  .footer-top {
    padding: 3rem 0 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-logo h2 {
    font-size: 2rem;
  }

  .footer-heading {
    font-size: 1.1rem;
  }

  .footer-links li {
    margin-bottom: 0.6rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }

  .social-icons {
    gap: 0.8rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Mobile (480px - 575px) */
@media (max-width: 576px) {
  .footer-top {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-column {
    text-align: center;
  }

  .footer-logo h2 {
    font-size: 1.8rem;
  }

  .footer-logo .tagline {
    font-size: 0.9rem;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links li {
    margin-bottom: 0.5rem;
  }

  .footer-contact {
    text-align: center;
  }

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

/* Small Mobile (360px - 479px) */
@media (max-width: 480px) {
  .footer-top {
    padding: 2rem 0 1rem;
  }

  .footer-logo h2 {
    font-size: 1.6rem;
  }

  .footer-heading {
    font-size: 0.95rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (below 360px) */
@media (max-width: 360px) {
  .footer-logo h2 {
    font-size: 1.5rem;
  }
}
