/*
Theme Name: Coklat Impian
Theme URI: https://example.com/
Author: Coklat Impian
Description: Custom one-page theme based on the supplied Coklat Impian design.
Version: 1.0
Text Domain: coklat-impian
*/
:root{--gold:#f5bd00;--brown:#6d3500;--cream:#f7f3e9;--ink:#4c2b13;--black:#050505}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%}
.hero{height:640px;background:#000;position:relative;overflow:hidden;color:#fff}
.hero-product-bg{position:absolute;right:0;top:0;width:63%;height:100%;object-fit:contain;object-position:right center;z-index:1}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#000 0%,rgba(0,0,0,.96) 28%,rgba(0,0,0,.18) 65%,rgba(0,0,0,.04));z-index:2;pointer-events:none}
.nav{position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 56px));height:90px;display:flex;align-items:center;justify-content:space-between;z-index:5}
.logo{font-weight:900;color:var(--gold);font-size:12px;line-height:.8;text-align:center;width:65px}.logo small{display:block;color:#fff;font-size:5px;letter-spacing:1px;margin-top:4px}
.links{display:flex;gap:42px;color:#fff;font-size:13px}.links a:hover{color:var(--gold)}
.hero-copy{position:relative;z-index:4;width:min(1120px,calc(100% - 56px));height:100%;margin:auto;display:flex;align-items:center}
.hero-copy-inner{width:52%;padding-top:25px}.hero h1{margin:0;color:var(--gold);font-size:72px;line-height:.95;font-weight:900;letter-spacing:-2px}.hero h2{margin:8px 0 22px;font-size:38px;line-height:1.04;color:#fff;font-weight:800}.orn{width:130px;height:14px;position:relative;margin:0 0 15px}.orn:before,.orn:after{content:"";position:absolute;top:6px;width:48px;height:2px;background:var(--gold)}.orn:before{left:0}.orn:after{right:0}.orn i{position:absolute;left:60px;top:2px;width:9px;height:9px;background:var(--gold);transform:rotate(45deg)}.hashtag{color:var(--gold);font-size:19px;font-weight:700;margin-bottom:28px}.cta{display:inline-flex;align-items:center;gap:22px;background:var(--gold);color:#111;padding:13px 23px;border-radius:28px;font-size:14px}.cta span{font-size:22px}.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:6;width:38px;height:38px;border:1px solid var(--gold);background:rgba(0,0,0,.25);color:var(--gold);border-radius:50%;font-size:24px;line-height:1;cursor:pointer}.hero-arrow.l{left:24px}.hero-arrow.r{right:24px}.dots{position:absolute;z-index:6;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px}.dots i{width:8px;height:8px;border-radius:50%;background:#777}.dots i.on{background:var(--gold)}
.stats{height:112px;background:var(--cream);border-radius:44px 44px 0 0;position:relative;margin-top:-1px;z-index:7;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:0 max(28px,calc((100% - 1000px)/2));gap:25px}.stat{display:flex;align-items:center;gap:12px}.icon{color:var(--gold);font-size:30px;width:38px;text-align:center}.stat b{display:block;font-size:19px}.stat span{display:block;color:#777;font-size:10px}
.about{background:var(--brown);color:#fff;min-height:400px}.about-in{max-width:1120px;margin:auto;min-height:400px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:30px 28px}.about h2{font:700 31px Georgia,serif;color:var(--gold);margin:0 0 22px}.about p{font-size:11px;line-height:1.9;max-width:500px;margin:0 0 17px}.about-img{width:100%;max-width:520px;justify-self:end;display:block}
.menu{background:var(--cream);padding:70px 24px 82px;text-align:center}.title{font:700 31px Georgia,serif;color:var(--ink);display:inline-block;padding-bottom:7px;border-bottom:2px solid var(--gold);margin:0}.sub{max-width:700px;margin:28px auto 45px;color:#806c5c;font-size:10px;line-height:1.9}.products{max-width:950px;margin:auto;display:grid;grid-template-columns:42px repeat(3,1fr) 42px;gap:22px;align-items:center}.prod{background:#faf8f1;border:1px solid #d7d0c3;border-radius:17px;overflow:hidden}.photo{height:235px;background:#dcd9d0;display:flex;align-items:center;justify-content:center}.photo img{width:100%;height:100%;object-fit:contain}.name{height:50px;display:grid;place-items:center;font-size:10px;color:#80634f}.p-arrow{width:35px;height:35px;border-radius:50%;border:1px solid var(--gold);background:transparent;color:var(--gold);font-size:22px;cursor:pointer}
.gallery{text-align:center;background:#fff;padding:75px 24px 105px}.gallery .title{border:0;color:var(--gold);padding:0}.script{font:400 37px "Brush Script MT","Segoe Script",cursive;color:#70401e;margin:10px 0 40px}.grid{max-width:940px;margin:auto;columns:3 240px;column-gap:14px;text-align:left}.g{height:180px;margin:0 0 14px;border-radius:9px;overflow:hidden;background:#ddd}.g:nth-child(1),.g:nth-child(6){height:260px}.g:nth-child(2),.g:nth-child(7){height:150px}.g:nth-child(3),.g:nth-child(8){height:210px}.g:nth-child(4),.g:nth-child(9){height:175px}.g:nth-child(1){background:linear-gradient(135deg,#cfd8d4,#8a5b43)}.g:nth-child(2){background:linear-gradient(135deg,#dbe7ed,#765039)}.g:nth-child(3){background:linear-gradient(135deg,#d5bd71,#a85b34)}.g:nth-child(4){background:linear-gradient(135deg,#e1e1dc,#eee7da)}.g:nth-child(5){background:linear-gradient(135deg,#d8dfd4,#71462f)}.g:nth-child(6){background:linear-gradient(135deg,#b9b8aa,#4f3122)}.g:nth-child(7){background:linear-gradient(135deg,#d7e1dc,#7d4e35)}.g:nth-child(8){background:linear-gradient(135deg,#c8b8ae,#8b412b)}.g:nth-child(9){background:linear-gradient(135deg,#ad5b39,#5d2c1c)}
footer{background:#050505;color:#fff;text-align:center;padding:43px 20px 25px}.fbrand{color:var(--gold);font-weight:900;line-height:.8}.fbrand small{display:block;color:#fff;font-size:6px;letter-spacing:2px;margin-top:5px}.part{font-size:9px;letter-spacing:2px;margin-top:10px}.line{height:1px;background:#777;max-width:760px;margin:24px auto}.cols{max-width:760px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.cols h4{font-size:10px;margin:0 0 8px}.cols p{font-size:8px;color:#bbb;line-height:1.8;margin:0}.badges{margin:24px 0 13px;font-size:10px}.social{display:flex;justify-content:center;gap:9px}.social a{width:27px;height:27px;border-radius:50%;background:var(--gold);color:#000;display:grid;place-items:center;font-weight:bold}.copy{font-size:6px;color:#777;margin-top:24px}
@media(max-width:850px){.hero{height:560px}.hero-product-bg{width:72%;opacity:.72}.nav{height:72px}.links{gap:18px;font-size:11px}.hero-copy-inner{width:65%}.hero h1{font-size:58px}.hero h2{font-size:31px}.stats{height:auto;padding:22px 24px;grid-template-columns:repeat(2,1fr)}.about-in{grid-template-columns:1fr;padding:55px 25px}.about-img{max-width:560px;margin:15px auto 0}.products{grid-template-columns:34px 1fr 34px}.prod:nth-of-type(3){display:none}.products .prod:nth-child(4){display:none}}
@media(max-width:560px){.hero{height:500px}.hero-product-bg{width:100%;opacity:.45;object-position:80% center}.nav{width:calc(100% - 28px)}.logo{font-size:9px}.links{gap:10px;font-size:9px}.hero-copy{width:calc(100% - 50px)}.hero-copy-inner{width:100%;padding-top:70px}.hero h1{font-size:48px}.hero h2{font-size:26px}.hashtag{font-size:15px}.hero-arrow{width:30px;height:30px}.hero-arrow.l{left:8px}.hero-arrow.r{right:8px}.stats{grid-template-columns:1fr 1fr;gap:16px 8px}.stat{gap:6px}.icon{font-size:24px;width:28px}.stat b{font-size:15px}.stat span{font-size:8px}.about h2{font-size:27px}.about p{font-size:10px}.menu{padding-top:55px}.title{font-size:27px}.products{gap:7px}.photo{height:205px}.gallery{padding-top:55px}.script{font-size:30px}.grid{columns:2 145px;column-gap:9px}.g{margin-bottom:9px}.cols{grid-template-columns:1fr;gap:18px}}
