/* ===== SECTION CONTACT ROCK N ROLL ===== */

.contact-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 50%, #000 100%);
    position: relative;
    overflow: hidden;
}

/* Background animé */
.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.guitar-string {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%,
        rgba(255, 215, 0, 0.1) 50%,
        transparent 100%);
    animation: stringVibrate 3s ease-in-out infinite;
}

.guitar-string:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.guitar-string:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.guitar-string:nth-child(3) {
    left: 60%;
    animation-delay: 1s;
}

.guitar-string:nth-child(4) {
    left: 80%;
    animation-delay: 1.5s;
}

@keyframes stringVibrate {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateX(3px);
        opacity: 0.6;
    }
}

/* Container */
.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 15px;
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow: 
        0 0 10px #ffd700,
        0 0 20px #ffd700,
        0 0 30px #ffd700;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 
            0 0 10px #ffd700,
            0 0 20px #ffd700;
    }
    50% {
        text-shadow: 
            0 0 20px #ffd700,
            0 0 30px #ffd700,
            0 0 40px #ffd700;
    }
}

.contact-title i {
    font-size: 0.8em;
    animation: guitarRotate 4s ease-in-out infinite;
}

@keyframes guitarRotate {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    font-style: italic;
}

/* Contact Content */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Infos Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: linear-gradient(145deg, 
        rgba(20, 20, 40, 0.95) 0%,
        rgba(10, 10, 30, 0.98) 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: linear-gradient(45deg, 
        #ffd700, 
        #dc143c, 
        #00d9ff, 
        #ffd700);
    background-size: 300%;
    z-index: -1;
    animation: borderFlow 6s linear infinite;
    opacity: 0.6;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffd700, #dc143c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #000;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.7);
    }
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-card a,
.info-card p {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.info-card a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px #ffd700;
}

/* Formulaire */
.contact-form-wrapper {
    background: linear-gradient(145deg, 
        rgba(20, 20, 40, 0.95) 0%,
        rgba(10, 10, 30, 0.98) 100%);
    border-radius: 25px;
    padding: 45px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 25px;
    background: linear-gradient(45deg, 
        #ffd700, 
        #dc143c, 
        #00d9ff, 
        #ffd700);
    background-size: 400%;
    z-index: -1;
    animation: borderFlow 8s linear infinite;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group label i {
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Bouton Submit */
.contact-submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #ffd700, #dc143c);
    border: none;
    border-radius: 50px;
    color: #000;
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contact-submit-btn:hover::before {
    width: 400%;
    height: 400%;
}

.contact-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.contact-submit-btn:active {
    transform: translateY(-1px);
}

.btn-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent);
    border-radius: 50px;
    animation: btnGlowMove 3s linear infinite;
    pointer-events: none;
}

@keyframes btnGlowMove {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(300%) rotate(45deg);
    }
}

/* Notes musicales flottantes */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.note {
    position: absolute;
    font-size: 30px;
    color: #ffd700;
    opacity: 0;
    text-shadow: 0 0 10px #ffd700;
    animation: noteFloat 8s ease-in-out infinite;
}

.note:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
}

.note:nth-child(2) {
    left: 30%;
    animation-delay: 1.6s;
}

.note:nth-child(3) {
    left: 50%;
    animation-delay: 3.2s;
}

.note:nth-child(4) {
    left: 70%;
    animation-delay: 4.8s;
}

.note:nth-child(5) {
    left: 90%;
    animation-delay: 6.4s;
}

@keyframes noteFloat {
    0% {
        bottom: -5%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        bottom: 105%;
        opacity: 0;
        transform: translateX(30px) rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .info-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 15px;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-title {
        font-size: 2rem;
        letter-spacing: 4px;
        gap: 15px;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .info-card {
        min-width: auto;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .contact-submit-btn {
        font-size: 16px;
        padding: 16px 35px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form-wrapper {
        padding: 25px 20px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }
    
    .contact-submit-btn {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

/* Notification de succès */
.contact-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    animation: slideInRight 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-notification.error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    box-shadow: 0 10px 30px rgba(244, 67, 54, 0.4);
}

.contact-notification i {
    font-size: 24px;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}