/*--------------------------------------------------------------
  DAC Footer & Contact Section CSS
  Updated to integrate with base CSS variables
--------------------------------------------------------------*/

.dac-footer-contact {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: var(--space-8) 0;
  font-family: var(--font-main);
  border-top: 3px solid var(--primary-dark);
}

.dac-footer-container {
  padding-right: var(--container-padding-mobile);
  padding-left: var(--container-padding-mobile);
  margin-right: auto;
  margin-left: auto;
  max-width: var(--container-max-width);
}

.dac-footer-row {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.dac-footer-column {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

.dac-footer-widget {
  margin-bottom: 0;
}

.dac-footer-title {
  font-weight: 700;
  color: var(--text-color);
  font-size: var(--font-size-2xl); /* 3x size (36px) */
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--text-color);
  padding-bottom: 0;
  margin-bottom: var(--space-4) !important;
  font-family: var(--font-main);
}

.dac-footer-text {
  font-size: 1.5rem; /* 3.5x size (24px) */
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-5);
  color: rgba(255, 255, 255, 0.9);
}

/* First footer-label after title */
.dac-footer-widget > .dac-footer-label:first-of-type {
  margin-top: var(--space-4);
}

/* Subsequent footer-labels closer together */
.dac-footer-label {
  font-size: 1.75rem !important; /* 3.5x size (28px) */
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-main);
  margin-top: var(--space-1);
  padding-left: var(--space-1);
}

.dac-footer-detail,
.dac-footer-hours {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: var(--space-2);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-normal);
  font-size: 1.25rem; /* 3.5x size (20px) */
}

.dac-map-wrapper {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
}

.dac-map-frame {
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  height: 275px;
}

/* Footer Copyright Section */
.dac-footer-bottom {
  background-color: var(--primary-dark);
  padding: var(--space-5) 0;
  border-top: 1px solid #004494;
}

.dac-footer-copyright {
  font-size: 1.25rem; /* 3.5x size (20px) */
  color: var(--text-color);
  text-align: left;
  margin: 0;
  font-family: var(--font-main);
  letter-spacing: 1px;
  line-height: 1.4;
}

.dac-copyright-line {
  display: block;
  margin-bottom: 2px;
}

.dac-copyright-line:last-child {
  margin-bottom: 0;
}

/* Enhanced Scroll to Top Button */
.dac-scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--text-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-tooltip);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transform: translateY(20px);
}

.dac-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dac-scroll-top:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #003d82 100%);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.dac-scroll-top:active {
  transform: translateY(-2px) scale(0.98);
}

.dac-scroll-top::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.dac-scroll-top:hover::before {
  opacity: 1;
}

.dac-scroll-top i {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.dac-scroll-top:hover i {
  transform: translateY(-2px);
}

.dac-social-container {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 20px;
}

.dac-social-icon {
  width: 42px; /* 30% smaller than 60px */
  height: 42px; /* 30% smaller than 60px */
  border: none;
  border-radius: 8px; /* Reduced proportionally */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
  margin-top: 5px;
}

/* Instagram Logo - scaled down 30% */
.instagram-logo {
  width: 21px; /* 30% smaller than 30px */
  height: 21px; /* 30% smaller than 30px */
  border: 2px solid white; /* Thinner border */
  border-radius: 6px; /* Reduced proportionally */
  position: relative;
}

.instagram-logo::after {
  content: '';
  position: absolute;
  width: 8px; /* Reduced 30% */
  height: 8px; /* Reduced 30% */
  border: 2px solid white; /* Thinner border */
  border-radius: 50%;
  top: 1px; /* Adjusted */
  left: 1px; /* Adjusted */
}

.instagram-logo::before {
  content: '';
  position: absolute;
  width: 4px; /* Reduced 30% */
  height: 4px; /* Reduced 30% */
  background: white;
  border-radius: 50%;
  top: -3px; /* Adjusted */
  right: -3px; /* Adjusted */
}

.instagram-btn {
  background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Facebook Logo - scaled down 30% */
.facebook-logo {
  width: 21px; /* 30% smaller than 30px */
  height: 21px; /* 30% smaller than 30px */
  background: white;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.facebook-logo::before {
  content: 'f';
  position: absolute;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 20px; /* Reduced 30% from 28px */
  color: #1877F2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.facebook-btn {
  background: #1877F2;
}

/* Hover Effects */
.dac-social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pulse animation for attention */
@keyframes scrollTopPulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

.dac-scroll-top.pulse {
  animation: scrollTopPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .dac-footer-row {
    gap: var(--space-5);
    justify-content: center;
  }
  
  .dac-footer-column {
    min-width: 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .dac-map-wrapper {
    min-width: 100%;
    max-width: 100%;
    text-align: center;
    margin-top: 0;
  }
  
  .dac-map-frame {
    width: 100%;
    max-width: 100%;
  }
  
  .dac-footer-copyright {
    text-align: center;
  }
  
  .dac-scroll-top {
    bottom: var(--space-6);
    right: var(--space-6);
    width: 55px;
    height: 55px;
  }
  
  .dac-scroll-top i {
    font-size: 1.375rem;
  }
}

@media (max-width: 480px) {
  .dac-footer-contact {
    padding: var(--space-8) 0 var(--space-5) 0;
  }
  
  .dac-footer-title {
    font-size: 1.875rem; /* 1.25x the current mobile value (24px → 30px) */
    padding-bottom: var(--space-1);
    margin-bottom: var(--space-2) !important;
  }
  
  .dac-footer-widget > .dac-footer-label:first-of-type {
    margin-top: var(--space-3);
  }
  
  .dac-footer-label {
    font-size: 1.5rem !important; /* 3.5x size (24px) */
    margin-top: var(--space-1);
    margin-bottom: 0;
  }
  
  .dac-footer-text {
    font-size: 1.25rem; /* 3.5x size (20px) */
  }
  
  .dac-footer-detail,
  .dac-footer-hours {
    font-size: 1.25rem; /* 3.5x size (20px) */
    margin-top: 0;
    margin-bottom: var(--space-2);
  }
  
  .dac-scroll-top {
    bottom: var(--space-5);
    right: var(--space-5);
    width: 50px;
    height: 50px;
  }
  
  .dac-scroll-top i {
    font-size: 1.25rem;
  }
}

/* Tablet responsive */
@media (min-width: 769px) and (max-width: 1023px) {
  .dac-footer-container {
    padding-right: var(--container-padding-tablet);
    padding-left: var(--container-padding-tablet);
  }
}

/* Desktop responsive */
@media (min-width: 1024px) {
  .dac-footer-container {
    padding-right: var(--container-padding-desktop);
    padding-left: var(--container-padding-desktop);
  }
}