/*
Theme Name: Horizons Theme
Theme URI: https://aartsmarttravels.com/
Author: Priyanshu
Author URI: https://aartsmarttravels.com/
Description: A custom WordPress theme migrated from React/Vite, built with Tailwind CSS and modern typography, preserving all layout, designs, and animations of the AartSmartTravels app.
Version: 1.0.0
Text Domain: horizons-theme
*/

/* Custom reveal-on-scroll animations matching Framer Motion transitions */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered letter-by-letter fade-in for Hero title */
.reveal-letter {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: calc(var(--letter-index) * 0.07s + 0.15s);
}

.reveal-letter.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion transition utility */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* Helper transitions */
.chevron-icon {
    transition: transform 0.2s ease-in-out;
}