/* Ayurveda Association of British Columbia - Shared Styles */

/* Hero section typography */
.hero-title {
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.7), 1px 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Enhanced text readability for hero section */
.hero-text-enhanced {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 2px rgba(0, 0, 0, 1);
    background: rgba(0, 0, 0, 0.15);
    padding: 8px 16px;
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

/* Background patterns for homepage */
.hero-background {
    background: url('attached_assets/generated_images/Ayurvedic_practitioners_community_gathering_a1567037.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(246, 247, 246, 0.6);
    z-index: 1;
}

/* Lotus pattern overlay */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a18f6b' fill-opacity='0.03'%3E%3Cpath d='M30 30c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20zm15-15c0-11.046-8.954-20-20-20s-20 8.954-20 20 8.954 20 20 20 20-8.954 20-20z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

/* Mobile navigation styles */
.mobile-menu {
    z-index: 1000;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Ensure mobile menu only shows on mobile devices */
@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Mobile menu button visibility */
@media (max-width: 767px) {
    .mobile-menu-button {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .mobile-menu-button {
        display: none !important;
    }
}

/* Enhanced hover effects */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Loading optimization */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

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

/* Print styles */
@media print {
    .no-print { display: none !important; }
}

/* Accessibility improvements */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-sage-50 { background-color: #fff !important; }
    .text-sage-600 { color: #000 !important; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}