/* Footer and Overlay Elements Styles */
.footer-base {
  background-color: var(--color-navy-dark);
  color: var(--color-white);
  padding: 80px 0 30px;
  border-top: 1.5px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col-brand {
  flex: 1.5;
  min-width: 250px;
}

.footer-logo svg {
  height: 38px;
  width: auto;
  fill: var(--color-white);
  margin-bottom: 20px;
}

.footer-col-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links li a:hover {
  color: var(--color-primary);
  padding-left: 5px;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  background-color: var(--color-primary);
  color: var(--color-navy);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 219, 255, 0.3);
}

/* Copyright Row */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links li a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links li a:hover {
  color: var(--color-white);
}

/* 2. Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 990;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.whatsapp-btn-wrapper {
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  animation: pulseGreen 2s infinite;
}

.whatsapp-btn-wrapper svg {
  width: 32px;
  height: 32px;
  fill: var(--color-white);
}

.whatsapp-tooltip {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-speed) ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.floating-whatsapp:hover {
  transform: scale(1.05);
}

@keyframes pulseGreen {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 3. Cookies Consent Bar */
.cookies-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-navy-dark);
  border-top: 2px solid var(--color-primary);
  color: var(--color-white);
  padding: 20px 0;
  z-index: 1100;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookies-bar.show {
  transform: translateY(0);
}

.cookies-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cookies-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}

.cookies-text a {
  color: var(--color-primary);
  font-weight: 600;
}

.cookies-text a:hover {
  text-decoration: underline;
}

.cookies-bar .btn-cookie-accept {
  background-color: var(--color-white);
  color: var(--color-navy-dark);
  min-width: 120px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
}

.cookies-bar .btn-cookie-accept:hover {
  background-color: var(--color-primary);
  color: var(--color-navy-dark);
  box-shadow: 0 0 10px rgba(0,219,255,0.4);
}

/* 4. Modals (Video Modal & Form Modal) */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 18, 29, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.custom-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-wrapper {
  background-color: var(--color-navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform var(--transition-speed) ease;
  overflow: hidden;
}

.custom-modal.active .modal-wrapper {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.1);
}

.modal-close-btn:hover {
  background-color: #ff3b30;
  border-color: #ff3b30;
  color: var(--color-white);
}

.video-modal-body {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Modal Specific */
.form-modal-body {
  padding: 40px;
  color: var(--color-white);
}

.form-modal-body h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  text-transform: uppercase;
}

.form-modal-body p {
  margin-bottom: 25px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 10px 15px;
  color: var(--color-white);
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 8px rgba(0, 219, 255, 0.3);
}

/* Responsive Footer */
@media (max-width: 767px) {
  .footer-base {
    padding: 60px 0 30px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  .cookies-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .cookies-bar .btn-cookie-accept {
    width: 100%;
  }
}
