/* ===============================================
   TourMasti Travels — Travel Agency Design
   Inspired by Tour Bootstrap Template
   Colorful, Professional, Modern
   =============================================== */

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

/* ========== CSS Variables ========== */
:root {
  --primary: #E39A2E;
  --secondary: #C67F1B;
  --accent: #FEBC5B;
  --dark: #2B2419;
  --light: #FDF8F0;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #ece5da;
  
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== Base Styles ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(36px, 8vw, 64px);
}

h2 {
  font-size: clamp(28px, 6vw, 48px);
  margin-bottom: 30px;
}

h3 {
  font-size: clamp(20px, 4vw, 28px);
  margin-bottom: 15px;
}

p {
  margin-bottom: 15px;
  color: #666;
}

p:last-child {
  margin-bottom: 0;
}

/* ========== Container & Layout ========== */
.container, .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .container, .wrap {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .container, .wrap {
    padding: 0 16px;
  }
}

/* ========== Header & Navigation ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-light);
  transition: var(--transition);
  height: 70px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .site-header {
    height: 56px;
  }
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .nav-wrapper {
    padding: 0 24px;
  }
}

@media (max-width: 480px) {
  .nav-wrapper {
    padding: 0 16px;
  }
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .brand img {
    height: 46px;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 40px;
  }
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  justify-content: center;
  margin-left: 30px;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-dropdown-parent {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 999;
  margin-top: 8px;
}

.nav-dropdown-parent:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid var(--gray-light);
  position: static;
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  background-color: var(--light);
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-dropdown {
    display: none;
  }
}

.nav-cta {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }
}

/* ========== Mobile Navigation ========== */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  margin-left: auto;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--dark);
  margin: 4px 0;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .nav-mobile {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .nav-mobile {
    top: 56px;
  }
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile-menu li {
  border-bottom: 1px solid var(--gray-light);
}

.nav-mobile-menu a {
  display: block;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
}

.nav-mobile-menu a:active {
  background-color: var(--light);
  color: var(--primary);
}

.nav-mobile-cta {
  padding: 20px 24px;
  border-top: 1px solid var(--gray-light);
}

main {
  margin-top: 70px;
}

@media (max-width: 768px) {
  main {
    margin-top: 60px;
  }
}

@media (max-width: 480px) {
  main {
    margin-top: 56px;
  }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  min-height: 44px;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 154, 46, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #a8690f;
  transform: translateY(-2px);
}

/* ========== Hero Section ========== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(150px, -100px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero-search {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  background-color: var(--white);
  color: var(--dark);
  min-height: 44px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 154, 46, 0.15);
}

.hero-image {
  display: none;
}

@media (max-width: 768px) {
  .hero-search {
    padding: 20px;
  }
}

/* ========== Services Section ========== */
.services-section {
  padding: 100px 0;
  background-color: var(--light);
}

.services-head {
  text-align: center;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  padding: 30px 24px;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 16px;
  display: inline-block;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 18px;
}

.service-card p {
  font-size: 13px;
  margin-bottom: 0;
  line-height: 1.6;
  color: #666;
}

/* ========== Stats Section ========== */
.stats-section {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
}

/* ========== Destinations Section ========== */
.destinations-section {
  padding: 100px 0;
}

.destinations-head {
  text-align: center;
  margin-bottom: 60px;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .destinations-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
}

.destination-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
  cursor: pointer;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.destination-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover .destination-image {
  transform: scale(1.05);
}

.destination-info {
  padding: 24px;
  background: var(--white);
}

.destination-card h3 {
  margin-bottom: 10px;
}

.destination-card .price {
  color: var(--primary);
  font-weight: 600;
  font-size: 18px;
}

/* ========== Testimonials Section ========== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--light);
}

.testimonials-head {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.explore-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .explore-btns {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .explore-btns .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

.testimonials-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .testimonials-grid,
  .testimonials-grid-2col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  object-fit: cover;
  border: 3px solid var(--primary);
  display: none;
}

.testimonial-card h3 {
  color: var(--primary);
  margin-bottom: 5px;
  margin-top: 20px;
}

.testimonial-quote {
  font-style: italic;
  color: #666;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.8;
  order: -1;
  flex-grow: 1;
}

.stars {
  color: var(--accent);
  margin-bottom: 15px;
  font-size: 14px;
  order: -2;
}

/* ========== Offers Section ========== */
.offers-section {
  padding: 100px 0;
}

.offers-head {
  text-align: center;
  margin-bottom: 60px;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .offers-grid {
    grid-template-columns: 1fr;
  }
}

.offer-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.offer-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.offer-content {
  padding: 24px;
  background: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.offer-location {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.offer-card h3 {
  margin-bottom: 15px;
}

.offer-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 20px;
  margin-top: auto;
}

/* ========== Features Section ========== */
.features-section {
  padding: 100px 0;
  background-color: var(--light);
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .features-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.features-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  object-fit: cover;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  font-size: 15px;
  color: #666;
}

.features-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

/* ========== CTA Section ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Video Section ========== */
.video-section {
  padding: 100px 0;
}

.video-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 768px) {
  .video-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.video-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

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

.video-content h2 {
  margin-bottom: 20px;
}

.video-content p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.8;
}

/* ========== Footer ========== */
.site-footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-contact p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========== WhatsApp Button ========== */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  cursor: pointer;
  color: var(--white);
  font-size: 24px;
  text-decoration: none;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@media (max-width: 480px) {
  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
}

/* ========== Utilities ========== */
.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-white {
  color: var(--white);
}

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }

.mt-5 { margin-top: 40px; }

/* ========== Animations ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  animation: fadeInUp 0.6s ease-out;
}
