/*==================================
TOKO BESI SUKSES BAJA V4
==================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{

--primary:#0B5D32;
--primary-dark:#084726;
--gold:#D4AF37;
--white:#ffffff;
--light:#f7f7f7;
--text:#333;

}

*{

margin:0;
padding:0;
box-sizing:border-box;

}

html{

scroll-behavior:smooth;

}

body{

font-family:'Poppins',sans-serif;
background:var(--light);
color:var(--text);
overflow-x:hidden;

}

img{

display:block;
width:100%;

}

a{

text-decoration:none;

}

ul{

list-style:none;

}

.container{

width:92%;
max-width:1300px;
margin:auto;

}


/*==========================
HEADER
==========================*/

header{

position:fixed;
top:0;
left:0;
width:100%;
height:85px;
background:var(--primary);
z-index:1000;
transition:.3s;

}

header .container{

height:100%;
display:flex;
justify-content:space-between;
align-items:center;

}


/*==========================
LOGO
==========================*/

.logo{

display:flex;
align-items:center;
gap:15px;

}

.logo img{

width:60px;
height:60px;
object-fit:contain;

}

.logo-text span{

color:#fff;
font-size:13px;
letter-spacing:1px;

}

.logo-text h2{

color:var(--gold);
font-size:28px;
font-weight:700;

}


/*==========================
MENU
==========================*/

nav ul{

display:flex;
gap:35px;

}

nav ul li a{

color:#fff;
font-weight:500;
transition:.3s;

}

nav ul li a:hover{

color:var(--gold);

}

nav ul li a.active{

color:var(--gold);

}


/*==========================
BUTTON WA
==========================*/

.btn-wa{

display:flex;
align-items:center;
gap:10px;

background:#25D366;

color:white;

padding:12px 24px;

border-radius:8px;

font-weight:600;

transition:.3s;

}

.btn-wa:hover{

background:#1EBE5D;

transform:translateY(-2px);

}


/*==========================
HERO
==========================*/

.hero{

margin-top:85px;

height:650px;

position:relative;

overflow:hidden;

}

.hero-img{

width:100%;

height:100%;

object-fit:cover;

}

.overlay{

position:absolute;

inset:0;

background:rgba(0,0,0,.45);

display:flex;

justify-content:center;

align-items:center;

}

.hero-content{

text-align:center;

color:white;

width:90%;

max-width:900px;

}

.hero-content h1{

font-size:55px;

margin-bottom:20px;

font-weight:700;

}

.hero-content p{

font-size:20px;

margin-bottom:40px;

line-height:1.8;

}


/*==========================
SEARCH
==========================*/

.search-box{

background:white;

height:70px;

border-radius:15px;

display:flex;

align-items:center;

padding:0 25px;

box-shadow:0 15px 35px rgba(0,0,0,.20);

}

.search-box i{

font-size:22px;

color:#666;

margin-right:15px;

}

.search-box input{

flex:1;

border:none;

outline:none;

font-size:17px;

font-family:'Poppins',sans-serif;

}
/*==========================
PRODUK
==========================*/

.produk{

padding:90px 0;

background:#ffffff;

}

.section-title{

text-align:center;

margin-bottom:55px;

}

.section-title h2{

font-size:42px;

color:var(--primary);

margin-bottom:10px;

font-weight:700;

}

.section-title p{

font-size:17px;

color:#666;

}


/*==========================
GRID PRODUK
==========================*/

.produk-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}


/*==========================
CARD
==========================*/

.card{

background:#fff;

border-radius:18px;

overflow:hidden;

box-shadow:0 10px 30px rgba(0,0,0,.08);

transition:.35s;

position:relative;

}

.card:hover{

transform:translateY(-10px);

box-shadow:0 20px 40px rgba(0,0,0,.15);

}


/* Garis emas */

.card::before{

content:"";

position:absolute;

left:0;

top:0;

width:100%;

height:5px;

background:var(--gold);

transform:scaleX(0);

transition:.35s;

transform-origin:left;

}

.card:hover::before{

transform:scaleX(1);

}


/*==========================
GAMBAR
==========================*/

.card img{

width:100%;

height:230px;

object-fit:cover;

transition:.4s;

}

.card:hover img{

transform:scale(1.08);

}


/*==========================
ISI CARD
==========================*/

.card-body{

padding:22px;

}

.card-body h3{

font-size:23px;

color:var(--primary);

margin-bottom:12px;

font-weight:700;

}

.card-body p{

font-size:15px;

color:#666;

line-height:1.8;

margin-bottom:22px;

}


/*==========================
BUTTON
==========================*/

.btn-tanya{

width:100%;

border:none;

background:#25D366;

color:#fff;

padding:15px;

border-radius:10px;

cursor:pointer;

font-size:16px;

font-weight:600;

display:flex;

justify-content:center;

align-items:center;

gap:10px;

transition:.3s;

}

.btn-tanya:hover{

background:#1EBE5D;

transform:translateY(-2px);

}

.btn-tanya i{

font-size:18px;

}


/*==========================
RESPONSIVE
==========================*/

@media(max-width:768px){

.produk{

padding:70px 0;

}

.section-title h2{

font-size:30px;

}

.section-title p{

font-size:15px;

}

.card img{

height:200px;

}

.card-body{

padding:18px;

}

.card-body h3{

font-size:20px;

}

.card-body p{

font-size:14px;

}

.btn-tanya{

padding:14px;

font-size:15px;

}

}
/*==========================
KEUNGGULAN
==========================*/

.keunggulan{

padding:90px 0;

background:linear-gradient(135deg,#0B5D32,#084726);

}

.keunggulan .section-title h2{

color:#ffffff;

}

.keunggulan .section-title p{

color:#e5e5e5;

}


/*==========================
GRID KEUNGGULAN
==========================*/

.keunggulan-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

gap:30px;

}


/*==========================
CARD KEUNGGULAN
==========================*/

.item{

background:rgba(255,255,255,.08);

border:1px solid rgba(255,255,255,.12);

border-radius:18px;

padding:35px 25px;

text-align:center;

transition:.35s;

backdrop-filter:blur(8px);

}

.item:hover{

transform:translateY(-10px);

background:rgba(255,255,255,.15);

box-shadow:0 20px 40px rgba(0,0,0,.25);

}


/*==========================
ICON
==========================*/

.item i{

width:80px;

height:80px;

margin:auto;

margin-bottom:20px;

display:flex;

justify-content:center;

align-items:center;

background:var(--gold);

color:#fff;

font-size:34px;

border-radius:50%;

transition:.35s;

}

.item:hover i{

transform:rotate(10deg) scale(1.1);

}


/*==========================
JUDUL
==========================*/

.item h3{

font-size:24px;

color:#fff;

margin-bottom:15px;

font-weight:700;

}


/*==========================
DESKRIPSI
==========================*/

.item p{

font-size:15px;

line-height:1.8;

color:#eeeeee;

}


/*==========================
RESPONSIVE
==========================*/

@media(max-width:768px){

.keunggulan{

padding:70px 0;

}

.keunggulan-grid{

grid-template-columns:1fr;

gap:20px;

}

.item{

padding:30px 20px;

}

.item i{

width:70px;

height:70px;

font-size:28px;

}

.item h3{

font-size:21px;

}

.item p{

font-size:14px;

}

}
/*==========================
GALERI
==========================*/

.galeri{

padding:90px 0;

background:#f7f7f7;

}

.galeri .section-title h2{

color:var(--primary);

}

.galeri .section-title p{

color:#666;

}


/*==========================
GRID GALERI
==========================*/

.galeri-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:25px;

}


/*==========================
ITEM GALERI
==========================*/

.galeri-item{

position:relative;

overflow:hidden;

border-radius:18px;

background:#fff;

box-shadow:0 10px 30px rgba(0,0,0,.08);

cursor:pointer;

transition:.35s;

}

.galeri-item:hover{

transform:translateY(-8px);

box-shadow:0 20px 40px rgba(0,0,0,.18);

}


/*==========================
GAMBAR
==========================*/

.galeri-item img{

width:100%;

height:250px;

object-fit:cover;

transition:.45s;

}

.galeri-item:hover img{

transform:scale(1.1);

}


/*==========================
OVERLAY
==========================*/

.galeri-item::before{

content:"";

position:absolute;

left:0;

top:0;

width:100%;

height:100%;

background:linear-gradient(
to top,
rgba(0,0,0,.45),
rgba(0,0,0,0)
);

opacity:0;

transition:.35s;

z-index:1;

}

.galeri-item:hover::before{

opacity:1;

}


/*==========================
EFEK BORDER
==========================*/

.galeri-item::after{

content:"";

position:absolute;

left:15px;

top:15px;

right:15px;

bottom:15px;

border:2px solid rgba(255,255,255,.8);

opacity:0;

transform:scale(.9);

transition:.35s;

z-index:2;

}

.galeri-item:hover::after{

opacity:1;

transform:scale(1);

}


/*==========================
RESPONSIVE TABLET
==========================*/

@media(max-width:992px){

.galeri-grid{

grid-template-columns:repeat(2,1fr);

}

}


/*==========================
RESPONSIVE HP
==========================*/

@media(max-width:768px){

.galeri{

padding:70px 0;

}

.galeri-grid{

grid-template-columns:1fr;

gap:20px;

}

.galeri-item img{

height:220px;

}

}
/*==========================
CALL TO ACTION
==========================*/

.cta{

padding:100px 20px;

background:linear-gradient(135deg,#0B5D32,#0E6A3B);

text-align:center;

color:#fff;

position:relative;

overflow:hidden;

}

.cta .container{

max-width:900px;

margin:auto;

position:relative;

z-index:2;

}

.cta h2{

font-size:42px;

font-weight:700;

margin-bottom:20px;

}

.cta p{

font-size:18px;

line-height:1.9;

margin-bottom:35px;

color:#f3f3f3;

}


/*==========================
BUTTON CTA
==========================*/

.btn-cta{

display:inline-flex;

align-items:center;

justify-content:center;

gap:12px;

background:#25D366;

color:#fff;

padding:18px 40px;

border-radius:50px;

font-size:18px;

font-weight:600;

transition:.35s;

box-shadow:0 12px 30px rgba(0,0,0,.25);

}

.btn-cta:hover{

background:#1EBE5D;

transform:translateY(-5px);

}


/*==========================
FOOTER
==========================*/

footer{

background:#111;

color:#fff;

padding:80px 0 0;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:35px;

}

.footer-box h2{

color:var(--gold);

font-size:28px;

margin-bottom:20px;

}

.footer-box h3{

color:var(--gold);

font-size:22px;

margin-bottom:18px;

}

.footer-box p{

color:#d8d8d8;

line-height:1.8;

margin-bottom:12px;

}

.footer-box ul li{

margin-bottom:12px;

}

.footer-box ul li a{

color:#d8d8d8;

transition:.3s;

}

.footer-box ul li a:hover{

color:#fff;

padding-left:8px;

}

.footer-box i{

color:var(--gold);

margin-right:8px;

}


/*==========================
WHATSAPP FOOTER
==========================*/

.footer-wa{

display:inline-flex;

align-items:center;

gap:10px;

background:#25D366;

color:#fff;

padding:13px 22px;

border-radius:10px;

font-weight:600;

transition:.3s;

margin-top:10px;

}

.footer-wa:hover{

background:#1EBE5D;

}


/*==========================
COPYRIGHT
==========================*/

.copyright{

margin-top:60px;

padding:22px;

text-align:center;

border-top:1px solid rgba(255,255,255,.08);

color:#bdbdbd;

font-size:14px;

}


/*==========================
FLOATING WHATSAPP
==========================*/

.floating-wa{

position:fixed;

right:25px;

bottom:25px;

width:65px;

height:65px;

border-radius:50%;

background:#25D366;

display:flex;

justify-content:center;

align-items:center;

color:#fff;

font-size:30px;

box-shadow:0 12px 30px rgba(0,0,0,.25);

z-index:999;

transition:.35s;

}

.floating-wa:hover{

transform:scale(1.1);

background:#1EBE5D;

}


/*==========================
RESPONSIVE
==========================*/

@media(max-width:992px){

.footer-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.cta{

padding:70px 20px;

}

.cta h2{

font-size:30px;

}

.cta p{

font-size:15px;

}

.btn-cta{

width:100%;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.footer-wa{

justify-content:center;

}

.floating-wa{

width:58px;

height:58px;

font-size:26px;

right:15px;

bottom:15px;

}

}
/*==========================
BACK TO TOP
==========================*/

.back-top{

position:fixed;

right:25px;

bottom:105px;

width:55px;

height:55px;

background:var(--primary);

color:#fff;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:20px;

box-shadow:0 10px 25px rgba(0,0,0,.20);

opacity:0;

visibility:hidden;

transition:.35s;

z-index:998;

}

.back-top.show{

opacity:1;

visibility:visible;

}

.back-top:hover{

background:var(--primary-dark);

transform:translateY(-5px);

}


/*==========================
ANIMASI SCROLL
==========================*/

.card,
.item,
.galeri-item{

opacity:0;

transform:translateY(50px);

transition:.8s ease;

}

.show{

opacity:1;

transform:translateY(0);

}


/*==========================
TRANSISI GLOBAL
==========================*/

.card,
.item,
.galeri-item,
.btn-tanya,
.btn-wa,
.btn-cta,
.footer-wa,
.floating-wa{

transition:.35s;

}


/*==========================
INPUT SEARCH
==========================*/

.search-box{

transition:.35s;

}

.search-box:focus-within{

box-shadow:0 15px 35px rgba(11,93,50,.30);

transform:translateY(-2px);

}

.search-box input::placeholder{

color:#999;

}


/*==========================
SCROLLBAR
==========================*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#eeeeee;

}

::-webkit-scrollbar-thumb{

background:var(--primary);

border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

background:var(--primary-dark);

}


/*==========================
TEXT SELECTION
==========================*/

::selection{

background:var(--gold);

color:#fff;

}


/*==========================
RESPONSIVE EXTRA
==========================*/

@media(max-width:576px){

.hero{

height:380px;

}

.hero-content h1{

font-size:24px;

line-height:1.5;

}

.hero-content p{

font-size:14px;

margin-bottom:25px;

}

.search-box{

height:55px;

padding:0 18px;

}

.search-box i{

font-size:18px;

}

.search-box input{

font-size:14px;

}

.logo img{

width:45px;

height:45px;

}

.logo-text h2{

font-size:20px;

}

.logo-text span{

font-size:11px;

}

header{

height:75px;

}

.hero{

margin-top:75px;

}

.btn-wa{

display:none;

}

.section-title h2{

font-size:28px;

}

.section-title p{

font-size:14px;

}

}


/*==========================
AKHIR STYLE CSS
==========================*/
/*==========================
LIGHTBOX
==========================*/

.lightbox{

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,.9);

display:none;

justify-content:center;

align-items:center;

z-index:99999;

}

.lightbox-img{

max-width:90%;

max-height:90%;

border-radius:12px;

box-shadow:0 20px 40px rgba(0,0,0,.4);

}

.close-lightbox{

position:absolute;

top:25px;

right:35px;

font-size:45px;

color:white;

cursor:pointer;

}
/*==========================
MENU MOBILE
==========================*/

.menu-toggle{

display:none;

font-size:28px;

color:#fff;

cursor:pointer;

}

.hero-img{

transition:opacity .4s;

}

@media(max-width:768px){

.menu-toggle{

display:block;

}

nav{

position:absolute;

top:85px;

left:-100%;

width:100%;

background:var(--primary);

padding:25px;

transition:.35s;

}

nav.active{

left:0;

}

nav ul{

flex-direction:column;

gap:20px;

}

}
