:root {
	--color-primary: #7a3a14;
	--color-secondary: #f4f1e8;
	--color-accent: #9b4819;
	--color-dark: #4a2a0d;
	--color-light: #fbf9f3;
	--color-background: #f8f9fa; /* Latar belakang lembut */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Radley", serif; /* Ubah ke Radley */
}

/*-------------------------------------Navbar Start------------------------------------------*/

/* Navbar Styling */
.navbar {
	background: rgba(248, 241, 233, 0.95);
	backdrop-filter: blur(10px);
	padding: 12px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.navbar.scrolled {
	transform: translateY(0);
}

.logo-title {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.logo-title-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-primary);
}

.logo img {
	height: 35px;
	width: auto;
	margin-right: 12px;
	transition: transform 0.3s ease;
}

.logo img:hover {
	transform: rotate(5deg);
}

.title {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-primary);
	transition: color 0.3s ease;
}

.logo-title-link:hover .title {
	color: var(--color-accent);
}

.menu-container {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-grow: 1;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
}

.nav-menu li {
	position: relative;
	margin: 0 12px;
}

.nav-menu a {
	color: var(--color-primary);
	text-decoration: none;
	font-size: 17px;
	padding: 10px 16px;
	transition: all 0.3s ease;
	border-radius: 6px;
	display: flex;
	align-items: center;
}

.nav-menu a:hover {
	background: var(--color-accent);
	color: var(--color-light);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.has-submenu .arrow {
	font-size: 12px;
	margin-left: 6px;
	transition: transform 0.3s ease;
}

.nav-menu li.active .arrow {
	transform: rotate(180deg);
}

.dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: var(--color-light);
	display: none;
	min-width: 240px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	border-radius: 6px;
	list-style: none;
	transform: translateY(8px);
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 1001;
}

.has-submenu:hover .dropdown {
	display: block;
	transform: translateY(0);
	opacity: 1;
}

.user-menu .dropdown {
	left: auto;
	right: 0;
	min-width: 160px;
}

.dropdown li a {
	padding: 12px 16px;
	color: var(--color-primary);
	font-size: 15px;
	white-space: nowrap;
	transition: all 0.3s ease;
}

.dropdown li a:hover {
	background: var(--color-accent);
	color: var(--color-light);
}

/* Hamburger Styling */
.hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 12px;
	z-index: 1002;
}

.hamburger span {
	display: block;
	width: 30px;
	height: 3px;
	background: var(--color-primary);
	margin: 6px 0;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(8px, -8px);
}

/* Modal Styling */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 2000;
}

.modal-content {
	background: var(--color-light);
	margin: 15% auto;
	padding: 20px;
	width: 90%;
	max-width: 420px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	position: relative;
}

.close {
	position: absolute;
	top: 12px;
	right: 15px;
	font-size: 26px;
	padding-bottom: 30px;
	color: var(--color-primary);
	cursor: pointer;
	background: none;
	border: none;
	transition: color 0.3s ease;
}

.close:hover {
	color: var(--color-accent);
}

.modal-choice {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modal-content h2 {
	color: var(--color-primary);
	font-size: 22px;
	margin-bottom: 20px;
	text-align: center;
}

.choice-btn {
	background: var(--color-primary);
	color: var(--color-light);
	padding: 12px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	width: 100%;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	transition: background 0.3s ease;
}

.choice-btn:hover {
	background: var(--color-accent);
}

.modal-content label {
	color: var(--color-primary);
	font-size: 14px;
	margin: 10px 0 6px;
	display: block;
	text-align: left;
}

.modal-content input {
	width: 100%;
	padding: 10px;
	margin-bottom: 15px;
	border: 1px solid var(--color-dark);
	border-radius: 6px;
	font-size: 14px;
}

.modal-content button[type="submit"],
.modal-content button[type="button"] {
	background: var(--color-primary);
	color: var(--color-light);
	padding: 7px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	width: 100%;
	margin-top: 10px;
	font-size: 16px;
	transition: background 0.3s ease;
}

.modal-content button[type="button2"] {
	background: var(--color-primary);
	color: var(--color-light);
	padding: 7px 20px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	width: 7%;
	margin-top: 10px;
	font-size: 16px;
	transition: background 0.3s ease;
}

.modal-content button[type="submit"]:hover,
.modal-content button[type="button"]:hover {
	background: var(--color-accent);
}

/* Media Queries */

/* Laptop (max-width: 1400px) */
@media (max-width: 1400px) {
	.navbar {
		padding: 10px 25px;
	}
	.logo img {
		height: 35px;
	}
	.title {
		font-size: 20px;
	}
	.nav-menu a {
		font-size: 16px;
		padding: 8px 12px;
	}
	.has-submenu .arrow {
		font-size: 11px;
	}
	.user-menu .dropdown {
		min-width: 150px;
	}
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
	.hamburger {
		display: block;
		padding: 5px;
	}
	.navbar {
		padding: 10px 15px;
	}
	.menu-container {
		position: relative;
		width: 100%;
	}
	.nav-menu {
		display: none;
		position: fixed;
		top: 0;
		right: 0;
		left: auto;
		width: 20rem;
		height: 100vh;
		background: rgba(248, 241, 233, 0.95);
		backdrop-filter: blur(10px);
		flex-direction: column;
		padding: 50px 20px 50px;
		box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
		transform: translateX(100%);
		transition: transform 0.3s ease, opacity 0.3s ease;
		opacity: 0;
		z-index: 1001;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
	.nav-menu.active {
		display: flex;
		transform: translateX(0);
		opacity: 1;
	}
	.nav-menu li {
		margin: 10px 0;
		width: 100%;
	}
	.nav-menu a {
		padding: 12px 15px;
		font-size: 16px;
		border-radius: 4px;
		text-align: center;
	}
	.dropdown {
		position: static;
		display: none;
		width: 100%;
		box-shadow: none;
		padding: 10px 0 10px 20px;
		background: var(--color-light);
		transform: none;
		opacity: 1;
	}
	.dropdown li a {
		font-size: 16px;
		padding: 10px 15px;
		text-align: left;
	}
	.nav-menu li.active .dropdown {
		display: block;
	}
	.user-menu .dropdown {
		position: static;
		min-width: 100%;
	}
	.logo img {
		height: 30px;
	}
	.title {
		font-size: 20px;
	}
	.modal-content button[type="button2"] {
		padding: 4px 15px;
		width: 4%;

		font-size: 13px;
	}
}

/* Smartphone (max-width: 480px) */
@media (max-width: 480px) {
	.navbar {
		padding: 10px 15px;
	}
	.logo img {
		height: 28px;
	}
	.title {
		font-size: 16px;
	}
	.hamburger {
		padding: 5px;
	}
	.hamburger span {
		width: 25px;
		height: 2px;
		margin: 5px 0;
	}
	.nav-menu {
		width: 100%;
		padding: 70px 15px 15px;
	}
	.nav-menu a {
		font-size: 16px;
		padding: 10px 12px;
	}
	.dropdown li a {
		font-size: 14px;
		padding: 8px 12px;
	}
	.has-submenu .arrow {
		font-size: 11px;
	}
	.modal-content {
		width: 95%;
		padding: 15px;
		margin: 20% auto;
	}
	.modal-content h2 {
		font-size: 18px;
	}
	.choice-btn,
	.modal-content button[type="submit"],
	.modal-content button[type="button"] {
		font-size: 11px;
		padding: 10px 15px;
	}
}

/*-------------------------------------Navbar End------------------------------------------*/
.hero-content {
	z-index: 10; /* Pastikan konten di atas overlay */
	max-width: 90%; /* Batasi lebar konten */
	text-align: center; /* Pastikan teks terpusat */
}

.hero-logo {
	width: 100px;
	height: auto;
	margin-bottom: 20px;
}

.hero-title {
	font-size: 50px;
	font-style: italic;
	line-height: 1.2;
	margin-bottom: 20px;
	font-weight: normal;
	color: #252525;
}

.hero-title span {
	display: block;
	font-size: 70px;
	font-style: normal;
	font-weight: normal;
	color: var(--color-primary);
}
.hero h4 {
	font-size: 36px;
	font-style: italic;
	line-height: 1.2rem;
	margin-top: -4rem;
	margin-bottom: 4rem;
	font-weight: normal;
	color: #252525;
}
.hero-quote {
	font-size: 18px;
	font-style: italic;
	opacity: 0.9;
	color: var(--color-primary);
}

/* Overlay untuk transparansi 50% */
.hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(244, 241, 232, 0.726);
	z-index: 5;
}

/* Responsivitas */
@media (max-width: 1024px) {
	.hero-title {
		font-size: 30px;
	}

	.hero-title span {
		font-size: 40px;
	}
	.hero h4 {
		font-size: 20px;
		font-style: italic;
		line-height: 1.2rem;
		margin-top: -3rem;
		margin-bottom: 4rem;
	}
	.hero-quote {
		font-size: 12px;
	}
}

@media (max-width: 480px) {
	.hero {
		padding: 60px 15px 0;
		width: 100%;
		overflow-x: hidden;
		background-attachment: scroll; /* Fallback untuk mobile */
	}
	.hero-content {
		max-width: 100%;
		padding: 0 10px;
	}
}
/*-----------------------Footer-------------------------*/
.footer {
	background: var(--color-primary);
	padding: 20px 0;
	text-align: center;
	color: #f4f1e8;
	font-size: 14px;
}

/*-----------------------Media Queries-------------------------*/
@media (max-width: 1024px) {
	.tentang-kami {
		padding: 50px 0;
	}
	.tentang-kami-wrapper {
		gap: 30px;
		max-width: 800px;
	}
	.info-title {
		font-size: 22px;
	}
	.info-text {
		font-size: 14px;
	}
}

@media (max-width: 790px) {
	.tentang-kami {
		padding: 40px 0;
	}
	.tentang-kami-wrapper {
		flex-direction: column; /* Kolom menjadi baris */
		gap: 20px;
	}
	.paroki-image,
	.paroki-map {
		height: 350px; /* Tinggi lebih besar pada layar kecil */
	}
}

@media (max-width: 480px) {
	.tentang-kami {
		padding: 30px 0;
	}
	.tentang-kami .section-title {
		font-size: 24px;
	}
	.info-title {
		font-size: 20px;
	}
	.info-text {
		font-size: 13px;
	}
	.paroki-image,
	.paroki-map {
		height: 350px; /* Tinggi lebih besar pada layar kecil */
	}
	.footer {
		font-size: 12px;
		padding: 15px 0;
	}
}
