/* ==========================================================================
   CulturInfo Main Stylesheet & Global Layout
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glow Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.ambient-glow-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: var(--primary-600);
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.ambient-glow-2 {
  top: 40%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: var(--accent-coral);
  animation: floatOrb 14s ease-in-out infinite alternate-reverse;
}

/* App Container */
.app-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrapper {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-surface-glass);
  border-bottom: 1px solid var(--bg-surface-glass-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.brand-logo-icon {
  font-size: 1.6rem;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(124, 58, 237, 0.2);
  color: var(--primary-300);
  border: 1px solid rgba(124, 58, 237, 0.35);
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  background: transparent;
  color: var(--text-secondary);
}

.nav-btn:hover, .nav-btn.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.nav-btn-highlight {
  background: var(--grad-hero);
  color: white;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.nav-btn-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
  color: white;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--bg-surface-glass-border);
  background: var(--bg-surface);
  padding: var(--space-2xl) 0 var(--space-xl);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.footer-brand h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

.footer-links h5 {
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

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

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  .content-wrapper {
    padding: 0 var(--space-md);
  }
  
  .nav-btn span.btn-text {
    display: none;
  }
}
