/* === CUSTOM STYLES === */

/* Marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Scroll line animation */
@keyframes scroll-line {
    0% { top: -16px; }
    100% { top: 48px; }
}
.animate-scroll-line {
    animation: scroll-line 1.8s ease-in-out infinite;
}

/* Hero eyebrow animation */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* Hero title animation */
.hero-title-part {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}
.hero-title-part:nth-child(1) { animation-delay: 0.5s; }
.hero-title-part:nth-child(2) { animation-delay: 0.65s; }
.hero-title-part:nth-child(3) { animation-delay: 0.8s; }

/* Hero paragraph */
.hero-paragraph {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

/* Hero buttons */
.hero-buttons {
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 1.15s;
    opacity: 0;
}

/* Mobile menu */
.mobile-menu-open #mobile-menu {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu-open #bar1 {
    transform: rotate(45deg) translate(4px, 4px);
}
.mobile-menu-open #bar2 {
    opacity: 0;
}
.mobile-menu-open #bar3 {
    transform: rotate(-45deg) translate(4px, -4px);
}
.mobile-menu-open body {
    overflow: hidden;
}

/* Mobile links animation */
.mobile-link {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(54, 77, 38, 0.08);
}
.nav-scrolled #nav-logo,
.nav-scrolled #nav-brand {
    color: #2c3e20 !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f3ed;
}
::-webkit-scrollbar-thumb {
    background: #9db882;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5c7d3e;
}

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23364d26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem !important;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #364d26;
    outline-offset: 2px;
}
</style>
