@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root{--brown:#241711;--coffee:#6f432c;--cream:#f5eee5;--sand:#dfc4a8;--orange:#c9783c;--white:#fff;--muted:#756b64;--dark:#18110e;--shadow:0 18px 45px rgba(45,25,15,.12)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',sans-serif;color:var(--brown);background:#fff;line-height:1.7}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.navbar{height:78px;background:rgba(255,255,255,.97);display:flex;align-items:center;justify-content:space-between;padding:0 6%;position:sticky;top:0;z-index:100;box-shadow:0 3px 18px rgba(0,0,0,.06)}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:2px;line-height:.95}
.brand img{width:43px;height:43px;object-fit:contain}
.brand small{font-size:8px;letter-spacing:4px}
.nav-links{display:flex;gap:27px;font-size:14px;font-weight:600}
.nav-links a{position:relative;padding:28px 0}
.nav-links a:after{content:"";position:absolute;bottom:18px;left:0;width:0;height:2px;background:var(--orange);transition:.3s}
.nav-links a:hover:after,.nav-links a.active:after{width:100%}
.menu-toggle{display:none;background:none;border:0;font-size:26px;cursor:pointer}
.hero{min-height:calc(100vh - 78px);background:linear-gradient(90deg,rgba(24,17,14,.78),rgba(24,17,14,.18)),url('../images/hero.jpg') center/cover;display:flex;align-items:center;padding:8%}
.hero-content{max-width:680px;color:#fff}
.eyebrow{font-size:12px;letter-spacing:3px;font-weight:700;color:var(--orange);margin-bottom:14px}
.hero .eyebrow{color:#f2c59e}
h1,h2,h3{font-family:'Playfair Display',serif;line-height:1.12}
.hero h1{font-size:clamp(58px,9vw,112px);margin-bottom:20px}
.hero h1 span,h1 span,h2 span{color:var(--orange)}
.hero-text{font-size:18px;max-width:520px;margin-bottom:30px}
.hero-buttons{display:flex;gap:13px;flex-wrap:wrap}
.btn{display:inline-block;padding:13px 24px;border-radius:50px;font-weight:700;border:1px solid transparent;transition:.25s;cursor:pointer}
.btn-primary{background:var(--orange);color:#fff}.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(201,120,60,.3)}
.btn-light{background:#fff;color:var(--brown)}.btn-light:hover{transform:translateY(-3px)}
.section{padding:90px 8%;max-width:1400px;margin:auto}
.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:end}
.intro h2,.section-heading h2{font-size:clamp(38px,5vw,66px)}
.intro-copy{font-size:17px;color:var(--muted);max-width:580px}
.text-link{display:inline-block;color:var(--orange);font-weight:700;margin-top:20px}
.cards-section{background:var(--cream);max-width:none;padding-left:8%;padding-right:8%}
.section-heading{margin-bottom:45px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.feature-card{background:#fff;padding:36px;border-radius:18px;box-shadow:var(--shadow);transition:.3s}
.feature-card:hover{transform:translateY(-8px)}
.feature-icon{font-size:32px;margin-bottom:20px}
.feature-card h3{font-size:27px;margin-bottom:10px}
.feature-card p{color:var(--muted);margin-bottom:20px}
.feature-card a{font-weight:700;color:var(--orange)}
.quote-section{background:var(--dark);color:#fff;padding:100px 8%;text-align:center}
.quote-inner p{font-family:'Playfair Display',serif;font-size:clamp(30px,5vw,58px);max-width:900px;margin:auto}
.quote-inner span{display:block;color:#d9aa82;font-size:12px;letter-spacing:3px;margin-top:20px}
footer{background:#100b09;color:#ddd;padding:55px 8% 25px;display:grid;grid-template-columns:1fr auto;gap:30px}
.footer-brand h3{font-size:25px;color:#fff}.footer-brand p{color:#d9aa82}
.footer-links{display:flex;gap:22px}.footer-links a:hover{color:#d9aa82}
.copyright{grid-column:1/-1;border-top:1px solid #342621;padding-top:20px;color:#887d77;font-size:12px}
.page-hero{min-height:55vh;padding:120px 8% 80px;display:flex;align-items:flex-end;color:#fff;background-position:center;background-size:cover}
.page-hero h1{font-size:clamp(55px,8vw,100px);margin-bottom:18px}
.page-hero p:not(.eyebrow){max-width:560px;font-size:18px}
.story-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.18)),url('../images/gallery/gallery-2.jpg')}
.coffee-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.15)),url('../images/product/coffee-1.jpg')}
.process-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.15)),url('../images/gallery/gallery-4.jpg')}
.gallery-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.12)),url('../images/gallery/gallery-5.jpg')}
.video-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.15)),url('../images/hero.jpg')}
.contact-hero{background:linear-gradient(90deg,rgba(30,18,12,.78),rgba(30,18,12,.15)),url('../images/gallery/gallery-3.jpg')}
.two-column{display:grid;grid-template-columns:1fr 1fr;gap:80px}.two-column h2{font-size:48px}.two-column p{color:var(--muted);margin-bottom:18px}
.dark-section{background:var(--dark);color:#fff}.narrow{max-width:900px}.narrow h2{font-size:clamp(38px,5vw,64px);margin-bottom:20px}.narrow>p:last-child{color:#d9aa82}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.product-card{background:var(--cream);border-radius:18px;overflow:hidden}.product-img{height:290px;overflow:hidden}.product-img img{width:100%;height:100%;object-fit:cover;transition:.5s}.product-card:hover .product-img img{transform:scale(1.06)}.product-card>div:last-child{padding:25px}.tag{font-size:10px;letter-spacing:2px;color:var(--orange);font-weight:700}.product-card h3{font-size:30px;margin:8px 0}.product-card p{color:var(--muted);margin-bottom:15px}.product-card strong{font-size:12px;letter-spacing:1px}
.timeline{max-width:900px;margin:auto}.step{display:grid;grid-template-columns:100px 1fr;gap:35px;padding:45px 0;border-bottom:1px solid #ddd}.step>span{font-family:'Playfair Display';font-size:38px;color:var(--orange)}.step h2{font-size:43px;margin-bottom:10px}.step p:last-child{color:var(--muted)}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gallery-grid img{width:100%;height:340px;object-fit:cover;border-radius:15px;transition:.3s}.gallery-grid img:hover{transform:scale(.98);filter:brightness(.85)}
.video-section{max-width:1100px}.video-frame{background:#120d0a;border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.video-frame video{width:100%;display:block;max-height:650px}.video-caption{padding:35px 5px}.video-caption h2{font-size:48px;margin-bottom:10px}.video-caption p{color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.contact-grid h2{font-size:55px;margin-bottom:18px}.contact-grid>div>p:not(.eyebrow){color:var(--muted);max-width:550px}.contact-info{margin-top:30px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.contact-info p{color:var(--muted)}.contact-info b{color:var(--brown)}
form{display:flex;flex-direction:column;gap:9px;background:var(--cream);padding:35px;border-radius:20px}label{font-weight:700;font-size:13px;margin-top:6px}input,textarea{border:1px solid #d7c9bc;background:#fff;border-radius:10px;padding:13px;font:inherit;outline:none}input:focus,textarea:focus{border-color:var(--orange)}form .btn{margin-top:12px}.form-message{font-size:13px;color:var(--coffee);min-height:20px}
@media(max-width:850px){.navbar{height:70px}.menu-toggle{display:block}.nav-links{position:absolute;top:70px;left:0;right:0;background:#fff;display:none;flex-direction:column;gap:0;padding:10px 8%;box-shadow:0 10px 20px rgba(0,0,0,.08)}.nav-links.show{display:flex}.nav-links a{padding:12px 0}.nav-links a:after{bottom:7px}.intro,.two-column,.contact-grid{grid-template-columns:1fr;gap:35px}.feature-grid,.product-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-grid img{height:280px}footer{grid-template-columns:1fr}.footer-links{flex-wrap:wrap}.copyright{grid-column:auto}}
@media(max-width:520px){.hero{padding:12% 7%}.hero h1{font-size:58px}.section{padding:65px 7%}.page-hero{padding:90px 7% 60px;min-height:48vh}.page-hero h1{font-size:55px}.gallery-grid{grid-template-columns:1fr}.gallery-grid img{height:330px}.contact-info{grid-template-columns:1fr}.step{grid-template-columns:60px 1fr;gap:15px}}


/* ===== TUGAS 4 PATCH - additive only ===== */
.slideshow-section{max-width:none;background:#fffaf5;padding-top:70px;padding-bottom:80px}
.slideshow-wrap{max-width:1100px;margin:auto}
.slideshow-heading{margin-bottom:28px}
.tomoro-slideshow{position:relative;overflow:hidden;border-radius:22px;background:#241711;box-shadow:var(--shadow);aspect-ratio:16/7}
.tomoro-slide{position:absolute;inset:0;opacity:0;transition:opacity .6s ease}
.tomoro-slide.active{opacity:1}
.tomoro-slide img{width:100%;height:100%;object-fit:cover}
.tomoro-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.35))}
.tomoro-prev,.tomoro-next{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.88);color:var(--brown);font-size:22px;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.16)}
.tomoro-prev{left:18px}.tomoro-next{right:18px}.tomoro-prev:hover,.tomoro-next:hover{background:#fff;transform:translateY(-50%) scale(1.05)}
.tomoro-dots{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);display:flex;gap:8px}
.tomoro-dot{width:9px;height:9px;border:0;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;padding:0}.tomoro-dot.active{background:#fff;transform:scale(1.25)}
.visitor-counter{grid-column:1/-1;display:flex;align-items:center;gap:12px;margin-top:10px;padding:13px 17px;border:1px solid #342621;border-radius:12px;background:rgba(255,255,255,.03);width:max-content;color:#ddd}
.visitor-counter span{font-size:22px}.visitor-counter small{display:block;color:#a99991;font-size:9px;letter-spacing:1.8px;font-weight:700}.visitor-counter strong{display:block;color:#fff;font-size:16px}
.tomoro-bgm-button{position:fixed;right:18px;bottom:18px;z-index:200;padding:11px 16px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(36,23,17,.92);color:#fff;font:600 12px 'DM Sans',sans-serif;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.2);backdrop-filter:blur(6px)}
.tomoro-bgm-button:hover{transform:translateY(-2px)}
.alert{padding:14px 16px;border-radius:12px;margin-bottom:15px;font-size:14px}.alert.success{background:#e8f5e9;color:#235b2a}.alert.error{background:#fff0ee;color:#8b2d20}
.messages-section{background:#fffaf5;max-width:none}.messages-intro{color:var(--muted);margin-top:8px}.message-list{max-width:900px;margin:auto;display:grid;gap:16px}.visitor-message{display:grid;grid-template-columns:48px 1fr;gap:15px;padding:22px;background:#fff;border-radius:16px;box-shadow:var(--shadow)}.message-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--orange);color:#fff;font-weight:800}.visitor-message h3{font-size:22px}.visitor-message time{display:block;color:#8b817b;font-size:11px;margin:2px 0 9px}.visitor-message p{color:var(--muted);white-space:normal}.empty-message{max-width:900px;margin:auto;padding:25px;background:#fff;border-radius:16px;color:var(--muted)}.whatsapp-btn{display:inline-flex;align-items:center;gap:10px;margin-top:24px;padding:12px 18px;border-radius:999px;background:#1f8f4c;color:#fff;font-weight:700}.form-note{font-size:11px;color:#8b817b;margin-top:2px}
@media(max-width:520px){.tomoro-slideshow{aspect-ratio:4/3}.tomoro-prev,.tomoro-next{width:38px;height:38px}.visitor-counter{width:100%}.tomoro-bgm-button{right:12px;bottom:12px}}
.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px auto;
    text-align: center;
}

.visitor-counter span {
    font-size: 24px;
}

.visitor-counter small {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
}

.visitor-counter strong {
    display: block;
    font-size: 22px;
    margin-top: 4px;
}
