/* Custom Styles for Medastra LLC */

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); /* Blue glow effect */
}

.glow-emerald {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5); /* Emerald glow effect */
}

.glow-purple {
    box-shadow: 0 0 20px rgba(147, 51, 234, 0.5); /* Purple glow effect */
}

.glow-orange {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

/* Text Shadow Effects */
.text-shadow-sm {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.text-shadow-md {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-shadow-lg {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Background Images */
.bg-software {
    background-image: url('images/software-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-events {
    background-image: url('images/events-types.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-movies {
    background-image: url('images/movie-tape.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Image Overlay */
.image-overlay {
    position: relative;
}

.image-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.image-overlay > * {
    position: relative;
    z-index: 2;
}

/* Card Hover Effects */
.card-hover {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly more transparent white */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

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

::-webkit-scrollbar-track {
    background: #1e293b;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Responsive Design Enhancements */
@media (max-width: 768px) {
    .text-shadow-lg {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    }
    
    .card-hover:hover {
        transform: translateY(-4px);
    }
}

/* Form Styling */
input, textarea, select {
    border: 1px solid #64748b;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button Enhancements */
button, .btn {
    background-color: rgba(255, 255, 255, 0.2); /* Light transparent background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 24px; /* More rounded edges */
    padding: 0.75rem 1.5rem; /* Adjust padding for better appearance */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease;
    color: #ffffff; /* White text for better contrast */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border for glass effect */
}

button:hover, .btn:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Slightly lighter on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Navigation Enhancements */
nav {
    transition: all 0.3s ease;
}

/* Logo Styling */
nav img {
    height: 64px; /* Increase height for larger logo */
    width: auto; /* Maintain aspect ratio */
    opacity: 0.8; /* Make the logo slightly transparent */
    background-color: transparent; /* Remove background color */
    transition: opacity 0.3s ease; /* Smooth transition for hover effects */
}

nav img:hover {
    opacity: 1; /* Fully visible on hover */
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error States */
.success {
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* Backdrop Blur Effects */
.backdrop-blur-lg {
    backdrop-filter: blur(20px); /* Strong blur effect */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.backdrop-blur-md {
    backdrop-filter: blur(15px); /* Moderate blur effect */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
}