/* ==========================
   FARM MINA CIREMAI LESTARI
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f9fc;
    color:#222;
    line-height:1.7;
    overflow-x:hidden;
    width:100%;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ==========================
   NAVBAR
========================== */

header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    background:rgba(5,35,74,.92);
    backdrop-filter:blur(10px);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 0;
}

.logo{
    display:flex;
    align-items:center;
    color:#fff;
    font-weight:700;
    font-size:20px;
}

.logo img{
width:55px;
height:55px;
object-fit:contain;
margin-right:10px;
}

.navbar ul li{
    margin-left:25px;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#ffc107;
}

.wa-btn{
    background:#25D366;
    color:white;
    text-decoration:none;
    padding:10px 22px;
    border-radius:30px;
    font-weight:600;
}

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

.hero{
    min-height:100vh;
    padding:130px 0 60px;
    background:url("../images/farm1.jpg") center/cover;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,30,70,.75);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:white;
    width:90%;
}

.hero h1{
    font-size:55px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    margin-bottom:35px;
}

.hero-button a{
    display:inline-block;
    margin:8px;
    text-decoration:none;
    padding:15px 35px;
    border-radius:40px;
    font-weight:600;
}

.btn-primary{
    background:#ffc107;
    color:#0b2d55;
}

.btn-secondary{
    background:white;
    color:#0b2d55;
}

/* ==========================
   TENTANG
========================== */

.about{
    padding:100px 0;
    background:white;
}

.about h2{
    text-align:center;
    color:#0b2d55;
    margin-bottom:25px;
}

.about p{
    text-align:center;
}

.about-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:50px;
}

.about-box div{
    background:#f7fbff;
    padding:30px;
    border-radius:15px;
    text-align:center;
    transition:.3s;
}

.about-box div:hover{
    transform:translateY(-10px);
}

.about-box i{
    font-size:45px;
    color:#0b4d90;
    margin-bottom:20px;
}
/* ==========================
   PRODUK
========================== */

.products{
    padding:100px 0;
    background:#eef6fc;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:40px;
    color:#0b2d55;
    margin-bottom:10px;
}

.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.product-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;
}

.product-card:hover{
    transform:translateY(-10px);
}

.product-card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.product-content{
    padding:25px;
}

.product-content h3{
    color:#0b2d55;
    margin-bottom:10px;
}

.product-btn{
    display:inline-block;
    margin-top:15px;
    background:#25D366;
    color:#fff;
    padding:12px 20px;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
}

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

.gallery{
    padding:100px 0;
    background:#fff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery-grid img{
    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:15px;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/* ==========================
   KONTAK
========================== */

.contact{
    padding:100px 0;
    background:#eef6fc;
}

.contact-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-bottom:40px;
}

.contact-box div{
    background:#fff;
    padding:25px;
    border-radius:15px;
}

.maps iframe{
    width:100%;
    height:400px;
    border:none;
    border-radius:15px;
}

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

footer{
    background:#05234a;
    color:#fff;
    text-align:center;
    padding:50px 20px;
}

.footer-logo{
    width:80px;
    margin-bottom:15px;
}

/* Hero Premium */

.hero-logo{
width:140px;
margin-bottom:20px;
}

@keyframes zoom{
    from{
        opacity:0;
        transform:scale(.5);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

.hero h1{
    text-shadow:0 5px 20px rgba(0,0,0,.4);
}

.hero p{
    max-width:700px;
    margin:auto;
    margin-bottom:35px;
}

.btn-primary:hover,
.btn-secondary:hover,
.product-btn:hover,
.wa-btn:hover{
    transform:translateY(-3px);
    transition:.3s;
}
.product-card{
transition:.4s;
}

.product-card:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(0,0,0,.2);
}

.gallery img{
transition:.4s;
cursor:pointer;
}

.gallery img:hover{
transform:scale(1.05);
}

.btn-primary,
.btn-secondary,
.product-btn,
.wa-btn{
transition:.3s;
}

.btn-primary:hover,
.btn-secondary:hover,
.product-btn:hover,
.wa-btn:hover{
transform:translateY(-3px);
}
/* ========================= */
/* MOBILE */
/* ========================= */

.menu-toggle{
    display:none;
    font-size:28px;
    cursor:pointer;
    color:#fff;
}

@media (max-width:768px){

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    position:relative;
}

.menu-toggle{
    display:block;
}

.navbar ul{
    display:none;
    position:absolute;
    top:75px;
    left:0;
    width:100%;
    background:#0B2A55;
    flex-direction:column;
    text-align:center;
    padding:20px 0;
}

.navbar ul.active{
    display:flex;
}

.navbar ul li{
    margin:12px 0;
}

.wa-btn{
    display:none;
}

.logo{
    font-size:15px;
}

.logo img{
    width:40px;
    height:40px;
}

.hero-logo{
    width:80px;
    margin-bottom:15px;
}

.hero h1{
    font-size:30px;
}

.hero p{
    font-size:16px;
}

.hero-button a{
    padding:12px 25px;
    font-size:14px;
}

}