/* Color Scheme */
:root {
    /* Blue theme (default) */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --secondary-50: #f8fafc;
    --secondary-100: #f1f5f9;
    --secondary-200: #e2e8f0;
    --secondary-300: #cbd5e1;
    --secondary-400: #94a3b8;
    --secondary-500: #64748b;
    --secondary-600: #475569;
    --secondary-700: #334155;
    --secondary-800: #1e293b;
    --secondary-900: #0f172a;
}

/* Example alternative theme (can be activated with a class on body) */
.theme-green {
    --primary-50: #f0fdf4;
    --primary-100: #dcfce7;
    --primary-200: #bbf7d0;
    --primary-300: #86efac;
    --primary-400: #4ade80;
    --primary-500: #22c55e;
    --primary-600: #16a34a;
    --primary-700: #15803d;
    --primary-800: #166534;
    --primary-900: #14532d;
}

/* Custom Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes floatUp {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(var(--primary-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Styles */
section {
    animation: fadeIn 0.6s ease-out;
}

/* Hero Image Animation */
.hero-image-container img {
    animation: scaleIn 1.5s ease-out;
}

/* Button Animations */
.cta-button {
    animation: pulseGlow 2s infinite;
    transition: transform 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

/* Card Hover Effects */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Animation */
#mobileMenu .menu-content {
    animation: slideInRight 0.3s ease-out;
}

/* Navigation Link Animations */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Icon Animations */
.icon-container {
    transition: transform 0.3s ease;
}

.icon-container:hover {
    transform: rotate(5deg);
}

/* Responsive Font Sizes */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

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

/* Timeline Animation */
.timeline-line {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all 1s ease-out;
}

.timeline-line.visible {
    opacity: 1;
    transform: scaleY(1);
}

.timeline-dot {
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease-out;
    z-index: 10;
}

.timeline-dot.visible {
    opacity: 1;
    transform: scale(1);
}

.timeline-content {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-out;
}

.timeline-content.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (min-width: 768px) {
    .timeline-line {
        transform-origin: top;
        margin-left: -1px;
    }
    .timeline-dot {
        margin-left: -8px;
    }
    .timeline-dot[class*="md:right-0"] {
        margin-right: -8px;
        margin-left: 0;
    }
}

/* Hamburger Menu Animation */
.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}
.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Animation */
.menu-visible {
    display: block !important;
}
.menu-visible #menuBackdrop {
    opacity: 1;
}
.menu-visible .transform {
    transform: translateX(0) !important;
}

/* Ensure menu takes full height */
#mobileMenu .flex-1 {
    min-height: calc(100vh - 72px);
}

/* Ensure header stays on top */
.z-50 {
    z-index: 50;
} 