/* Modern Glass Effects
   Enhanced modern glass effects for both light and dark themes
   Created for Shaheer Designs
*/

/* Common glass card styles */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Enhanced service cards */
.service-card {
    overflow: hidden;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 80%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* Enhanced testimonial cards */
.testimonials_content {
    overflow: hidden;
    position: relative;
}

.testimonials_content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
    pointer-events: none;
}

/* Enhanced portfolio cards */
.portfolio-card .card-image {
    overflow: hidden;
}

.portfolio-card .image-overlay {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: all 0.4s ease;
}

.portfolio-card:hover .image-overlay {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Enhanced light/dark mode switcher */
#my_switcher {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    transition: all 0.3s ease;
}

#my_switcher:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Enhanced buttons with glass effect */
.rn-btn {
    overflow: hidden;
    position: relative;
}

.rn-btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    pointer-events: none;
}

.rn-btn:hover::before {
    top: -50%;
    left: -50%;
}

/* Enhanced form elements */
input, select, textarea {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
}