/* Natura template — Parkside Ricambi */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Leaf accent (natura) */
.bg-leaf-500 {
    background-color: #3d7a4a;
}
.bg-leaf-600 {
    background-color: #2f5f3a;
}
.text-leaf-500 {
    color: #3d7a4a;
}
.text-leaf-600 {
    color: #2f5f3a;
}
.border-leaf-500 {
    border-color: #3d7a4a;
}
.hover\:text-leaf-500:hover {
    color: #3d7a4a;
}
.hover\:bg-leaf-500:hover {
    background-color: #3d7a4a;
}
.hover\:bg-leaf-600:hover {
    background-color: #2f5f3a;
}
.group:hover .group-hover\:text-leaf-500 {
    color: #3d7a4a;
}
.group:hover .group-hover\:bg-leaf-500 {
    background-color: #3d7a4a;
}

/* Eyebrow / kicker above H1 on hero (high contrast vs photo) */
.hero-eyebrow {
    display: inline-block;
    background-color: #3d7a4a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    line-height: 1.3;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* Hero overlays — HTML used from-bark/* gradients but bark is not a Tailwind color, so those utilities were missing from tailwind.css */
.hero-overlay-home {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to right,
        rgba(44, 36, 25, 0.93) 0%,
        rgba(44, 36, 25, 0.78) 42%,
        rgba(44, 36, 25, 0.5) 100%
    );
}

.hero-overlay-inner {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(44, 36, 25, 0.9) 0%,
        rgba(44, 36, 25, 0.45) 50%,
        rgba(44, 36, 25, 0.08) 100%
    );
}

/* Bark / forest dark */
.bg-bark {
    background-color: #2c2419;
}
.text-bark {
    color: #2c2419;
}
.hover\:bg-bark:hover {
    background-color: #2c2419;
}
.group:hover .group-hover\:bg-bark {
    background-color: #2c2419;
}
.group:hover .group-hover\:text-white {
    color: #fff;
}

/* Sand / paper backgrounds */
.bg-sand {
    background-color: #f4f1ea;
}
.bg-sand\/50 {
    background-color: rgba(244, 241, 234, 0.5);
}
.hover\:bg-sand:hover {
    background-color: #f4f1ea;
}

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

@keyframes scrollDot {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(12px);
        opacity: 0.3;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08);
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* FAQ: closed = plus, open = minus */
.faq-icon .faq-symbol-minus {
    display: none;
}

.faq-item.active .faq-icon .faq-symbol-plus {
    display: none;
}

.faq-item.active .faq-icon .faq-symbol-minus {
    display: block;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    max-height: 560px;
    padding-bottom: 1.5rem;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #3d7a4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2f5f3a;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #3d7a4a;
    outline-offset: 2px;
}

::selection {
    background-color: #3d7a4a;
    color: #fff;
}

::-moz-selection {
    background-color: #3d7a4a;
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.nav-dropdown summary {
    list-style: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown[open] summary svg {
    transform: rotate(180deg);
}
