/* Premium Theme CSS - Pakistan Tours & tourism */

/* Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tilt Card Base Styles */
.tilt-card {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.tilt-card:hover {
  transform: translateY(-5px) scale(1.02);
}

/* Hover Lift & Glow */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
}

.hover-lift::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0;
  box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.3);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hover-lift:hover::before {
  opacity: 1;
  box-shadow: 0 0 20px 5px rgba(76, 201, 240, 0.3);
}

/* Navigation Glass Styles */
.nav-glass {
  background: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-bottom: 1px solid rgba(76, 201, 240, 0.1);
}

.nav-glass.is-scrolled {
  background: rgba(29, 30, 44, 0.95) !important;
  border-bottom: 1px solid rgba(76, 201, 240, 0.3);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

/* Gallery Card Hover Zoom */
.gallery-card {
  overflow: hidden;
  border-radius: 12px;
  position: relative;
}

.gallery-card img {
  transition: transform 0.3s ease-out;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s;
  pointer-events: none;
}

.gallery-card:hover::after {
  left: 100%;
}

/* Toast Notification Styles */
.toast-wrap {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  max-width: 350px;
}

.toast {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.3s ease-out;
  border-left: 4px solid #4CC9F0;
}

.toast.show {
  transform: translateX(0);
}

.toast.success {
  border-left-color: #28a745;
}

.toast.error {
  border-left-color: #dc3545;
}

.toast.warning {
  border-left-color: #ffc107;
}

.toast.info {
  border-left-color: #17a2b8;
}

.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.toast-title {
  font-weight: 600;
  color: #333;
}

.toast-message {
  color: #666;
  font-size: 0.9rem;
}

/* Stats Counter Animation */
.stat-number {
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .toast-wrap {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  
  .nav-glass.is-scrolled {
    background: rgba(29, 30, 44, 0.98) !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .tilt-card,
  .hover-lift,
  .gallery-card img,
  .toast {
    transition: none !important;
    transform: none !important;
  }
  
  .gallery-card::after {
    display: none;
  }
}

/* Responsive Text & Layout Enhancements */
@media (max-width: 576px) {
  .logo-text {
    font-size: 1.5rem !important;
  }
  
  .hero h1 {
    font-size: 2rem !important;
  }
  
  .hero p {
    font-size: 1.1rem !important;
  }
  
  .section-title h2 {
    font-size: 1.8rem !important;
  }
  
  .package-card {
    margin-bottom: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem !important;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .back-to-top {
    margin-left: auto;
    margin-right: auto;
  }
  
  .navbar-brand {
    font-size: 1.6rem !important;
  }
  
  .testimonial-card {
    margin-bottom: 1.5rem;
  }
}

/* Text rendering optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Ensure proper text contrast */
.text-white,
.text-white-50,
.text-white-75 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Better link styling */
a {
  text-decoration: none;
}

.btn {
  text-decoration: none;
}

/* Logo text for different screen sizes */
.logo-full-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  background: linear-gradient(45deg, var(--accent), var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(76, 201, 240, 0.3);
  letter-spacing: 1px;
  position: relative;
}

/* Section underline */
.section-underline {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  margin: 0 auto;
}

/* Enhanced testimonial card styles */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.testimonial-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 
    0 25px 50px rgba(67, 97, 238, 0.25),
    0 0 0 1px rgba(76, 201, 240, 0.3),
    0 0 30px rgba(76, 201, 240, 0.15);
  border: 1px solid rgba(76, 201, 240, 0.3);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

/* Enhanced stat card styles */
.stat-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.stat-card:hover {
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: 
    0 20px 40px rgba(67, 97, 238, 0.2),
    0 0 0 1px rgba(76, 201, 240, 0.25),
    0 0 25px rgba(76, 201, 240, 0.12);
  border: 1px solid rgba(76, 201, 240, 0.25);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

/* Enhanced contact method styles */
.contact-method {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  padding: 20px;
  border-radius: 15px;
}

.contact-method:hover {
  transform: translateY(-8px) rotateX(3deg);
  box-shadow: 
    0 15px 30px rgba(67, 97, 238, 0.15),
    0 0 0 1px rgba(76, 201, 240, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(76, 201, 240, 0.2);
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-method:hover::before {
  transform: scaleX(1);
}

/* ===== Common Navbar Look (Readable Hover, No Pink) ===== */
body { padding-top: 78px; } /* fixed-top navbar spacing */

.nav-glass{
  background: rgba(18, 19, 31, 0.30) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: all .25s ease;
}

.navbar.is-scrolled{
  background: rgba(18, 19, 31, 0.92) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.navbar .nav-link{
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus{
  color: var(--accent-glow) !important; /* cyan/blue readable (NO pink) */
}

.navbar .nav-link.active{
  color: #fff !important;
}

/* ===== Footer (Single, Clean) ===== */
.site-footer{
  background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(76, 201, 240, 0.18);
}

.site-footer .footer-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(circle at 10% 20%, rgba(76,201,240,.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(67,97,238,.10) 0%, transparent 40%);
  z-index: 0;
}

.site-footer .container{ position: relative; z-index: 1; }

.footer-title{
  position: relative;
  padding-bottom: 10px;
}
.footer-title:after{
  content:"";
  position:absolute; left:0; bottom:0;
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  border-radius: 3px;
}

.footer-divider{
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,201,240,0.3), transparent);
  margin: 28px 0;
}

.footer-contact-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 14px;
}

.footer-contact-icon{
  color: var(--accent);
  font-size: 1.15rem;
  margin-top: 3px;
}

.social-links{ display:flex; gap:12px; }
.social-icon{
  width: 44px; height: 44px;
  border-radius: 50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.10);
  color:#fff;
  text-decoration:none;
  transition: transform .2s ease, background .2s ease;
}
.social-icon:hover{ transform: translateY(-3px) scale(1.06); background: rgba(76,201,240,0.22); }

.back-to-top{
  width: 42px; height: 42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 50%;
  background: var(--primary);
  color:#fff;
  text-decoration:none;
  transition: transform .2s ease, background .2s ease;
}
.back-to-top:hover{ transform: translateY(-3px); background: var(--accent); }

/* ===== Developed by NANH BROTHERS (Attractive) ===== */
.dev-credit{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
.dev-name{
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent), #ffffff, var(--primary-light));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(76,201,240,0.20);
}
.dev-sparkle{ color: var(--accent); opacity: 0.9; }

/* ===== Floating WhatsApp Left Bottom ===== */
.wa-float{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float i{ font-size: 1.6rem; }
.wa-float:hover{
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 36px rgba(0,0,0,0.35);
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 576px){
  body{ padding-top: 72px; }
  .logo-text{ font-size: 1.35rem; }
  .logo-text::after{ display:none; }
  .wa-float{ width: 52px; height: 52px; left: 14px; bottom: 14px; }
}

/* =========================
   ABOUT PAGE – PREMIUM UI
========================= */

.about-wrap {
  max-width: 1100px;
  margin: auto;
}

.about-card {
  background: linear-gradient(180deg, rgba(22,6,93,.78), rgba(18,8,82,.66));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

.about-card h2,
.about-card h3 {
  font-weight: 800;
}

.about-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 30px rgba(10,220,170,.35);
}

.about-icon i {
  font-size: 2.2rem;
  color: #fff;
}

/* WHY CHOOSE US */
.feature-card {
  height: 100%;
  background: rgba(18,8,82,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 16px 50px rgba(0,0,0,.35);
}

.feature-card i {
  font-size: 2.4rem;
  color: var(--cyan2);
  margin-bottom: 14px;
}

/* STATS */
.stat-card {
  height: 100%;
  text-align: center;
  background: rgba(18,8,82,.55);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 28px;
}

.stat-card .stat-number {
  font-size: 2.6rem;
  font-weight: 900;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-card {
    padding: 24px;
  }
}