/* Base Settings */
html {
    overflow-y: scroll;
}
body {
    font-family: 'Inter', 'Inter Fallback', Arial, sans-serif;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* Navbar Transparent State */
#navbar {
    background: white;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#navbar.nav-transparent {
    background: transparent;
    box-shadow: none;
}
#navbar.nav-scrolled {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
html.is-scrolled #navbar.nav-transparent { background: white; box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
html.is-scrolled #navbar.nav-transparent #logo-bg { background: #0284c7 !important; color: white !important; }
html.is-scrolled #navbar.nav-transparent #logo-text { color: #111827 !important; }
html.is-scrolled #navbar.nav-transparent #logo-sub { color: #4b5563 !important; }
html.is-scrolled #navbar.nav-transparent .nav-link { color: #374151 !important; }
html.is-scrolled #navbar.nav-transparent .nav-link:hover { color: #0284c7 !important; }
html.is-scrolled #navbar.nav-transparent #mobile-menu-btn { color: #374151 !important; }

#navbar #logo-bg {
    background: #0284c7;
    color: white;
    transition: background 0.3s ease, color 0.3s ease;
}
#navbar.nav-transparent #logo-bg {
    background: white;
    color: #0284c7;
}
#navbar #logo-text {
    color: #111827;
    transition: color 0.3s ease;
}
#navbar.nav-transparent #logo-text { color: white; }
#navbar #logo-sub {
    color: #4b5563;
    transition: color 0.3s ease;
}
#navbar.nav-transparent #logo-sub { color: rgb(240 253 250); }
#navbar .nav-link {
    color: #374151;
    transition: color 0.3s ease;
}
#navbar .nav-link:hover { color: #0284c7; }
#navbar.nav-transparent .nav-link { color: white; }
#navbar.nav-transparent .nav-link:hover { color: #f59e0b; }
#navbar #mobile-menu-btn {
    color: #374151;
    transition: color 0.3s ease;
}
#navbar.nav-transparent #mobile-menu-btn { color: white; }
#navbar.nav-transparent #mobile-menu-btn:hover { color: #374151; }

/* Hide Scrollbar */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Icon placeholder — prevents layout shift before Lucide SVGs inject */
i[data-lucide] {
    display: inline-block;
    vertical-align: middle;
    min-width: 1em;
    min-height: 1em;
}

/* Marquee Animation */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-scroll {
    animation: scroll 60s linear infinite;
}
.animate-scroll:hover {
    animation-play-state: paused;
}

/* Fade animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out forwards; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }

/* Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Hero Slider */
.hero-slide { transition: opacity 1s ease-in-out; }

/* Rich Text Typography */
.prose h2 { font-family: 'Playfair Display', serif; font-size: 1.875rem; font-weight: 700; color: #111827; margin-bottom: 1rem; margin-top: 2rem; }
.prose h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: #111827; margin-bottom: 0.75rem; margin-top: 1.5rem; }
.prose p  { margin-bottom: 1rem; line-height: 1.75; color: #4b5563; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #4b5563; }
.prose a  { color: #0284c7; text-decoration: underline; }
