body {
    font-family: 'Inter', sans-serif;
    background-color: #f9f9f9;
    color: #1a1c1c;
}

h1, h2, h3, h4 {
    font-family: 'Hanken Grotesk', sans-serif;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 70, 47, 0.08);
}

/* Modern Dialog top-layer animations */
dialog#image-modal {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s, transform 0.3s, display 0.3s allow-discrete, overlay 0.3s allow-discrete;
    display: none;
}

dialog#image-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
}

/* Entry starting styles */
@starting-style {
    dialog#image-modal[open] {
        opacity: 0;
        transform: scale(0.95);
    }
}

dialog#image-modal::backdrop {
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: display 0.3s allow-discrete, overlay 0.3s allow-discrete, background-color 0.3s, backdrop-filter 0.3s;
}

dialog#image-modal[open]::backdrop {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
}

@starting-style {
    dialog#image-modal[open]::backdrop {
        background-color: rgba(0, 0, 0, 0);
        backdrop-filter: blur(0px);
    }
}

.equipment-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.equipment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px -10px rgba(0, 70, 47, 0.15);
}

.equipment-image-container img {
    transition: transform 0.5s ease;
}

.equipment-image-container:hover img {
    transform: scale(1.04);
}

.gradient-green-overlay {
    background: linear-gradient(180deg, rgba(0,70,47,0) 40%, rgba(0,70,47,0.95) 100%);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #00462f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003322;
}

/* Floating Quick Call Button Pulse & Ring Animation */
@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg) scale(1); }
    2%, 6%, 10%, 14% { transform: rotate(15deg) scale(1.1); }
    4%, 8%, 12% { transform: rotate(-15deg) scale(1.1); }
    16%, 20% { transform: rotate(0deg) scale(1.1); }
    24% { transform: rotate(0deg) scale(1); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.phone-ring-active {
    animation: phone-ring 3.5s infinite ease-in-out;
}

.phone-ring-pulse {
    animation: pulse-ring 2s infinite ease-out;
}

/* Service Watermark Fade Mask */
.service-watermark {
    mask-image: radial-gradient(circle at bottom right, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: radial-gradient(circle at bottom right, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 0) 80%);
}

/* Catalog Filter Buttons */
.filter-btn {
    background-color: #ffffff;
    color: #00462f;
    border: 1px solid rgba(0, 70, 47, 0.1);
    cursor: pointer;
}

.filter-btn:hover {
    background-color: rgba(0, 70, 47, 0.05);
}

.filter-btn.active {
    background-color: #00462f;
    color: #ffffff;
    border-color: #00462f;
    box-shadow: 0 4px 12px rgba(0, 70, 47, 0.15);
}

/* Card Fade In Animation */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: cardFadeIn 0.35s ease-out forwards;
}
