:root {
  /* Color Palette - Deep Teal & Earthy Sand (Luxury/Adventurous) */
  --primary: #1e3a3a;
  --primary-light: #2d5454;
  --accent: #d4a373;
  --accent-hover: #bc8a5f;
  --bg: #fdfaf6;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666666;
  --border: #e0e0e0;
  --card-shadow: 0 10px 30px rgba(0,0,0,0.05);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  14 │   --radius: 12px;
  15 │   --radius-lg: 24px;
  16 │   --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  17 │   --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  18 │ }

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

.nav-container {
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  width: 100%;
}

.container-sm {
  max-width: 800px;
}

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

.price {
  color: var(--primary);
  font-weight: 600;
}

.section-alt {
  background: #f4f1ed;
}

.section-why {
  padding: 80px 0;
}

.section-why h2 {
  font-size: 40px; 
  margin-bottom: 24px;
}

.section-why .grid-3 {
  margin-top: 60px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  width: 60px; 
  height: 60px; 
  background: var(--bg); 
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin: 0 auto 20px; 
  color: var(--accent);
}

.feature-item p {
  font-size: 14px; 
  color: var(--text-muted);
}

.btn-collection {
  margin-top: 16px; 
  background: white; 
  color: var(--primary);
}

.footer-desc {
  color: rgba(255,255,255,0.6); 
  margin-bottom: 24px;
}

.footer-social {
  display: flex; 
  gap: 24px;
}

/* Mobile App Specifics */
.mobile-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  display: flex;
  flex-direction: column;
}

.app-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 70px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.tab-item.active {
  color: var(--primary);
}

.tab-icon {
  width: 24px;
  height: 24px;
}

/* Navbar */
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(253, 250, 246, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
}

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

.nav-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-search-submit {
  height: 52px;
  justify-content: center;
}

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

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

/* Hero Section */
.hero {
  padding: 80px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  margin-bottom: 48px;
}

.hero-tagline {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--primary);
  line-height: 1.1;
}

/* Search Bar Component */
.search-panel {
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.search-types {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}

.type-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.type-tab.active {
  background: var(--primary);
  color: white;
}

.search-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.field-input {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: var(--transition);
  background: #f9f9f9;
}

.field-input:focus {
  border-color: var(--primary);
  background: white;
}

/* Grid Layouts */
.section {
  padding: 60px 0;
}

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

/* Mobile Defaults - Desktop */
.horizontal-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .nav-actions .btn-outline {
    display: none;
  }

  .horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 24px;
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .horizontal-scroll::-webkit-scrollbar {
    display: none;
  }

  .scroll-item {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero {
    padding: 40px 0 60px;
  }

  .hero-content {
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: 32px;
    letter-spacing: -0.5px;
  }

  .quick-actions {
    margin-top: 20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .search-panel {
    padding: 16px;
    margin-top: 0; /* Removing negative margin if it exists elsewhere */
  }

  .search-types {
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .search-types::-webkit-scrollbar {
    display: none;
  }

  .type-tab {
    white-space: nowrap;
    padding: 8px 12px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .theme-card {
    height: 320px;
    padding: 24px;
  }

  .theme-card h3 {
    font-size: 24px;
  }

  .section-why h2 {
    font-size: 32px;
  }

  .section-why .grid-3 {
    margin-top: 40px;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .nav-actions {
    gap: 8px;
  }

  .field-input {
    padding: 14px;
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-title p {
  color: var(--text-muted);
}

.horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 24px;
  margin: 0 -24px;
  padding: 0 24px 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.scroll-item {
  flex: 0 0 280px;
}

.scroll-item-sm {
  flex: 0 0 160px;
}

/* Destination Cards */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
  border-color: var(--border);
}

.placeholder-image {
  width: 100%;
  background: #eee;
  position: relative;
}

.card-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 20px;
}

.card-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
  display: block;
}

.card-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.card-meta {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

/* Theme/Inspiration Cards */
.theme-card {
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: white;
}

.theme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.theme-card-content {
  position: relative;
  z-index: 1;
}

.theme-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}

.action-pill {
  padding: 10px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: var(--transition);
}

.action-pill:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* Placeholder Helpers */
.placeholder-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
}

.placeholder-icon {
  width: 24px;
  height: 24px;
  background: currentColor;
  opacity: 0.2;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 24px;
  display: block;
}

.footer-col h4 {
  margin-bottom: 24px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
}
