/* ==========================================
   CAM'S AUTO DESIGN - Custom Styles
   Charte graphique: Noir + Dégradé violet/rose/bleu
   ========================================== */

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 50%, #3B82F6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #EC4899 0%, #8B5CF6 50%, #3B82F6 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-gradient:hover {
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
}

/* Navigation Links */
.nav-link {
    position: relative;
    color: #d1d5db;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #EC4899, #8B5CF6);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Background Animation */
.bg-gradient-animate {
    background: linear-gradient(
        45deg,
        #0a0a0a,
        #1a0a20,
        #0a0a1a,
        #200a1a,
        #0a0a0a
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Animated Wave Lines */
.wave-line {
    position: absolute;
    width: 200%;
    height: 200px;
    background: linear-gradient(90deg,
        transparent,
        rgba(139, 92, 246, 0.1),
        rgba(236, 72, 153, 0.2),
        rgba(59, 130, 246, 0.1),
        transparent
    );
    filter: blur(40px);
}

.wave-1 {
    top: 30%;
    left: -50%;
    transform: rotate(-5deg);
    animation: wave 20s linear infinite;
}

.wave-2 {
    top: 50%;
    left: -50%;
    transform: rotate(3deg);
    animation: wave 25s linear infinite reverse;
    opacity: 0.7;
}

.wave-3 {
    top: 70%;
    left: -50%;
    transform: rotate(-2deg);
    animation: wave 18s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% { transform: translateX(0) rotate(-5deg); }
    100% { transform: translateX(50%) rotate(-5deg); }
}

/* Logo Glow Effect */
.logo-glow {
    box-shadow:
        0 0 30px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(236, 72, 153, 0.2);
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Gallery Items */
.gallery-item {
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    border-color: rgba(139, 92, 246, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(139, 92, 246, 0.3);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Social Links */
.social-link {
    color: #9ca3af;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    transform: scale(1.2);
}

.social-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: linear-gradient(135deg, #EC4899, #8B5CF6);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
    background: rgba(255,255,255,0.08);
}

.form-input::placeholder {
    color: #6b7280;
}

/* QR Code Section */
.qr-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
}

.qr-card img {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background: rgba(139, 92, 246, 0.5);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #EC4899, #8B5CF6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #8B5CF6, #3B82F6);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .contact-card {
        padding: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }
}
