
/* =========================================================
	ROOT VARIABLES - PALET WARNA BARU
========================================================= */
:root {
	/* 🔴 MERAH CORAL / PINK (Dominan) */
	--primary: #ff6b6b;               /* warna utama */
	--primary-light: #ff8e8e;         /* gradasi merah muda */
	--primary-gradient: #ff9a9e;      /* background gradient */
	--primary-soft: #fad0c4;          /* background gradient soft */
	--sky-blue: #87CEEB;
	
	/* 🟡 KUNING HANGAT / GOLD (Accent) */
	--accent: #ffd166;                /* accent color */
	--accent-soft: rgba(255, 209, 102, 0.25); /* efek lembut */
	
	/* 🟢 HIJAU TOSCA / MINT (Trust & Safety) */
	--trust: #06d6a0;
	--trust-soft: rgba(6, 214, 160, 0.25);
	
	/* 🔵 BIRU (Pendukung) */
	--support: #118ab2;
	
	/* ⚪ PUTIH & ABU-ABU (Netral) */
	--light: #ffffff;                 /* background card */
	--light-alt: #f9f9f9;             /* area produk */
	--light-gray: #f0f0f0;            /* progress bar background */
	--light-border: #ffeaea;          /* border halus */
	
	/* ⚫ TEKS & FOOTER */
	--dark: #0f172a;                 /* teks utama (navy gelap) */
	--dark-gray: #1e293b;            /* teks deskripsi */
	--gray: #334155;                 /* teks sekunder */
	--shadow: rgba(15, 23, 42, 0.15);
	--footer-bg: #87ceeb;            /* SKY BLUE */
}

/* =========================================================
	FOOTER — styling utama ada di footer.php inline <style>
========================================================= */


/* =========================================================
	RESET & BASE
========================================================= */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'Poppins', sans-serif;
	background: var(--light);
	color: var(--dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Playfair Display', serif;
	color: var(--dark);
}

.text-orange {
	color: var(--primary) !important; /* 🔴 Diubah dari orange ke primary */
	font-weight: 700;
}

.text-tosca {
	color: #87CEEB !important; /* Sky Blue */
	font-weight: 700;
}

/* =========================================================
	NAVBAR
========================================================= */
.navbar {
	background: var(--primary) !important;
	backdrop-filter: blur(10px);
	transition: all 0.4s ease;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled {
	background: #ff5757 !important; /* 🔴 Sedikit lebih gelap dari primary */
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.navbar .nav-link {
	color: white !important; /* ⚪ Diubah dari cream ke putih */
	font-weight: 500;
	transition: color 0.3s;
}

.navbar .nav-link:hover {
	color: var(--accent) !important; /* 🟡 Diubah dari orange ke accent */
}

.navbar-brand {
	color: white !important; /* ⚪ Diubah dari cream ke putih */
	font-size: 1.5rem;
}

.navbar-brand img {
	height: 45px;
	margin-right: 12px;
	filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.6));
	transition: filter 0.3s;
}

.navbar-brand:hover img {
	filter: drop-shadow(0 0 12px rgba(255,107,107,0.6)); /* 🔴 Diubah ke primary */
}

.navbar-toggler {
	border: 1px solid white !important;
	padding: 4px 8px;
	font-size: 0.9rem;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =========================================================
	HERO SECTION
========================================================= */
.hero {
	position: relative;
	height: 100vh;
	display: flex;
	align-items: center;
	color: white;
	overflow: hidden;
}

.hero-slideshow {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.hero-slide {
	position: absolute;
	inset: 0;
	background: center/cover no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
	rgba(255, 107, 107, 0.6),  /* 🔴 Gradient dengan primary */
	rgba(255, 154, 158, 0.8)   /* 🔴 Gradient dengan primary-gradient */
	);
	z-index: 2;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0; right: 0;
	height: 120px;
	background: linear-gradient(transparent, var(--light));
	z-index: 3;
}

.hero .container {
	position: relative;
	z-index: 4;
}

/* =========================================================
	BUTTONS & FORM
========================================================= */
.btn-primary {
	background: var(--primary); /* 🔴 Diubah ke primary */
	border: none;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 500;
	transition: all 0.3s;
}
.btn-primary:hover {
	background: #ff5757; /* 🔴 Sedikit lebih gelap dari primary */
	transform: translateY(-2px);
}

.btn-tosca {
	background: #87CEEB; /* Tosca / Sky Blue */
	border: none;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 500;
	color: #fff;
	transition: all 0.3s ease;
}

.btn-tosca:hover {
	background: #6EC1E4; /* Lebih gelap saat hover */
	transform: translateY(-2px);
}

.form-control, .form-select {
	border-radius: 15px;
	padding: 12px 20px;
	border: 1.5px solid #ddd;
}
.form-control:focus {
	border-color: var(--trust); /* 🟢 Diubah dari accent ke trust */
	box-shadow: 0 0 0 0.2rem rgba(6, 214, 160, 0.25); /* 🟢 Trust soft */
}

/* =========================================================
	SECTION TITLE
========================================================= */
.section-title {
	font-size: 2.5rem;
	margin-bottom: 1.5rem;
	position: relative;
	display: inline-block;
}
.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: var(--accent); /* 🟡 Diubah ke accent */
}

/* =========================================================
	PRODUCT CARD
========================================================= */
.product-card {
	background: var(--light); /* ⚪ Background card */
	border: 1px solid var(--light-border); /* ⚪ Border halus */
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(255, 107, 107, 0.1); /* 🔴 Shadow dengan primary */
	transition: all 0.3s;
	height: 100%;
	cursor: pointer;
}
.product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(255, 107, 107, 0.15); /* 🔴 Shadow hover dengan primary */
}
.product-img {
	height: 250px;
	object-fit: cover;
	transition: transform 0.5s;
}
.product-card:hover .product-img {
	transform: scale(1.05);
}

.product-image-wrapper {
	width: 100%;
	aspect-ratio: 1 / 1; /* Selalu kotak */
	overflow: hidden;
	border-radius: 12px;
	position: relative;
}

.product-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Crop rapi, selalu square */
	object-position: center;
}



/* =========================================================
	CATEGORY BUTTON
========================================================= */
.category-btn {
	background-color: var(--trust);
	color: white;
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	min-width: 120px;
	font-weight: 500;
	transition: all 0.3s;
	margin: 0 5px 10px;
}

.category-btn:hover {
	background-color: var(--accent);
	color: var(--dark);
	transform: translateY(-2px);
}

.category-btn.active,
.category-btn.category-btn-active {
	background-color: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255,107,107,0.35);
}

/* Navbar active link */
.navbar .nav-link.active {
	color: var(--accent) !important;
	font-weight: 600;
}

/* Mobile */
@media (max-width: 576px) {
	.category-btn {
		padding: 8px 16px;
		font-size: 0.9rem;
		min-width: auto;
	}
}

/* =========================================================
	GALLERY SECTION
========================================================= */
#gallery {
	background: linear-gradient(to bottom, var(--primary-soft), #ffeaea); /* 🔴 Gradient dengan primary soft */
}

.gallery-item:hover {
	transform: scale(1.03);
}

.gallery-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
}

/* =========================================================
	CAROUSEL GALLERY
========================================================= */
.gallery-carousel {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	background-color: var(--light-alt); /* ⚪ Diubah dari #D2B48C ke light-alt */
	min-height: 650px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Mobile & Tablet */
@media (max-width: 768px) {
	.gallery-carousel {
		min-height: 300px;
		border-radius: 8px;     /* opsional */
	}
}

.carousel-inner {
	width: 100%;
	overflow: hidden;
}

.carousel-item {
	display: none;
	width: 100%;
	transition: transform 0.6s ease;
}

.carousel-item.active {
	display: block;
}

.carousel-img {
	width: 100%;
	height: 650px;          /* Desktop */
	object-fit: cover;
	border-radius: 8px;
}

/* Mobile & Tablet */
@media (max-width: 768px) {
	.carousel-img {
		height: 300px;
		border-radius: 6px; /* opsional, biar lebih proporsional di mobile */
	}
}


.carousel-control {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 107, 107, 0.35); /* 🔴 Diubah ke primary */
	border: none;
	cursor: pointer;
	transition: background 0.3s ease;
}
.carousel-control:hover {
	background: rgba(0,0,0,0.4);
}
.carousel-control.prev {
	left: 0;
	border-radius: 8px 0 0 8px;
}
.carousel-control.next {
	right: 0;
	border-radius: 0 8px 8px 0;
}

.carousel-indicators {
	position: absolute;
	bottom: 15px;
	left: 0; right: 0;
	display: flex;
	justify-content: center;
	list-style: none;
}
.carousel-indicator {
	width: 12px;
	height: 12px;
	margin: 0 5px;
	background-color: rgba(6, 214, 160, 0.4); /* 🟢 Diubah ke trust soft */
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.carousel-indicator.active {
	background-color: var(--trust); /* 🟢 Diubah ke trust */
}

.no-images {
	text-align: center;
	padding: 40px;
	color: #6c757d;
}
.no-images i {
	font-size: 48px;
	margin-bottom: 15px;
	color: #dee2e6;
}

/* =========================================================
	FLOATING CTA
========================================================= */
.floating-cta {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background: var(--primary); /* 🔴 Diubah ke primary */
	color: white;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4); /* 🔴 Diubah ke primary */
	z-index: 1000;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	50% {
		box-shadow: 0 5px 30px rgba(255, 107, 107, 0.6); /* 🔴 Diubah ke primary */
	}
}



/* =========================================================
	GOOGLE TRANSLATE CLEANUP
========================================================= */
#google_translate_element select {
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 8px;
	padding: 6px 10px;
	cursor: pointer;
}

.goog-logo-link,
.goog-te-gadget span {
	display: none !important;
}

.goog-te-gadget {
	font-size: 0 !important;
}

/* =========================================================
	RESPONSIVE
========================================================= */
@media (max-width: 768px) {
	.hero {
		height: 90vh;
	}
	.section-title {
		font-size: 2rem;
	}
	.navbar-brand {
		font-size: 1.2rem;
	}
	.navbar-brand img {
		height: 35px;
	}
	.floating-cta {
		width: 55px;
		height: 55px;
	}
	.dropdown-menu {
		max-width: 200px;
		right: 0 !important;
		left: auto !important;
	}
	.navbar-collapse {
		max-width: 100%;
	}
}

/* Fullscreen Video */
video {
	object-fit: cover;
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.navbar-brand img {
	filter: none !important;
}

.navbar-brand:hover img {
	filter: none !important;
}



#map {
	width: 100%;
	height: 400px;
	border-radius: 8px;
	margin-top: 1rem;
	border: 1px solid #ddd;
}

.map-container {
	margin-top: 1.5rem;
}

.map-popup {
	padding: 10px;
}

.map-popup h6 {
	margin-bottom: 5px;
	color: #333;
}

.map-popup p {
	margin-bottom: 10px;
	font-size: 0.9rem;
	color: #666;
}

.btn-open-gmaps {
	background-color: #4285F4;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 4px;
	font-size: 0.9rem;
	text-decoration: none;
	display: inline-block;
	transition: background-color 0.3s;
}

.btn-open-gmaps:hover {
	background-color: #3367D6;
	color: white;
}

/* =========================================================
	MODERN UI COMPONENTS – EKSTRIM 2026 STYLE
========================================================= */
.modern-card {
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.modern-card:hover {
	transform: translateY(-12px) scale(1.02);
	box-shadow: 0 30px 60px rgba(255,107,107,0.25);
}

.btn-modern {
	position: relative;
	background: linear-gradient(135deg, var(--primary), #ff5757);
	color: white;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(255,107,107,0.3);
	overflow: hidden;
}
.btn-modern:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 20px 40px rgba(255,107,107,0.4);
}
.btn-modern::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
	border-radius: 50px;
	opacity: 0;
	transition: opacity 0.3s;
}
.btn-modern:hover::before {
	opacity: 1;
}

.social-card:hover {
	transform: translateY(-10px);
	border-color: var(--sky-blue) !important;
	box-shadow: 0 20px 40px rgba(135,206,235,0.3);
}
.icon-glow {
	transition: all 0.4s ease;
}
.social-card:hover .icon-glow {
	box-shadow: 0 0 40px rgba(135,206,235,0.8);
	transform: scale(1.1);
}

.btn-outline-tosca {
	border: 2px solid var(--sky-blue);
	color: var(--sky-blue);
	transition: all 0.3s ease;
}
.btn-outline-tosca:hover {
	background: var(--sky-blue);
	color: white;
	transform: scale(1.05);
}

.cta-modern {
	min-height: 300px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
