@import 'tailwindcss';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

@theme {
    --font-sans: 'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* ==========================
   BODY
========================== */

body {
    background: linear-gradient(135deg, #f7f9fc, #eef3f8);
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* ==========================
   HERO SECTION (NEW MODERN)
========================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/hero-nekmese.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.min-vh-80 {
    min-height: 80vh;
}

.hero-text-col {
    position: relative;
    z-index: 2;
}

.hero-illustration-col {
    position: relative;
    z-index: 2;
}

.hero-illustration {
    padding: 20px;
}

.hero-icon-grid {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.hero-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 193, 7, 0.15);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFC107;
    animation: pulse-center 3s ease-in-out infinite;
}

.hero-icon-item {
    position: absolute;
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    animation: float-icon 4s ease-in-out infinite;
}

.hero-icon-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.hero-icon-2 {
    top: 25%;
    right: 0;
    animation-delay: 0.5s;
}

.hero-icon-3 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1s;
}

.hero-icon-4 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1.5s;
}

.hero-icon-5 {
    top: 25%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-center {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 20px 10px rgba(255, 193, 7, 0.1);
    }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.hero-stats-mini {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1rem;
}

/* ==========================
   SECTION PADDING
========================== */

.section-padding {
    padding: 80px 0;
}

/* ==========================
   STATISTIC CARDS (NEW MODERN)
========================== */

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(25, 135, 84, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.stat-content h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

/* ==========================
   FEATURE CARDS (NEW MODERN)
========================== */

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(25, 135, 84, 0.15);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(5deg);
    border-radius: 14px;
}

/* ==========================
   UMKM CARDS (NEW MODERN WITH IMAGE)
========================== */

.umkm-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    height: 100%;
}

.umkm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.umkm-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
}

.umkm-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.umkm-card:hover .umkm-card-img img {
    transform: scale(1.08);
}

.umkm-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(25, 135, 84, 0.3);
}

.umkm-card-category {
    position: absolute;
    top: 12px;
    left: 12px;
}

.umkm-card-body {
    padding: 20px;
}

/* ==========================
   TENTANG SECTION
========================== */

.tentang-illustration {
    position: relative;
    padding: 30px;
}

.tentang-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 350px;
    margin: 0 auto;
}

.tentang-icon-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.tentang-icon-item:hover {
    transform: scale(1.05) rotate(-3deg);
}

.tentang-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tentang-dot-1 {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 20px;
    height: 20px;
    background: rgba(25, 135, 84, 0.15);
    border-radius: 50%;
    animation: pulse-dot 3s ease-in-out infinite;
}

.tentang-dot-2 {
    position: absolute;
    bottom: 15%;
    left: 5%;
    width: 15px;
    height: 15px;
    background: rgba(255, 193, 7, 0.2);
    border-radius: 50%;
    animation: pulse-dot 3s ease-in-out infinite 1.5s;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}

/* ==========================
   CTA SECTION
========================== */

.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('/images/hero-nekmese.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==========================
   FOOTER MODERN
========================== */

.footer-modern {
    background: #212529;
    color: #adb5bd;
    position: relative;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #198754, #FFC107, #198754);
}

.footer-brand h5 {
    font-size: 1.3rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.footer-menu li a:hover {
    color: #FFC107;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-contact li i {
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social-icon:hover {
    background: #198754;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(25, 135, 84, 0.3);
}

.footer-social-icon-lg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-social-icon-lg:hover {
    background: rgba(25, 135, 84, 0.2);
    color: #198754;
    transform: translateY(-2px);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0;
}

/* ==========================
   SCROLL ANIMATIONS (AOS-like)
========================== */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .hero-icon-grid {
        width: 220px;
        height: 220px;
    }

    .hero-icon-center {
        width: 65px;
        height: 65px;
        font-size: 1.6rem;
    }

    .hero-icon-item {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .cta-section {
        padding: 70px 0;
    }

    .cta-section .display-5 {
        font-size: 2.2rem;
    }
}

@media(max-width:768px) {
    .hero-section {
        padding: 90px 0 50px;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem !important;
    }

    .hero-icon-grid {
        width: 180px;
        height: 180px;
    }

    .hero-icon-center {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .hero-icon-item {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .hero-wave svg {
        height: 50px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .section-padding .display-6 {
        font-size: 1.8rem;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.4rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .umkm-card-img {
        height: 170px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-section .display-5 {
        font-size: 1.8rem;
    }

    .footer-modern .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .tentang-icon-item {
        font-size: 2rem;
        border-radius: 18px;
    }
}

@media(max-width:576px) {
    .hero-section .display-4 {
        font-size: 1.7rem;
    }

    .hero-stats-mini {
        flex-wrap: wrap;
        gap: 10px !important;
    }

    .hero-stats-mini>div {
        flex: 1;
        min-width: 80px;
    }

    .hero-stats-mini .fs-4 {
        font-size: 1.2rem !important;
    }

    .section-padding .display-6 {
        font-size: 1.5rem;
    }

    .umkm-card-img {
        height: 150px;
    }
}

.custom-popup .leaflet-popup-content-wrapper {
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.custom-popup .leaflet-popup-content {
    margin: 0;
    width: 280px !important;
}

.umkm-popup {
    font-family: 'Poppins', sans-serif;
}

.popup-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.popup-content {
    padding: 16px;
}

.popup-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #212529;
    font-size: 1rem;
}

.popup-address {
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.custom-popup .leaflet-popup-tip {
    background: #fff;
}

.custom-popup .btn {
    border-radius: 12px;
    font-weight: 600;
    transition: .25s;
}

.custom-popup .btn:hover {
    transform: translateY(-1px);
}

/* =======================
   NAVBAR
======================= */

.navbar-modern {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(rgba(22, 100, 56, .92), rgba(22, 100, 56, .92)), url("../images/motif.jpg");
    background-size: 180px;
    background-repeat: repeat;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, .20);
}

.logo-icon {

    background: rgba(255, 255, 255, .18);

    border: 1px solid rgba(255, 255, 255, .18);

    backdrop-filter: blur(8px);

    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);

}

.navbar-brand {

    color: #fff !important;

}

.navbar-brand:hover {

    transform: scale(1.02);

}

.nav-link {

    color: rgba(255, 255, 255, .85) !important;

    font-weight: 500;

    padding: 10px 18px !important;

    border-radius: 30px;

    transition: .3s;

}

.nav-link:hover {

    background: rgba(255, 255, 255, .15);

    color: #fff !important;

}

.nav-link.active {

    background: #FFC107;

    color: #198754 !important;

    font-weight: 700;

}

.user-avatar {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: #fff;

    color: #198754;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 18px;

}

.dropdown-menu {

    min-width: 220px;

}

.dropdown-item {

    border-radius: 10px;

    transition: .3s;

}

.dropdown-item:hover {

    background: #f5f5f5;

}

.btn-warning {

    transition: .3s;

}

.btn-warning:hover {

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(255, 193, 7, .3);

}

.info-card {

    display: flex;

    gap: 15px;

    align-items: flex-start;

    padding: 18px;

    border-radius: 18px;

    background: #fff;

    border: 1px solid #e9ecef;

    transition: .3s;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .05);

}

.info-card:hover {

    transform: translateY(-5px);

    box-shadow: 0 12px 30px rgba(25, 135, 84, .15);

    border-color: #198754;

}

.info-card i {

    min-width: 45px;

}