/* Custom styles for Friendship Enrichment */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
    background: #d4c4a8;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c4b090;
}

/* Hero animations */
.hero-content {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-images {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

/* Program cards */
.program-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Philosophy cards */
.philosophy-card {
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.philosophy-card:hover {
    transform: translateY(-4px);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Mobile menu */
.mobile-link {
    transition: opacity 0.3s ease;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Clip diagonal for about section */
.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Focus visible styles */
:focus-visible {
    outline: 2px solid #c44528;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    nav, .hero-images, #gallery, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
