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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  background: var(--light-bg);
  line-height: 1.6;
}

/* CSS variables for consistent theming */
:root {
  --primary-color: #d72631;
  --primary-dark: #a11d26;
  --secondary-color: #0070f3;
  --dark-color: #0d0d0d;
  --light-bg: #ffffff;
  --light-gray: #f6f6f6;
  --text-color: #333333;
}

a {
  text-decoration: none;
}

/* Navigation */
.navbar {
  background: var(--dark-color);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar .nav-links a {
  color: #ffffff;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
  color: var(--primary-color);
}

/* Hero section */
.hero {
  position: relative;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e5e5e5;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background: #ffffff;
  color: var(--dark-color);
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 0;
}

/* Features section */
.features {
  background: var(--light-gray);
  text-align: center;
}

.features h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.feature p {
  font-size: 0.95rem;
  color: #555555;
}

/* Process section */
.process {
  background: var(--light-bg);
  text-align: center;
}

.process h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.step {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--primary-color);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.step p {
  font-size: 0.95rem;
  color: #555555;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: #cccccc;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-column p,
.footer-column a {
  font-size: 0.9rem;
  color: #cccccc;
}

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

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #cccccc;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #777777;
}

/* General page banner for internal pages */
.page-banner {
  background: var(--dark-color);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.page-banner p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #dddddd;
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 1rem;
}

form textarea {
  min-height: 150px;
  resize: vertical;
}

form button {
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: var(--primary-dark);
}

/* Cards for inventory page */
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.inventory-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.inventory-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.inventory-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.inventory-item p {
  font-size: 0.95rem;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar .nav-links a {
    margin-left: 1rem;
    font-size: 0.9rem;
  }
  .hero {
    height: 70vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .subtitle {
    font-size: 1rem;
  }
  .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}