@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* --- Variabel Warna & Global --- */
:root {
    --primary-color: #1abc9c; /* Warna hijau toska */
    --dark-color: #2c3e50;    /* Warna biru gelap */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #16a085;
    border-color: #16a085;
    transform: translateY(-2px); /* Efek tombol terangkat */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.text-primary {
    color: var(--primary-color) !important;
}


/* --- Navbar --- */
.navbar {
    background-color: var(--dark-color) !important;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 8px;
}


/* --- Jumbotron Style --- */
.jumbotron-header {
    position: relative;
    padding: 8rem 2rem;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
}

.jumbotron-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay gelap */
    display: flex;
    align-items: center;
    justify-content: center;
}

.jumbotron-header .display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.jumbotron-header .lead {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}


/* --- Card Destinasi (Index) --- */
.destinasi-card {
    border-radius: 15px; /* Sudut tumpul */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destinasi-card:hover {
    transform: translateY(-10px); /* Efek terangkat */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.destinasi-card .card-img-top {
    height: 200px;
    object-fit: cover; /* Memastikan gambar pas */
}

.destinasi-card .card-title {
    font-weight: 700;
    color: #34495e;
}

.destinasi-card .card-text {
    flex-grow: 1; /* Mendorong harga dan tombol ke bawah */
}


/* --- Halaman Form (Login & Register) --- */
.form-container-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.form-container-card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

.input-group .btn[data-bs-toggle="password"] {
    border-left: 0;
    border-color: #ced4da;
    color: #6c757d;
}


/* --- Halaman Profile User --- */
.profile-card {
    background: var(--dark-color);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

.profile-card i {
    color: var(--primary-color);
}

.order-history-table thead {
    background-color: #f8f9fa;
    font-weight: bold;
}


/* --- Badge Status Pesanan --- */
.badge.status-pending { background-color: #f39c12 !important; }
.badge.status-success { background-color: var(--primary-color) !important; }
.badge.status-failed { background-color: #e74c3c !important; }


/* --- Halaman Keranjang & Checkout --- */
.table thead {
    background-color: #f8f9fa;
}

.summary-card {
    border: 2px dashed var(--primary-color);
    background-color: #fdfdfd;
    border-radius: 10px;
}