/* Additional Styles for Enhanced Header Design */

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Enhanced dropdown animations */
.group:hover .group-hover\:rotate-180 {
    transform: rotate(180deg);
}

/* Improved mobile menu animations */
.mobile-menu {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Improved navigation hover effects */
nav a {
    position: relative;
}

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

nav a:hover::after {
    width: 100%;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Improved focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Enhanced prayer times display */
.prayer-time {
    transition: all 0.3s ease;
}

.prayer-time:hover {
    transform: scale(1.05);
}

/* Improved mobile responsiveness */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle.active {
        transform: rotate(90deg);
    }
}

/* Enhanced typography */
.font-amiri {
    font-feature-settings: "liga" 1, "kern" 1;
}

/* Improved shadow effects */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-custom:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Enhanced gradient backgrounds */
.gradient-aqua {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
}

/* Improved border radius */
.rounded-custom {
    border-radius: 16px;
}

/* Enhanced spacing utilities */
.space-custom {
    margin: 2rem 0;
}

/* Improved button styles */
.btn-aqua {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(13, 148, 136, 0.25);
}

.btn-aqua:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(13, 148, 136, 0.35);
}

/* Enhanced navigation styles */
.nav-link {
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(13, 148, 136, 0.1);
    color: #0d9488;
}

/* Improved mobile menu styles */
.mobile-menu-item {
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-item:hover {
    background-color: rgba(13, 148, 136, 0.1);
    transform: translateX(8px);
}

/* Enhanced dropdown styles */
.dropdown-menu {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

/* Improved accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Enhanced focus indicators */
.focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* Improved color contrast */
.text-teal-800 {
    color: #115e59;
}

.text-teal-700 {
    color: #0f766e;
}

.text-teal-600 {
    color: #0d9488;
}

.text-cyan-700 {
    color: #0e7490;
}

.text-cyan-600 {
    color: #0891b2;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}
