/* ========================================
   FOOTER STYLES
   ======================================== */

footer {
  /* Match header/navbar color to keep consistent top/bottom bars */
  background: #111827;
  color: white;
  padding: 70px 40px 30px;
  margin-top: 80px;
}

/* ========================================
   FOOTER GRID
   ======================================== */

.footer-grid {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-box {
  flex: 1;
}

.footer-box h3 {
  margin-bottom: 20px;
  font-size: 22px;
  color: white;
}

.footer-box p,
.footer-box a {
  color: #d1d5db;
  text-decoration: none;
  line-height: 2;
  font-size: 15px;
  transition: 0.3s;
}

.footer-box a:hover {
  color: #fde047;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 10px;
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6eefb; /* lighter text on blue */
}

/* ========================================
   SOCIAL MEDIA LINKS
   ======================================== */

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #fde047;
  color: #111827;
  transform: translateY(-3px);
}

/* ========================================
   FOOTER CONTACT INFO
   ======================================== */

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-item-icon {
  font-size: 18px;
  color: #fde047;
  margin-top: 2px;
}

.contact-item-text {
  flex: 1;
}

/* ========================================
   FOOTER NEWSLETTER
   ======================================== */

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #fde047;
}

.newsletter-form button {
  padding: 12px;
  background: #fde047;
  color: #111827;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.newsletter-form button:hover {
  background: white;
}

/* ========================================
   FOOTER LINKS SECTION
   ======================================== */

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 15px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '→';
  font-size: 12px;
}

/* ========================================
   RESPONSIVE FOOTER
   ======================================== */

@media (max-width: 768px) {
  footer {
    padding: 50px 20px 20px;
    margin-top: 60px;
  }
  
  .footer-grid {
    gap: 30px;
    margin-bottom: 30px;
  }
  
  .footer-box h3 {
    font-size: 18px;
  }
  
  .footer-box p,
  .footer-box a {
    font-size: 14px;
    line-height: 1.8;
  }
  
  .footer-bottom {
    padding-top: 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 15px 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

/* Premium footer */
footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(56px, 7vw, 82px) clamp(16px, 4vw, 40px) 28px;
  background:
    radial-gradient(circle at 85% 20%, rgba(214, 169, 79, .14), transparent 26rem),
    #07111f;
  border-top: 1px solid rgba(214, 169, 79, .28);
}

.footer-grid { width: min(100%, 1240px); gap: clamp(28px, 5vw, 64px); }
.footer-box h3 { color: #f2d792; letter-spacing: -.025em; }
.footer-box p, .footer-box a { color: #bfc8d5; line-height: 1.8; }
.footer-box a:hover { color: #f2d792; }
.footer-bottom { color: #9da9ba; border-color: rgba(255,255,255,.1); }
.contact-item { min-width: 0; }
.contact-item-text { min-width: 0; overflow-wrap: anywhere; }
.contact-item-icon { color: #d6a94f; }
.social-links { flex-wrap: wrap; }
.social-links a { width: 44px; height: 44px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.social-links a:hover { background: #d6a94f; color: #07111f; }

@media (max-width: 768px) {
  footer { margin-top: 56px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  footer { padding-inline: 18px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
