/* ═══════════════════════════════════════════════════════════
   🎸 CONTACT CSS - STYLE JOHNNYROAD AVEC BLEU CYAN
   Design cohérent avec or #ffd700, bleu #00d9ff et rouge #dc143c
   ═══════════════════════════════════════════════════════════ */

/* ============================================================================
   VARIABLES CSS
   ============================================================================ */
:root {
    --primary-gold: #ffd700;
    --primary-gold-light: #ffed4e;
    --primary-blue: #00d9ff;
    --primary-red: #dc143c;
    --primary-red-dark: #8b0000;
    --purple-accent: #7c4dff;
    --bg-dark: #000000;
    --bg-gray: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-gray-dark: #888888;
    --border-color: rgba(0, 217, 255, 0.3);
    --glass-bg: rgba(10, 10, 20, 0.6);
    --glass-border: rgba(0, 217, 255, 0.3);
    --shadow-gold-blue: 0 0 20px rgba(0, 217, 255, 0.4), 0 0 10px rgba(255, 215, 0, 0.2);
    --shadow-dark: rgba(0, 0, 0, 0.4);
    --success-green: #28a745;
    --error-red: #dc3545;
}

/* ============================================================================
   RESET ET BASE
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-gray) 50%, var(--bg-dark) 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 217, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================================
   SECTION CONTACT
   ============================================================================ */
.contact-section {
    padding: 100px 0;
    background: var(--bg-dark);
    min-height: 100vh;
    position: relative;
    z-index: 3;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

/* ============================================================================
   FORMULAIRE DE CONTACT
   ============================================================================ */
.contact-form-container {
    width: 100%;
}

.contact-form {
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.05), rgba(0, 217, 255, 0.05)),
        linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 215, 0, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 15px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group .label-optional {
    color: var(--text-gray);
    font-weight: 400;
    text-transform: lowercase;
    background: none;
    -webkit-text-fill-color: var(--text-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(10, 10, 20, 0.6);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(10, 10, 20, 0.6), rgba(10, 10, 20, 0.6)),
        linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(255, 215, 0, 0.2));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 8px;
    padding: 12px;
    color: var(--text-white);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-image: 
        linear-gradient(rgba(10, 10, 20, 0.6), rgba(10, 10, 20, 0.6)),
        linear-gradient(135deg, #00d9ff, #ffd700);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: var(--text-white);
}

.char-count {
    text-align: right;
    font-size: 12px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 5px;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--text-white);
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 30px auto 0;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================================
   INFORMATIONS DE CONTACT
   ============================================================================ */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: rgba(0, 217, 255, 0.05);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.05), rgba(0, 217, 255, 0.05)),
        linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 215, 0, 0.1));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
}

.contact-info-card h3 {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 217, 255, 0.05);
    transform: translateX(5px);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: var(--shadow-gold-blue);
}

.info-content h4 {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.info-content p {
    color: var(--text-white);
    font-size: 14px;
    margin-bottom: 3px;
    line-height: 1.4;
}

.info-content span {
    color: var(--text-gray);
    font-size: 12px;
    font-style: italic;
}

/* ============================================================================
   RESPONSIVE - TABLETTES
   ============================================================================ */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-container {
        padding: 0 15px;
    }
}

/* ============================================================================
   RESPONSIVE - SMARTPHONES
   ============================================================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .contact-section {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .contact-content {
        gap: 25px;
        padding: 20px 10px;
    }
    
    .contact-form {
        padding: 20px;
        margin: 0;
    }
    
    .contact-form h3 {
        font-size: 22px;
        flex-direction: column;
        gap: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info-card {
        padding: 20px;
        text-align: center;
    }
    
    .contact-info-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .info-items-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
    
    .info-content {
        text-align: center;
    }
}

/* ============================================================================
   RESPONSIVE - ÉCRANS TRÈS PETITS
   ============================================================================ */
@media (max-width: 480px) {
    .contact-form {
        padding: 15px;
        margin: 0 5px;
    }
    
    .contact-form h3 {
        font-size: 20px;
    }
    
    .contact-info-container {
        padding: 0 5px;
    }
    
    .contact-info-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .contact-info-card h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .info-item {
        padding: 15px;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ============================================================================
   HOVER EFFECTS POUR DESKTOP
   ============================================================================ */
@media (hover: hover) {
    .contact-info-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold-blue);
        background-image: 
            linear-gradient(rgba(0, 217, 255, 0.05), rgba(0, 217, 255, 0.05)),
            linear-gradient(135deg, #00d9ff, #ffd700);
    }
    
    .info-item:hover {
        background: rgba(0, 217, 255, 0.05);
        transform: translateX(5px);
    }
}

/* ============================================================================
   ÉTATS DE FOCUS POUR L'ACCESSIBILITÉ
   ============================================================================ */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* ============================================================================
   PLACEHOLDERS
   ============================================================================ */
::placeholder {
    color: #999999;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999999;
}

::-ms-input-placeholder {
    color: #999999;
}