/* Roomavio Core Visual Design System */
:root {
  --brand-primary: #35263F;
  --brand-accent: #F26B4D;
  --brand-mint: #A9D8C2;
  --brand-yellow: #FFD66B;
  --brand-cream: #FFF7EA;
  --brand-surface: #FFFFFF;
  --brand-text: #35263F;
  --brand-muted: #6F6673;
  --brand-border: rgba(53, 38, 63, 0.12);
  --brand-shadow: 0 12px 36px rgba(53, 38, 63, 0.10);
  --brand-radius-sm: 10px;
  --brand-radius-md: 18px;
  --brand-radius-lg: 28px;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--brand-cream);
  color: var(--brand-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-primary);
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-muted { color: var(--brand-muted); }
.text-center { text-align: center; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--brand-border);
  box-shadow: 0 4px 12px rgba(53,38,63,0.04);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--brand-accent);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--brand-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.btn-primary {
  background-color: var(--brand-accent);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: #d9573b;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--brand-primary);
  color: #FFFFFF;
}
.btn-secondary:hover {
  background-color: #24192b;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--brand-border);
  color: var(--brand-primary);
}
.btn-outline:hover {
  background-color: rgba(53,38,63,0.05);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--brand-radius-md);
}

/* Layout Containers & Cards */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.card {
  background-color: var(--brand-surface);
  border-radius: var(--brand-radius-md);
  border: 1px solid var(--brand-border);
  box-shadow: var(--brand-shadow);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 16px 42px rgba(53,38,63,0.14);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--brand-primary);
}

.form-control, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--brand-radius-sm);
  border: 1px solid var(--brand-border);
  background-color: var(--brand-surface);
  color: var(--brand-text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(242, 107, 77, 0.15);
  outline: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-mint { background-color: rgba(169, 216, 194, 0.3); color: #236446; }
.badge-plum { background-color: rgba(53, 38, 63, 0.1); color: var(--brand-primary); }
.badge-accent { background-color: rgba(242, 107, 77, 0.15); color: #c03c20; }
.badge-yellow { background-color: rgba(255, 214, 107, 0.35); color: #7a5400; }

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--brand-radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.alert-success { background-color: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.alert-danger { background-color: #f8d7da; color: #842029; border: 1px solid #f5c2c7; }
.alert-warning { background-color: #fff3cd; color: #664d03; border: 1px solid #ffecb5; }
.alert-info { background-color: #cff4fc; color: #055160; border: 1px solid #b6effb; }

/* Footer */
.site-footer {
  background-color: var(--brand-primary);
  color: var(--brand-cream);
  padding: 4rem 1.5rem 2rem;
  margin-top: 4rem;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,247,234,0.15);
}

.footer-col h4 {
  color: var(--brand-yellow);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  color: rgba(255,247,234,0.8);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-accent);
}

.footer-bottom {
  max-width: 1240px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255,247,234,0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    display: none; /* Accessible mobile drawer handler */
  }
  h1 { font-size: 2.2rem; }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
