/* MOD40 - Minimal custom styles (Tailwind handles the rest) */

:root {
    --color-accent: #e87722;
    --color-accent-hover: #f59542;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Hero construction blueprint grid — fine + coarse lines */
.hero-blueprint {
    background-image:
        linear-gradient(rgba(160, 190, 220, 0.18) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 190, 220, 0.18) 1px, transparent 1px),
        linear-gradient(rgba(160, 190, 220, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(160, 190, 220, 0.06) 1px, transparent 1px);
    background-size: 120px 120px, 120px 120px, 30px 30px, 30px 30px;
}

/* Hero diagonal scaffold cross-bracing */
.hero-construction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(135deg, rgba(160, 190, 220, 0.10) 25%, transparent 25%),
        linear-gradient(225deg, rgba(160, 190, 220, 0.10) 25%, transparent 25%);
    background-size: 120px 120px;
    pointer-events: none;
}

/* FAQ accordion transition — Tailwind can't do max-height transitions */
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* FAQ icon rotation when active */
.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

/* Mobile menu transition */
.mobile-nav {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Hamburger animation */
.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero abstract floating animation */
.hero-float {
    animation: heroFloat 8s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
}

/* Hero pulse animation */
.hero-pulse {
    animation: heroPulse 4s ease-in-out infinite, heroFloat 8s ease-in-out infinite;
}

@keyframes heroPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Hero shape base */
.hero-shape {
    position: absolute;
    transition: transform 0.3s ease-out;
}
