/* Direct Landscape Supply - Inspired Intranet Styling */
/* Color Palette: Forest Green (#2d5016) header with Black background */

:root {
  --dls-green: #2d5016;
  --dls-light-green: #3d7a2e;
  --dls-dark: #1a1a1a;
  --dls-black: #0d0d0d;
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --border-color: #333333;
  --card-bg: #1f1f1f;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--dls-black) 0%, #1a1a1a 100%);
  min-height: 100vh;
  padding: 20px;
  color: var(--text-light);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Navigation Bar */
header {
  background: var(--dls-green);
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

header .header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

header .header-top a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 10px;
  transition: opacity 0.3s ease;
}

header .header-top a:hover {
  opacity: 0.8;
}

/* Main Header */
.header {
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 50px;
  padding-top: 20px;
}

.header h1 {
  font-size: 3em;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  color: var(--text-light);
}

/* Applications Grid */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* App Card */
.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border-left: 4px solid var(--dls-green);
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-left: 4px solid var(--dls-light-green);
  background: #252525;
}

.app-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.app-card h2 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: var(--dls-green);
}

.app-card p {
  color: var(--text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.6;
}

/* App Link Button */
.app-link {
  display: inline-block;
  background: var(--dls-green);
  color: #f0f0f0;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
  font-weight: 500;
  border: 2px solid var(--dls-green);
}

.app-link:hover {
  background: var(--dls-light-green);
  border-color: var(--dls-light-green);
  transform: translateX(5px);
}

/* Info Section */
.info-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--dls-green);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-top: 30px;
  color: var(--text-light);
}

.info-section h2 {
  margin-bottom: 15px;
  color: var(--dls-green);
  font-size: 1.5em;
}

.info-section p {
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.info-section ul {
  list-style-position: inside;
  line-height: 1.8;
  color: var(--text-muted);
}

.info-section li {
  margin-bottom: 10px;
  margin-left: 10px;
}

/* Footer */
.footer {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  opacity: 0.8;
  padding-bottom: 20px;
}

.footer p {
  margin: 5px 0;
}

.footer a {
  color: var(--dls-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--dls-light-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header h1 {
    font-size: 2em;
  }

  .applications-grid {
    grid-template-columns: 1fr;
  }

  .header p {
    font-size: 1em;
  }

  header .header-top {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
  body {
    background: var(--dls-black);
  }
}
