/* Reset & Variables */
:root {
    --primary-color: #0f2027; /* Deep Premium Navy */
    --secondary-color: #203a43;
    --accent-color: #d4af37; /* Luxury Gold */
    --accent-hover: #b5932a;
    --dark-color: #1a1a1a;
    --text-gray: #666;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 15px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(15, 32, 39, 0.98); /* Dark transparent bg */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
    position: relative;
}

/* Hover effect underline */
.nav-links a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-contact):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-contact {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: transform 0.3s !important;
}

.btn-contact:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--white);
}

/* Language Toggle Button */
#langToggle {
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#langToggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, rgba(15,32,39,0.9), rgba(32,58,67,0.8)), url('https://ik.imagekit.io/agb7r96tb/kargo%20bandara/kargo%20bandara%20soekarna%20hatta.webp') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    display: none; /* Handled by gradient above */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Tracking Section */
.tracking-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.tracking-box {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.05);
}

.tracking-box h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

#trackingForm {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
}

#trackingForm input {
    flex: 1;
    padding: 1.2rem;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    transition: border 0.3s;
    background: #f9f9f9;
}

#trackingForm input:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
}

#trackingForm button {
    padding: 1.2rem 2.5rem;
    background: var(--accent-color);
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

#trackingForm button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#trackingForm button:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.tracking-result {
    margin-top: 20px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Stats Section */
.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 1rem;
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 500;
}

.stat-icon {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    display: block;
}

/* Utility Classes */
.section-padding {
    padding: 6rem 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light-color);
}

/* Services Section */
.services {
    padding: 60px 0;
    background: var(--light-color);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* Features Section (Why Choose Us) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    background: transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--accent-color);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.feature-card:hover i {
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.about-img {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-img:hover img {
    transform: scale(1.02);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-bottom: 2rem;
}

.about-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--dark-color);
}

.about-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Footer */
footer {
    background: #0b161b;
    color: #aaa;
    padding: 5rem 0 2rem;
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    color: #ccc;
}

.contact-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 5px;
}

.contact-list a {
    color: #ccc;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--accent-color);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Map Container */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    height: 200px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: rgba(15, 32, 39, 0.85);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        gap: 0;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease 0.1s;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 1100;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    #trackingForm input {
        width: 100%;
    }
    
    #trackingForm button {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* --- Admin Page Styles --- */
.admin-container {
    margin-top: 100px; /* Offset fixed navbar */
    padding-bottom: 50px;
}

.admin-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.search-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 1rem;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

table th {
    background: var(--primary-color);
    color: var(--white);
}

table tr:hover {
    background-color: #f9f9f9;
}

.btn-edit, .btn-delete, .btn-print {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
    margin-right: 5px;
}

.btn-edit { background-color: #f39c12; }
.btn-delete { background-color: #e74c3c; }
.btn-print { background-color: #3498db; }

.alert {
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

/* --- Login Page Styles --- */
.login-body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-container h2 {
    color: #0f2027;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.login-container .form-group {
    text-align: left;
}

.login-container button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    background: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    transition: 0.3s;
}

.login-container button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 5px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: var(--primary-color);
    border-radius: 4px;
    transition: 0.3s;
}

.pagination a:hover, .pagination a.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* --- Tracking History Timeline --- */
.history-timeline {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.history-timeline h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.history-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    border-left: 2px solid #ddd;
}

.history-item:last-child {
    border-left: 2px solid transparent;
}

.history-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.history-content h4 { margin-bottom: 2px; font-size: 0.95rem; }
.history-content p { margin-bottom: 0; font-size: 0.9rem; color: #555; }
.history-content small { color: #888; font-size: 0.8rem; }

/* --- Admin Mobile Responsive --- */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .search-container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form {
        flex-direction: column;
    }

    .search-form input, .search-form button, .search-container a {
        width: 100%;
        margin-top: 5px;
    }

    table th, table td {
        padding: 10px;
        font-size: 0.85rem;
    }

    .btn-edit, .btn-delete, .btn-print {
        padding: 5px 8px;
        margin-bottom: 3px;
        display: inline-block;
    }
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Partners Section */
.partners-slider {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Efek Fade di Kiri dan Kanan */
.partners-slider::before,
.partners-slider::after {
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 100px;
    z-index: 2;
    top: 0;
}

.partners-slider::before { left: 0; }
.partners-slider::after { right: 0; transform: rotateZ(180deg); }

.slide-track {
    display: flex;
    width: calc(250px * 14); /* 250px lebar item * 14 total item (asli + duplikat) */
    animation: scroll 30s linear infinite;
}

.partner-item {
    width: 250px;
    padding: 0 20px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-slider:hover .partner-item {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-item img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } /* Geser sejauh lebar 7 item asli */
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #FFF;
}

/* --- Dark Mode Styles --- */

/* Class helper untuk kartu statistik (menggantikan inline style background:white) */
.stat-card {
    background: var(--white);
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    --primary-color: #1a1a1a;
    --secondary-color: #34495e;
    --light-color: #121212;
    --white: #1e1e1e;
    --dark-color: #ecf0f1;
    --text-gray: #bdc3c7;
    --shadow: 0 5px 15px rgba(0,0,0,0.5);
}

body.dark-mode .navbar {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #333;
}

body.dark-mode .admin-form,
body.dark-mode table,
body.dark-mode .stat-card,
body.dark-mode .login-container {
    border: 1px solid #333;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
    background-color: #2c2c2c;
    border-color: #444;
    color: #fff;
}

body.dark-mode table th {
    background-color: #333;
}

body.dark-mode table tr:hover {
    background-color: #2c2c2c;
}

body.dark-mode h3 {
    color: var(--dark-color) !important;
}

body.dark-mode .pagination a {
    border-color: #444;
    color: #ecf0f1;
}

/* --- Language Transition Animation --- */
[data-i18n] {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.lang-switching {
    opacity: 0 !important;
}

/* --- Contact Page Styles --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.map-section iframe {
    display: block;
    filter: grayscale(0%);
}

/* --- Gallery Page Styles --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow);
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 32, 39, 0.9), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- Lightbox Styles --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoom 0.4s;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #f1f1f1;
    padding: 20px 0;
    font-size: 1.1rem;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
    }
}

/* --- FAQ Page Styles --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fcfcfc;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-gray);
    line-height: 1.6;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* FAQ Search */
.faq-search {
    position: relative;
    margin-bottom: 30px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    padding-right: 50px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-search input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.faq-search i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

/* --- Testimonials Slider --- */
.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 5px 40px; /* Padding bawah lebih besar untuk bayangan */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Sembunyikan scrollbar Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Sembunyikan scrollbar Chrome/Safari */
}

.testimonial-card {
    flex: 0 0 350px; /* Lebar tetap kartu */
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    scroll-snap-align: center; /* Agar berhenti pas di tengah saat digeser */
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testi-content i {
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.testi-content p {
    font-style: italic;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testi-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-user h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 2px;
    font-weight: 700;
}

.testi-user span {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 85%; /* Di HP lebar kartu 85% layar agar terlihat ada kartu selanjutnya */
    }
}

/* --- Custom CSS untuk Tracking Modern (Moved from index.html) --- */

/* Efek Glassmorphism untuk Kotak Tracking */
.hero-tracking-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 700px;
    margin: 30px auto 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-tracking-box h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tracking-input-group {
    display: flex;
    gap: 10px;
}

.tracking-input-group input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tracking-input-group input:focus {
    border-color: #e67e22; /* Warna oranye sesuai tema */
    outline: none;
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.tracking-input-group button {
    padding: 15px 30px;
    background: #e67e22;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.tracking-input-group button:hover {
    background: #d35400;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .tracking-input-group {
        flex-direction: column;
    }
    .hero-tracking-box {
        padding: 20px;
        margin-top: 20px;
    }
    .tracking-input-group button {
        width: 100%;
    }
}

/* Hasil Tracking agar muncul di bawah hero jika ada */
#trackingResult {
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- Breadcrumb --- */
.breadcrumb {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.5);
    vertical-align: middle;
}

.breadcrumb .active {
    color: var(--accent-color);
    font-weight: 600;
}

/* --- Real-time Notification --- */
.realtime-notif {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    padding: 15px 20px;
    z-index: 1500;
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.5s ease;
    border: 1px solid #eee;
}

.realtime-notif.show {
    transform: translateY(0);
    opacity: 1;
}

.notif-icon {
    width: 40px;
    height: 40px;
    background: #e8f5e9; /* Light green */
    color: #4caf50; /* Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.notif-text p {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    font-size: 0.9rem;
}

.notif-text small {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* --- Hero Badge --- */
.hero-badge {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.btn-cta i {
    margin-right: 10px;
}
