/* Contact Page Styles */

/* Hero Section */
#contact-hero {
    background-color: #13001A;
}

#contact-hero-container {
    position: relative;
}

#contact-hero-bg-desktop {
    background-image: linear-gradient(90deg, rgb(0 0 0 / 54%) 31%, rgb(0 0 0 / 0%) 100%), url('../images/contact/contact-hero-bg-548e77.jpg');
    background-size: 88%;
    background-position: left;
    background-repeat: no-repeat;
    transform: scaleX(-1);
    background-color: #000;
}

#contact-hero-content {
    padding-bottom: 20px;
}

#contact-hero-title {
    font-size: 60px;
}

#contact-hero-bg-mobile {
    background-image: url(../images/contact/contact-hero-bg-mobile.jpg);
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #contact-hero {
        height: auto;
    }
    
    #contact-hero-container {
        height: auto;
        min-height: 400px;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    #contact-hero-title {
        font-size: 40px;
    }
    .primary-cta-btn[type="submit"]{
        display: flex;
    }
}

/* Form Section */
#contact-form {
    background-color: #0C1717;
}

#contact-form-container {
    max-width: 1440px;
}

/* Tab Buttons */
#contact-tabs {
    display: flex;
    flex-wrap: wrap;
}

.contact-tab-btn {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 20px;
    font-family: 'Galano Grotesque', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    color: #FEF9F4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-tab-btn:hover {
    background-color: rgba(0, 150, 136, 0.1);
}

.contact-tab-btn.active {
    background-color: #009688;
    border-color: #009688;
}

@media (max-width: 768px) {
    .contact-tab-btn {
        font-size: 20px;
        padding: 16px;
        flex: 1;
    }
}

/* Form Fields */
#contact-form-fields {
    width: 100%;
}

.contact-field {
    display: flex;
    flex-direction: column;
}

.contact-input,
.contact-select,
.contact-textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(171, 235, 240, 0.3);
    padding: 24px;
    font-family: 'Galano Grotesque', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #D7D7D7;
    opacity: 0.8;
    outline: none;
    transition: all 0.3s ease;
}

.contact-input::placeholder,
.contact-select option:first-child,
.contact-textarea::placeholder {
    color: #D7D7D7;
    opacity: 0.8;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    border-bottom-color: rgba(171, 235, 240, 0.6);
    opacity: 1;
}

/* Select Dropdown Styling */
.contact-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L4 3L7 1' stroke='%23FEF9F4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    padding-right: 50px;
    cursor: pointer;
}

.contact-select option {
    background-color: #0C1717;
    color: #FEF9F4;
    padding: 10px;
}

/* Textarea */
.contact-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Galano Grotesque', sans-serif;
}

/* Rows */
#contact-row-1,
#contact-row-2,
#contact-row-3,
#contact-row-4,
#contact-row-5 {
    width: 100%;
}

@media (max-width: 1024px) {
    #contact-row-1,
    #contact-row-2,
    #contact-row-3,
    #contact-row-4 {
        flex-direction: column;
    }
    
    .contact-input,
    .contact-select,
    .contact-textarea {
        font-size: 18px;
        padding: 20px;
    }
}

/* Submit Button */
#contact-submit-wrapper {
    margin-top: 20px;
}

#contact-submit-btn {
    background-color: #009688;
    border: none;
    border-radius: 30px;
    padding: 8px 20px;
    font-family: 'Iosevka', monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #FEF9F4;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

#contact-submit-btn:hover {
    background-color: #00796b;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #contact-submit-wrapper {
        width: 100%;
    }
    
    #contact-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Divider Section */
#contact-divider {
    background-color: #13001A;
}

#contact-divider-container {
    padding-top: 0;
    padding-bottom: 0;
}

#contact-divider-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #contact-form-container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Form Validation Styles */
.contact-input.error,
.contact-select.error,
.contact-textarea.error {
    border-color: #FF5252 !important;
    background-color: rgba(255, 82, 82, 0.05) !important;
}

.contact-input.error:focus,
.contact-select.error:focus,
.contact-textarea.error:focus {
    border-color: #FF5252 !important;
    box-shadow: 0 0 0 2px rgba(255, 82, 82, 0.1);
}

/* Form Messages */
.form-error-message,
.form-success-message {
    animation: slideIn 0.3s ease-out;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit button disabled state */
button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Mobile: Force all GSAP animations to be visible */
@media (max-width: 767px) {
    .gsap-fade-up,
    .gsap-fade-right,
    .gsap-fade-left,
    .gsap-zoom-in,
    .gsap-text-reveal {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }
}
