/**
 * Salkantay Treks Peru - Custom Footer Styles
 * Bootstrap 5 Compatible with Minimalist Luxury Interactions
 */

:root {
  --stp-footer-bg: #0d131f;
  --stp-footer-bg-card: rgba(255, 255, 255, 0.03);
  --stp-footer-bg-card-hover: rgba(255, 255, 255, 0.06);
  --stp-footer-border: rgba(255, 255, 255, 0.08);
  --stp-footer-border-hover: rgba(229, 169, 60, 0.35);
  --stp-footer-accent: #e5a93c;
  --stp-footer-accent-hover: #f3be5d;
  --stp-footer-accent-rgb: 229, 169, 60;
  --stp-footer-text-title: #ffffff;
  --stp-footer-text-body: #94a3b8;
  --stp-footer-text-muted: #64748b;
  --stp-footer-font: inherit;
}

/* ==========================================================================
   Main Footer Wrapper
   ========================================================================== */
.stp-footer {
  background-color: var(--stp-footer-bg);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(229, 169, 60, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
  color: var(--stp-footer-text-body);
  font-family: var(--stp-footer-font);
  font-size: 0.925rem;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.stp-footer a {
  color: var(--stp-footer-text-body);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-footer a:hover {
  color: var(--stp-footer-accent);
}

.stp-footer h2,
.stp-footer h3,
.stp-footer h4,
.stp-footer h5,
.stp-footer h6 {
  color: var(--stp-footer-text-title);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section 1: Top Bar (Brand, CTA Tagline, Socials, Button)
   ========================================================================== */
.stp-topbar {
  border-bottom: 1px solid var(--stp-footer-border);
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.stp-brand-logo {
  max-width: 240px;
  height: auto;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.stp-brand-logo:hover {
  transform: scale(1.02);
}

.stp-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.4;
  position: relative;
  display: inline-block;
}

.stp-tagline span {
  color: var(--stp-footer-accent);
}

/* Social Buttons */
.stp-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.6rem;
  margin: 1.5rem auto;
}

.stp-social-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stp-footer-bg-card);
  border: 1px solid var(--stp-footer-border);
  color: #cbd5e1 !important;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(8px);
}

.stp-social-btn svg,
.stp-social-btn i {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.stp-social-btn:focus-visible {
  outline: 2px solid var(--stp-footer-accent);
  outline-offset: 4px;
}

.stp-social-btn:hover {
  background: var(--stp-footer-accent);
  color: #0f172a !important;
  border-color: var(--stp-footer-accent);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(229, 169, 60, 0.3);
}

.stp-social-btn:hover svg,
.stp-social-btn:hover i {
  transform: scale(1.1);
}

/* CTA Button */
.stp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f172a !important;
  background: linear-gradient(135deg, #e5a93c 0%, #df9b35 100%);
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(229, 169, 60, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-cta-btn:hover {
  background: linear-gradient(135deg, #f3be5d 0%, #e5a93c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 169, 60, 0.4);
  color: #0f172a !important;
}

/* ==========================================================================
   Section 2: TripAdvisor Awards
   ========================================================================== */
.stp-awards-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stp-footer-border);
}

.stp-section-badge-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--stp-footer-accent);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.stp-section-badge-title::before,
.stp-section-badge-title::after {
  content: "";
  height: 1px;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--stp-footer-accent));
}

.stp-section-badge-title::after {
  background: linear-gradient(to left, transparent, var(--stp-footer-accent));
}

.stp-awards-card {
  background: var(--stp-footer-bg-card);
  border: 1px solid var(--stp-footer-border);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  max-width: 960px;
  margin: 0 auto;
}

.stp-awards-card:hover {
  border-color: var(--stp-footer-border-hover);
  background: var(--stp-footer-bg-card-hover);
  transform: translateY(-2px);
}

.stp-awards-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   Section 3: Partners Strip (Full-Width, Borderless, Single-Row)
   ========================================================================== */
.stp-partners-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--stp-footer-border);
  background-color: #000000 !important;
  width: 100%;
}

.stp-partners-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  width: 100%;
}

.stp-partner-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  flex: 0 1 auto;
  min-width: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 0.9;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stp-partner-item:hover {
  background: transparent !important;
  border: none !important;
}

.stp-partner-item:hover img {
  opacity: 1;
  filter: drop-shadow(0 4px 12px rgba(229, 169, 60, 0.12)) drop-shadow(0 2px 6px rgba(255, 255, 255, 0.06));
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 991.98px) {
  .stp-partners-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0 !important;
    padding-bottom: 0.5rem;
  }

  .stp-partner-item {
    flex: 0 0 auto;
    padding: 0 !important;
    margin: 0 !important;
  }

  .stp-partner-item img {
    max-height: 42px;
  }
}

/* ==========================================================================
   Section 4: Main Navigation & Content Columns
   ========================================================================== */
.stp-main-body {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.stp-column-heading {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.stp-column-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--stp-footer-accent);
  border-radius: 2px;
}

/* Navigation Lists */
.stp-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stp-footer-nav > li {
  margin-bottom: 0.65rem;
  position: relative;
}

.stp-footer-nav > li > a {
  display: inline-flex;
  align-items: center;
  color: var(--stp-footer-text-body);
  font-size: 0.915rem;
  font-weight: 400;
  transition: all 0.25s ease;
  position: relative;
  padding-left: 0;
}

.stp-footer-nav > li > a::before {
  content: "›";
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: var(--stp-footer-accent);
  opacity: 0;
  margin-right: 0;
  width: 0;
  transition: all 0.25s ease;
  display: inline-block;
  line-height: 1;
}

.stp-footer-nav > li > a:hover {
  color: #ffffff;
  transform: translateX(6px);
  padding-left: 4px;
}

.stp-footer-nav > li > a:hover::before {
  opacity: 1;
  width: 12px;
  margin-right: 4px;
}

/* Submenu Styling */
.stp-footer-nav .sub-menu {
  list-style: none;
  padding-left: 0.9rem;
  margin-top: 0.4rem;
  margin-bottom: 0.6rem;
  border-left: 1px solid rgba(229, 169, 60, 0.2);
}

.stp-footer-nav .sub-menu li {
  margin-bottom: 0.45rem;
}

.stp-footer-nav .sub-menu li a {
  font-size: 0.84rem;
  color: #8b99ac;
  line-height: 1.35;
  display: block;
}

.stp-footer-nav .sub-menu li a:hover {
  color: var(--stp-footer-accent);
  transform: translateX(4px);
}

.stp-has-children > a {
  font-weight: 600 !important;
  color: #e2e8f0 !important;
}

/* Contact Info Column */
.stp-contact-card {
  background: var(--stp-footer-bg-card);
  border: 1px solid var(--stp-footer-border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stp-contact-card:hover {
  border-color: var(--stp-footer-border-hover);
  background: var(--stp-footer-bg-card-hover);
}

.stp-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.stp-contact-item:last-child {
  margin-bottom: 0;
}

.stp-contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(229, 169, 60, 0.1);
  color: var(--stp-footer-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-size: 1.05rem;
}

.stp-contact-icon svg,
.stp-contact-icon i {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stp-contact-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--stp-footer-accent);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.stp-contact-value {
  color: #e2e8f0;
  font-size: 0.9rem;
  margin: 0;
}

.stp-contact-value a {
  color: #e2e8f0;
}

.stp-contact-value a:hover {
  color: var(--stp-footer-accent);
}

/* ==========================================================================
   Section 5: Office Hours Cards
   ========================================================================== */
.stp-hours-box {
  background: var(--stp-footer-bg-card);
  border: 1px solid var(--stp-footer-border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.stp-hours-box:hover {
  border-color: var(--stp-footer-border-hover);
  background: var(--stp-footer-bg-card-hover);
  transform: translateY(-2px);
}

.stp-hours-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stp-hours-title svg {
  color: var(--stp-footer-accent);
  width: 18px;
  height: 18px;
}

.stp-hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
}

.stp-hours-list li {
  margin-bottom: 0.35rem;
  color: #94a3b8;
}

.stp-hours-list li strong {
  color: #e2e8f0;
}

/* ==========================================================================
   Section 6: Bottom Bar (Operated by, WhatsApp trigger, Copyright)
   ========================================================================== */
.stp-bottom-section {
  border-top: 1px solid var(--stp-footer-border);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.stp-operator-badge {
  text-align: center;
  margin-bottom: 1.5rem;
}

.stp-operator-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stp-footer-text-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.stp-operator-logo {
  max-width: 220px;
  height: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.stp-operator-logo:hover {
  opacity: 1;
  transform: scale(1.03);
}

/* WhatsApp Floating & Popup Widget */
.stp-wa-btn-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  background: #25d366;
  color: #ffffff !important;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none !important;
}

.stp-wa-btn-floating:hover {
  background: #20ba59;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  color: #ffffff !important;
}

.stp-wa-btn-txt {
  font-size: 0.85rem;
  margin-left: 8px;
  font-weight: 500;
  white-space: nowrap;
}

.stp-wa-btn-txt strong {
  font-weight: 700;
}

.stp-wa-popup-card {
  display: none;
  position: fixed;
  bottom: 85px;
  right: 24px;
  width: 320px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  overflow: hidden;
  animation: stpPopupFadeIn 0.3s ease forwards;
}

.stp-wa-popup-card.show {
  display: block;
}

@keyframes stpPopupFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.stp-wa-popup-header {
  background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
  color: #ffffff;
  padding: 18px 20px;
  position: relative;
}

.stp-wa-popup-header-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.stp-wa-popup-header-intro {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-top: 4px;
  margin-bottom: 0;
  color: #f1f5f9;
}

.stp-wa-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.8;
  padding: 0;
  line-height: 1;
}

.stp-wa-popup-close:hover {
  opacity: 1;
}

.stp-wa-popup-body {
  padding: 16px 20px;
  background: #f8fafc;
}

.stp-wa-notice {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 12px;
  background: #e2e8f0;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
}

.stp-wa-member-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  text-decoration: none !important;
  color: #1e293b !important;
  transition: all 0.25s ease;
}

.stp-wa-member-item:hover {
  background: #f1f5f9;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stp-wa-member-avatar {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
}

.stp-wa-member-avatar svg {
  width: 42px;
  height: 42px;
}

.stp-wa-member-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  background: #25d366;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.stp-wa-member-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.stp-wa-member-status {
  font-size: 0.75rem;
  color: #25d366;
  font-weight: 500;
}

/* Copyright Line */
.stp-copyright {
  border-top: 1px solid var(--stp-footer-border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--stp-footer-text-muted);
}

.stp-copyright a {
  color: #cbd5e1;
  font-weight: 500;
}

.stp-copyright a:hover {
  color: var(--stp-footer-accent);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991.98px) {
  .stp-tagline {
    font-size: 1.1rem;
    text-align: center;
    margin: 1rem 0;
  }

  .stp-column-heading {
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .stp-brand-logo {
    max-width: 200px;
  }

  .stp-awards-card {
    padding: 1rem;
  }

  .stp-partner-item {
    min-height: 56px;
    padding: 0.5rem;
  }

  .stp-wa-btn-floating .stp-wa-btn-txt {
    display: none;
  }

  .stp-wa-btn-floating {
    padding: 12px;
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================================================
   Enquire Modal & Form Styling
   ========================================================================== */
.stp-enquire-modal .modal-dialog {
  max-width: 720px;
}

.stp-enquire-modal .modal-content {
  border-radius: 18px !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.stp-enquire-form .input-group-text {
  background-color: #f8fafc !important;
  border-color: #e2e8f0;
  color: #64748b;
  border-top-left-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
}

.stp-enquire-form .form-control,
.stp-enquire-form .form-select {
  border-color: #e2e8f0;
  font-size: 0.92rem;
  padding: 0.6rem 0.85rem;
  color: #1e293b;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stp-enquire-form textarea.form-control {
  border-radius: 8px !important;
  border-left: 1px solid #e2e8f0 !important;
  padding: 0.75rem !important;
}

.stp-enquire-form .form-control:focus,
.stp-enquire-form .form-select:focus {
  border-color: #2d6a4f !important;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15) !important;
  outline: none;
}

