/* Tactile Industrial Brutalism — Structura Pro Custom CSS */

:root {
    --safety-orange: #FF4D00;
    --dark: #111111;
    --concrete: #F5F5F5;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.animate-modal-enter {
    animation: modalEnter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom scrollbar for modal */
#service-modal .overflow-y-auto::-webkit-scrollbar {
    width: 4px;
}
#service-modal .overflow-y-auto::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.05);
}
#service-modal .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #FF4D00;
}

/* Timeline Glow & Animation */
#timeline-progress {
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.6), 0 0 40px rgba(255, 77, 0, 0.2);
    filter: drop-shadow(0 0 10px rgba(255, 77, 0, 0.4));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    0% { transform: scale(1.1); }
    100% { transform: scale(1.2); }
}



.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slow-zoom {
    animation: slowZoom 30s ease-in-out infinite alternate;
}



.delay-200 { animation-delay: 0.2s; }

/* Text Outline Effect */
.text-outline {
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
    color: transparent;
}

/* Custom Scrollbar — Brutalist Style */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: var(--safety-orange);
    border: 3px solid var(--dark);
}

/* Concrete Grain Texture (Subtle) */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/black-linen.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* Bento Grid Structural Transitions */
.grid > div {
    transition: all 0.4s cubic-bezier(0.2, 0, 0, 1);
}

.group:hover .lucide {
    transform: translateY(-5px) scale(1.1);
    transition: transform 0.3s ease;
}

/* Header mix-blend-mode refinement */
header {
    transition: transform 0.5s ease;
}

header.hide {
    transform: translateY(-100%);
}

/* Utility: Kerning for display */
.tracking-tighter {
    letter-spacing: -0.05em;
}

/* Link Underlines */
a {
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .text-outline {
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    }
}
