/*---------------------------------------------- Navigation Styles -------------------------------------------*//* #region */
.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 10px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

nav {
  position: relative;   /* so nav also sits above the dark overlay */
  z-index: 2;
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 60px;
  width: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-start; 
  gap: 40px;       /* gap between words*/ 
}

nav a {
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  font-size: 22px;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.1s ease, border-bottom 0.1s ease;
}

nav a:hover {
  color: #f2d89b;
  border-bottom-color: #f2d89b;
}
/* #endregion */

/*-------------------------------------------------- Hero Section-----------------------------------------------*//* #region */
.hero {
  height: 100vh;  /* desktop */
  height: 100svh; /* mobile safe height */
  min-height: 100vh;
  background-image: url("product-images/qualityimage-board.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* soft dark overlay */
}

.hero-content {
  position: relative;
  text-align: center;
  color: white;
  z-index: 1;
}

.hero-logo {
  height: 200px;
  width: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.7));
}

.hero h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 30px;
  margin-top: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
/* #endregion */

/* ----------------------------------------------Welcome Section--------------------------------------------*//* #region */

.welcome {
  padding: 10px 20px;
  text-align: center;
}

.welcome h2 {
  font-size: 36px;
  color: #742626;
  margin-bottom: 20px;
}

.welcome p {
  margin: 40px auto;   /* same as divider — now perfectly even */
  font-size: 26px;
  max-width: 900px;
  color: #3e2b23;
  line-height: 1.6;
}

.section-divider {
  width: 70%;
  height: 3px;
  background: linear-gradient(to right, transparent, #742626, transparent);
  margin: 40px auto;   /* balanced spacing */
}

/* #endregion */

/* -------------------------------------------Image Slider Section -------------------------------------- *//* #region */
.simple-slider {
  width: 90%;                /* responsive width */
  max-width: 1000px;         /* keeps it from getting too wide */
  aspect-ratio: 4 / 3;       /* keeps perfect 4:3 shape */
  margin: 60px auto;         /* centered with spacing */
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #25212b;       /* matches site background */
}

/* Slide container */
.simple-slider .slides {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Individual slides */
.simple-slider .slide {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* perfect fill for 4:3 images */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.simple-slider .slide.active {
  opacity: 1;
}

/* ------- Arrows ------- */
.arrow {
  position: absolute; 
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  font-weight: 500;
  color: white;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;

  transition: background 0.2s ease, transform 0.15s ease;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.3);
}

.simple-slider .prev {
  left: 10px;
}

.simple-slider .next {
  right: 10px;
}

/* ------- Dots ------- */

.simple-slider .dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
}

.simple-slider .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #666;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.simple-slider .dot.active {
  background: white;
}
/* #endregion */

/* ----------------------------------------------Structural Styles ------------------------------------------ *//* #region */
body {
  margin: 0;
  background-color: #e4d5ca;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px; 
}
/* #endregion */

/* ------------------------------------------------Footer Styles --------------------------------------------- *//* #region */
footer {
  background: #3e2b23;
  padding: 50px 20px 30px;
  text-align: center;
  color: #e8d9c8;
  border-top: 6px solid #d8b56a;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links a {
  color: #e8d9c8;
  margin: 0 15px;
  font-size: 18px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f2d89b;
}

/* #endregion */

/* -----------------------------------------------Available Woods---------------------------------------------*//* #region */
.available-woods-page h2 {
  text-align: center;
  font-size: 40px;
  color: #742626;
}

.wood-grid {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Each card is a horizontal rectangle */
.wood-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #d8b56a;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Wood image on left */
.wood-card img {
  width: 40%;
  height: 180px;
  object-fit: cover;
}

.wood-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wood-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

/* Text content */
.wood-info {
  padding: 20px;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
.wood-info h3 {
  margin: 0 0 10px;
  color: #742626;
  font-size: 25px;
  font-weight: 600;
}

/* Description text */
.wood-info p {
  margin: 0;
  color: #3e2b23;
  line-height: 1.5;
  font-size: 22px;
}

/* ---- Mobile Optimization ---- */

@media (max-width: 700px) {
  .wood-card {
    flex-direction: column;        /* Stack image above text */
  }

  .wood-card img {
    width: 100%;
    height: 220px;
  }

  .wood-info {
    width: 100%;
    padding: 15px 20px;
  }
}

/* ---- Fade-in Animation ---- */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* #endregion */