/* Glassmorphism Cards */
.glassmorphism-card {
    background: rgba(11, 11, 11, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(179, 0, 27, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glassmorphism-card:hover {
    transform: translateY(-5px);
    border-color: rgba(179, 0, 27, 0.6);
    box-shadow: 0 0 30px rgba(179, 0, 27, 0.3);
}

/* Service Cards */
.service-card {
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(179, 0, 27, 0.6);
    box-shadow: 0 0 30px rgba(179, 0, 27, 0.3);
}

/* Testimonial Cards */
.testimonial-card {
    background: rgba(11, 11, 11, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: rgba(179, 0, 27, 0.3);
}

/* Gallery Items */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    filter: brightness(1.1);
}

/* Navbar Scroll Effect */
#navbar {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

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

::-webkit-scrollbar-track {
    background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
    background: #b3001b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6001f;
}

/* Form Focus States */
input:focus, textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #b3001b;
    border-color: #b3001b;
    box-shadow: 0 0 0 3px rgba(179, 0, 27, 0.1);
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Smooth animations for all interactive elements */
* {
    transition-property: transform, box-shadow, border-color, background-color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Hero section text shadow for better readability */
#hero h1, #hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Button hover effects */
button:hover, .btn:hover {
    transform: translateY(-2px);
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Section spacing consistency */
section {
    position: relative;
}

/* Enhanced mobile responsiveness */
@media (max-width: 768px) {
    .glassmorphism-card {
        margin: 0 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.25rem;
    }
}

/* High-performance GPU acceleration */
.glassmorphism-card,
.service-card,
.testimonial-card,
.gallery-item {
    will-change: transform;
    backface-visibility: hidden;
}
