/*
Theme Name: Maya Tour & Travels
Description: Premium travel agency website design
Author: Web Design Agency
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #0A4D8C;
  --secondary-color: #4FC3F7;
  --accent-color: #F4B400;
  --bg-color: #ffffff;
  --card-bg: #fdfdfd;
  --text-dark: #333333;
  --text-light: #777777;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 4px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Typography Hierarchy */
.text-accent { color: var(--accent-color); }
.text-secondary { color: var(--secondary-color); }
.text-primary-dark { color: var(--primary-color); }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; position: relative; display: inline-block; }
.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent-color);
  bottom: -10px;
  left: 0;
}
.section-subtitle { font-size: 1.1rem; color: var(--text-light); margin-bottom: 3rem; }

/* Buttons */
.btn-premium {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  transition: var(--transition);
  display: inline-block;
}
.btn-premium:hover {
  background: transparent;
  color: var(--primary-color);
}
.btn-accent {
  background: var(--accent-color);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--accent-color);
  transition: var(--transition);
}
.btn-accent:hover {
  background: transparent;
  color: var(--accent-color);
}

/* Glassmorphism Navbar */
.navbar-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar-glass.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}
.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(10, 77, 140, 0.8), rgba(0,0,0,0.3));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 20px;
  color: #fff;
}
.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 30px;
  max-width: 600px;
}

/* Cards (Destination & Package) */
.premium-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--card-bg);
  transition: var(--transition);
  position: relative;
}
.premium-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card-img-wrapper {
  overflow: hidden;
  position: relative;
}
.card-img-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.premium-card:hover .card-img-wrapper img {
  transform: scale(1.1);
}
.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 2;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 50px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; width: 2px; height: 100%;
  background: var(--secondary-color);
  transform: translateX(-50%);
}
.timeline-item {
  margin-bottom: 50px;
  position: relative;
}
.timeline-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.2rem;
  box-shadow: 0 0 0 5px #fff;
}
.timeline-content {
  width: 45%;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}
.timeline-item:nth-child(even) .timeline-content {
  text-align: right;
}

/* Statistics */
.stats-section {
  background: var(--primary-color);
  color: #fff;
  padding: 80px 0;
}
.stat-item h3 {
  color: var(--accent-color);
  font-size: 3rem;
  font-family: var(--font-body);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin: 15px;
}
.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 15px;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}
.stars {
  color: var(--accent-color);
  margin-bottom: 15px;
}

/* Gallery Masonry */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
  grid-auto-flow: dense;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item:nth-child(2n) {
  grid-row: span 2;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 77, 140, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Footer */
.main-footer {
  background: #111;
  color: #ddd;
  padding: 80px 0 20px;
}
.main-footer h4 {
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.main-footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 30px; height: 2px;
  background: var(--accent-color);
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #aaa;
}
.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-right: 10px;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
  border: 1px solid rgba(0,0,0,0.05);
}
.cookie-banner.show {
  bottom: 20px;
}

/* Floating Buttons */
.floating-btn {
  position: fixed;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}
.floating-whatsapp { right: 20px; background: #25D366; }
.floating-whatsapp:hover { background: #1ebe5d; color: #fff; transform: scale(1.1); }
.floating-call { right: 80px; background: var(--primary-color); }
.floating-call:hover { background: #083c6d; color: #fff; transform: scale(1.1); }

/* SVG Dividers */
.svg-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.svg-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}
.svg-divider .shape-fill {
  fill: #FFFFFF;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .timeline::before { left: 30px; }
  .timeline-icon { left: 30px; transform: translateX(-50%); }
  .timeline-content { width: calc(100% - 80px); margin-left: 80px !important; text-align: left !important; }
}
