/* I.C.M SHOP - Home Page Specific Styles */

/* Hero Section Enhancements */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--white), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Animated Background Elements */
.hero::before {
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Service Cards Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-card:hover::after {
    left: 100%;
}

/* Contact Cards Styling */
.contact-card {
    position: relative;
    transition: transform var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity var(--transition-normal);
    border-radius: var(--radius-2xl);
}

.contact-card:hover::before {
    opacity: 0.05;
}

/* CTA Section Enhancements */
.cta {
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

/* Logo Animation */
.logo-icon {
    transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation Enhancements */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Button Enhancements */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Service Icon Animations */
.service-icon {
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Contact Item Icons */
.contact-item svg {
    transition: all var(--transition-fast);
}

.contact-item:hover svg {
    transform: scale(1.2);
    color: var(--primary-light);
}

/* Footer Enhancements */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: var(--spacing-12) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .service-card {
        margin-bottom: var(--spacing-6);
    }
    
    .contact-card {
        margin-bottom: var(--spacing-6);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: var(--spacing-8) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .service-card,
    .contact-card {
        padding: var(--spacing-4);
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .hero::before {
        opacity: 0.1;
    }
    
    .service-card {
        background: var(--gray-800);
        border-color: var(--gray-700);
    }
    
    .contact-card {
        background: var(--gray-800);
        border-color: var(--gray-700);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .contact-card {
        border-width: 2px;
    }
    
    .btn {
        border-width: 2px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .cta::before,
    .service-card::after,
    .btn::before {
        animation: none;
    }
    
    .service-card:hover,
    .contact-card:hover,
    .logo:hover .logo-icon,
    .service-card:hover .service-icon {
        transform: none;
    }
}

/* Print Optimizations */
@media print {
    .hero {
        min-height: auto;
        padding: var(--spacing-8) 0;
    }
    
    .hero::before,
    .hero::after,
    .cta::before {
        display: none;
    }
    
    .service-card,
    .contact-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}





