/* ========================================
   CONTACT.CSS - STYLES PAGE CONTACT ISYTEM
   Design cohérent avec la page home
   ======================================== */

/* ===================
   CONTACT HERO SECTION
   =================== */
.contact-hero {
    background: linear-gradient(135deg, #4230D6 0%, #6B5AE8 100%);
    padding: 140px 0 80px 0;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.contact-hero__pattern {
    position: absolute;
    opacity: 0.08;
}

.contact-hero__pattern--1 {
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FF8000 0%, transparent 70%);
    border-radius: 50%;
}

.contact-hero__pattern--2 {
    bottom: -100px;
    left: -50px;
    width: 400px;
    height: 200px;
    background: #C4A9FA;
    border-radius: 200px 200px 0 0;
}

.contact-hero__container {
    position: relative;
    z-index: 1;
}

.contact-hero__content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-hero__title {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 56px;
    color: #F8F4EC;
    margin-bottom: 24px;
    line-height: 1.15;
}

.contact-hero__text {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: #F8F4EC;
    margin-bottom: 0;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================
   CONTACT MAIN SECTION
   =================== */
.contact-main {
    padding: 96px 0;
    background: #ffffff;
}

.contact-main__content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

/* ===================
   CONTACT FORM
   =================== */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header__title {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-form-header__text {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__label {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--color-dark);
    padding: 16px;
    border: 2px solid rgba(66, 48, 214, 0.1);
    border-radius: var(--radius-sm);
    background: #ffffff;
    transition: all var(--transition-fast);
    width: 100%;
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(66, 48, 214, 0.1);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.contact-form__select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%234230D6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.contact-form__group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.contact-form__checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.contact-form__checkbox-label {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
    cursor: pointer;
}

.contact-form__submit {
    margin-top: 8px;
    width: 100%;
    justify-content: center;
}

/* ===================
   CONTACT INFO CARDS
   =================== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info__card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(66, 48, 214, 0.05);
    transition: all var(--transition-normal);
}

.contact-info__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(66, 48, 214, 0.1);
}

.contact-info__icon {
    margin-bottom: 24px;
}

.contact-info__title {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info__item {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-info__item strong {
    font-weight: 500;
    color: var(--color-dark);
}

.contact-info__link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.contact-info__link:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* ===================
   CONTACT CTA SECTION
   =================== */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(66, 48, 214, 0.05) 0%, rgba(196, 169, 250, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.contact-cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-cta__title {
    font-family: 'Baloo 2', cursive;
    font-weight: 600;
    font-size: 40px;
    color: var(--color-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-cta__text {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 32px;
    opacity: 0.8;
    line-height: 1.6;
}

.contact-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===================
   RESPONSIVE - TABLET
   =================== */
@media (max-width: 1024px) {
    .contact-hero__title {
        font-size: 48px;
    }
    
    .contact-hero__text {
        font-size: 18px;
    }
    
    .contact-main__content-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 40px;
    }
    
    .contact-form-header__title {
        font-size: 32px;
    }
    
    .contact-cta__title {
        font-size: 36px;
    }
}

/* ===================
   RESPONSIVE - MOBILE
   =================== */
@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0 60px 0;
        min-height: 40vh;
    }
    
    .contact-hero__title {
        font-size: 36px;
    }
    
    .contact-hero__text {
        font-size: 16px;
    }
    
    .contact-main {
        padding: 64px 0;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .contact-form-header__title {
        font-size: 28px;
    }
    
    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-info__card {
        padding: 24px;
    }
    
    .contact-info__title {
        font-size: 20px;
    }
    
    .contact-cta {
        padding: 64px 0;
    }
    
    .contact-cta__title {
        font-size: 32px;
    }
    
    .contact-cta__text {
        font-size: 16px;
    }
    
    .contact-cta__buttons {
        flex-direction: column;
    }
    
    .contact-cta__buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-hero__title {
        font-size: 32px;
    }
    
    .contact-form-wrapper {
        padding: 24px 16px;
    }
    
    .contact-form-header__title {
        font-size: 24px;
    }
}

