:root {
	--primary-color: #00AA9B;
	--dark-color: #172333;
	--light-bg: #f8f9fa;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

body {
	background: var(--light-bg);
	color: var(--dark-color);
	overflow-x: hidden;
}

/* ================= HEADER ================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 8%;
    background: linear-gradient(90deg,
            rgba(0, 162, 214, 0.95),
            rgba(52, 204, 103, 0.95));
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
}

/* ===== HAMBURGER BUTTON ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: relative;
    z-index: 10001;  /* Lebih tinggi dari apapun */
    width: 30px;      /* Kasih lebar biar gampang diklik */
    height: 25px;     /* Kasih tinggi */
    justify-content: center;
    align-items: center;
    pointer-events: auto;  /* Pastikan bisa diklik */
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;  /* Pastikan span muncul */
}

/* animasi jadi X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

html,
body {
	overflow-x: hidden;
}

img {
	max-width: 100%;
	height: auto;
}

.logo-container {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-container img {
	height: 45px;
	width: auto;
}

.logo-container span {
	color: #ffffff;
	font-weight: 800;
	text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}

/* ================= NAVBAR ================= */
.navbar {
	display: flex;
	list-style: none;
	gap: 20px;
	margin-bottom: 0;
}

.navbar li {
	position: relative;
}

.navbar a {
	text-decoration: none;
	color: #ffffff;
	font-weight: 600;
	font-size: 0.85rem;
	padding: 10px 0;
	display: block;
	transition: 0.3s;
}

.navbar a:hover {
	color: #f1f1f1;
	opacity: 0.85;
}

/* ================= SUBMENU ================= */
.submenu {
	position: absolute;
	top: 95%;
	left: 0;

	background: linear-gradient(135deg,
			rgba(0,142,214,0.85),
			rgba(52,204,103,0.9));
	backdrop-filter: blur(10px);
	min-width: 240px;
	list-style: none;
	padding: 15px 0;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	z-index: 1100;

	opacity: 0;
	visibility: hidden;
	transform: translateY(0);
	
	transition: all .25s ease;
}

/* HOVER HANYA UNTUK DESKTOP */
@media (min-width:1201px) {

    .submenu {
        position: absolute;
    }

    .navbar li:hover > .submenu,
.submenu:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


}

.submenu li a {
	padding: 10px 25px;
	font-size: 0.85rem;
	color: #fff;
}

.submenu li a:hover {
	background-color: rgba(255, 255, 255, 0.15);
	padding-left: 30px;
}

@keyframes fadeInMenu {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================= HERO ================= */
.home {
	padding: 160px 8% 90px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
	min-height: 100vh;

	background: 
		linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7)),
		url('../../image/Bg.jpeg');
	background-size: cover;
	background-position: center;
}


.home-text {
	max-width: 600px;
	animation: fadeUp 0.8s ease;
	margin-top: 20px;
}


@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.home-text h1 {
	font-size: 3.5rem;
	line-height: 1.1;
	margin-bottom: 20px;
	font-weight: 800;
	color: #00AA9B;
	/* primary kamu */
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.home-text p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 30px;
	color: #555;
}

.btn-main {
	display: inline-block;
	padding: 15px 35px;
	background: var(--primary-color);
	color: white;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 4px 15px rgba(0, 170, 155, 0.3);
	transition: 0.3s;
}

.btn-main:hover {
	transform: translateY(-3px);
	background: #008c7f;
	box-shadow: 0 8px 25px rgba(0, 170, 155, 0.4);
}

.home-img img {
	width: 450px;
	animation: float 6s ease-in-out infinite;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-20px);
	}
}

/* ================= RESPONSIVE ================= */
/* ================= TABLET (≤992px) ================= */
/* ================= RESPONSIVE ================= */
/* ================= TABLET (≤992px) ================= */
@media (max-width: 1200px) {
    header {
        padding: 12px 20px;
        position: fixed;
        backdrop-filter: blur(8px);
        z-index: 9999;
    }

    .logo-container {
        position: relative;
        z-index: 10001;
    }

    .logo-container img {
        height: 38px;
    }

    /* HAMBURGER kanan - PERBAIKAN */
   .menu-toggle {
    display: flex !important;
    position: fixed;   /* penting */
    right: 20px;
    top: 18px;         /* posisikan di header */
    z-index: 10002;
    background: transparent;
    border: none;
    cursor: pointer;
}


    /* NAVBAR jadi dropdown */
    .navbar {
    display: flex;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    
    background: linear-gradient(135deg, #00a2d6, #34cc67);
    
    flex-direction: column;

    transform: translateY(-120%);
    transition: transform 0.35s ease;

    z-index: 9998;
}

.navbar.active {
    transform: translateY(0);
}


    .navbar li {
        width: 100%;
        text-align: center;
        position: relative;
        margin: 0;
        padding: 0;
    }

    .navbar a {
        padding: 15px 25px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar a i {
        font-size: 1.1rem !important;
        margin-left: 8px !important;
        transition: transform 0.3s ease !important;
    }

    .navbar li.active > a i {
        transform: rotate(180deg) !important;
    }
    
    .navbar > li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }
    
    .navbar > li > a {
        padding: 9px 20px !important;  /* Perkecil padding */
        margin: 0 !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .navbar > li:last-child > a {
        border-bottom: none !important;
    }

    /* SUBMENU styling untuk mobile */
    /* SUBMENU styling untuk mobile */
.submenu{
    position: static;
    width: 100%;
    background: rgba(0,0,0,0.25);
    box-shadow: none;
    border-radius: 0;
    padding: 0;

    /* Pastikan selalu visible secara CSS */
    opacity: 1;
    visibility: visible;

    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;

    pointer-events: none; /* cegah flicker */
}

/* Saat aktif (dibuka) */
.navbar li.active > .submenu{
    max-height: 800px;
    pointer-events: auto; /* bisa diklik */
}

/* Nonaktifkan sistem hover di mobile TANPA pakai display:none */
    @media (max-width:1200px){

    .navbar li:hover > .submenu{
        opacity: 1;
        visibility: visible;
    }

    .navbar li.active > .submenu{
        max-height: 800px;
    }

    .submenu li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

} /* ⬅️ Tutup SEKALI di sini */


    .submenu li a {
    display: block !important;
    padding: 10px 20px 10px 40px !important;
    margin: 0 !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    text-align: left !important;
    text-decoration: none !important;
    color: white !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;

    transition: background 0.2s ease !important; /* HANYA background */
}

    
    .submenu li a::before {
    
    font-size: 0.9rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    }
    
   
    }

    
    .submenu li:last-child a {
        border-bottom: none !important;
    }

    .submenu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        padding-left: 45px;
        color: white;
    }

    
    
    .navbar li.active > a i {
        transform: rotate(180deg);
    }
    
    /* Hilangkan transisi yang mungkin mengganggu */
    .navbar, .navbar li {
        transition: none;
    }
    
  
    }
}



/* =========================
   LATEST NEWS SECTION
========================= */

.latest-news {
	padding: 110px 9% 100px;
	background-color: #ffffff;
	margin-top: 90px;
}


/* HEADER */
.news-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	flex-wrap: wrap;
	margin-left: 0;
	
}

/* Jika kamu pakai div class="row" manual tanpa Bootstrap */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Tetap 3 kolom */
    gap: 30px; /* Jarak antar berita (atas, bawah, kiri, kanan) */
}

/* Responsif: Jika layar mengecil (Tablet), jadi 2 kolom atau 1 kolom */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}


.news-header h2 {
	font-size: 2.3rem;
	font-weight: 800;
	color: var(--dark-color);
	margin-bottom: 0;
}

.news-header h2 span {
	color: var(--primary-color);
}

.news-header .btn {
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.news-header .btn:hover {
	background: var(--primary-color);
	color: white;
}


/* CARD */
.news-card {
    margin-bottom: 0px;
	background-color: #fff;
	border-radius: 15px;
	overflow: hidden;
	height: 100%;
	border: 1px solid #eee;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: all 0.4s ease;
}

.news-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 40px rgba(0, 170, 155, 0.15);
}

/* IMAGE */
.news-img {
	height: 230px;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.news-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.news-card:hover .news-img img {
	transform: scale(1.1);
}

/* BADGE */
.news-badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: var(--primary-color);
	color: #fff;
	padding: 5px 15px;
	border-radius: 50px;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* CONTENT */
.news-content {
	padding: 20px;
}

.news-date {
	display: block;
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 10px;
}

.news-content h4 {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 15px;
	color: var(--dark-color);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-content p {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* LINK */
.news-link {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--primary-color);
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: 0.3s;
}

.news-link i {
	font-size: 1.1rem;
	transition: transform 0.3s;
}

.news-card:hover .news-link i {
	transform: translateX(5px);
}


/* =========================
   FOOTER
========================= */

.footer {
	background: linear-gradient(135deg, #008ed6, #34cc67);
	color: #e5f5f0;
	padding: 70px 8% 40px;
	font-size: 0.9rem;
}

/* GRID */
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

/* BOX */
.footer-box h2 {
	font-size: 1.2rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: #ffffff;
	position: relative;
}

.footer-box h2::after {
	content: "";
	width: 50px;
	height: 3px;
	background: #2ecc71;
	display: block;
	margin-top: 10px;
	border-radius: 3px;
}

/* TEXT */
.footer-box p {
	line-height: 1.8;
	color: #d1eae2;
}

.footer-box strong {
	color: #ffffff;
	font-weight: 700;
}

/* SOCIAL */
.footer .social {
	display: flex;
	gap: 15px;
	margin-top: 20px;
}

.footer .social a {
	width: 42px;
	height: 42px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 1.2rem;
	transition: all 0.3s ease;
}

.footer .social a:hover {
	background-color: #2ecc71;
	color: #0a2e22;
	transform: translateY(-5px);
}

/* LINKS */
.footer a {
	color: #7fd8be;
	transition: 0.3s;
}

.footer a:hover {
	color: #2ecc71;
	text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
	#cluster-berita .row {
		flex-direction: column;
	}

	.list-news-item {
		align-items: flex-start;
	}

	.list-news-img {
		width: 70px;
		height: 70px;
	}

	.cluster-title {
		font-size: 1.05rem;
	}
}

/* =========================
   FOOTER MAP
========================= */

.footer-map {
	width: 100%;
	height: 220px;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
	border: 2px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 15px;
}

.footer-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(15%) contrast(1.1);
}

/* BUTTON MAP */
.map-btn {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: 0.3s;
}

.map-btn:hover {
	background: #ffffff;
	color: #00AA9B;
	transform: translateY(-3px);
}

/* FOOTER LINK */
.footer-link {
	color: #7fd8be;
	font-weight: 700;
	text-decoration: none;
}

.footer-link:hover {
	color: #2ecc71;
	text-decoration: underline;
}

/* --- SOSIAL MEDIA (GAYA REFERENSI KEDUA / FORE COFFEE) --- */
.sosmed-section {
	padding: 0;
	text-align: center;
	background: #fff;
	width: 100%;
	overflow: hidden;
}

.sosmed-header-bg {
	background: linear-gradient(90deg, #00a2d6, #34cc67);
	padding: 80px 20px;
	text-align: center;
}

.follow-text {
	color: #00AA9B;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 5px;
	display: block;
}

.sosmed-username {
	font-size: clamp(1.8rem, 5vw, 3.5rem);
	font-weight: 800;
	margin-bottom: 15px;
	letter-spacing: -1.5px;
	word-wrap: break-word;
	color: #fff;
}

.btn-follow-ig {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 30px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 40px;

	background: #fff;
	color: #00a2d6;
	/* teks biru (atau bebas) */
	border: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
	transition: 0.3s;
}


.insta-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 4px;
	/* Space minimal luar */
}

.insta-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	/* Gap tipis konsisten seperti Fore Coffee */
	width: 100%;
}

.insta-item {
	position: relative;
	aspect-ratio: 1/1;
	overflow: hidden;
	background: #eee;
	border-radius: 0px;
	/* Tanpa lengkungan agar rapat */
}

.insta-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: 0.5s ease;
}

.insta-item:hover img {
	transform: scale(1.08);
	filter: brightness(0.8);
}


/* --- CONTENT STYLE --- */
.page-header {
	padding: 60px 0;
	background: white;
	border-bottom: 1px solid #eee;
}

.cluster-title {
	font-weight: 800;
	font-size: 1.2rem;
	margin-bottom: 25px;
	padding-left: 15px;
	border-left: 5px solid var(--primary-color);
}

.list-news-item {
	background: white;
	border-radius: 15px;
	padding: 15px;
	border: 1px solid #f1f5f9;
	margin-bottom: 15px;
	transition: 0.3s;
	display: flex;
	gap: 15px;
	align-items: center;
	text-decoration: none;
}

.list-news-item:hover {
	transform: scale(1.02);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.list-news-img {
	width: 80px;
	height: 80px;
	border-radius: 10px;
	object-fit: cover;
}

.list-news-content h6 {
	font-weight: 700;
	margin-bottom: 5px;
	font-size: 0.95rem;
	color: var(--dark-navy);
}

.list-news-content span {
	font-size: 0.75rem;
	color: var(--light-text);
}

.list-news-item h6 {
	color: #212529;
	/* hitam Bootstrap */
	font-weight: 600;
}

.list-news-item:hover h6 {
	color: #198754;
	/* hijau halus (opsional saat hover) */
	transition: 0.2s ease-in-out;
}

.btn-back-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 25px;

	padding: 8px 16px;
	border-radius: 50px;

	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;

	color: #00AA9B;
	background: rgba(0, 170, 155, 0.08);
	border: 1px solid rgba(0, 170, 155, 0.25);

	transition: 0.25s;
}

.btn-back-inline:hover {
	background: #00AA9B;
	color: #ffffff;
	transform: translateX(-4px);
}

.btn-search {
	background: #00AA9B;
	color: white;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	transition: 0.3s;
}

.btn-search:hover {
	background: #008c7f;
}

.form-control,
.form-select {
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	padding: 10px 14px;
}

.form-control:focus,
.form-select:focus {
	border-color: #00AA9B;
	box-shadow: 0 0 0 0.2rem rgba(0, 170, 155, 0.15);
}



/* animasi jadi X */
.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -6px);
}


/* ================= MOBILE HERO FIX ================= */

@media (max-width:768px){

.home{
    flex-direction: column;
    text-align: center;
    padding: 110px 20px 50px;
    gap: 25px;
    min-height: auto;
}

.home-text{
    max-width:100%;
    order: 1;
}

.home-text h1{
    font-size: clamp(1.8rem,6vw,2.2rem);
    line-height: 1.25;
    margin-bottom: 15px;
}

.home-text p{
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* tombol */
.btn-main{
    width: auto;
    max-width: 220px;
    padding: 10px 15px;
    font-size: 0.7rem;
}

/* logo hero */
.home-img{
    margin-top: 10px;
    order: 2;
}

.home-img img{
    width: 70%;
    max-width: 230px;
    opacity: 0.95;
    animation: none; /* hilangkan float di mobile */
}

.latest-news{
    padding:70px 20px;
    margin-top:10px;
}

/* header */
.news-header{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
    margin-left:0;
}

/* title kecil */
.news-header h6{
    font-size:0.8rem;
	letter-spacing:2px;
	color:#6c757d;
}

/* title utama */
.news-header h2{
    font-size:2.2rem;
    line-height:1.2;
}

.latest-news .row{
	margin-left: 10px;
	margin-right: 10px;
	row-gap: 40px;
}

/* tombol lihat semua */
.news-header .btn{
    width:100%;
	text-align:center;
	padding:10px 0;
	border-radius:30px;
}

/* card */
.news-card{
    border-radius:12px;
}

/* image */
.news-img{
    height:180px;
}

/* content */
.news-content{
    padding:18px;
}

/* judul berita */
.news-content h4{
    font-size:1rem;
}

/* ringkasan */
.news-content p{
    font-size:0.85rem;
    line-height:1.5;
}


}






