/* Custom Styles for Armenian Family Saturday School */

:root {
    --terracotta-50: #faf5f0;
    --terracotta-100: #f0e4d8;
    --terracotta-200: #e0c4b0;
    --terracotta-300: #d4a088;
    --terracotta-400: #c48060;
    --terracotta-500: #b56848;
    --terracotta-600: #a05538;
    --terracotta-700: #8b4528;
    --terracotta-800: #7a3c22;
    --terracotta-900: #69341c;
    
    --sand-50: #faf9f7;
    --sand-100: #f5f2ed;
    --sand-200: #e8e2d8;
    --sand-300: #d4c9b8;
    --sand-400: #c4b49a;
    --sand-500: #b8a484;
    --sand-600: #a89070;
    --sand-700: #907858;
    --sand-800: #786448;
    --sand-900: #605038;
}

/* Tailwind Config */
tailwind.config = {
    theme: {
        extend: {
            colors: {
                terracotta: {
                    50: 'var(--terracotta-50)',
                    100: 'var(--terracotta-100)',
                    200: 'var(--terracotta-200)',
                    300: 'var(--terracotta-300)',
                    400: 'var(--terracotta-400)',
                    500: 'var(--terracotta-500)',
                    600: 'var(--terracotta-600)',
                    700: 'var(--terracotta-700)',
                    800: 'var(--terracotta-800)',
                    900: 'var(--terracotta-900)',
                },
                cream: '#FAF9F6',
                stone: {
                    50: '#FAFAF9',
                    100: '#F5F5F4',
                    200: '#E7E5E4',
                    300: '#D6D3D1',
                    400: '#A8A29E',
                    500: '#78716C',
                    600: '#57534E',
                    700: '#44403C',
                    800: '#292524',
                    900: '#1C1917',
                }
            },
            fontFamily: {
                serif: ['Cormorant Garamond', 'Georgia', 'serif'],
                sans: ['Lato', 'system-ui', 'sans-serif'],
            },
        },
    },
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

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

::-webkit-scrollbar-track {
    background: var(--sand-100);
}

::-webkit-scrollbar-thumb {
    background: var(--terracotta-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--terracotta-500);
}

/* Navbar Scroll Effect */
nav.scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Button Transitions */
button, a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 40, 0.2);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print Styles */
@media print {
    nav,
    button,
    .no-print {
        display: none !important;
    }
}
