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

body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #7b5e51, #a38776); /* more muted warm tones */
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(6px);
  background-color: rgba(74, 52, 46, 0.9);
  color: white;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Navbar */
.navbar {
  background-color: #5c4033;
  color: #fff;
  padding: 1rem;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Menu Toggle (hamburger) */
.menu-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding-left: 0;
  transition: transform 0.3s ease;
}

.nav-links.show {
  transform: translateX(0);
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links li a:hover {
  color: #ffddae; /* warm highlight */
  border-bottom: 2px solid #ffddae;
}

/* Responsive Navbar */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: auto;           /* Let it size to content */
    margin-top: 1rem;
    position: absolute;    /* Position relative to viewport */
    right: 1rem;           /* Align right with some margin */
    top: 60px;             /* Just below navbar height (adjust as needed) */
    background-color: #5c4033; /* Match navbar bg */
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 2000;
  }

  a.normie {
    color: inherit;
    text-decoration: inherit;
    cursor: inherit;
  }

  .nav-links.show {
    display: flex;
  }
}

/* Section */
.section {
  padding: 1rem 1rem;
  max-width: 1000px;
  margin: auto;
}

.section-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

h2 {
  margin-bottom: 1.5rem;
  color: #4a342e;
}

/* Flooring Grid */
.flooring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.flooring-item {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.flooring-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Responsive Grid */
@media (max-width: 768px) {
  .flooring-grid {
    grid-template-columns: 1fr;
  }
}

/* Carousel */
.carousel {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 1rem;
}

.carousel-track img {
  width: 300px;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  display: inline-block;
  margin-right: 1rem;
  border-radius: 8px;
  border: 2px solid #ccc;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #4a342e;
  color: white;
  margin-top: 4rem;
}

a.normie {
  color: inherit;
  text-decoration: inherit;
  cursor: inherit;
}