/* Apple-inspired color scheme and custom styles */
:root {
    --apple-blue: #007AFF;
    --apple-green: #34C759;
    --apple-indigo: #5856D6;
    --apple-orange: #FF9500;
    --apple-pink: #FF2D55;
    --apple-purple: #AF52DE;
    --apple-red: #FF3B30;
    --apple-teal: #5AC8FA;
    --apple-yellow: #FFCC00;
    --apple-gray: #8E8E93;
    --apple-gray2: #AEAEB2;
    --apple-gray3: #C7C7CC;
    --apple-gray4: #D1D1D6;
    --apple-gray5: #E5E5EA;
    --apple-gray6: #F2F2F7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

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

/* Category cards hover effect */
.category-card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

/* Icon styling */
.icon-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Resource cards for inner pages */
.resource-card {
    transition: all 0.3s ease;
    border: 1px solid var(--apple-gray5);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--apple-blue);
}

/* Button styling */
.btn-primary {
    background-color: var(--apple-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0062cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.3);
}

/* Custom header gradient */
.header-gradient {
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-indigo));
}

/* Custom section styling */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--apple-blue);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Fix for Font Awesome violin icon */
.fa-violin:before {
    content: "\f8ed"; /* This is the content code for violin icon */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    #main-nav {
        display: none; /* Hide main nav on mobile */
    }
    #mobile-menu-button {
        display: block; /* Show hamburger button on mobile */
    }
    #mobile-menu {
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }
    #mobile-menu.active {
        transform: translateX(0);
    }
}
