/* ========================================
   DEPARTMENT DETAIL PAGE - GREEN THEME
   ======================================== */

/* ========== HERO SECTION ========== */
.hero-detail {
    background: linear-gradient(135deg, #90EE90 0%, #228B22 50%, #4169E1 100%);
    min-height: 500px;
    position: relative;
}

.hero-pattern-detail {
    background-image:
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 4px),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 4px);
    opacity: 0.5;
}

/* ========== ANIMATED SHAPES ========== */
.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(144, 238, 144, 0.15);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ========== INFO BOX ========== */
.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.info-box:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* ========== ICON BOX ========== */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ========== WAVE SEPARATOR ========== */
.hero-wave-detail {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave-detail svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

/* ========== ANIMATIONS ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-title {
    animation: slideUp 0.8s ease-out;
}

.animate-subtitle {
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

/* Badge Animation */
.animate-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ========== MOCKUP EFFECTS ========== */
.mockup-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(144, 238, 144, 0.2) 0%, transparent 70%);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.mockup-image {
    position: relative;
    z-index: 1;
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ========== BREADCRUMB ========== */
.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
}

.breadcrumb-custom .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ========== CARD EFFECTS ========== */
.card-hover-shadow {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hover-shadow:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 139, 34, 0.2) !important;
}

.card-hover-shadow:hover .img-zoom {
    transform: scale(1.1);
}

.img-zoom {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Card Overlay */
.card-overlay {
    background: linear-gradient(to top, rgba(34, 139, 34, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-hover-shadow:hover .card-overlay {
    opacity: 1;
}

/* ========== BUTTON EFFECTS ========== */
.btn-hover-rise {
    transition: all 0.3s ease;
}

.btn-hover-rise:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 139, 34, 0.3);
}

/* ========== CONTENT TEXT ========== */
.content-text {
    text-align: justify;
    line-height: 1.8;
}

/* ========== UTILITY CLASSES ========== */
.object-fit-cover {
    object-fit: cover;
}

/* ========== SEPARATOR ========== */
.separator {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* ========== STICKY SIDEBAR ========== */
@media (min-width: 992px) {
    .sticky-top {
        position: sticky;
        top: 20px;
        z-index: 1020;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .hero-detail {
        min-height: auto;
    }

    .shape {
        display: none;
    }

    .mockup-image {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .hero-wave-detail svg {
        height: 60px;
    }

    .info-box {
        padding: 0.75rem !important;
    }
}

/* ========== PRINT STYLES ========== */
@media print {

    .hero-detail,
    .hero-shapes,
    .hero-wave-detail,
    .btn,
    .card-overlay {
        display: none !important;
    }

    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
}
