/* Marquee Kategori Mobil */
.kategori-marquee {
    width: 100vw;
    background: rgba(44,62,80,0.85);
    color: #fff;
    position: relative;
    z-index: 2;
    overflow: hidden;
    margin-top: -5px;
    border-bottom: 2px solid var(--secondary);
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    height: 90px;
    display: flex;
    align-items: center;
}
.marquee-inner {
    display: flex;
    gap: 120px;
    white-space: nowrap;
    animation: marquee-left 22s linear infinite;
    font-size: 2.8rem;
    font-weight: 700;
    padding: 0 0;
    min-width: 120vw;
}
.kategori-item {
    background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
    color: #fff;
    border-radius: 24px;
    padding: 12px 48px;
    margin: 0 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    letter-spacing: 0.04em;
    border: 2px solid #fff2;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}
.kategori-item:hover {
    background: linear-gradient(90deg, var(--accent) 60%, var(--secondary) 100%);
    transform: scale(1.08);
    cursor: pointer;
}
/* Responsive Marquee for Mobile */
@media (max-width: 600px) {
    .kategori-marquee {
        height: 48px;
    }
    .marquee-inner {
        font-size: 1.1rem;
        gap: 32px;
        min-width: 100vw;
        padding-left: 8vw;
    }
    .kategori-item {
        padding: 6px 18px;
        font-size: 0.95rem;
        border-radius: 14px;
        margin: 0 4px;
    }
}
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Logo image di navbar */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height: 36px;
    width: 36px;
    object-fit: contain;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(44,62,80,0.10);
}

/* === PERUBAHAN UNTUK DELAY DROPDOWN === */
.dropdown-nav {
    position: relative;
}
.dropdown-toggle::after {
    content: '\f107'; /* Font Awesome arrow down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8em;
    margin-left: 6px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.dropdown-menu {
    display: block; /* Diubah dari none */
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 150px;
    max-width: 220px;
    width: max-content;
    box-shadow: 0 8px 32px 0 rgba(44,62,80,0.16);
    border: none;
    border-radius: 14px;
    z-index: 2001;
    padding: 10px 0;
    margin-top: 7px;
    /* Properti untuk delay */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transition-delay: 0.2s; /* Delay saat menghilang */
}
.dropdown-menu li {
    width: 100%;
}
.dropdown-menu a {
    color: #222 !important;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.04rem;
    background: transparent !important;
    transition: background 0.18s, color 0.18s;
    letter-spacing: 0.01em;
    border-radius: 8px;
    margin: 2px 8px;
    box-shadow: none;
}
.dropdown-menu a:hover, .dropdown-menu a:focus {
    background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 2px 8px 0 rgba(44,62,80,0.10);
}
.dropdown-nav:hover .dropdown-menu,
.dropdown-nav:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s; /* Muncul tanpa delay */
}
.dropdown-nav:hover > .dropdown-toggle::after,
.dropdown-nav:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header dan Navigasi */
header {
    background-color: var(--primary);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    position: relative;
    z-index: 1001;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    position: relative;
    z-index: 1002;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1005;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/tugu-jogja.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0;
    position: relative;
    animation: changeBackground 20s infinite;
}

@keyframes changeBackground {
    0% { background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/tugu-jogja.jpg'); }
    25% { background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/family.jpg'); }
    50% { background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/malioboro.jpg'); }
    75% { background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/teman-liburan.jpg'); }
    100% { background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image-wisata/jogja-suasana.jpg'); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    position: relative;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
    background: linear-gradient(90deg, #fff 0%, #fff 100%);
    background-size: 200% 200%;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    transition: background-position 0.2s, background-image 0.2s;
    cursor: pointer;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 3px;
    background-color: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Katalog Mobil */
.catalog {
    background-color: #f5f5f5;
}

.catalog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.car-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
    margin-bottom: 0; 
    display: flex;
    flex-direction: column;
}


.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.car-image {
    height: 200px;
    overflow: hidden;
}

.car-image img {
    width: 67%;
    height: 100%;
    object-fit:cover;
    transition: var(--transition);
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.car-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.car-specs {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Dropdown untuk Desktop */
.car-details {
    margin-bottom: 15px;
}

.details-toggle {
    background: none;
    border: none;
    color: var(--secondary);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    padding: 0;
}

.details-toggle:hover {
    color: #2980b9;
}

.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.details-content.active {
    max-height: 200px;
}

.details-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.details-content li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.details-content i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* Tombol Popup untuk Mobile (disembunyikan di desktop) */
.details-btn-mobile {
    display: none;
    width: 100%;
    background-color: #ecf0f1;
    color: var(--primary);
    border: 1px solid #bdc3c7;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-btn {
    width: 100%;
    background-color: var(--secondary);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.booking-btn:hover {
    background-color: #2980b9;
}


/* --- Tab Katalog --- */
.catalog-tabs {
    text-align: center;
    margin-bottom: 40px;
}

.tab-link {
    background-color: #ecf0f1;
    border: none;
    color: var(--primary);
    padding: 12px 25px;
    cursor: pointer;
    margin: 0 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-link.active, .tab-link:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* --- Sliding Tabs --- */
.catalog-slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.catalog-slider {
    display: flex;
    width: 200%;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    align-items: flex-start;
}

.tab-content {
    width: 50%;
    flex-shrink: 0;
    padding: 0 5px;
}

/* Rekomendasi Wisata */
.wisata {
    background-color: white;
}

.wisata-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.wisata-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.wisata-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.wisata-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.wisata-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.wisata-card:hover .wisata-image img {
    transform: scale(1.1);
}

.wisata-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.wisata-info {
    padding: 20px;
}

.wisata-name {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.wisata-location {
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wisata-description {
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.wisata-btn {
    width: 100%;
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wisata-btn:hover {
    background-color: #c0392b;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #aaa;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--accent);
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-image img {
    width: 97%;
    height: 97%;
    object-fit: contain;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.modal-location, .modal-specs {
    color: #666;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modal-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.modal-detail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-detail i {
    color: var(--secondary);
    width: 20px;
}

/* Tentang Kami */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background-color: var(--secondary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 5px;
    color: var(--primary);
}

/* Kontak */
.contact {
    background-color: var(--light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item p {
    word-break: break-word;
}

.contact-icon {
    background-color: var(--secondary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.map-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.map-placeholder {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

.map-placeholder iframe {
    width: 100% !important;
    height: 100% !important;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.map-placeholder:hover .map-overlay {
    opacity: 1;
}

.map-btn {
    background-color: var(--accent);
}

.map-btn:hover {
    background-color: #c0392b;
}

/* Floating Icons */
.floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: pulse 2s infinite;
    text-decoration: none;
}

.floating-icon:hover {
    transform: scale(1.1);
}

.email-icon {
    background-color: var(--accent);
}

.whatsapp-icon {
    background-color: #25D366;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #ddd;
}

/* Animasi */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsif */
@media (max-width: 900px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .hamburger {
        display: block;
        position: relative;
        margin-left: auto;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        display: none;
        background-color: #2c3e50e8;
        border-radius: 0 0 8px 8px;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 8px 0;
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        padding: 8px 15px;
        display: block;
    }

    .dropdown-menu {
        position: relative;
        left: 0;
        right: 0;
        top: unset;
        width: 90%;
        margin: 0 auto;
        border-radius: 8px;
        box-shadow: 0 2px 8px 0 rgba(44,62,80,0.1);
        padding: 0;
        z-index: 1;
        background: #f8f9fa;
        display: none;
        transition: all 0.2s ease;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
    }
    .dropdown-nav.active .dropdown-menu {
        display: block;
        max-height: 120px;
        margin: 5px auto;
        padding: 5px 0;
        overflow: visible;
        opacity: 1;
    }
    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 10px;
        margin: 0;
        border-radius: 0;
        transition: all 0.2s ease;
        color: #2c3e50;
        border-bottom: 1px solid #eee;
    }
    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }
    .dropdown-toggle::after {
        margin-left: auto;
        margin-right: 5px;
        font-size: 0.7em;
    }
    .nav-links li {
        transition: transform 0.3s ease, margin 0.3s ease;
    }

    .car-details {
        display: none;
    }
    .details-btn-mobile {
        display: flex;
    }
}

@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .about-content, .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .features {
        grid-template-columns: 1fr;
    }
    .wisata-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .modal-details {
        grid-template-columns: 1fr;
    }
    .hero {
        height: 90vh;
        padding: 0;
        align-items: flex-start; /* Mengubah dari flex-start ke center */
        display: flex; /* Menambahkan display flex */
        justify-content: center; /* Menengahkan konten secara horizontal */
        text-align: center; /* Menengahkan teks di dalam hero-content */
    }
    .hero-content {
        text-align: left;
        margin: 0;
        padding: 0 25px;
        padding-top: 25vh;
        width: 100%;
        max-width: 600px;
        box-sizing: border-box;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    .car-image {
        height: 120px;
    }
    .car-info {
        padding: 10px;
    }

    /* ===== PERUBAHAN: Mengecilkan font dan tombol di mobile ===== */
    .car-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    .car-specs {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .car-price {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .details-btn-mobile, .booking-btn {
        padding: 8px;
        font-size: 0.8rem;
        gap: 5px;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 1rem;
        font-weight: 600;
    }
    .nav-links a {
        font-size: 0.95rem;
        font-weight: 500;
    }
    .nav-links li {
        margin-left: 12px;
    }
    .navbar {
        padding: 12px 16px !important;
    }
}

@media (max-width: 576px) {
    .wisata-container {
        grid-template-columns: 1fr !important;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .floating-icons {
        flex-direction: column;
        bottom: 30px;
        right: 30px;
        gap: 15px;
    }
    .floating-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .container {
        width: 95%;
        padding: 0 10px;
    }
    section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    .hero-content {
        text-align: left; /* Memusatkan teks untuk layar yang lebih kecil */
        padding-top: 10vh; /* Menyesuaikan padding atas agar konten tidak terlalu rendah */
    }
    .section-title h2 {
        font-size: 2rem;
    }
}

/* Animasi tambahan untuk katalog */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.car-card, .wisata-card {
    animation: fadeInScale 0.5s ease;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* STYLE UNTUK BAGIAN LAYANAN SEWA BARU */
.layanan {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.layanan-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.layanan-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.layanan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.layanan-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    display: inline-block;
}

.layanan-card h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.layanan-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .layanan-container {
        grid-template-columns: 1fr;
    }
}

/* STYLE UNTUK MODAL SYARAT & KETENTUAN */
.sk-content h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 10px;
    border-left: 4px solid var(--secondary);
    padding-left: 10px;
}

.sk-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.sk-content li {
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.sk-content li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 4px;
    font-size: 0.8rem;
}