@font-face {
  font-family: "CenturyGothic";
  src: url("../font/CenturyGothic.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent-red: #ff0000;
  --accent-black: #0d0d0d;
  --text-color: #000000;
  --white-color: #ffffff;
  --black-color: #0d0d0d;
  --text-muted: #cccccc;
  --btn-color: #ff0000;
  --header-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body {
  font-family: "CenturyGothic", sans-serif;
  color: var(--text-color);
  background-color: var(--white-color);
  line-height: 1.2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.75rem;
}

/* buttons */
.btn-outline-dark {
  border-radius: 0;
  border-width: 1px;
  padding: 0.7rem 2.2rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-outline-dark:hover {
  background-color: #1e1e1e;
  color: #fff;
}

.btn-outline-light {
  border-radius: 0;
  border-width: 1px;
  padding: 0.7rem 2.2rem;
}

/* ----- transparent navbar (fixed, over hero) ----- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: transparent !important;
  padding: 1.2rem 2rem;
  transition: background-color 0.3s ease;
}

/* optional slight darken on scroll – kept transparent for design, but you can add a background later */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: white !important;
}

.navbar-brand span {
  font-weight: 400;
  color: #f5d7b3;
  /* warm accent */
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 300;
  margin-left: 1.5rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: #f5d7b3 !important;
}

/* dropdown menus (light, premium) */
.dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  margin-top: 0.5rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
}

.dropdown-item {
  font-weight: 300;
  padding: 0.6rem 1.8rem;
  color: #1e1e1e;
  transition: background 0.2s, color 0.2s;
  position: relative;
}

.dropdown-item:hover {
  background: #f8f8f8;
  color: #a67c4b;
}

/* submenu (hover on furniture shows nested dropdown) */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu>.dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.5rem;
  margin-left: 0;
  display: none;
  position: absolute;
}

.dropdown-submenu:hover>.dropdown-menu {
  display: block;
}

/* add a small arrow to items that have submenu */
/* .dropdown-submenu>a::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1rem;
  font-size: 0.7rem;
  top: 0.8rem;
  color: #a67c4b;
} */

.product-mega-menu .col-md-6 a {
  display: block;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.product-mega-menu .col-md-6 a:hover {
  background-color: #f8f9fa;
}

@media (min-width: 992px) {
  .dropdown-submenu .dropdown-menu {
    left: 100%;
    top: -10px;
    margin-top: 0;
    display: none;
  }

  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }

  /* remove the bootstrap caret from parent if needed (we already added custom arrow) */
  .dropdown-submenu>a::after {
    float: right;
    border: none;
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    margin-left: 1rem;
    color: #a67c4b;
    display: none;
  }

  .dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
  }

  .product-mega-menu .col-md-6 {
    width: 100%;
  }
}

/* hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('https://images.unsplash.com/photo-1693447902537-9936ae50ca28?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
}

/* cards */
.category-card {
  background: #fafafa;
  padding: 2.5rem 1rem;
  text-align: center;
  border: 1px solid #f0f0f0;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}

.category-card i {
  font-size: 2.8rem;
  color: #a67c4b;
  margin-bottom: 1.2rem;
}

.category-card h5 {
  font-weight: 400;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
}

.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
  border: 1px solid #f3f3f3;
  transition: all 0.25s;
  background: white;
}

.product-card:hover {
  transform: scale(1.01);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.12);
  border-color: #e0e0e0;
}

.product-image {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: cover;
}

.product-info {
  padding: 1.2rem 0;
}

.product-info h5 {
  font-weight: 400;
  font-size: 1.2rem;
}

.product-info p {
  color: #5f5f5f;
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
}

.detail-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #1e1e1e;
  padding-bottom: 0.2rem;
  display: inline-block;
}

.product-card:hover .detail-link {
  border-color: #a67c4b;
}

/* filter buttons */
.filter-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 0.4rem 1.8rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: #1e1e1e;
  color: white;
  border-color: #1e1e1e;
}

/* product detail simulation */
.detail-gallery {
  background: #fbfbfb;
  padding: 2rem;
  border: 1px solid #f0f0f0;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s;
  margin-right: 0.5rem;
}

.thumbnails img:hover {
  opacity: 1;
}

/* installation gallery */
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* why choose us */
.why-card {
  text-align: center;
  padding: 1.5rem;
}

.why-card i {
  font-size: 2.5rem;
  color: #a67c4b;
  margin-bottom: 1rem;
}

/* partners */
.partner-logo {
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.3s;
  max-width: 120px;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* footer */
footer {
  background: #f8f8f8;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-link {
  color: #4a4a4a;
  text-decoration: none;
  font-weight: 300;
}

.footer-link:hover {
  color: #a67c4b;
}

.social a {
  font-size: 1.4rem;
  margin-right: 1.2rem;
  color: #1e1e1e;
}

.social a:hover {
  color: #a67c4b;
}

.copyright {
  border-top: 1px solid #e2e2e2;
  padding-top: 2rem;
  margin-top: 2rem;
  color: #777;
}

/* lightbox simulation (simple) */
.lightbox-hint {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.2rem 0.8rem;
  font-size: 0.7rem;
}

/* map */
.map-container {
  width: 100%;
  height: 280px;
  background: #eaeaea;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}