/**
 * Landing Page Styles
 * PI Style Design System
 * For: resources/views/apps/index.blade.php
 */

/* ========================================
   Base Styles
======================================== */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8fafc;
}

.text-primary {
    color: #005596 !important;
}

.bg-primary {
    background-color: #005596 !important;
}

.bg-secondary {
    background-color: #F47920 !important;
}

/* ========================================
   Navbar Styles
======================================== */
.logo-navbar.flex.max-w-full.items-center.justify-between.px-4.nav-image {
    filter: grayscale(0) invert(0);
}

.logo-navbar {
    column-gap: 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.ud-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sticky {
    background: #fff;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.1);
}

/* Wave Navbar */
.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
}

.navbar-container {
    position: relative;
    width: 1000px;
    height: 120px;
    display: flex;
    justify-content: center;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.07)) drop-shadow(0 2px 2px rgb(0 0 0 / 0.06));
}

.navbar-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 1000px;
    height: 120px;
    pointer-events: none;
    filter: drop-shadow(0 20px 13px rgb(0 0 0 / 0.03)) drop-shadow(0 8px 5px rgb(0 0 0 / 0.08));
}

.logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-bottom: 16px;
    padding-left: 80px;
    padding-right: 80px;
}

.logo-img {
    height: 56px;
    width: auto;
}

.logo-danantara {
    height: 80px;
    width: auto;
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    background: linear-gradient(135deg, #005596 0%, #043e6b 100%);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ========================================
   Section Title
======================================== */
.section-title span {
    position: relative;
    display: inline-block;
}

.section-title span::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 3px;
    background: #F47920;
    bottom: -8px;
    left: 0;
}

/* ========================================
   Logo Styles
======================================== */
img.logo-produk {
    filter: grayscale(0);
    width: 100%;
}

.logo-footer {
    filter: brightness(0) invert(1);
}

/* ========================================
   Product Cards
======================================== */
.card-product {
    margin-bottom: 30px;
}

.card-product-inner {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-product-inner:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #005596;
    transform: translateY(-5px);
}

.card-product a:hover img.imgproduklist {
    transform: scale(1.05);
}

img.imgproduklist {
    height: 220px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 3rem;
}

/* ========================================
   Buttons
======================================== */
.btn-detail {
    background-color: transparent;
    color: #005596;
    border: 1px solid #005596;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-detail:hover {
    background-color: #005596;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 85, 150, 0.2);
}

/* ========================================
   Responsive - Tablet
======================================== */
@media (max-width: 1024px) {
    .navbar-container {
        width: 100%;
        max-width: 1000px;
    }

    .navbar-svg {
        width: 100%;
    }
}

/* ========================================
   Responsive - Mobile
======================================== */
@media (max-width: 768px) {
    .navbar-container {
        height: 90px;
    }

    .navbar-svg {
        height: 90px;
    }

    .logo-container {
        gap: 15px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
    }

    .logo-img {
        height: 35px;
    }

    .logo-danantara {
        height: 50px;
    }
}

.site-footer {
    background: linear-gradient(135deg, #005596 0%, #043e6b 100%);
    color: #fff;
    padding: 50px 0 30px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}