/* Skeuomorphism Specific Styles */

/* Card Effects */
.skeu-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 
        8px 8px 16px rgba(0, 0, 0, 0.15),
        -8px -8px 16px rgba(255, 255, 255, 0.8),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.skeu-card:hover {
    box-shadow: 
        12px 12px 24px rgba(0, 0, 0, 0.2),
        -12px -12px 24px rgba(255, 255, 255, 0.9),
        inset 3px 3px 6px rgba(255, 255, 255, 0.4),
        inset -3px -3px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Header Skeuomorphism */
.skeu-header {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Section Backgrounds */
.skeu-section {
    position: relative;
}

.skeu-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Form Skeuomorphism */
.skeu-form .form-input {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border: 2px solid transparent;
    box-shadow: 
        inset 4px 4px 8px rgba(0, 0, 0, 0.1),
        inset -4px -4px 8px rgba(255, 255, 255, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skeu-form .form-input:focus {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid #007bff;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.05),
        inset -2px -2px 4px rgba(255, 255, 255, 0.9),
        0 0 0 3px rgba(0, 123, 255, 0.15),
        0 2px 4px rgba(0, 123, 255, 0.2);
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover:before {
    left: 100%;
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Enhanced Typography */
.section-title {
    text-shadow: 
        2px 2px 4px rgba(255, 255, 255, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #333, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Enhancements */
.skeu-footer {
    background: 
        linear-gradient(145deg, #2c3e50, #34495e),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    box-shadow: 
        inset 0 4px 8px rgba(0, 0, 0, 0.2),
        0 -2px 4px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Image Enhancement */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Texture Overlays */
.hero {
    position: relative;
    background-image: 
        linear-gradient(135deg, #667eea 0%, #764ba2 100%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
}

.newsletter {
    background-image: 
        linear-gradient(135deg, #ff6b6b, #ee5a24),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px
        );
}

/* Enhanced Shadows and Depth */
.service-card,
.testimonial-card,
.blog-card,
.contact-item,
.stat-item {
    position: relative;
}

.service-card:after,
.testimonial-card:after,
.blog-card:after,
.contact-item:after,
.stat-item:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: inherit;
    pointer-events: none;
}

/* Realistic Button Press Effect */
.btn:active {
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.2),
        inset -1px -1px 2px rgba(255, 255, 255, 0.1);
}

/* Embossed Text Effect */
.hero-title,
.logo-text,
.footer-logo-text {
    text-shadow: 
        1px 1px 0px rgba(255, 255, 255, 0.3),
        2px 2px 2px rgba(0, 0, 0, 0.2);
}

/* Input Field Inner Shadow */
.form-input {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Navigation Link Enhancement */
.nav-link:hover {
    background: 
        linear-gradient(145deg, #f0f0f0, #ffffff),
        radial-gradient(circle at center, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

/* Social Link 3D Effect */
.social-link {
    position: relative;
    background: 
        linear-gradient(145deg, #007bff, #0056b3),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.1) 1px,
            rgba(255, 255, 255, 0.1) 2px
        );
}

.social-link:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    border-radius: 4px 4px 0 0;
    pointer-events: none;
}

/* Enhanced Cookie Banner */
.cookie-banner {
    background: 
        linear-gradient(145deg, #2c3e50, #34495e),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 1px,
            rgba(255, 255, 255, 0.02) 1px,
            rgba(255, 255, 255, 0.02) 2px
        );
    box-shadow: 
        0 -8px 16px rgba(0, 0, 0, 0.3),
        inset 0 2px 0 rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Enhancement */
.cookie-modal-content {
    background: 
        linear-gradient(145deg, #ffffff, #f5f5f5),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(0, 0, 0, 0.01) 20px,
            rgba(0, 0, 0, 0.01) 40px
        );
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Checkbox Styling */
input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(145deg, #f0f0f0, #ffffff);
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

input[type="checkbox"]:checked {
    background: linear-gradient(145deg, #007bff, #0056b3);
    border-color: #007bff;
}

input[type="checkbox"]:checked:after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animation Enhancements */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeu-card:hover {
    animation: none;
}

.btn:hover {
    animation: none;
}

/* Responsive Skeuomorphism Adjustments */
@media (max-width: 768px) {
    .skeu-card {
        box-shadow: 
            4px 4px 8px rgba(0, 0, 0, 0.15),
            -4px -4px 8px rgba(255, 255, 255, 0.8),
            inset 1px 1px 2px rgba(255, 255, 255, 0.3),
            inset -1px -1px 2px rgba(0, 0, 0, 0.1);
    }
}
