﻿/* ===== FOOTER ===== */
.site-footer {
  font-family: 'Roboto Slab', serif;
  background: #f6b22b;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -70px;
  left: 0;
  right: 0;
  height: 80px;
  background-image: url('/images/footerdecor.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Main */
.footer-main {
  margin-top: 70px;
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Cột giữa */
.footer-col--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 160px;
  height: auto;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.footer-logo::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.7) 50%,
    transparent 70%
  );
  animation: logoSparkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes logoSparkle {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

.footer-brand {
  font-family: 'Roboto Slab', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #b01e31;
  margin: 0 0 16px;
  text-shadow: 2px 2px 4px rgba(0,0,0,.2);
  letter-spacing: 1px;
}

.footer-info {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  font-family: 'Roboto Slab', serif;
  line-height: 1.7;
}

.footer-info li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-info li::before {
  content: '▸';
  color: #fff;
  font-weight: bold;
}

.footer-info a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 700;
  font-family: 'Roboto Slab', serif;
}
.footer-info a:hover { 
  color: #f0f0f0;
  text-decoration: underline; 
}

.footer-copy-text {
  font-size: 13px;
  font-weight: 700;
  color: #b01e31;
  font-family: 'Roboto Slab', serif;
  margin: 30px 0 0;
  text-align: center;
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 2px solid rgba(176, 30, 49, 0.3);
}
.footer-copy-text span {
  color: #8b1620;
  font-weight: 700;
}

/* TikTok box */
.footer-col--tiktok {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tiktok-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  max-width: 260px;
  width: 100%;
}

.tiktok-box svg {
  color: #000;
  margin-bottom: 10px;
}

.tiktok-box p {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.tiktok-box small {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 14px;
}

.tiktok-btn {
  display: inline-block;
  background: #F6B22B;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: opacity .2s;
}
.tiktok-btn:hover { opacity: .85; }

/* Responsive */
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    gap: 30px;
  }

  .footer-col--center {
    text-align: center;
    align-items: center;
  }

  .footer-info {
    align-items: center;
  }
  
  .footer-social-links {
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    margin: 20px 0;
  }

  .footer-social-link {
    width: 50px;
    height: 50px;
  }

  .footer-social-link svg {
    width: 24px;
    height: 24px;
  }

  .footer-col--fanpage {
    display: none !important;
  }
}

/* Fanpage col */
.footer-col--fanpage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.fanpage-box {
  background: rgba(176, 30, 49, 0.1);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #b01e31;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  width: 100%;
  max-width: 350px;
  height: 280px;
  flex-shrink: 0;
}

.fanpage-box iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}

/* Social links footer */
.footer-social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 16px 0;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(176, 30, 49, 0.15);
  border: 2px solid #b01e31;
  border-radius: 50%;
  color: #b01e31;
  text-decoration: none;
  transition: all .3s;
}

.footer-social-link:hover {
  background: #b01e31;
  color: rgb(246, 178, 43);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 16px rgba(176, 30, 49, 0.4);
}

.footer-social-link svg { width: 20px; height: 20px; }

/* Map box */
.footer-col--map {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.map-box {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #b01e31;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.map-box iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
}


