/* styles.css - Premium travel site styles */

:root {
  --primary: #2c5f2d;
  --secondary: #97bc62;
  --accent: #d4a373;
  --dark: #1a1a1a;
  --light: #f8f5f0;
  --text: #333;
  --muted: #666;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--light);
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 15px 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

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

.nav-links a {
  color: var(--dark);
  font-weight: 500;
}

.search-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 25px;
}

.cta-group {
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

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

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark);
}

/* Destination Grid */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.dest-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.dest-card:hover {
  transform: translateY(-5px);
}

.dest-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.tag {
  background: var(--secondary);
  color: var(--dark);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.distance {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 8px 0;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn, .time-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .time-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Quick facts */
.quick-facts {
  background: white;
  border-radius: var(--radius);
  padding: 25px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.quick-facts dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quick-facts dt {
  font-weight: 600;
  color: var(--muted);
}

/* Destination page */
.dest-hero {
  height: 50vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.dest-hero-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

footer a {
  color: #ccc;
}

.disclaimer {
  font-size: 0.85rem;
  color: #aaa;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #333;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
  .dest-grid {
    grid-template-columns: 1fr;
  }
  .quick-facts dl {
    grid-template-columns: 1fr;
  }
  .cta-group {
    flex-direction: column;
  }
}

/* Search modal simple */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.search-modal.active {
  display: flex;
}

.search-box {
  background: white;
  padding: 30px;
  border-radius: var(--radius);
  width: 90%;
  max-width: 500px;
}

.search-box input {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 15px;
}
