
/* ========================================
   GLOBAL STYLES
======================================== */

body {
    font-family: 'DM Sans', sans-serif;
    color: #f0fdf4;
    overflow-x: hidden;
}

/* Main background */
.prisma-bg {
    background-image: url("../images/agriculture.avif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ========================================
   BACKGROUND CROSSFADE
======================================== */

.background-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.background-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    will-change: opacity;
}

.background-layer.active {
    opacity: 1;
}

/* ========================================
   GLASSMORPHISM
======================================== */

.glass-container {
    background: rgba(12, 24, 19, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(52, 211, 153, 0.18);
    box-shadow:
        0 25px 60px -15px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(16, 185, 129, 0.12);
}

/* ========================================
   SERVICE BUTTONS
======================================== */

.pillar-chip {
    background: rgba(15, 28, 23, 0.7);
    border: 1px solid rgb(71 92 75);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.pillar-chip:hover,
.pillar-chip.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(52, 211, 153, 0.5);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.pillar-chip:hover {
    transform: translateY(-2px);
}

.pillar-chip:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 3px;
}

/* ========================================
   PRISMA BUTTON
======================================== */

.btn-prisma {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 25px rgba(16, 185, 129, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-prisma:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 6px 35px rgba(16, 185, 129, 0.75);
    transform: translateY(-2px) scale(1.02);
}

.btn-prisma:active {
    transform: translateY(0) scale(0.98);
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-pulseSlow {
    animation: glowPulse 5s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 640px) {
    .prisma-bg {
        background-attachment: scroll;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}