@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-pink: #f8d7e3;
    --white: #ffffff;
    --light-gray: #e5e5e5;
    --dark-pink: #e91e63;
    --text-dark: #333333;
    --text-light: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--white) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 90% !important;       /* Tambah !important */
    margin: 10px auto !important;/* Tengah layar */
    border-radius: 15px;
    padding: 1rem 1.5rem;
}


/* Branding */
.navbar-brand {
    font-weight: 600;
    color: var(--dark-pink) !important;
    font-size: 1.5rem;
}

/* Link menu */
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
    font-size: 0.85rem; /* tambahkan ini */
}


.nav-link:hover {
    color: var(--dark-pink) !important;
    transform: translateY(-2px);
}


/* Hero Section */
.hero {
    background: linear-gradient(rgba(248, 215, 227, 0.8), rgba(248, 215, 227, 0.8)),
                url('https://images.unsplash.com/photo-1603398938378-e54eab4466a4') center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn-primary-custom {
    background: var(--dark-pink);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #c2185b;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
    color: var(--white);
}

.btn-primary.no-anim {
    transition: none !important;
    box-shadow: none !important;
    transform: none !important;
}
.btn-primary.no-anim:hover,
.btn-primary.no-anim:focus,
.btn-primary.no-anim:active {
    background-color: #0d6efd !important; /* warna tetap */
    box-shadow: none !important;
    transform: none !important;
}

/* Cards */
.card-custom {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--light-gray);
}

.card-custom:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-custom img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.card-custom h3 {
    color: var(--dark-pink);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Section Styling */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-pink);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--dark-pink);
    border-radius: 2px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(233, 30, 99, 0.9), transparent);
    padding: 2rem 1rem 1rem;
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Table Styling */
.table-custom {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.table-custom thead {
    background: var(--primary-pink);
}

.table-custom th {
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem;
}

.table-custom td {
    padding: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

/* Form Styling */
.form-control-custom {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--dark-pink);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--white) 100%);
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer h5 {
    color: var(--dark-pink);
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--dark-pink);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    border-top-color: var(--dark-pink);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    font-size: 1rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-pink);
    border: none;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: #c2185b;
}

/* Team Card */
.team-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--primary-pink);
}

.team-card h4 {
    color: var(--dark-pink);
    margin-bottom: 0.5rem;
}

.team-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, var(--primary-pink), var(--white));
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.3);
}

.stats-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-pink);
    margin-bottom: 0.5rem;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    animation: slideIn 0.3s ease;
}

.notification.success {
    border-left: 4px solid #4caf50;
}

.notification.error {
    border-left: 4px solid #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Popup dan Tombol Chat AI */
#chatButton {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #ff4f8b;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 99999; /* Tambahkan ini supaya di atas header */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}
#chatButton:hover {
    transform: scale(1.1);
}
#chatButton img {
    width: 40px;
    height: 40px;
}

#chatPopup {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 380px;
    height: 470px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999; /* Ini penting agar tidak tertutup navbar */
}

#chatPopup iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.chat-header {
    background: linear-gradient(45deg, #ff4f8b, #ff78b9);
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.dropdown-menu-pink {
  background-color: #f3fdfde4; /* pink lembut */
  border: none;
}
.dropdown-menu-pink .dropdown-item {
  font-size: 10px;
  color: #d63384; /* teks pink tua */
}
.dropdown-menu-pink .dropdown-item:hover {
  background-color: #ffb6c1; 
  color: #fff;
}

/* === HERO CAROUSEL STYLE === */
#heroCarousel {
    position: relative;
    overflow: hidden;
}

#heroCarousel .hero {
    position: relative;
    height: 85vh;
    color: #fff;
    text-align: center;
    background-size: cover;
    background-position: center;
}

/* Overlay lembut agar teks lebih jelas */
#heroCarousel .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 60, 130, 0.35); /* pink transparan */
    z-index: 1;
}

/* Pastikan teks dan tombol di atas overlay */
#heroCarousel .container {
    position: relative;
    z-index: 2;
}

/* Judul besar */
#heroCarousel h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/* Paragraf */
#heroCarousel p {
    font-size: 1.2rem;
    color: #fdfdfd;
}

/* Tombol utama (pink solid) */
.btn-primary {
    background-color: #e91e63;
    border-color: #e91e63;
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #d81b60;
    border-color: #d81b60;
    transform: scale(1.05);
}

/* Tombol outline putih */
.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-outline-light:hover {
    background-color: #fff;
    color: #e91e63;
    transform: scale(1.05);
}

/* Kontrol carousel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 45px;
    height: 45px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #e91e63;
}

/* Responsif untuk HP */
@media (max-width: 768px) {
    #heroCarousel h1 {
        font-size: 2rem;
    }

    #heroCarousel p {
        font-size: 1rem;
    }

    #heroCarousel .btn {
        font-size: 0.9rem;
    }
}

/* ====== TABEL STYLING ====== */
.table-container {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 20px;
    overflow: hidden;
}

.table {
    border-collapse: separate;
    border-spacing: 0 10px;
}

.table thead {
    background: linear-gradient(135deg, #ffb6c1, #ffe4f2);
    color: #333;
    border-radius: 12px;
}

.table thead th {
    text-align: center;
    font-weight: 600;
    padding: 14px 10px;
    border: none;
}

.table tbody tr {
    background: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(255, 192, 203, 0.2);
}

.table tbody tr:hover {
    transform: scale(1.01);
    background: #fff5fa;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.2);
}

.table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    border-top: 1px solid #f8dfea;
    color: #444;
}

/* Pagination Styling */
.pagination .page-item .page-link {
    border-radius: 8px;
    color: #e91e63;
    border: 1px solid #f3a9c6;
    margin: 0 3px;
    transition: 0.2s;
}

.pagination .page-item.active .page-link {
    background-color: #e91e63;
    border-color: #e91e63;
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background-color: #ffe3ee;
}

/* Heading */
.section-title {
    background: linear-gradient(90deg, #e91e63, #ff80ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(255, 182, 193, 0.3);
}





