﻿/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', Arial, sans-serif;
    line-height: 1.6;
    
    background-color: #222021;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}



/* Intro Section */
.intro-section {
    background-color: #222021;
    padding: 32px 0;
    text-align: center;
}

.intro-text {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-title {
    font-size: 28px;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.intro-description {
    font-size: 18px;
    font-family: 'Lato', Arial, sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background-color: #222021;
    padding: 60px 0;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-title {
    font-size: 32px;
    font-family: 'Livvic', Arial, sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.contact-subtitle {
    font-size: 16px;
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-size: 12px;
    font-family: 'Century Gothic', Arial, sans-serif;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 18px;
    font-family: 'Livvic', Arial, sans-serif;
    font-weight: 500;
    color: #ffffff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.form-input {
    background-color: #cdbcb6;
    border-radius: 10px;
    padding: 22px;
    font-size: 16px;
    font-family: 'Inter', Arial, sans-serif;
    color: rgba(4, 0, 0, 0.8);
    width: 100%;
}

    .form-input::placeholder {
        color: rgba(4, 0, 0, 0.8);
    }

.form-textarea {
    background-color: #cdbcb6;
    border-radius: 10px;
    padding: 24px 22px 12px 22px;
    font-size: 16px;
    font-family: 'Inter', Arial, sans-serif;
    color: rgba(4, 0, 0, 0.8);
    width: 100%;
    min-height: 120px;
    resize: vertical;
}

    .form-textarea::placeholder {
        color: rgba(4, 0, 0, 0.8);
    }

.form-bottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-end;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: flex-end;
}

.captcha-text {
    font-size: 24px;
    font-family: 'Inter', Arial, sans-serif;
    color: #ffffff;
}

.captcha-input {
    background-color: #cdbcb6;
    border-radius: 10px;
    width: 80px;
    height: 48px;
    text-align: center;
    font-size: 16px;
}

.captcha-error {
    color: #f56565;
    font-size: 14px;
    font-family: 'Inter', Arial, sans-serif;
    margin-top: 4px;
    display: none;
}

.submit-button {
    background-color: #f7c35f;
    color: #1a1a1a;
    padding: 20px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-family: 'Livvic', Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

    .submit-button:hover {
        background-color: #e6b054;
        transform: translateY(-2px);
    }

/* reCAPTCHA 过渡容器 */
#recaptcha-container {
    display: none;
    margin-top: 15px;
    text-align: left;
}

/* Loading 动画 */
.recaptcha-loading {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #ffffff;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #f7c35f;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* Responsive media queries */
@media (min-width: 640px) {
    .intro-section {
        padding: 48px 0;
    }

    .intro-title {
        font-size: 32px;
    }

    .intro-description {
        font-size: 20px;
    }

    .contact-section {
        padding: 80px 0;
    }

    .contact-title {
        font-size: 40px;
    }

    .contact-subtitle {
        font-size: 18px;
    }

    .contact-value {
        font-size: 20px;
    }

    .captcha-text {
        font-size: 28px;
    }
}

@media (min-width: 768px) {
    .contact-container {
        flex-direction: row;
        gap: 60px;
    }

    .contact-info {
        flex: 1;
    }

    .contact-form {
        flex: 1;
    }

    .form-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .captcha-row {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .intro-section {
        padding: 62px 0;
    }

    .intro-title {
        font-size: 40px;
    }

    .intro-description {
        font-size: 24px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-title {
        font-size: 50px;
    }

    .captcha-text {
        font-size: 32px;
    }
}
