/* assets/css/style.css — Ahoat Holiday */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Instrument+Serif:ital@0;1&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Scrollbar ───────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F8FAFC; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94A3B8; }

/* ─── Typography ──────────────────────────────────── */
.font-serif-italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
}

/* ─── Utilities ───────────────────────────────────── */
.soft-shadow {
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 45px -10px rgba(0,0,0,0.12);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── WA Widget ───────────────────────────────────── */
#wa-widget-panel {
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
#wa-widget-panel.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}
#wa-widget-panel.closed {
    transform: scale(0.5);
    opacity: 0;
    pointer-events: none;
}

.anim-pulse {
    animation: customPulse 2s infinite;
}
@keyframes customPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}

/* ─── Hide Scrollbar ──────────────────────────────── */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ─── Animations ──────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-out both;
}
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out both;
}
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-600 { animation-delay: 0.6s; }

/* ─── Scroll Reveal ───────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ─── FAQ Accordion ───────────────────────────────── */
.faq-toggle .faq-chevron {
    transition: transform 0.2s ease;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

/* ─── Mobile CTA Bar ─────────────────────────────── */
#mobile-cta-bar.visible {
    transform: translateY(0);
}

/* ─── Toast ───────────────────────────────────────── */
#toast.show {
    transform: translateX(0);
}

/* ─── Prose for Blog ──────────────────────────────── */
.prose h2 { font-size: 1.5rem; font-weight: 800; margin-top: 2rem; margin-bottom: 0.75rem; color: #0F172A; }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; color: #0F172A; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.25rem; }
.prose a { color: #0EA5E9; text-decoration: underline; }
.prose a:hover { color: #0369A1; }
.prose img { border-radius: 0.75rem; margin: 1.5rem 0; }
.prose blockquote { border-left: 4px solid #F97316; padding-left: 1rem; margin: 1.5rem 0; font-style: italic; color: #475569; }
.prose strong { font-weight: 700; }
.prose hr { border-color: #E2E8F0; margin: 2rem 0; }
