:root {
    --primary-color: #ff3b3b;
    --secondary-color: #cc2222; /* merah tua, ganti cyan */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --accent-color: #cc2222;    /* ganti cyan */
}

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

/* About Us Section */
#about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 59, 59, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

/* About Content */
.about-content {
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(255, 59, 59, 0.3));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text h3 span {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 25px;
}


body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--dark-color);
}

/* Navbar */

.navbar-brand img {
    background: #ffffff;
    border-radius: 4px;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.navbar {
    padding: 0.7rem 0;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.4rem 0;
    background: rgba(26, 26, 26, 1) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary-color), #cc2222);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #cc2222);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Slider */
.hero-swiper {
    height: 100vh;
    min-height: 600px;
}

.hero-slide {
    height: 100vh;
    min-height: 600px;
    /* background-size: cover; */
    background-position: center;
    position: relative;
    object-fit: contain;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 59, 59, 0.6) 50%, rgba(0, 212, 255, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary-custom {
    background: var(--primary-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.4);
}

.btn-primary-custom:hover {
    background: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 59, 59, 0.6);
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Features */
.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.3s;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Features Swiper */
.features-swiper {
    padding: 20px 0 60px;
}

.features-swiper .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.5;
}

.features-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--secondary-color);
}

/* Vehicle Cards */
.vehicle-section {
    background: var(--light-color);
}

.vehicle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-img {
    width: 100%;
    /* height: 250px; */
    object-fit: contain;
}

.vehicle-body {
    padding: 25px;
}

.vehicle-type {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.vehicle-card h5 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.vehicle-features {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vehicle-features span {
    font-size: 0.9rem;
    color: #666;
}

.vehicle-features i {
    color: var(--primary-color);
    margin-right: 5px;
}

.vehicle-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

.btn-rent {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 3px 15px rgba(0, 212, 255, 0.3);
}

.btn-rent:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(255, 59, 59, 0.5);
}

/* Blog Swiper */
.blog-swiper {
    padding: 20px 0 60px;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta i {
    color: var(--primary-color);
}

.blog-card h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.blog-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.read-more:hover {
    color: var(--secondary-color);
}



/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 59, 59, 0.1));
    z-index: 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    z-index: 1;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid white;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.stars {
    color: #00d4ff;
    margin-bottom: 15px;
}

/* ========================================
   GALERI SECTION
   ======================================== */
   #galeri {
    background: var(--light-color);
}

.galeri-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.galeri-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.galeri-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.galeri-item:hover img {
    transform: scale(1.08);
}

.galeri-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 59, 59, 0.7), rgba(26, 26, 26, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeri-item:hover .galeri-overlay {
    opacity: 1;
}

.galeri-overlay i {
    color: white;
    font-size: 2rem;
}

/* Lightbox */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s;
    line-height: 1;
}

.lightbox-close:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Empty State */
.galeri-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.galeri-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
    .galeri-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .galeri-item img {
        height: 150px;
    }

    .galeri-item {
        border-radius: 10px;
    }
}

/* CTA Section */
.cta-section {
    background: var(--dark-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-widget h5 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    text-decoration: none;
    color: white;
    font-size: 2rem;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }

    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    color: var(--dark-color);
    border: 2px solid #e0e0e0;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 59, 59, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.filter-btn i {
    margin-right: 8px;
}

/* Vehicle Item Animation */
.vehicle-item {
    transition: all 0.5s ease;
}

.vehicle-item.hide {
    opacity: 0;
    transform: scale(0.8);
    display: none;
}

.vehicle-item.show {
    opacity: 1;
    transform: scale(1);
    display: block;
    animation: fadeInScale 0.5s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
/* Responsive - Perbaikan untuk Mobile */
@media (max-width: 768px) {
    
    
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .hero-slide {
        height: 70vh;
        min-height: 500px;
    }

    .hero-swiper {
        height: 70vh;
        min-height: 500px;
    }

    .whatsapp-float {
        width: 60px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 60px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Tampilkan 2 kolom di mobile */
    .vehicle-section .col-lg-4 {
        width: 50% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Sesuaikan ukuran card */
    .vehicle-card {
        border-radius: 15px;
    }

    /* .vehicle-img {
        height: 140px;
    } */

    .vehicle-body {
        padding: 15px;
    }

    .vehicle-type {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .vehicle-card h5 {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .vehicle-features {
        gap: 8px;
        margin-bottom: 12px;
    }

    .vehicle-features span {
        font-size: 0.75rem;
    }

    .vehicle-price {
        padding-top: 12px;
        flex-direction: column;
        gap: 10px;
    }

    .price {
        font-size: 1.2rem;
    }

    .btn-rent {
        padding: 8px 20px;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }

    /* Sesuaikan spacing container */
    .vehicle-section .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    /* Filter buttons mobile */
    .filter-buttons {
        gap: 10px;
        margin-bottom: 1.5rem !important;
    }
}

/* Untuk layar sangat kecil (< 380px) */
@media (max-width: 380px) {
    /* .vehicle-img {
        height: 120px;
    } */

    .vehicle-card h5 {
        font-size: 0.9rem;
    }

    .vehicle-body {
        padding: 12px;
    }

    .vehicle-features span {
        font-size: 0.7rem;
    }

    .btn-rent {
        font-size: 0.8rem;
        padding: 7px 15px;
    }
}

/* Untuk tablet kecil (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    /* .vehicle-img {
        height: 180px;
    } */

    .vehicle-card h5 {
        font-size: 1.1rem;
    }

    .vehicle-body {
        padding: 18px;
    }
}