/*
Theme Name: YugiRent
Theme URI: https://example.com/yugirent
Author: Cline
Description: Tema WordPress modern untuk Rental Mobil berbasis Block Editor (FSE).
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yugirent
*/

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

/* Terapkan ke semua elemen */
* {
    font-family: 'Poppins', sans-serif;
}

/* Atau terapkan ke body saja */
body {
    font-family: 'Poppins', sans-serif;
}
/* Reset & Global Base */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Header Styling */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
/* Untuk mencegah scroll horizontal di mobile */
html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Semua container */
* {
    box-sizing: border-box;
}

/* Container utama */
body {
    position: relative;
    overflow-x: hidden;
}
p {
    font-family: 'Rubik', sans-serif;
}
/* Untuk elemen yang mungkin menyebabkan scroll */
.container, .wrapper, .row {
    overflow-x: hidden;
    width: 100%;
}
.main {
  margin-top: 0px;
}
.desc-title {
  padding: 0px 10px;
}
.info-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
	padding-bottom:25px;
	text-align: center;
}
.icon-car {
  font-size: 48px;
  margin: 0px;
  text-align: center;
}
/* Card Hover Animation */
.wp-block-group.has-border-color {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-group.has-border-color:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Button Pulse Effect for CTA */
.wp-block-button__link {
    transition: all 0.2s ease;
}

.wp-block-button__link:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}
/* Base style */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
	    transform: translateZ(0);
    backface-visibility: hidden;
    
    /* Untuk performa */
    will-change: transform;
}

/* Transparent at top */
.site-header.navbar-transparent {
    background-color: transparent;
    box-shadow: none;
}

/* Sticky with background on scroll */
.site-header.navbar-sticky {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.inner-head {
  min-height: 100px;
	padding: 0px 15px;
}
.section-hero {
  background-color: #F8F8F8;
  padding: 220px 0px 230px 0px;
  background-image: url('https://yugirent.com/wp-content/uploads/2026/05/banner_image.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;	
}
.col-layanan p {
  margin-top: 5px;
}
.layanan-footer {
  margin-bottom: 20px;
}
.col-foot {
  padding: 0px 15px;
}
/* Menu mobile container */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh; /* full height layar */
    background: white;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto; /* biar bisa scroll jika menu panjang */
}

/* Menu aktif */
.nav-menu-mobile.active {
    left: 0;
}

/* Atau minimal setinggi konten menu */
.nav-menu-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%; /* atau 100% */
    min-height: 100vh; /* minimal full height */
    height: auto; /* tinggi menyesuaikan konten */
    background: white;
    z-index: 999;
    transition: left 0.3s ease;
}
/* section 2 */
.regular-carousel,
.premium-carousel {
    height: auto !important;
    max-height: 500px !important;
}

.regular-carousel .owl-stage-outer,
.premium-carousel .owl-stage-outer {
    height: auto !important;
    max-height: 500px !important;
}

.regular-carousel .owl-stage,
.premium-carousel .owl-stage {
    height: auto !important;
    max-height: 500px !important;
}

.regular-carousel .owl-item,
.premium-carousel .owl-item {
    height: auto !important;
    max-height: 500px !important;
}
.category-carousel {
	display: none;
}

.category-carousel.active {
	display: block;
}
.car-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin: 10px;
  transition: all 0.3s ease;
  border: 1px solid #eee;
	padding-bottom: 20px;
}
@media (min-width: 1024px) {
  .categories-container {
    position: relative;
  }
}
.categories-container {
  max-width: 1140px;
  margin: auto;
	text-align: center;
}
/* Menu items */
.menu-items {
    display: flex;
    flex-direction: column;
    padding: 80px 20px 40px;
    gap: 20px;
}
.car-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #ff6900 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 30px;
  border: 1px solid #e3bd36;
  background: transparent;
  color: #111;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
}
.tab-btn.active {
  background: #fe7342;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
.rent-btn {
    display: inline-block; /* Ubah dari button ke inline-block */
    width: 80%;
    padding: 12px;
    background: #fe7342;
    color: white;
    text-decoration: none; /* Hapus underline */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    box-sizing: border-box;
	margin-top: 25px;
}
.rent-btn:hover {
	background: #fe7342;
    transform: translateY(-2px);
    text-decoration: none; /* Pastikan tidak ada underline saat hover */
    color: white;
}
.main-cta {
  display: flex;
}
.hero-cta {
  max-width: 50%;
}
.hero-img {
  margin-block-start: 0px;
}
.mt-0 {
	margin-top:0px;
}
.order-card {
    margin-top: -100px !important;
}
.order-card {
	background: white;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.3);
	max-width: 1000px;
	width: 100%;
	padding: 35px;
	animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.order-card h2 {
	text-align: center;
	color: #333;
	margin-bottom: 25px;
	font-size: 28px;
}

.order-card .subtitle {
	text-align: center;
	color: #666;
	margin-bottom: 35px;
	font-size: 14px;
}
.cta-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Hitam 50% redup */
    /* atau background: rgba(0,0,0,0.6); lebih gelap */
    z-index: 0;
}
.cta-imge-head{
  font-weight: bold;
  font-size: 52px;
  line-height: 62px;
  letter-spacing: -1.36px;
}
.is-style-wide {
  color: orange;
}
/* Desktop: 3 kolom select sejajar */
.form-row {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
}

.form-group {
	flex: 1;
}

label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #333;
	font-size: 14px;
}

label i {
	margin-right: 8px;
	color: #667eea;
}

select, input {
	width: 100%;
	padding: 14px 15px;
	border: 2px solid #e0e0e0;
	border-radius: 12px;
	font-size: 16px;
	transition: all 0.3s ease;
	background: #f9f9f9;
	cursor: pointer;
	font-family: inherit;
}

select:hover, input:hover {
	border-color: #667eea;
}

select:focus, input:focus {
	outline: none;
	border-color: #667eea;
	background: white;
	box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

input[type="date"] {
	cursor: pointer;
}

.btn-order {
	width: 100%;
	padding: 16px;
	background: linear-gradient(135deg, #ff6900 0%, #ff6900 100%);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.btn-order:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(102,126,234,0.3);
}

.btn-order:active {
	transform: translateY(0);
}

.summary {
	background: #f0f0f0;
	padding: 15px;
	border-radius: 12px;
	margin-top: 20px;
	font-size: 14px;
	color: #555;
	display: none;
}

.summary.show {
	display: block;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.summary p {
	margin: 5px 0;
}

.summary strong {
	color: #667eea;
}
.why-choose-us {
	background: #f8f8f8;
	padding: 80px 24px;
}

.container {
	max-width: 1280px;
	margin: 0 auto;
}

.two-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
}

/* Kolom Kiri */
.left-content {
	flex: 1;
	min-width: 280px;
}

.tagline {
	color: #f97316;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 16px;
}

.left-content h2 {
	font-size: 2.5rem;
	font-weight: 700;
	color: #111;
	line-height: 1.2;
	margin-bottom: 20px;
}

.left-content h2 span {
	color: #f97316;
}

.description {
	color: #817F91;
	line-height: 1.6;
	margin-bottom: 32px;
	font-size: 1rem;
}

.btn-orange {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #f97316;
	color: #ffffff;
	padding: 14px 32px;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.btn-orange:hover {
	background: #ea580c;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* ========== BAGIAN YANG DIUBAH ========== */
/* Kolom Kanan - 1 kolom vertikal */
.right-grid {
	flex: 1;
	min-width: 280px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-right: 25px;
}

/* Feature card - icon kiri, teks kanan */
.feature-card {
	background: #f8f8f8;
	padding: 24px 28px;
	border-radius: 20px;
	transition: all 0.3s ease;
	border: 1px solid #f97316;
	display: flex;
	align-items: flex-start;
	gap: 20px;
	align-items: center;
}

.feature-card:hover {
	transform: translateX(8px);
	border-color: #f97316;
	background: #f8f8f8;
	box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.5);
}

.feature-icon {
	font-size: 2.2rem;
	color: #f97316;
	flex-shrink: 0;
	min-width: 50px;
}

.feature-text {
	flex: 1;
}

.feature-card h3 {
	color: #111;
	font-size: 1.2rem;
	margin-bottom: 8px;
	font-weight: 600;
}

.feature-card p {
	color: #817F91;
	line-height: 1.5;
	font-size: 0.9rem;
	margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
	.two-columns {
		flex-direction: column;
	}
	.left-content {
		text-align: center;
	}
}

@media (max-width: 550px) {
	.why-choose-us {
		padding: 50px 20px;
	}
	.left-content h2 {
		font-size: 1.9rem;
	}
	.feature-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 12px;
	}
	.feature-card:hover {
		transform: translateY(-5px);
	}
}
/* Container utama testimoni */
.testimoni-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 20px;
	background: #ffffff;
}

/* Judul dan deskripsi */
.testimoni-header {
	text-align: center;
	margin-bottom: 48px;
}

.testimoni-subtitle {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #d97706;
	font-weight: 600;
	margin-bottom: 12px;
}

.testimoni-title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #1f2937;
	margin-bottom: 16px;
}

.testimoni-desc {
	max-width: 650px;
	margin: 0 auto;
	color: #4b5563;
	line-height: 1.5;
}

/* Grid testimoni */
.testimoni-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: center;
}

.testimoni-card {
	background: #ffffff;
	border-radius: 24px;
	padding: 28px 24px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	flex: 1;
	min-width: 280px;
	max-width: 380px;
	border: 1px solid #e5e7eb;
}

.testimoni-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.1);
}

/* Ikon kutip */
.quote-icon {
	font-size: 2.4rem;
	color: #f59e0b;
	margin-bottom: 20px;
	opacity: 0.7;
}

/* Teks testimoni */
.testimoni-text {
	font-size: 1.05rem;
	line-height: 1.6;
	color: #374151;
	margin-bottom: 24px;
	font-style: normal;
}

/* Profil */
.testimoni-profile {
	display: flex;
	align-items: center;
	gap: 14px;
	border-top: 1px solid #f3f4f6;
	padding-top: 20px;
}
.testimoni-profile img {
  width: auto !important;
}
.testimoni-avatar {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	background: #e5e7eb;
}

.profile-info h4 {
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	margin-bottom: 4px;
}

.profile-info p {
	font-size: 0.85rem;
	color: #6b7280;
}

/* Responsif */
@media (max-width: 768px) {
	.testimoni-section {
		padding: 40px 16px;
	}
	.testimoni-title {
		font-size: 1.8rem;
	}
	.testimoni-card {
		padding: 22px 18px;
	}
}
/* MOBILE: stack ke bawah width 100% */
@media (max-width: 768px) {
.booking-buuton	 {
  justify-content: center;
  align-content: center;
  text-align: center;
}
 .has-modal-open, .is-menu-open  {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Full screen height */
  background: rgba(0, 0, 0, 0.9); /* or any color */
  z-index: 999;
  overflow-y: auto;
}	
.wp-block-navigation__responsive-close {
  width: 100%;
  padding: 15px;
}	
	.order-card {
		padding: 20px;
	}

	.order-card h2 {
		font-size: 24px;
	}

	.form-row {
		flex-direction: column;
		gap: 15px;
	}

	.form-group {
		width: 100%;
	}

	select, input, .btn-order {
		padding: 12px;
		font-size: 15px;
	}
}

/* Desktop kecil (800px - 1000px) tetap 3 kolom */
@media (max-width: 800px) and (min-width: 769px) {
	.form-row {
		gap: 15px;
	}

	.order-card {
		padding: 25px;
	}
}

/* Tablet */
@media (max-width: 768px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
	.main-cta {
  display: relative;
}
  .hero-cta {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
	  padding-top: 200px;
	  padding-bottom:180px;
	  position: relative;
    z-index: 3;
  }

.top-cta {
  display: none !important;
}	
  .section-hero {
    padding: 0px !important;
    background-color: #F8F8F8;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left 150px top;
  }	
.hero-img {
  padding-top: 300px;
}
.custom-image {
  width: 250%;
  height: auto;
}	
	.inner-head {
  padding: 0px 15px;
}
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
.mt-80{
	margin-top:80px;
}
.layanan-rental {
    text-align: center;
    padding: 0px 20px;
    background: #fff;
}

.header-layanan .subtitle {
    color: #ff5a3c;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 500;
}

.header-layanan h2 {
    color: #1a1a1a;
    font-size: 36px;
    margin-bottom: 40px;
	margin-top: 0px;
}

/* Container harus position relative */
.row-layanan {
    display: flex;
    gap: 30px;
    justify-content: center;
    position: relative;
}

/* Garis horizontal di tengah antar box */
.row-layanan::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #ccc,
        #ccc 10px,
        transparent 10px,
        transparent 20px
    );
    z-index: 0;
}

/* Box harus punya background dan z-index agar di atas garis */
.box-layanan {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Gaya untuk ikon Font Awesome */
.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: linear-gradient(135deg, #ff690026 0%, #ff6900 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box i {
    font-size: 36px;
    color: white;
}

.box-layanan h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.box-layanan p {
    color: #666;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .row-layanan {
        flex-direction: column;
    }
    
    .box-layanan {
        margin-bottom: 0px;
		padding: 0px 20px;
    }
    
    .header-layanan h2 {
        font-size: 28px;
    }
    
    .icon-box {
        width: 150px;
        height: 150px;
    }
    
    .icon-box i {
        font-size: 48px;
    }
}
@media (max-width: 500px) {
	.left-content, .right-grid {
		min-width: auto;}
	.armada-popular {
  padding-bottom: 30px;
}
		  .why-choose-us {
    padding: 50px 0px;
  }
	
	.testimoni-grid .owl-stage {
    display: flex !important;
    flex-wrap: nowrap !important;
}

.testimoni-grid .owl-item {
    width: 280px !important;
    min-width: 280px;
}

}
@media (max-width: 400px) {


}