/* Transpina Transporte e Turismo - Estilos Customizados */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --brand-black: #0a0e17;
  --brand-dark: #111827;
  --brand-medium: #0284c7;
  --brand-blue: #1d4ed8;
  --brand-light: #38bdf8;
  --brand-sky: #f0f9ff;
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #0284c7;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Glassmorphism Header */
.glass-header {
  background: rgba(10, 14, 23, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
}

.glass-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

/* Hero Background & Overlay */
.hero-bg {
  background-image: linear-gradient(0deg, rgba(10, 14, 23, 0.35) 0%, rgba(10, 14, 23, 0.35) 100%), url('../media/banner_header.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Secondary Banner Overlay */
.about-banner-bg {
  background-image: linear-gradient(to right, rgba(10, 14, 23, 0.95), rgba(2, 132, 199, 0.75)), url('../media/banner.jpg');
  background-size: cover;
  background-position: center;
}

/* Floating WhatsApp Button & Pulse Effect */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.6);
  animation: pulse-ring 2s infinite cubic-bezier(0.455, 0.03, 0.515, 0.955);
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* WhatsApp Badge */
.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* WhatsApp Card Popup */
.whatsapp-popup {
  position: fixed;
  bottom: 98px;
  right: 25px;
  z-index: 1000;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-popup.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

/* Card Hover Effects */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.15);
}

/* Gallery Swiper Custom Styling */
.swiper-button-next,
.swiper-button-prev {
  background: rgba(10, 14, 23, 0.85);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.3);
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #38bdf8;
  color: #0a0e17 !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold;
}

.swiper-pagination-bullet-active {
  background: #38bdf8 !important;
  width: 24px !important;
  border-radius: 10px !important;
}

/* Image Zoom Effect in Gallery */
.gallery-img-container {
  overflow: hidden;
  border-radius: 16px;
}

.gallery-img {
  transition: transform 0.5s ease;
}

.gallery-img-container:hover .gallery-img {
  transform: scale(1.08);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.lightbox-modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  border: 2px solid rgba(56, 189, 248, 0.3);
}
