/* ===== RESET & BASE STYLES ===== */
:root {
    /* Primary Colors - Great Transport Jogja Theme */
    --primary-dark: #1a1a1a;
    --primary-gold: #d4af37;
    --primary-gold-light: #e8c866;
    --primary-gold-dark: #b8941f;
    
    /* Neutral Colors */
    --neutral-white: #ffffff;
    --neutral-light: #f8f9fa;
    --neutral-gray: #6c757d;
    --neutral-dark: #343a40;
    --neutral-black: #212529;
    
    /* Accent Colors */
    --accent-success: #28a745;
    --accent-warning: #ffc107;
    --accent-danger: #dc3545;
    --accent-info: #17a2b8;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f7ef8a 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.2);
    --shadow-gold: 0 4px 12px rgba(212, 175, 55, 0.3);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--primary-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: var(--gradient-dark);
    color: var(--neutral-white);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-instagram {
    background: linear-gradient(135deg, #E4405F, #833AB4);
    color: white;
    border: none;
}

.btn-instagram:hover {
    background: #833AB4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

/* ===== SECTION STYLES ===== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    color: var(--neutral-gray);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header .logo img {
    height: 90px;
    width: 90px;
    object-fit: contain;
}

.header.scrolled {
    background: var(--neutral-white);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary-gold);
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-part1 {
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.logo-part2 {
    color: var(--primary-gold);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    color: var(--neutral-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-dark);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: calc(80px + var(--space-xxl)) 0 var(--space-xxl);
    background: var(--gradient-card);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--neutral-gray);
    margin-bottom: var(--space-lg);
}

.hero-btns {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-tagline {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hero-tagline p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-dark);
    font-weight: 500;
}

.hero-tagline i {
    color: var(--primary-gold);
    font-size: 1.1rem;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 500px;
    width: 100%;
    cursor: grab;
}

.hero-slideshow:active {
    cursor: grabbing;
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: none;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
    animation: slideInRight 0.6s ease-out;
}

.slide.prev {
    animation: slideOutLeft 0.6s ease-out;
    opacity: 0;
    z-index: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Navigation Buttons */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 4;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.slide-nav:hover {
    background: var(--neutral-white);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Slide Dots */
.slide-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--neutral-white);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.slide-dot.active {
    background: var(--neutral-white);
    transform: scale(1.2);
}

.slide-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: var(--space-xxl) 0;
    background: var(--neutral-white);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.feature-item i {
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-top: 0.25rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--neutral-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.features-intro {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* ===== FLEET SECTION - IMPROVED FOR CONSISTENT HEIGHTS ===== */
.fleet {
    padding: var(--space-xxl) 0;
    background: var(--neutral-light);
    position: relative;
}

.fleet-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--neutral-white);
    border: 2px solid var(--neutral-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: stretch; /* Ini memaksa semua card memiliki tinggi yang sama */
}

.vehicle-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ambil semua tinggi yang tersedia di grid */
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.vehicle-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0; /* Gambar tidak boleh mengecil */
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

/* PERBAIKAN UTAMA: Struktur untuk tinggi konsisten */
.vehicle-content {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ambil semua ruang tersisa */
    padding: var(--space-lg);
    min-height: 320px; /* Set minimum height yang konsisten */
}

/* Vehicle header */
.vehicle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
    flex-shrink: 0; /* Jangan mengecil */
}

.vehicle-header h3 {
    font-size: 1.3rem;
    margin: 0;
    line-height: 1.3;
    flex: 1;
    min-height: 2.6rem; /* Set tinggi konsisten untuk nama */
}

.vehicle-category {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-gold-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Vehicle details - area untuk specs dan pricing */
.vehicle-details {
    display: flex;
    flex-direction: column;
    flex: 1; /* Ambil semua ruang tersisa */
    gap: var(--space-md);
    min-height: 180px; /* Set minimum height untuk area ini */
}

/* Vehicle specs - dibuat konsisten tinggi */
.vehicle-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 0;
    flex-shrink: 0; /* Jangan mengecil */
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Pusatkan vertikal */
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    height: 100%; /* Ambil tinggi penuh dari grid cell */
    min-height: 80px; /* Minimum height untuk konsistensi */
}

.spec-icon {
    color: var(--primary-gold);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px; /* Tinggi ikon konsisten */
}

.spec-text {
    font-size: 0.85rem;
    color: var(--neutral-gray);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

/* Vehicle pricing - dibuat konsisten tinggi */
.vehicle-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1; /* Ambil sisa ruang */
    min-height: 100px; /* Minimum height untuk area harga */
}

.price-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-gold);
    flex: 1; /* Buat semua price option sama tinggi */
}

.price-label {
    color: var(--neutral-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
}

.price-suboption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-sm);
}

.price-label-small {
    font-size: 0.8rem;
    color: var(--neutral-gray);
    font-weight: 500;
}

.price-amount {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

/* Button booking - SELALU DI BAWAH */
.btn-book {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-dark);
    color: var(--neutral-white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto; /* INI KUNCI: selalu dorong ke bawah */
    flex-shrink: 0; /* Jangan mengecil */
    min-height: 44px; /* Tinggi minimum untuk aksesibilitas */
}

.btn-book:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.fleet-note {
    background-color: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    margin-top: 30px;
    border-radius: 8px;
}

.fleet-note p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-note i {
    color: #3b82f6;
    font-size: 1.2em;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--space-xxl) 0;
    background: var(--neutral-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--neutral-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.service-card p {
    color: var(--neutral-gray);
    line-height: 1.6;
}

/* ===== TERMS SECTION ===== */
.terms-horizontal {
    padding: var(--space-xxl) 0;
    background: var(--neutral-white);
}

.terms-tabs {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.tabs-nav {
    display: flex;
    background: var(--gradient-card);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    overflow-x: auto;
}

.tabs-nav::-webkit-scrollbar {
    height: 4px;
}

.tabs-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tabs-nav::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    border-right: 1px solid rgba(212, 175, 55, 0.1);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--neutral-gray);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
    min-width: 180px;
    justify-content: center;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.05);
    color: var(--primary-gold-dark);
}

.tab-btn.active {
    background: var(--neutral-white);
    color: var(--primary-dark);
    border-bottom: 3px solid var(--primary-gold);
}

.tab-btn i {
    font-size: 1.2rem;
    color: var(--primary-gold);
}

.tabs-content {
    padding: var(--space-xl);
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.term-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--neutral-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-gold);
    transition: var(--transition-normal);
}

.term-item:hover {
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

.term-item i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-top: 0.25rem;
}

.term-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.term-item p {
    font-size: 0.9rem;
    color: var(--neutral-gray);
    line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--space-xxl) 0;
    background: var(--neutral-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary-gold);
    font-size: 1.2rem;
}

.contact-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-content p {
    color: var(--neutral-gray);
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: var(--primary-gold);
    text-decoration: underline;
}

.contact-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-gold);
}

.contact-cta h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-cta p {
    margin-bottom: 1rem;
    color: var(--neutral-gray);
    font-size: 0.95rem;
}

.contact-map {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-map h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-dark);
}

.map-container {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(212, 175, 55, 0.1);
    background: var(--neutral-white);
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: none;
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: var(--neutral-white);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-links h4 {
    color: var(--neutral-white);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gold);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-links {
    margin-top: 0.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.legal-links a:hover {
    color: var(--primary-gold);
}

.footer-credits {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-credits strong {
    color: var(--primary-gold);
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.float-text {
    position: absolute;
    right: 70px;
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-normal);
    pointer-events: none;
}

.whatsapp-float:hover .float-text {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 53px;
    width: 50px;
    height: 50px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    box-shadow: var(--shadow-md);
    border: none;
    outline: none;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-gold-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.scroll-to-top i {
    animation: bounce 2s infinite;
}

/* ===== VALIDATION STYLES ===== */
.valid { 
    border-color: #28a745 !important; 
}

.invalid { 
    border-color: #dc3545 !important; 
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* ===== ANIMATION STYLES ===== */
.vehicle-card, .feature-card, .service-card, .pricing-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.vehicle-card.animated,
.feature-card.animated,
.service-card.animated,
.pricing-card.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GALERI HERO DENGAN BACKGROUND GAMBAR ===== */
.gallery-hero {
    position: relative;
    padding: calc(80px + var(--space-xxl)) 0 var(--space-xxl);
    color: var(--neutral-white);
    text-align: center;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.gallery-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/foto1.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: brightness(0.7);
}

.gallery-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(26, 26, 26, 0.8) 0%,
                rgba(212, 175, 55, 0.3) 100%);
    z-index: 2;
}

.gallery-hero .container {
    position: relative;
    z-index: 3;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    color: var(--neutral-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

.gallery-hero > p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s both;
    line-height: 1.6;
}

.gallery-hero .hero-tagline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    animation: fadeInUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
}

.gallery-hero .hero-tagline p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--neutral-white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.gallery-hero .hero-tagline p:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-hero .hero-tagline p i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

/* Animasi untuk gallery hero */
@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);
    }
}

/* ===== GALERI STYLES ===== */
.gallery-section {
    padding: var(--space-xxl) 0;
    background: var(--neutral-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    padding: 0 var(--space-sm);
}

.gallery-filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--neutral-white);
    border: 2px solid var(--neutral-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-filter-btn.active,
.gallery-filter-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
    border-color: var(--primary-gold);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--neutral-white);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: var(--space-md);
    transform: translateY(100%);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.gallery-date {
    font-size: 0.8rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gallery-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: var(--space-xxl) 0;
}

.gallery-empty i {
    font-size: 4rem;
    color: var(--neutral-gray);
    margin-bottom: var(--space-md);
}

.gallery-empty h3 {
    margin-bottom: var(--space-sm);
    color: var(--neutral-dark);
}

.gallery-empty p {
    color: var(--neutral-gray);
    max-width: 400px;
    margin: 0 auto;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    max-height: 700px;
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--gradient-dark);
    color: var(--neutral-white);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}

.modal-header h3 {
    color: var(--neutral-white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-controls {
    display: flex;
    gap: 0.5rem;
}

.modal-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: var(--neutral-white);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

.modal-close:hover {
    background: var(--accent-danger);
}

.modal-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.modal-image-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.zoom-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: var(--neutral-white);
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.modal-sidebar {
    width: 300px;
    padding: 1.5rem;
    background: var(--neutral-white);
    border-left: 1px solid var(--neutral-light);
    overflow-y: auto;
    flex-shrink: 0;
}

.modal-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.modal-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-light);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-item i {
    color: var(--primary-gold);
    font-size: 0.9rem;
}

.meta-item span {
    font-size: 0.9rem;
    color: var(--neutral-gray);
}

.modal-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--neutral-dark);
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-gold);
}

/* ===== PERBAIKAN RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-slideshow {
        height: 400px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scroll-to-top {
        bottom: 90px;
        right: 25px;
    }
    
    .vehicle-content {
        min-height: 300px;
    }
    
    .vehicle-details {
        min-height: 160px;
    }
    
    .spec-item {
        min-height: 70px;
        padding: 0.6rem;
    }
    
    .gallery-hero {
        min-height: 350px;
    }
    
    .gallery-hero h1 {
        font-size: 3rem;
    }
    
    .gallery-hero > p {
        font-size: 1.2rem;
        max-width: 600px;
    }
    
    .gallery-hero .hero-tagline {
        gap: var(--space-lg);
    }
    
    .gallery-hero .hero-tagline p {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: var(--neutral-white);
        width: 100%;
        padding: var(--space-xl);
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .hero-slideshow {
        height: 350px;
    }
    
    .slide-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .fleet-filters {
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin: 0 -1rem 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .whatsapp-float {
        bottom: 25px;
        right: 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .fleet-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .vehicle-content {
        min-height: 320px;
    }
    
    .vehicle-details {
        min-height: 170px;
    }
    
    .vehicle-specs {
        gap: 0.5rem;
    }
    
    .spec-item {
        min-height: 70px;
        padding: 0.5rem;
    }
    
    .spec-icon {
        font-size: 1.1rem;
    }
    
    .spec-text {
        font-size: 0.8rem;
    }
    
    .vehicle-pricing {
        min-height: 90px;
    }
    
    .price-option {
        padding: 0.6rem;
    }
    
    .gallery-modal {
        width: 95%;
        height: 90vh;
        flex-direction: column;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-sidebar {
        width: 100%;
        max-height: 40%;
        border-left: none;
        border-top: 1px solid var(--neutral-light);
    }
    
    .modal-image-container {
        height: 60%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-hero {
        min-height: 300px;
        padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
    }
    
    .gallery-hero h1 {
        font-size: 2.5rem;
        margin-bottom: var(--space-sm);
    }
    
    .gallery-hero > p {
        font-size: 1.1rem;
        margin-bottom: var(--space-lg);
        padding: 0 var(--space-sm);
    }
    
    .gallery-hero .hero-tagline {
        flex-direction: column;
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }
    
    .gallery-hero .hero-tagline p {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-slideshow {
        height: 300px;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        bottom: var(--space-lg);
        right: var(--space-lg);
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .scroll-to-top {
        bottom: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .map-container iframe {
        height: 250px;
    }
    
    .vehicle-content {
        min-height: 300px;
        padding: var(--space-md);
    }
    
    .vehicle-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .vehicle-header h3 {
        min-height: auto;
    }
    
    .vehicle-category {
        margin-left: 0;
    }
    
    .vehicle-details {
        min-height: 160px;
    }
    
    .spec-item {
        min-height: 65px;
        padding: 0.4rem;
    }
    
    .vehicle-pricing {
        min-height: 85px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .gallery-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .gallery-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .gallery-hero {
        min-height: 280px;
    }
    
    .gallery-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-hero > p {
        font-size: 1rem;
    }
    
    .gallery-hero .hero-tagline p {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

/* Fallback jika gambar tidak tersedia */
.gallery-hero:has(img[src*="foto1.jpeg"])::before {
    background-image: url('https://images.unsplash.com/photo-1549399542-7e3f8b79c341?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
}

/* Optional: Menambahkan efek parallax pada desktop */
@media (min-width: 769px) {
    .gallery-hero {
        background-attachment: fixed;
    }
}