/* styles/footer.css - Footer-Specific Styles */

.footer {
  padding: 4rem 2rem 0;
  background: var(--bg-light);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.col-md-6 {
  flex: 1 1 100%;
}

.col-lg-4 {
  flex: 1 1 calc(33.333% - 2rem);
}

.col-sm-6 {
  flex: 1 1 calc(50% - 2rem);
}

.col-lg-2 {
  flex: 1 1 calc(16.667% - 2rem);
}

.col-12 {
  flex: 1 1 100%;
}

/* Widget 1 (Logo, Description, Social Links) */
.widget1 .logo a {
  font-family: "Raleway", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.widget1 .logo a:hover {
  color: var(--secondary); /* Vibrant green on hover */
}

.widget1 p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--gray);
  margin-top: 1.5rem;
}

.socialLinks {
  margin-top: 1.5rem;
}

.socialLinks ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}

.socialLinks ul li {
  display: inline-block;
}

.socialLinks ul li a {
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  background: var(--gray-light);
  transition: all 0.3s ease;
  color: var(--text-light);
}

.socialLinks ul li a:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Social media brand colors */
.socialLinks ul li a .fa-youtube { 
  color: #ff0000;
  font-size: 1.2rem;
}
.socialLinks ul li a .fa-x-twitter { 
  color: #000000;
  font-size: 1.2rem;
}
.socialLinks ul li a .fa-facebook-f { 
  color: #1877f2;
  font-size: 1.2rem;
}
.socialLinks ul li a .fa-instagram { 
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: 1.2rem;
}

/* Dark theme adjustments */
[data-theme="dark"] .socialLinks ul li a {
  background: var(--gray-dark);
  color: var(--text-dark);
}

[data-theme="dark"] .socialLinks ul li a:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Widget 2 (Latest News) */
.widget2 h5,
.widget3 h5,
.widget4 h5 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.widget2 .media {
  margin-bottom: 1.5rem;
}

.widget2 .media p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-dark);
  transition: color 0.3s ease;
}

.widget2 .media a:hover p {
  color: var(--secondary);
}

.widget2 .media span {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  display: block;
  margin-top: 0.5rem;
}

/* Widgets 3 & 4 (Quick Links, Other Links) */
.widget3 ul li a,
.widget4 ul li a {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--gray);
  display: block;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.widget3 ul li a:hover,
.widget4 ul li a:hover {
  color: var(--secondary);
}

/* Copyright Area */
.copyRightArea {
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
}

.copyRightArea p {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--gray-dark);
  text-align: center;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .footer {
  background: var(--bg-dark);
}

[data-theme="dark"] .widget1 .logo a,
[data-theme="dark"] .widget2 h5,
[data-theme="dark"] .widget3 h5,
[data-theme="dark"] .widget4 h5 {
  color: var(--white);
}

[data-theme="dark"] .widget1 .logo a:hover {
  color: var(--secondary-light); /* Lighter green for dark mode hover */
}

[data-theme="dark"] .widget1 p,
[data-theme="dark"] .widget3 ul li a,
[data-theme="dark"] .widget4 ul li a {
  color: var(--gray);
}

[data-theme="dark"] .widget2 .media p {
  color: var(--gray);
}

[data-theme="dark"] .widget2 .media a:hover p {
  color: var(--secondary-light);
}

[data-theme="dark"] .copyRightArea {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .copyRightArea p {
  color: var(--gray);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .footer {
      padding: 3rem 1.5rem 0;
  }

  .col-lg-4,
  .col-lg-2 {
      flex: 1 1 calc(50% - 1.5rem);
  }
}

@media (max-width: 600px) {
  .footer {
      padding: 2rem 1rem 0;
  }

  .col-md-6,
  .col-lg-4,
  .col-sm-6,
  .col-lg-2 {
      flex: 1 1 100%;
  }

  .widget2 h5,
  .widget3 h5,
  .widget4 h5 {
      font-size: 1.3rem;
  }
}