/* Contact Page Header Visibility */
body:has(.contact-page-section) .header-black {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Contact Page Styles */
.contact-page-section {
    padding: 150px 0 100px 0;
    background: var(--bg-color);
    min-height: calc(100vh - 200px);
}

.contact-page-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-page-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    letter-spacing: -2px;
    line-height: 1.1;
}

.contact-page-subtitle {
    font-size: 18px;
    color: #666;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Social Media Icons */
.contact-socials {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-socials a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-socials a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.contact-page-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-page-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 0;
}

.contact-page-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-page-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-page-form .form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.contact-page-form input,
.contact-page-form textarea,
.contact-page-form select {
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--primary-color);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.contact-page-form input:focus,
.contact-page-form textarea:focus,
.contact-page-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.contact-page-form input::placeholder,
.contact-page-form textarea::placeholder {
    color: #999;
    opacity: 1;
}

.contact-page-form textarea {
    resize: vertical;
    min-height: 150px;
    font-family: 'Inter', sans-serif;
}

.contact-page-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
    cursor: pointer;
}

.contact-page-form select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 3L11 8H1z'/%3E%3C/svg%3E");
}

.contact-submit-btn {
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-submit-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
    transform: translate(2px, -2px);
}

.contact-submit-btn.is-loading {
    opacity: 0.75;
    cursor: not-allowed;
}

.form-status {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
}

.form-status.info {
    color: #444;
    background: #f7f7f7;
    border-color: #ececec;
}

.form-status.success {
    color: #0f7b3f;
    background: #e7f6ed;
    border-color: #b6e1c4;
}

.form-status.error {
    color: #b00020;
    background: #fde8ec;
    border-color: #f5c4cf;
}

/* Progress Bar Section */
.contact-progress-section {
    background: var(--bg-color);
    padding: 40px 0 60px 0;
    margin-top: 0;
    width: 100%;
}

.contact-progress-section .container {
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.progress-bar-wrapper {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-percentage {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
}

.progress-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-description {
    font-size: 14px;
    color: #666;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-page-section {
        padding: 120px 0 80px 0;
    }

    .contact-page-header {
        margin-bottom: 60px;
    }

    .contact-page-form .form-row {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 120px 0 80px 0;
    }

    .contact-page-header {
        margin-bottom: 50px;
    }

    .contact-page-title {
        font-size: clamp(36px, 10vw, 80px);
        margin-bottom: 15px;
    }

    .contact-page-subtitle {
        font-size: 16px;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .contact-socials {
        gap: 15px;
        margin-top: 20px;
    }

    .contact-socials a {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-page-content {
        padding: 0 20px;
    }

    .contact-page-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-page-form {
        gap: 25px;
        margin-bottom: 0;
    }

    .contact-progress-section {
        padding: 30px 0 40px 0;
        margin-top: 0;
    }

    .progress-bar-wrapper {
        padding: 0 20px;
    }

    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .progress-percentage {
        font-size: 20px;
    }

    .contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-page-section {
        padding: 100px 0 60px 0;
    }

    .contact-page-title {
        font-size: clamp(32px, 12vw, 60px);
    }

    .contact-socials {
        gap: 12px;
    }

    .contact-socials a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-progress-section {
        padding: 25px 0 30px 0;
    }

    .progress-bar-wrapper {
        padding: 0 15px;
    }

    .progress-label {
        font-size: 14px;
    }

    .progress-percentage {
        font-size: 18px;
    }

    .progress-description {
        font-size: 13px;
    }
}
