html,
body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Header & Navigation */
header {
  background: #620000;
  color: #fff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

nav a:hover {
  text-decoration: underline;
}

h1{
  font-size: 1.75rem;
}

h1, h2{
  color: #620000;
  margin-bottom:70px;
}

/* Section Wrapper */
.section {
  padding: 60px 7%;
  text-align: center;
}

.p{
  margin-top:auto;
  padding: 60px 15%;
}

.p h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* CTA Section */
.cta {
  background: #e0e0e0;
  text-align: center;
  margin-top: auto;
}

.cta p {
  font-size: 1.2em;
  max-width: 600px;
  margin: 20px auto;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #620000;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #8a0000;
}

/* Product Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 400px)); /* fixed card width */
  gap: 20px;
  margin-top: 30px;

  /* center the whole grid block */
  justify-content: center;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.2s ease;
  max-width: 400px;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.card h3 {
  margin: 20px 0 10px;
  color: #620000;
}

/* Table Styling */
.table-specs {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table-specs th,
.table-specs td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

/* Image Gallery */
.img-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, max-content)); /* Auto-fill grid columns */
  gap: 20px;
  justify-content: center;
  justify-items: center;
  margin-top: 30px;
}

.list-img {
  max-width:600px;
  width: 100%; /* Make image fill the container width */
  height: 100%; /* Stretch image to fill the height of the container */
  object-fit: cover; /* Maintain aspect ratio while covering the space */
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: height 0.3s ease;
}



/* @media (max-width: 1024px) {
  .list-img {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .img-list {
    grid-template-columns: 1fr;
  }

  .list-img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .list-img {
    height: 200px;
  }
} */

/* Features List */
h3 {
  margin-top: 40px;
  color: #620000;
}

.features-list {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.features-list ul {
  list-style-position: outside;
  list-style-type: disc;
  padding-left: 20px;
}

/* Override red bullets */
.features-list ul li::marker {
  color: #620000;
}

/* Ensure list items align properly */
.features-list li {
  text-align: left;
  white-space: normal;
}

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 10%;
  margin-top: auto;
}

footer p {
  margin: 0;
}