/* Custom variables for GreenTaste */
:root {
  --primary: #164329;
  --primary-hover: #1f5f3b;
  --secondary: #10b981;
  --secondary-light: #ecfdf5;
  --bg-slate: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-slate);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

/* Main screen wrapper */
#screen {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-slate);
}

/* Header & Top Bar */
header#top {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

/* Navigation container */
nav#navigator {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

/* Content Container */
#page {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#content {
  width: 100%;
  min-height: 450px;
}

/* Page Components */
.contentMain {
  width: 100%;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 20px;
}

.contentTitle {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--secondary);
  padding-bottom: 12px;
  display: inline-block;
}

/* Footer structure */
#bottom {
  flex-shrink: 0;
  width: 100%;
  background: #0f2216; /* Professional deep slate/green footer */
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.buffer {
  clear: both;
}

/* Modern animations */
.fadeIn {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #page {
    padding: 20px 15px;
  }
  .contentMain {
    padding: 20px;
  }
  .contentTitle {
    font-size: 1.75rem;
  }
}