/* Tabure Landing Page Styles */
/* Design tokens are imported from tokens.css (generated) */
@import 'tokens.css';
@import 'components.css';

/* Aliases for backward compatibility */
:root {
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-light);
  --secondary: var(--color-secondary);

  /* Gradients - Updated for deeper green */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  --gradient-hero: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);

  /* Shadow aliases */
  --shadow-sm: var(--shadow-small);
  --shadow-md: var(--shadow-medium);
  --shadow-lg: var(--shadow-large);

  /* Layout */
  --section-padding: 80px 24px;
  --container-max-width: 1200px;

  /* Radius aliases */
  --radius-sm: var(--radius-small);
  --radius-md: var(--radius-medium);
  --radius-lg: var(--radius-large);
}

/* Dark Mode Gradients */
@media (prefers-color-scheme: dark) {
  :root {
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    --gradient-hero: linear-gradient(180deg, #121212 0%, #000000 100%);
  }
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  header {
    background: rgba(26, 28, 26, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.header-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: var(--gradient-hero);
  opacity: 0.03;
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 32px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    border-color: rgba(255, 255, 255, 0.1);
  }
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    border-color: rgba(255, 255, 255, 0.05);
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Coming Soon Badge */
.coming-soon-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Footer */
footer {
  padding: 40px 24px;
  background: var(--surface);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

@media (prefers-color-scheme: dark) {
  footer {
    border-top-color: rgba(255, 255, 255, 0.05);
  }
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .features {
    padding: 60px 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .faq-item {
    border-color: rgba(255, 255, 255, 0.05);
  }
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.faq-item summary {
  padding: 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  user-select: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: '−';
  /* Using minus sign for better look */
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Animations */
.faq-item[open] .faq-content {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================ */
/* VENUE SEARCH                                 */
/* ============================================ */

.venue-search {
  padding: var(--section-padding);
  background: var(--background);
}

.search-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.filter-group select {
  width: 100%;
  cursor: pointer;
}

.filter-group select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Venue Loader */
.venue-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px;
  color: var(--text-secondary);
}

/* Venue Results Grid */
.venue-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

/* Venue Card */
.venue-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.venue-card__image {
  height: 160px;
  background: var(--color-neutral-200);
  overflow: hidden;
}

.venue-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: linear-gradient(135deg, var(--color-primary-surface) 0%, var(--color-neutral-100) 100%);
}

.venue-card__content {
  padding: 16px;
}

.venue-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.venue-card__location {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.venue-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.venue-card__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
}

.venue-card__rating {
  font-size: 14px;
  color: var(--text-secondary);
}

/* No Results */
.no-results,
.venue-error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: var(--text-secondary);
}

/* App CTA Banner */
.app-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: white;
}

.cta-content h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.cta-content p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0 0 24px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .tabure-btn--primary {
  background: white;
  color: var(--color-primary);
}

.cta-buttons .tabure-btn--secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.cta-buttons .tabure-btn svg {
  width: 20px;
  height: 20px;
}

@media (prefers-color-scheme: dark) {
  .venue-card__image {
    background: var(--color-neutral-800);
  }

  .venue-card__placeholder {
    background: linear-gradient(135deg, var(--color-neutral-800) 0%, var(--color-neutral-900) 100%);
  }
}

@media (max-width: 600px) {
  .search-filters {
    flex-direction: column;
  }

  .filter-group {
    min-width: 100%;
  }

  .app-cta {
    padding: 32px 24px;
  }

  .cta-content h3 {
    font-size: 20px;
  }
}