/* Wild Saunas Ireland - Complete Design System */
/* Matching original React app exactly */

/* Lucide Icons */
@import url('https://unpkg.com/lucide-static@latest/font/lucide.css');

/* Google Fonts - Matching original */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Design System Colors - Light Mode */
  --background: 45 30% 97%;
  --foreground: 150 15% 15%;
  --border: 45 15% 85%;
  --card: 45 25% 99%;
  --card-foreground: 150 15% 15%;
  --card-border: 45 15% 88%;
  --primary: 150 35% 35%;
  --primary-foreground: 45 30% 98%;
  --secondary: 45 20% 92%;
  --secondary-foreground: 150 15% 20%;
  --muted: 45 15% 93%;
  --muted-foreground: 150 10% 45%;
  --accent: 35 75% 50%;
  --accent-foreground: 35 90% 10%;
  --destructive: 0 65% 50%;
  --destructive-foreground: 0 0% 100%;
  --input: 45 15% 80%;
  --ring: 150 35% 35%;
  
  /* Chart colors */
  --chart-1: 150 35% 35%;
  --chart-2: 35 75% 50%;
  --chart-3: 200 50% 45%;
  --chart-4: 280 40% 50%;
  --chart-5: 45 60% 55%;
  
  /* Fonts */
  --font-sans: 'Lora', Georgia, serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Elevation/Hover effects */
  --elevate-1: rgba(0,0,0, .03);
  --elevate-2: rgba(0,0,0, .08);
}

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

html, body {
  height: 100%;
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Container */
.container, .max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-6xl {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
}

nav .nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

nav .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

nav .logo i {
  color: hsl(var(--accent));
  width: 1.75rem;
  height: 1.75rem;
}

nav .nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  nav .nav-links {
    display: flex;
  }
}

nav .nav-links a {
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: hsl(var(--foreground));
  font-weight: 500;
}

nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

nav .mobile-menu-btn {
  display: inline-flex;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}

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

.btn-primary:hover {
  background: hsl(150 35% 30%);
}

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

.btn-outline:hover {
  background: hsl(var(--secondary));
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
}

.btn-ghost:hover {
  background: hsl(var(--secondary));
}

.btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
}

/* Cards */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--card-border));
  border-radius: 0.5rem;
  overflow: hidden;
}

.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-content {
  padding: 1.25rem;
}

.card-header {
  padding: 1.5rem 1.25rem 0;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 640px) {
  .sm\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .md\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .lg\\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Spacing utilities */
.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.m-0 { margin: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }

/* Text utilities */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

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

.text-muted-foreground { color: hsl(var(--muted-foreground)); }
.text-accent { color: hsl(var(--accent)); }
.text-primary { color: hsl(var(--primary)); }

.font-serif { font-family: var(--font-serif); }

/* Misc utilities */
.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }

.rounded-md { border-radius: 0.375rem; }
.overflow-hidden { overflow: hidden; }

.cursor-pointer { cursor: pointer; }

.bg-muted { background: hsl(var(--muted)); }
.bg-primary { background: hsl(var(--primary)); }

.shrink-0 { flex-shrink: 0; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--border)) 50%, hsl(var(--muted)) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 0.25rem;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Icons from Lucide */
i[class*="lucide"] {
  display: inline-block;
  width: 1em;
  height: 1em;
}

/* Responsive */
@media (min-width: 640px) {
  .container, .max-w-7xl { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\\:text-4xl { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .container, .max-w-7xl { padding-left: 2rem; padding-right: 2rem; }
}
