/* ==========================================================================
   PALETTE: PREMIUM EARTHY LUXURY
   ========================================================================== */
:root {
  --primary-navy: #102A43;    /* Deep Navy */
  --secondary-teal: #176B87;  /* Ocean Teal */
  --accent-copper: #C47A44;   /* Copper / Bronze */
  --bg-ivory: #F8F5EF;        /* Ivory */
  --bg-midnight: #071A21;     /* Midnight */
  --text-slate: #829AB1;      /* Muted Slate */
  --text-dark: #102A43;
  --text-light: #FFFFFF;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
* { margin: 0;
   padding: 0;
    box-sizing: border-box;
   }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-ivory);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* CUSTOM CURSOR (DESKTOP ONLY) */
@media (min-width: 993px) {
  body { cursor: none; }
  .custom-cursor {
    width: 30px; height: 30px;
    border: 1px solid var(--accent-copper);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    z-index: 9999;
  }
  .custom-cursor-dot {
    width: 6px; height: 6px;
    background-color: var(--accent-copper);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
  }
  .custom-cursor.active {
    width: 50px; height: 50px;
    background-color: rgba(196, 122, 68, 0.15);
  }
}

/* SCROLL PROGRESS BAR */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; background: var(--accent-copper);
  width: 0%; z-index: 10001; transition: width 0.1s;
}

/* UTILITIES */
.text-copper { color: var(--accent-copper) !important; }
.text-light { color: var(--text-light) !important; }
.text-slate { color: var(--text-slate) !important; }
.bg-navy { background-color: var(--primary-navy); color: var(--text-light); }
.bg-midnight { background-color: var(--bg-midnight); color: var(--text-light); }
.bg-ivory { background-color: var(--bg-ivory); }

.section-pad { padding: 120px 0; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.text-center { text-align: center; }
.max-w-600 { 
  max-width: 600px; 
  margin-left: auto; 
  margin-right: auto; 
  margin-bottom: 40px;
}
.w-100 { width: 100%; }
.position-relative { position: relative; z-index: 2; }

.grid-2 { 
  display: grid;
   grid-template-columns: repeat(2, 1fr);
    gap: 50px; 
  }
.grid-3 { 
  display: grid;
   grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
  }
.grid-4 { 
  display: grid;
   grid-template-columns: repeat(4, 1fr);
    gap: 20px; 
  }
.align-center { 
  align-items: center; 
}

h1, h2, h3 { 
  font-family: var(--font-heading); 
}
h2 { 
  font-size: 2.8rem; 
  margin-bottom: 1rem; 
}

.sub-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--secondary-teal);
  margin-bottom: 10px;
}

/* BUTTONS & COPPER SHINE */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 4px; 
  font-weight: 600;
  text-decoration: none; 
  position: relative;
  overflow: hidden; 
  transition: var(--transition);
  font-size: 0.95rem; 
  border: 1px solid transparent;
}
.btn-copper { background-color: var(--accent-copper); color: #fff; }
.btn-navy { background-color: var(--primary-navy); color: #fff; }
.btn-outline { border-color: var(--accent-copper); color: #fff; }

.btn-shine::after {
  content: ''; 
  position: absolute;
  top: -50%; 
  left: -60%; 
  width: 20%; 
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg); 
  transition: all 0.6s ease;
}
.btn-shine:hover::after { left: 120%; }

.btn-left {
  margin-right: 30px;
}

/* NAVBAR */
.navbar {
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%;
  z-index: 1000; 
  padding: 25px 0; 
  transition: var(--transition);
  border-bottom: 1px solid rgba(196, 122, 68, 0.25);
}
.navbar.scrolled {
  background: rgba(7, 26, 33, 0.92);
  backdrop-filter: blur(12px); 
  padding: 15px 0;
}
.nav-container { 
  width: 90%; 
  max-width: 1200px; 
  margin: 0 auto; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}
.logo { 
  text-decoration: none; 
  display: flex; 
  flex-direction: column; 
}
.logo-title { 
  font-weight: 700; 
  color: #fff; 
  letter-spacing: 1.5px; 
  font-size: 1.1rem; 
}
.logo-sub { 
  font-size: 0.8rem; 
  letter-spacing: 2px; 
  color: #C47A44;
}
.nav-links { 
  display: flex; 
  list-style: none; 
  gap: 30px; 
}
.nav-links a { 
  color: #fff; 
  text-decoration: none; 
  font-size: 0.9rem; 
  transition: var(--transition); 
}
.nav-links a:hover { color: var(--accent-copper); }
.mobile-toggle { 
  display: none; 
  background: none; 
  border: none; 
  color: #fff; 
  font-size: 1.5rem; 
}

/* HERO & WORD STAGGER */
.hero {
  position: relative; 
  height: 100vh;
  display: flex; 
  flex-direction: column; 
  justify-content: center;
  color: #fff; 
  overflow: hidden; 
  padding-left: 5%;
}
.hero-bg {
  position: absolute; 
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=2000');
  background-size: cover; 
  background-position: center;
  animation: slowZoom 18s infinite alternate linear;
}
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.hero-overlay {
  position: absolute; 
  inset: 0;
  background: linear-gradient(135deg, rgba(7,26,33,0.88) 0%, rgba(16,42,67,0.75) 100%);
}
.hero-content { 
  position: relative; 
  z-index: 2; 
  max-width: 800px; 
}
.badge-tag {
  display: inline-block; 
  padding: 6px 16px;
  background: rgba(196, 122, 68, 0.15); 
  border: 1px solid var(--accent-copper);
  color: var(--accent-copper); 
  border-radius: 30px; 
  font-size: 0.75rem; 
  letter-spacing: 2px; 
  margin-bottom: 20px;
}
.hero h1 { 
  font-size: 3.8rem; 
  margin-bottom: 15px; 
}
.stagger-heading .word {
  display: inline-block; 
  opacity: 0; 
  transform: translateY(35px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-heading.active .word { 
  opacity: 1; 
  transform: translateY(0); 
}

.copper-line {
  height: 2px; 
  width: 0; 
  background: var(--accent-copper);
  margin-bottom: 20px; 
  transition: width 0.8s ease;
}
.copper-line.active { width: 120px; }

.hero-sub { 
  font-size: 1.1rem; 
  color: var(--text-slate); 
  margin-bottom: 30px; 
  max-width: 650px; 
}
.hero-btns { 
  display: flex; 
  gap: 30px; 
}

.hero-floating-bar {
  position: absolute; 
  bottom: 20px; 
  left: 5%; 
  right: 5%;
  background: rgba(255, 255, 255, 0.05); 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1); 
  padding: 20px 40px;
  border-radius: 6px; 
  display: flex; 
  justify-content: space-between; 
  z-index: 2;
}
.f-info-item strong { 
  display: block; 
  color: var(--accent-copper); 
  font-size: 1.2rem; 
}
.f-info-item span { 
  color: var(--text-slate); 
  font-size: 0.85rem; 
}
.f-info-divider { 
  width: 1px; 
  background: rgba(255, 255, 255, 0.1); 
}

/* ABOUT CLIP-PATH REVEAL */
.about-img-wrapper { 
  position: relative; 
}

.img-clip-box {
  clip-path: inset(0 100% 0 0); 
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  border-radius: 6px; 
  overflow: hidden;
}

.img-clip-box.active { 
  clip-path: inset(0 0 0 0); 
}

.about-img { 
  width: 100%; 
  height: 500px;
  display: block; 
  border-radius: 6%;
}

.est-badge {
  position: absolute; 
  bottom: -15px; 
  left: -15px;
  background: var(--accent-copper); 
  color: #fff; 
  padding: 15px 25px;
  font-weight: 700; 
  border-radius: 4px; 
  font-size: 0.9rem;
}

.about-quote { 
  border-left: 3px solid var(--accent-copper); 
  padding-left: 15px; 
  font-style: italic; 
  color: var(--secondary-teal); 
  margin: 20px 0; 
}

.sub-label {
  font-size: medium;
}

/* WHY CHOOSE CARDS */
.why-card {
  background: rgba(255, 255, 255, 0.03); 
  padding: 35px 25px;
  border-radius: 6px; 
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
  margin-top: 40px;
}
.why-card:hover {
  transform: translateY(-12px); 
  border-color: var(--accent-copper);
  box-shadow: 0 15px 30px rgba(196, 122, 68, 0.15);
}
.card-icon { 
  font-size: 2rem; 
  color: var(--accent-copper); 
  margin-bottom: 20px; 
  transition: transform 0.6s ease; 
}

.grid-4 {
  bottom: 10px;
}

.why-card:hover .card-icon { transform: rotateY(360deg); }

/* PRODUCTS */
.product-card {
  background: #fff; 
  border-radius: 6px; 
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03); 
  transition: var(--transition);
  margin-top: 20px;
}
.product-card:hover { transform: translateY(-10px); }
.p-img-box { 
  height: 240px; 
  position: relative; 
  overflow: hidden; 
}
.p-img-box img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: var(--transition); 
}
.product-card:hover .p-img-box img { transform: scale(1.08); }
.p-info { padding: 30px; }
.p-link { 
  color: var(--accent-copper); 
  text-decoration: none; 
  font-weight: 600; 
  display: inline-block; 
  margin-top: 15px; 
  transition: var(--transition); 
}
.product-card:hover .p-link { transform: translateX(8px); }

/* TIMBER HORIZONTAL GALLERY */
.timber-gallery-wrapper {
  position: relative;
  overflow: hidden; /* hide native scrollbar, use arrows */
  padding-bottom: 20px;
}
.timber-gallery-wrapper::-webkit-scrollbar { display: none; }
.timber-gallery-wrapper { scrollbar-width: none; }

.timber-gallery {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 12px 40px; /* space for arrows */
  cursor: grab;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.timber-gallery::-webkit-scrollbar { display: none; }

.t-card {
  flex: 0 0 240px;
  width: 240px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.t-card:hover { transform: scale(1.04); border-color: var(--accent-copper); }
.t-img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.t-card:hover .t-img { transform: scale(1.08); }
.t-info { padding: 15px; }
.t-info h3 { color: #fff; font-size: 1.1rem; }
.t-info span { color: var(--text-slate); font-size: 0.8rem; }

/* Gallery arrows */
.timber-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  z-index: 50;
  transition: background 0.2s ease, transform 0.12s ease;
}
.timber-arrow:hover { background: rgba(0,0,0,0.5); transform: translateY(-50%) scale(1.03); }
.timber-arrow.left { left: 12px; }
.timber-arrow.right { right: 12px; }
.timber-arrow:disabled, .timber-arrow.disabled {
  opacity: 0.35;
  cursor: default;
}

/* Visual feedback while dragging */
.timber-gallery.dragging { cursor: grabbing; }

/* Smaller arrows on mobile */
@media (max-width: 600px) {
  .timber-arrow { width: 34px; height: 34px; }
  .timber-gallery { padding: 10px 34px; }
}


/* STATS */

.sub-label {
  font-size: large;
}

.moq-box {
  margin-top: 15px;
}

.stat-card { 
  background: #fff; 
  padding: 30px; 
  border-radius: 6px; 
  border-bottom: 3px solid var(--accent-copper); 
}
.stat-num { 
  font-size: 2.6rem; 
  font-family: var(--font-heading); 
  color: var(--primary-navy); 
  font-weight: 700; 
}

/* CUSTOMIZATION CARDS */
.cust-card {
  background: rgba(255,255,255,0.02); 
  padding: 40px 30px;
  border-radius: 6px; 
  text-align: center; 
  border: 1px solid rgba(255,255,255,0.05);
}
.cust-card i { font-size: 2.5rem; margin-bottom: 20px; }

/* SVG MAP ANIMATED LINES */
.map-wrapper { 
  position: relative; 
  width: 100%;
  margin: 40px 0; 
}
.map-svg { width: 100%; height: auto; }
.animated-line {
  fill: none; 
  stroke: var(--accent-copper); 
  stroke-width: 2;
  stroke-dasharray: 400; 
  stroke-dashoffset: 400;
  animation: drawLine 3s forwards ease-in-out infinite;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.map-node circle { fill: var(--accent-copper); }
.map-node text { 
  fill: #fff; 
  font-size: 12px; 
  font-family: var(--font-body); 
}

/* QUALITY PARALLAX BANNER */
.quality-banner {
  position: relative; 
  background-image: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&q=80&w=2000');
  background-size: cover; 
  background-attachment: fixed; 
  color: #fff;
}
.q-overlay { 
  position: absolute; 
  inset: 0; 
  background: rgba(7,26,33,0.85); 
}
.grand-quote { 
  font-size: 2.5rem; 
  font-family: var(--font-heading); 
  color: var(--accent-copper); 
  margin: 20px 0; 
}

/* CONTACT */

.contact-form-wrapper { 
  background: #fff; 
  padding: 40px; 
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}
.form-group { margin-bottom: 20px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; 
  padding: 14px; 
  border: 1px solid #e2e8f0; 
  border-radius: 4px; 
  outline: none;
}
.contact-detail-card { 
  display: flex; 
  gap: 20px; 
  align-items: center; 
  margin-bottom: 25px; 
  margin-top: 30px;
}


.contact-detail-card i { font-size: 1.5rem; }

/* FOOTER */
.footer { 
  padding: 80px 0 30px; 
  border-top: 1px solid rgba(255,255,255,0.05); 
}
.footer-grid { 
  display: grid; 
  grid-template-columns: 2fr 1fr 1fr 1fr; 
  gap: 40px; 
  margin-bottom: 60px; 
}
.footer h4 { 
  color: #fff; 
  margin-bottom: 20px; 
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { 
  color: var(--text-slate); 
  text-decoration: none; 
  transition: var(--transition); 
}

.footer ul a:hover { color: var(--accent-copper); }

.text-slate {
  margin-top: 15px;
}

/* REVEAL ANIMATIONS */
.reveal, .reveal-left, .reveal-right { 
  opacity: 0; 
  transition: all 0.8s ease-out; 
}
.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }

.reveal.active, .reveal-left.active, .reveal-right.active { 
  opacity: 1; 
  transform: translate(0); 
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-floating-bar { display: none; }
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
}




/* ====================================
            FOOTER
====================================*/
.footer{
    background:#102A43;
    border-top:2px solid #B78B47;
    padding:22px 0;
}

.footer-bottoms{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

.footer-copy{
    flex:1;
}

.footer-copy p{
    color:#F5F1E8;
    font-size:15px;
    line-height:1.6;
}

.footer-copy span{
    color:#B78B47;
    font-weight:600;
}

.footer-copy a{
    color:#B78B47;
    transition:.35s ease;
}

.footer-copy a:hover{
    color:#E6C88B;
}

.footer-right{
    display:flex;
    align-items:center;
    gap:30px;
    margin-left:auto;
    flex-shrink:0;
}

.footer-right img{
    width:180px;
    transition:.4s;
}

.footer-right img:hover{
    transform:scale(1.05);
}

/*==========================
      SCROLL BUTTON
==========================*/
.scroll-top{
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width:65px;
    height:65px;
    border:2px solid #B78B47;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#B78B47;
    font-size:22px;
    transition:.4s;
    background:#102A43;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.scroll-top:hover{
    background:#B78B47;
    color:#0F0F0F;
    transform:translateY(-6px);
}

/*==========================
      RESPONSIVE
==========================*/
@media(max-width:991px){
    .footer-bottom{
        flex-direction:column;
        text-align:center;
    }

    .footer-right{
        justify-content:center;
    }

        .footer-right img{
        width:150px;
    }

    .scroll-top{
        width:52px;
        height:52px;
        font-size:18px;
    }

    .footer-copy p{
        font-size:14px;
        line-height:1.5;
    }
}

@media(max-width:576px){
    .footer{
        padding:18px 0;
    }

    .footer-copy p{
        font-size:13px;
        line-height:1.5;
    }

    .footer-right{
        flex-direction:column;
        gap:20px;
    }

    .footer-right img{
        width:130px;
    }
}