/* 23 Easy Small Wood Projects for Beginners | Mahasa */
:root{
  --navy:#1C252E;
  --bg:#F4F6F8;
  --amber:#FF9900;
  --white:#ffffff;
  --muted:#5b6470;
  --border:#e3e6eb;
  --shadow:0 10px 30px rgba(28,37,46,.08);
  --radius:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Roboto',system-ui,Arial,sans-serif;
  background:var(--bg);
  color:var(--navy);
  line-height:1.65;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5,h6{font-family:'Playfair Display',Georgia,serif;font-weight:700;color:var(--navy);line-height:1.2}
h1{font-size:clamp(1.9rem,4vw,2.8rem)}
h2{font-size:clamp(1.5rem,3vw,2.1rem);margin-bottom:.8rem}
h3{font-size:1.25rem;margin-bottom:.5rem}
p{margin-bottom:1rem}
a{color:var(--navy);text-decoration:none}
img{max-width:100%;height:auto;display:block}

/* Marquee */
.marquee{
  position:sticky;top:0;z-index:1000;
  background:var(--navy);color:var(--white);
  overflow:hidden;white-space:nowrap;
  border-bottom:2px solid var(--amber);
  padding:.55rem 0;font-size:.92rem;
}
.marquee__track{display:inline-block;padding-left:100%;animation:scroll 38s linear infinite}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes scroll{0%{transform:translateX(0)}100%{transform:translateX(-100%)}}

/* Header / Nav */
.site-header{
  position:sticky;top:38px;z-index:999;
  background:rgba(244,246,248,.96);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{max-width:1200px;margin:0 auto;padding:.85rem 1.2rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}
.brand{display:flex;align-items:center;gap:.65rem;font-family:'Playfair Display',serif;font-weight:700;font-size:1.15rem;color:var(--navy)}
.brand img{width:34px;height:34px;border-radius:6px}
.nav__menu{display:flex;align-items:center;gap:.25rem;list-style:none}
.nav__menu > li{position:relative}
.nav__menu a{padding:.55rem .85rem;border-radius:8px;font-size:.95rem;font-weight:500;display:inline-block}
.nav__menu a:hover{background:var(--navy);color:var(--white)}
.dropdown{position:absolute;top:100%;left:0;min-width:240px;background:var(--white);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow);padding:.4rem;display:none;z-index:50}
.nav__menu li:hover .dropdown,.nav__menu li:focus-within .dropdown{display:block}
.dropdown a{display:block;padding:.55rem .7rem;font-size:.9rem;border-radius:6px;white-space:normal}
.nav__cta{background:var(--amber);color:var(--navy);padding:.6rem 1rem;border-radius:8px;font-weight:700}
.nav__cta:hover{background:#e88800;color:var(--white)}
.hamburger{display:none;background:none;border:0;cursor:pointer;font-size:1.6rem;color:var(--navy)}

@media (max-width:880px){
  .hamburger{display:block}
  .nav__menu{
    position:fixed;top:0;right:-100%;height:100vh;width:78%;max-width:320px;
    background:var(--white);flex-direction:column;align-items:stretch;
    padding:4.5rem 1rem 2rem;gap:.25rem;overflow-y:auto;
    transition:right .3s ease;box-shadow:-10px 0 30px rgba(0,0,0,.12);
  }
  .nav__menu.open{right:0}
  .nav__menu a{padding:.8rem 1rem}
  .dropdown{position:static;display:none;box-shadow:none;border:0;background:#f3f5f8;margin:.2rem 0}
  .nav__menu li.open > .dropdown{display:block}
}

/* Breadcrumb */
.breadcrumb{max-width:1200px;margin:1rem auto;padding:0 1.5rem;font-size:.88rem;color:var(--muted)}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}
.breadcrumb li::after{content:'›';margin-left:.4rem;color:var(--muted)}
.breadcrumb li:last-child::after{content:''}
.breadcrumb a{color:var(--amber);font-weight:600}
@media (max-width:600px){.breadcrumb{padding:0 1.2rem}}

/* Layout */
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
section{padding:3.5rem 0}

/* Hero */
.hero{padding:1rem 0 3rem}
.hero__grid{display:grid;grid-template-columns:1.05fr 1fr;gap:2.5rem;align-items:center}
@media (max-width:880px){.hero__grid{grid-template-columns:1fr;gap:1.8rem}}
.stars{color:var(--amber);font-size:1.15rem;letter-spacing:2px}
.badge-ship{display:inline-block;background:var(--navy);color:var(--white);font-size:.78rem;padding:.35rem .7rem;border-radius:999px;margin:.6rem 0 1rem;font-weight:600;letter-spacing:.3px}
.last-updated{font-size:.82rem;color:var(--muted);margin-bottom:.6rem}
.hero__sub{font-size:1.15rem;color:var(--muted);margin:.8rem 0 1rem;font-weight:500}
.hero__intro{font-size:1rem;color:#3a444f}
.cta{display:inline-block;background:var(--amber);color:var(--navy);font-weight:700;padding:1rem 1.7rem;border-radius:10px;font-size:1.05rem;margin-top:1.1rem;box-shadow:0 6px 20px rgba(255,153,0,.35);transition:transform .15s ease,box-shadow .2s}
.cta:hover{transform:translateY(2px);box-shadow:0 4px 14px rgba(255,153,0,.45);color:var(--navy)}
.cta--big{font-size:1.15rem;padding:1.1rem 2rem}

/* Hero slider */
.slider{position:relative;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);aspect-ratio:5/4;background:#dfe3e8}
.slider__slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease}
.slider__slide.active{opacity:1}
.slider__slide img{width:100%;height:100%;object-fit:cover}
.slider__dots{position:absolute;bottom:14px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.slider__dots button{width:10px;height:10px;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer}
.slider__dots button.active{background:var(--amber);width:24px;border-radius:5px}

/* Fixed bg sections */
.bg-fixed{
  background-image:url('../images/easy-diy-wood-projects-step-by-step.webp');
  background-attachment:fixed;background-size:cover;background-position:center;
  position:relative;color:var(--white);
}
.bg-fixed::before{content:'';position:absolute;inset:0;background:rgba(28,37,46,.78)}
.bg-fixed > .container{position:relative;z-index:1}
.bg-fixed h2, .bg-fixed p {
    color: #a7a7a7;
}
.bg-fixed--testi{background-image:url('../images/easy-wood-working-ideas-home-decor.webp')}

/* Benefits grid */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media (max-width:780px){.grid-3{grid-template-columns:1fr}}
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;box-shadow:var(--shadow);transition:transform .2s}
.card:hover{transform:translateY(-4px)}
.bg-fixed .card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);backdrop-filter:blur(6px)}
.bg-fixed .card h3,.bg-fixed .card p{color:var(--white)}
.card__icon{width:48px;height:48px;border-radius:10px;background:var(--amber);color:var(--navy);display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:700;margin-bottom:.8rem}

/* Project list */
.projects ol{padding-left:1.3rem;columns:2;column-gap:2rem}
.projects li{margin-bottom:.55rem;break-inside:avoid}
@media (max-width:680px){.projects ol{columns:1}}

/* Gallery */
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
@media (max-width:880px){.gallery{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.gallery{grid-template-columns:1fr}}
.gallery figure{background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);display:flex;flex-direction:column}
.gallery img{aspect-ratio:1/1;object-fit:cover}
.gallery figcaption{padding:1.1rem;font-size:.92rem;color:#3a444f}

/* Testimonials */
.testi-wrap{position:relative;max-width:1100px;margin:0 auto}
.testi-track{display:flex;gap:1.5rem;overflow:hidden}
.testi-card{flex:0 0 calc(33.333% - 1rem);background:var(--white);color:var(--navy);padding:1.6rem;border-radius:var(--radius);box-shadow:var(--shadow);transition:transform .5s ease}
@media (max-width:880px){.testi-card{flex:0 0 calc(50% - .75rem)}}
@media (max-width:560px){.testi-card{flex:0 0 100%}}
.testi-card .stars{font-size:1rem;margin-bottom:.5rem}
.testi-meta{font-size:.85rem;color:var(--muted);margin-top:.7rem}
.testi-btn{position:absolute;top:50%;transform:translateY(-50%);background:var(--amber);color:var(--navy);border:0;width:42px;height:42px;border-radius:50%;cursor:pointer;font-size:1.3rem;font-weight:700;box-shadow:var(--shadow);z-index:2}
.testi-btn.prev{left:-12px}.testi-btn.next{right:-12px}

/* FAQ */
.faq details{background:var(--white);border:1px solid var(--border);border-radius:10px;margin-bottom:.7rem;padding:1rem 1.2rem;box-shadow:0 2px 8px rgba(28,37,46,.04)}
.faq summary{cursor:pointer;font-weight:700;font-family:'Playfair Display',serif;font-size:1.05rem;color:var(--navy);list-style:none;position:relative;padding-right:1.5rem}
.faq summary::after{content:'+';position:absolute;right:0;top:-2px;font-size:1.5rem;color:var(--amber)}
.faq details[open] summary::after{content:'–'}
.faq details > div,.faq details > p,.faq details > ul{margin-top:.7rem;color:#3a444f}
.faq ul{padding-left:1.3rem}
.faq li{margin-bottom:.35rem}

/* Footer */
.footer{background:var(--navy);color:#cdd3da;padding:3rem 0 1.5rem;margin-top:3rem}
.footer a{color:var(--amber)}
.footer__cols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
@media (max-width:780px){.footer__cols{grid-template-columns:1fr}}
.footer__cols h4{color:var(--white);font-size:1.1rem;margin-bottom:.8rem}
.footer ul{list-style:none}
.footer li{margin-bottom:.45rem}
.footer__ship{text-align:center;font-size:.78rem;color:#8c95a0;padding:1.2rem 0;border-top:1px solid #2c3640;line-height:1.7}
.footer__dev{text-align:center;font-size:.85rem;margin-top:1rem}

/* Live Purchase */
.live-purchase{
  position:fixed;left:18px;bottom:18px;z-index:998;
  background:var(--white);border-radius:12px;box-shadow:0 12px 35px rgba(0,0,0,.18);
  padding:.85rem 1rem;display:flex;gap:.7rem;align-items:center;
  max-width:300px;font-size:.85rem;border:1px solid var(--border);
  animation:slideIn .5s ease;
}
@keyframes slideIn{from{transform:translateX(-120%)}to{transform:translateX(0)}}
.live-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.25);flex-shrink:0;animation:pulse 1.6s infinite}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}
.live-purchase__close{position:absolute;top:4px;right:8px;background:none;border:0;font-size:1rem;cursor:pointer;color:var(--muted)}
@media (max-width:560px){
  .live-purchase{left:10px;bottom:90px;font-size:.78rem;max-width:240px;padding:.65rem .8rem}
}

/* Chatbot */
.chat-toggle{
  position:fixed;right:18px;bottom:18px;z-index:998;
  width:62px;height:62px;border-radius:50%;background:var(--amber);color:var(--navy);
  border:0;cursor:pointer;font-size:1.8rem;box-shadow:0 12px 30px rgba(255,153,0,.45);
  display:flex;align-items:center;justify-content:center;
}
.chat-toggle::after{content:'';position:absolute;top:6px;right:6px;width:12px;height:12px;border-radius:50%;background:#22c55e;border:2px solid var(--white)}
.chat-box{
  position:fixed;right:18px;bottom:90px;z-index:999;
  width:340px;max-width:calc(100vw - 36px);height:480px;max-height:75vh;
  background:var(--white);border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.25);
  display:none;flex-direction:column;overflow:hidden;border:1px solid var(--border);
}
.chat-box.open{display:flex}
.chat-head{background:var(--navy);color:var(--white);padding:.9rem 1rem;display:flex;align-items:center;gap:.6rem}
.chat-head .live-dot{width:9px;height:9px}
.chat-head__name{font-weight:700;font-size:.98rem}
.chat-head__role{font-size:.75rem;color:#cdd3da}
.chat-head__close{margin-left:auto;background:none;border:0;color:var(--white);cursor:pointer;font-size:1.3rem}
.chat-body{flex:1;padding:1rem;overflow-y:auto;background:#f7f9fb;font-size:.9rem}
.msg{margin-bottom:.7rem;max-width:85%;padding:.6rem .85rem;border-radius:12px;line-height:1.5}
.msg.bot{background:var(--white);border:1px solid var(--border);border-bottom-left-radius:4px}
.msg.user{background:var(--amber);color:var(--navy);margin-left:auto;border-bottom-right-radius:4px;font-weight:600}
.chat-options{display:flex;flex-direction:column;gap:.4rem;margin:.5rem 0 .8rem}
.chat-options button{background:var(--white);border:1.5px solid var(--amber);color:var(--navy);padding:.55rem .8rem;border-radius:8px;cursor:pointer;text-align:left;font-size:.85rem;font-weight:500;transition:all .15s}
.chat-options button:hover{background:var(--amber)}
.chat-cta{display:inline-block;background:var(--amber);color:var(--navy);padding:.7rem 1rem;border-radius:8px;font-weight:700;margin-top:.4rem}

/* Static pages */
.static-page{max-width:820px;margin:0 auto;padding:1rem 1.5rem 2rem}
.static-page h2{margin-top:1.8rem}
.static-page h3{margin-top:1.3rem}
.static-page ul{padding-left:1.4rem;margin-bottom:1rem}
