/* CSS Design System for TravelMoments Travel & Tours */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary: #0f172a;       /* Deep Slate Blue */
  --primary-light: #1e293b; /* Medium Slate Blue */
  --accent: #f59e0b;        /* Warm Gold/Amber */
  --accent-hover: #d97706;  /* Darker Gold */
  --text-dark: #0f172a;     /* Near Black for readability */
  --text-muted: #64748b;    /* Slate Gray */
  --text-light: #f8fafc;    /* Clean Off-white */
  --bg-main: #f8fafc;       /* Light body bg */
  --bg-card: #ffffff;
  --bg-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Common Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

header.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  height: 48px;
  width: auto;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.logo-divider {
  width: 1px;
  height: 32px;
  background-color: #cbd5e1;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.025em;
  display: flex;
  flex-direction: column;
}

.brand-text span {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.nav-cta {
  background: var(--primary);
  color: var(--accent);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.nav-cta:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--bg-gradient);
  color: var(--text-light);
  padding: 140px 0 100px;
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero h1 span {
  color: var(--accent);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Sections General */
section.py-section {
  padding: 100px 0;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 12px auto 0;
}

/* Cards Grid Layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

/* Package Cards */
.package-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.3);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--primary-light);
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.package-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-hover);
  margin-bottom: 16px;
}

.card-features {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
}

.card-btn {
  margin-top: auto;
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-btn:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Services Section */
.services-section {
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px 24px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.08);
}

.service-card:hover::after {
  height: 100%;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.5rem;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--accent);
}

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

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About Section */
.about-section {
  background: var(--bg-main);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text-content h2 {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-text-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.about-box {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 6px solid var(--accent);
  transition: all 0.3s ease;
}

.about-box:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.about-box h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.about-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-box.vision {
  border-left-color: var(--primary);
}

/* Contact Section */
.contact-section {
  background: var(--primary);
  color: var(--text-light);
  position: relative;
  padding: 100px 0 60px;
}

.contact-section .section-title {
  color: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.contact-link {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.contact-link:hover {
  text-decoration: underline;
}

/* Footer Area */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand h5 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.75rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.85rem;
  color: #64748b;
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-header {
  padding: 24px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.modal-title p {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

.modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.75rem;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s;
  padding: 4px;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-section {
  margin-bottom: 24px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-section h4::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.modal-section p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.modal-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.modal-list li::before {
  content: '▪';
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  justify-content: flex-end;
  background: var(--bg-main);
}

/* Responsive Queries */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none; /* Can add toggling logic in JS if needed */
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
