/* Contact Page - Kboo Design System */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --contact-pink: #FF2F63;
    --contact-pink-hover: #e82a59;
    --contact-pink-light: #FDE9EE;
    --contact-dark: #2D3540;
    --contact-text: #757575;
    --contact-light-bg: #fafafa;
    --contact-white: #FDFDFD;
    --contact-border: #E6E6E6;
}

.contact-page {
    font-family: 'Montserrat', sans-serif;
    background: #FDFDFD;
    padding-bottom: 80px;
}

/* Hero Section */
.contact-hero {
    position: relative;
    padding: 80px 24px 60px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(90deg, #E02856 100%, #FF2F63 0%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero__shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(607px, 100vw);
    height: min(607px, 100vw);
    pointer-events: none;
    opacity: 0.3;
}

.contact-hero__shape svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 16px;
}

.contact-hero__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 60px 24px 40px;
        min-height: 250px;
    }
    .contact-hero__title {
        font-size: 36px;
    }
    .contact-hero__subtitle {
        font-size: 16px;
    }
}

/* Main Body Section */
.contact-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px 0;
}

.contact-body__inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Contact Information Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Contact Info Card */
.contact-info-card {
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    box-shadow: 2px 2px 25px rgba(174, 23, 60, 0.1);
    border-radius: 15px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 2px 2px 35px rgba(174, 23, 60, 0.15);
}

.contact-info-card__icon {
    width: 70px;
    height: 70px;
    background: var(--contact-pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contact-pink);
    font-size: 28px;
    flex-shrink: 0;
}

.contact-info-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    color: var(--contact-dark);
    margin: 0;
}

.contact-info-card__desc {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: var(--contact-text);
    margin: 0;
}

.contact-info-card__link {
    color: var(--contact-pink);
    text-decoration: none;
    transition: color 0.2s;
    word-break: break-word;
}

.contact-info-card__link:hover {
    color: var(--contact-pink-hover);
    text-decoration: underline;
}

/* Social Media Section */
.contact-social-section {
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    box-shadow: 2px 2px 25px rgba(174, 23, 60, 0.1);
    border-radius: 15px;
    padding: 32px 24px;
    text-align: center;
}

.contact-social-section__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: var(--contact-dark);
    margin: 0 0 20px 0;
}

.contact-social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social-list__link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--contact-pink-light);
    border: 1px solid var(--contact-pink);
    border-radius: 50%;
    color: var(--contact-pink);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-social-list__link:hover {
    background: var(--contact-pink);
    color: var(--contact-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 47, 99, 0.3);
}

/* Contact Form Section */
.contact-form-section {
    width: 100%;
}

.contact-form-card {
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    box-shadow: 2px 2px 25px rgba(174, 23, 60, 0.1);
    border-radius: 15px;
    padding: 51px 41px 60px;
}

.contact-form-card__header {
    margin-bottom: 32px;
    text-align: center;
}

.contact-form-card__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: var(--contact-dark);
    margin: 0 0 12px 0;
}

.contact-form-card__subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--contact-text);
    margin: 0;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-form__group {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__group--half {
    flex: 0 0 calc(50% - 10px);
    min-width: 250px;
}

.contact-form__label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: var(--contact-dark);
}

.contact-form__label .required {
    color: var(--contact-pink);
    margin-left: 2px;
}

.contact-form__input,
.contact-form__textarea {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--contact-dark);
    background: var(--contact-white);
    border: 1px solid var(--contact-border);
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: var(--contact-pink);
    box-shadow: 0 0 0 3px rgba(255, 47, 99, 0.1);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: #999;
}

.contact-form__input:read-only {
    background: var(--contact-light-bg);
    cursor: not-allowed;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--contact-pink);
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: var(--contact-white);
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.contact-form__submit:hover {
    background: var(--contact-pink-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 47, 99, 0.3);
}

.contact-form__submit:active {
    transform: translateY(0);
}

.contact-form__submit i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-body {
        padding: 40px 24px 0;
    }
    
    .contact-form-card {
        padding: 40px 30px 50px;
    }
    
    .contact-form__group--half {
        flex: 1 1 100%;
    }
}

@media (max-width: 767px) {
    .contact-body {
        padding: 30px 16px 0;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-card {
        padding: 30px 24px 40px;
    }
    
    .contact-form-card__title {
        font-size: 24px;
    }
    
    .contact-form-card__subtitle {
        font-size: 14px;
    }
    
    .contact-form__row {
        gap: 16px;
    }
    
    .contact-form__group--half {
        min-width: 100%;
    }
    
    .contact-form__submit {
        max-width: 100%;
    }
}

/* Captcha Styling */
.contact-form .x-captcha {
    width: 100%;
}

.contact-form .x-captcha > * {
    width: 100%;
}

/* Error and Success Messages */
.contact-form .alert {
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

.contact-form .alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.contact-form .alert-error,
.contact-form .alert-danger {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Validation Styles */
.contact-form__input:invalid:not(:placeholder-shown),
.contact-form__textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.contact-form__input:valid:not(:placeholder-shown),
.contact-form__textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}
