/* Carnbo Online - Modern Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-gradient: linear-gradient(135deg, #091e17 0%, #0f2d24 40%, #133a2e 100%);
  --bg-color: #0b1d17;
  --surface-card: rgba(18, 43, 35, 0.75);
  --surface-card-hover: rgba(26, 59, 48, 0.85);
  --surface-glass: rgba(255, 255, 255, 0.05);
  --border-color: rgba(52, 211, 153, 0.15);
  --border-hover: rgba(52, 211, 153, 0.4);
  
  --primary-emerald: #10b981;
  --accent-teal: #14b8a6;
  --accent-light: #6ee7b7;
  --text-main: #f0fdf4;
  --text-muted: #94a3b8;
  --text-subtle: #cbd5e1;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.05);
  --shadow-hover: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px rgba(20, 184, 166, 0.2);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html, body {
  min-height: 100vh;
  width: 100%;
  font-family: var(--font-body);
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Fullscreen / Compact App Wrapper */
.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

/* Minimalist Header Section */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0 0.75rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

/* Clickable Location Badge */
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--border-color);
  color: var(--accent-light);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.brand-badge:hover {
  background: rgba(16, 185, 129, 0.28);
  border-color: var(--accent-light);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.brand-badge svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hub Grid Layout */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
  flex-grow: 1;
  align-items: stretch;
}

/* Hub Cards */
.hub-card {
  position: relative;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-emerald), var(--accent-teal));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.hub-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-hover);
}

.hub-card:hover::before {
  opacity: 1;
}

.card-top-content {
  margin-bottom: 0.75rem;
}

.card-header-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
  transition: transform var(--transition-fast);
}

.hub-card:hover .card-header-icon {
  transform: scale(1.06);
  background: rgba(16, 185, 129, 0.2);
}

.card-header-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* Action Buttons */
.action-buttons-group {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-emerald), var(--accent-teal));
  border: none;
  border-radius: var(--radius-sm);
  color: #042f22;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
  color: #000000;
}

.btn-primary svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--accent-light);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Subpage Layout Styles (for /hall and /planning) */
.subpage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.back-link:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff;
  transform: translateX(-3px);
}

.subpage-content {
  background: var(--surface-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  margin-bottom: 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hall-img-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.hall-img-wrapper img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 1.25rem;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
  display: block;
}

/* Footer Section */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hub-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
  .app-container {
    padding: 1rem;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
