body {
  margin: 0;
  padding: 0;
  font-family:'Poppins', sans-serif;
  background: #2d1810;
  color: #f5e6d3;
}
html {
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  background: rgba(45, 24, 16, 0.51);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 35px;
}
.logo-text{
  font-size: 25px;
  font-weight: 800;
}

.nav-menu a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #c59d5f;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Desktop menu */
.nav-menu {
  display: flex;
  gap: 1.5rem;
}

/* Mobile button */
.menu-btn {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #f5e6d3;
  cursor: pointer;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  .menu-btn {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2d1810;
    flex-direction: column;   /* 👈 COLUMN STYLE */
    align-items: center;
    display: none;
  }

  .nav-menu a {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.show {
    display: flex;
  }
}

/* HERO SLIDER */
.hero-slider {
  height: 100vh;
  position: relative;
}

.slides {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s;
}

.slides.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.5);
}
.hero-content h1 { font-size: 3rem; }
#btn-primary {
 padding-left: 30px;
 padding-right: 30px;
 padding-bottom: 12px;
 padding-top: 12px;
 border-radius: 9px;
 background: #e6e8de00;
 border: none;
 font-family: inherit;
 text-align: center;
 cursor: pointer;
 transition: 0.4s;
}

#btn-primary:hover {
 box-shadow: 7px 5px 56px -14px #C3D900;
}

#btn-primary:active {
 transform: scale(0.97);
 box-shadow: 7px 5px 56px -10px #C3D900;
}

/* SECTIONS */
.section {
  padding: 4rem 2rem;
  text-align: center;
}
.dark { background: #3d2817; }
.section h2{
  font-size: 25px;
  font-weight: 800px;
  padding-bottom: 50px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

/* SERVICES */
.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
#services p{
  padding-bottom: 50px;
  font-size: 15px;
}
.service-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.service-card h3{
  font-size: 20px;
  font-weight: 50px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 2;
}

.service-card:hover .overlay {
  bottom: 0;
  transform: translateY(0);
  opacity: 1;
}
/* PROJECTS */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 300px;
}
#projects p{
  padding-bottom: 50px;
  font-size: 15px;
}
/*PROJECT SLIDER */
 .pslider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 0.6s ease;
} 

.pslider img.active {
  opacity: 1;
}
/*PROJECT OVERLAY CONTENT */
.poverlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 2;
}

.project-card:hover .poverlay {
  opacity: 1;
  transform: translateY(0);
}

.poverlay h2 {
  font-size: 22px;
  margin-bottom: 6px;
}

.poverlay p {
  font-size: 14px;
  margin-bottom: 10px;
}
.wrap-btn {
  text-align: center;
  margin-top: 40px;
}

.wrap-btn {
  background: linear-gradient(135deg, #8b5a2b, #5c3a1e);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.wrap-btn:hover {
  background: linear-gradient(135deg, #a97142, #6b4423);
  transform: translateY(-2px);
}

/* ABOUT */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
.extra-project {
    display: none;
}
p {
  line-height: 1.7;
  opacity: 0.9;
}
.wrap-btn {
  text-align: center;
  margin-top: 40px;
}

.wrap-btn {
  background: linear-gradient(135deg, #8b5a2b, #5c3a1e);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 15px;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.wrap-btn:hover {
  background: linear-gradient(135deg, #a97142, #6b4423);
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.stat-box h2 {
  font-size: 32px;
  color: #d6a76c;
}

.stat-box span {
  font-size: 18px;
  font-weight: 100px;
  opacity: 0.85;
}

.image-box {
  background: #b99b76;
  height: 520px;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  animation: fadeIn 1.2s ease;
}

.image-box img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.image-box h3 {
  margin-top: 15px;
  color: #fff;
}

.values {
  margin-top: 20px;
  text-align: center;
}

.values h2 {
  margin-bottom: 40px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-8px);
}

.value-card h4 {
  margin: 15px 0 5px;
  color: #f0c27b;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media(max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/*CONTACT */
.contact-grid {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contact-grid a {
  display: block;
  padding: 14px 20px;
  background: #2b170d;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  border: 1px solid #3a2315;
}

.contact-grid a:hover {
  background: #3a2315;
  transform: translateY(-8px);
}


/* FOOTER */
.footer {
  background: #2d1810;
  border-top: 2px solid #8b6f47;
  padding: 3rem 2rem 1rem;
  color: #f5e6d3;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-brand img {
  width: 180px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-social h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons img {
  width: 32px;
  transition: transform 0.3s, filter 0.3s;
}

.social-icons img:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Responsive Footer */
@media(max-width:768px){
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media(min-width:1024px){
  #services .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(min-width:1024px){
  #projects .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* WHATAPP ICON */

.service-card, .project-card {
  position: relative; /* needed for the icon */
}

.contact-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #edf1ee; /* WhatsApp green */
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.contact-icon img {
  width: 24px;
  height: 24px;
}

.service-card:hover .contact-icon,
.project-card:hover .contact-icon {
  opacity: 1;
  transform: translateY(-5px);
}

/* RESPONSIVE */
@media(max-width:768px){
  nav { display:none; }
  .menu-btn { display:block; }
}


/* Loader Full Screen */
#wood-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3b2a1a; /* dark wood */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wood-box {
  text-align: center;
  color: #f5e6d3;
  font-family: "Georgia", serif;
}

.wood-plank {
  width: 140px;
  height: 20px;
  background: linear-gradient(
    90deg,
    #8b5a2b,
    #a97142,
    #8b5a2b
  );
  border-radius: 4px;
  animation: slide 1.2s infinite ease-in-out;
  margin: 0 auto 15px;
}


.wood-box p {
  font-size: 15px;
  letter-spacing: 1px;
}

/* Animation */
@keyframes slide {
  0% { transform: scaleX(0.4); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.4); opacity: 0.5; }
}
