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

html {
  scroll-behavior: smooth;
}

body {
  background: #080808;
  color: #f6f0e6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 10px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 164, 92, 0.25);
}

.nav-logo {
  height: 175px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-links a:hover {
  color: #d9b56d;
  transition: .25s
}

.hero {
  min-height: 100vh;
  padding: 160px 8% 90px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.45), rgba(0,0,0,.72)),
    url("assets/images/Hero.png");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  color: #c9a45c;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 18px;
}

h1, h2 {
  font-family: Georgia, serif;
  line-height: .95;
}

h1 {
  font-size: clamp(4.5rem, 9vw, 8.5rem);
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 22px;
}

.hero-text {
  font-size: 1.35rem;
  max-width: 610px;
  color: #e8ddcc;
  margin-bottom: 38px;
}

.button {
  display: inline-block;
  background: #c9a45c;
  color: #111;
  padding: 20px 42px;
  font-size: 1.05rem
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .03em;
}

.button:hover {
  background: #e0bd74;
}

section {
  padding: 105px 8%;
}

.intro {
  background: #f6f0e6;
  color: #111;
  text-align: center;
}

.intro p {
  max-width: 820px;
  margin: auto;
  font-size: 1.15rem;
}

.services {
  background: #0f0f0f;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 22px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: .35s;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(201,164,92,.25);
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.15));
}

.card>*{
  position:relative;
  z-index:2;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #c9a45c;
}
.card:nth-child(1){
    background-image:url("assets/images/closet.PNG");
}

.card:nth-child(2){
    background-image:url("assets/images/butlerspantry.png");
}

.card:nth-child(3){
    background-image:url("assets/images/garage.PNG");
}

.card:nth-child(4){
    background-image:url("assets/images/mudroom.PNG");
}

.card:nth-child(5){
    background-image:url("assets/images/office.png");
}

.card:nth-child(6){
    background-image:url("assets/images/playroom.png");
}
.card h3,
.steps h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.card p,
.steps p,
.gallery p,
.contact p {
  color: #d8cdbb;
}

.process {
  background: #151515;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.steps div {
  background: #0d0d0d;
  padding: 32px;
  border-left: 3px solid #c9a45c;
}

.steps span {
  display: block;
  color: #c9a45c;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.gallery {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.78)),
    url("assets/images/pullouts.jpeg");
  background-size: cover;
  background-position: center;
}

.gallery p {
  max-width: 620px;
  font-size: 1.2rem;
}

.contact {
  background: #f6f0e6;
  color: #111;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 44px;
  align-items: center;
}

.contact p {
  color: #333;
}

.contact-card {
  background: #101010;
  color: #f6f0e6;
  padding: 38px;
  border-radius: 22px;
  box-shadow: 0 25px 70px rgba(0,0,0,.22);
}

.contact-card p {
  color: #d8cdbb;
  margin: 12px 0;
}

footer {
  background: #050505;
  text-align: center;
  padding: 52px 8%;
  border-top: 1px solid rgba(201,164,92,.35);
}

footer h3 {
  font-family: Georgia, serif;
  font-size: 2rem;
}

@media (max-width: 850px) }
  .nav-links {
    display: none;
  }

  .nav-logo {
    height: 175px;
    width:auto
    filter: brightness(0) invert(1)
  }

  .hero {
    padding-top: 135px;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  section {
    padding: 75px 6%;
  }
/* PRODUCTS PAGE */

.products-hero {
  padding: 190px 8% 110px;
  background:
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.88)),
    url("assets/images/productshero.PNG");
  background-size: cover;
  background-position: center;
  color: white;
}

.products-hero h1 {
  max-width: 900px;
}

.products-hero p {
  max-width: 720px;
  font-size: 1.25rem;
  color: #e8ddcc;
}

.product-section {
  background: #0b0b0b;
  padding: 100px 8%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  min-height: 360px;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(201,164,92,.35);
  background: linear-gradient(145deg, #171717, #070707);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .35s;
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: #c9a45c;
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}

.product-card h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.product-card p {
  color: #d8cdbb;
  font-size: 1.05rem;
}
.product-card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.25));
}

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card:nth-child(1) {
  background-image: url("assets/images/shelfgenie.PNG");
}

.product-card:nth-child(2) {
  background-image: url("assets/images/revvv.PNG");
}

.product-card:nth-child(3) {
  background-image: url("assets/images/custbox.PNG");
}

.product-card:nth-child(4) {
  background-image: url("assets/images/hardware.PNG");
}
.gallery-item video {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.contact-form{
  max-width: 900px;
  margin: 70px auto;
  padding: 50px;
  background: #111;
  border: 1px solid #c9a45c;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(201,164,92,.35);
  background: #f5f1e8;
  color: #111;
  font-size: 1rem;
}

.contact-form textarea{
  grid-column: 1 / -1;
  min-height: 170px;
  resize: vertical;
}

.contact-form button{
  grid-column: 1 / -1;
  padding: 20px;
  background: #c9a45c;
  border: none;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
}

.project-form{
  max-width: 900px;
  margin: 70px auto;
  padding: 50px;
  background: #111;
  border: 1px solid #c9a45c;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-form h2{
  grid-column: 1 / -1;
}

.form-grid{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-form input,
.project-form select,
.project-form textarea{
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(201,164,92,.35);
  background: #f5f1e8;
  color: #111;
  font-size: 1rem;
}

.project-form textarea{
  grid-column: 1 / -1;
  min-height: 170px;
  resize: vertical;
}

.project-form button{
  grid-column: 1 / -1;
  padding: 20px;
  background: #c9a45c;
  border: none;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
    padding: 35px 20px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    padding: 0;
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .nav-logo {
    max-width: 220px;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201, 164, 92, 0.5);
  color: #fff;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 25px 24px;
  }

  .nav-logo {
    max-width: 190px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    padding: 25px 0 0;
  }

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

  .nav-links a {
    font-size: 1rem;
  }
}