/* Contact Page Specific Styles */

/* Fix header overlap and background */
body {
    background-color: #000;
}

/* Header styles for contact page */
.header {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-visible {
    transform: translateY(0);
}

/* Remove padding from company section */
.company {
    padding: 0 !important;
}

/* Company map container styles */
.company-map-container {
    width: 100%;
    height: 400px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

.company-map {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 !important;
}

/* Position checker patterns below company card */
.company-checker-pattern {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    bottom: auto !important;
}

.company-checker-pattern2 {
    position: relative !important;
    z-index: 1 !important;
    margin-top: 0 !important;
    bottom: auto !important;
}

.contact-wrapper {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0 50px;
    margin-top: 100px;
}

.contact-card {
    background: #000;
    border: 20px solid #fff;
    border-bottom: none;
    border-radius: 60px 60px 0 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.container-contact {
    position: relative;
    z-index: 2;
    padding: 0;
    height: auto;
}

/* Adjust contact-content layout for two columns */
.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 30% 70% !important;
    grid-template-rows: auto !important;
    gap: 5rem !important;
    justify-items: stretch !important;
    align-items: start !important;
    padding: 2rem !important;
    height: auto;
}

.contact-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: start;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto;
    gap: 2rem;
}

/* Contact Title Styles */
.contact-title {
    font-family: 'Antonio', sans-serif;
    font-size: 100px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: white;
    margin: 0;
    text-align: left;
}

/* Contact Info Card Styles */
.contact-info-card {
    background: #000000;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 4rem;
    height: fit-content;
}

.contact-info-card h3 {
    font-family: 'Antonio', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info-card h4 {
    font-family: 'Antonio', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #f3f3f3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item strong {
    font-family: 'Antonio', sans-serif;
    font-size: 14px;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item span {
    font-size: 16px;
    color: #f3f3f3;
}

.company-summary {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.summary-item strong {
    font-family: 'Antonio', sans-serif;
    font-size: 14px;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.summary-item span {
    font-size: 16px;
    color: #f3f3f3;
    line-height: 1.4;
}

/* Contact Description Styles */
.contact-description p {
    color: #4a4a4a;
}

/* Remove bottom margin below contact-description */
.contact-description {
    margin-bottom: 0 !important;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name-group {
    flex-direction: row !important;
    gap: 2rem !important;
}

.name-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: 'Antonio', sans-serif;
    font-size: 30px;
    font-weight: 600;
    color: #f3f3f3;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 2rem 1rem;
    border: none;
    border-bottom: 1px solid transparent;
    background: transparent;
    color: #f3f3f3;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 30%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.3) 100%);
    background-size: 20px 1px;
    background-repeat: repeat-x;
    background-position: bottom;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    background: #ffffff;
    background-image: none;
    border-radius: 10px;
    color: #000000;
}

.form-group input.has-value,
.form-group select.has-value,
.form-group textarea.has-value {
    background: #ffffff;
    color: #000000;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background-image: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(243, 243, 243, 0.3);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
}

.form-group.checkbox-group .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 15px !important;
    line-height: 1.4;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #f3f3f3 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.privacy-link {
    color: #ff6b6b;
    text-decoration: underline;
}

.privacy-link:hover {
    color: #ff8a8a;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 4rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #d75447 100%);
    border: none;
    border-radius: 50px;
    color: white;
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin: 0 auto;
    width: 200px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.submit-button svg {
    transition: transform 0.3s ease;
    width: 32px !important;
    height: 32px !important;
}

.submit-button:hover svg {
    transform: translateX(5px);
}

.form-error-message {
    margin-top: 1rem;
    text-align: center;
    color: #ff6b6b;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.03em;
    min-height: 1.2em;
}

.input-error {
    border: 1px solid #ff6b6b !important;
    border-bottom: 1px solid #ff6b6b !important;
    background: rgba(255, 107, 107, 0.05) !important;
    background-image: none !important;
    border-radius: 10px;
}

.checkbox-group .input-error {
    outline: 2px solid #ff6b6b;
    border-radius: 4px;
}

/* Contact Info Display */
.contact-info-display {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 50%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-content {
    text-align: center;
    color: white;
}

.contact-info-content h3 {
    font-family: 'Antonio', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ff6b6b;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item strong {
    font-family: 'Antonio', sans-serif;
    font-size: 14px;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item span {
    font-size: 16px;
    color: #f3f3f3;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Confirm Modal Styles */
.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal {
    width: min(800px, 92vw);
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 2rem;
    color: #f3f3f3;
}

.confirm-modal h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 28px;
    margin: 0 0 1.5rem 0;
}

.confirm-content {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.confirm-row strong {
    font-family: 'Antonio', sans-serif;
    font-size: 14px;
    color: #ff6b6b;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.confirm-row span {
    font-size: 15px;
    color: #f3f3f3;
    line-height: 1.5;
    white-space: pre-wrap;
}

.confirm-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.confirm-edit,
.confirm-submit {
    padding: 0.9rem 1.6rem;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #f3f3f3;
    font-family: 'Antonio', sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-submit {
    background: linear-gradient(135deg, #ff6b6b 0%, #d75447 100%);
    border: none;
}

.confirm-edit:hover {
    background: rgba(255,255,255,0.1);
}

.confirm-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.25);
}

@media (max-width: 600px) {
    .confirm-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1250px) {
    .contact-form-section {
        padding: 0 1.5rem;
    }

    .contact-description {
        margin-bottom: 2rem;
    }

    .contact-description p {
        font-size: 16px;
    }

    .form-group label {
        font-size: 24px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.5rem 1rem;
        font-size: 16px;
    }

    .submit-button {
        padding: 1.3rem 3rem;
        font-size: 17px;
    }

    .contact-info-content h3 {
        font-size: 22px;
    }

    .contact-item {
        padding: 1rem;
    }

    .contact-item strong {
        font-size: 13px;
    }

    .contact-item span {
        font-size: 15px;
    }
}

@media (max-width: 1200px) {
    .contact-title {
        font-size: 85px;
    }
    
    .contact-content {
        gap: 3rem !important;
    }
}

@media (max-width: 1080px) {
    .form-group.name-group {
        flex-direction: column !important;
        gap: 1rem !important;
    }
}

@media (max-width: 950px) {
    .contact-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 4rem !important;
    }
    
    .contact-info-card {
        padding-right: 0;
        width: 100%;
    }
    
    .contact-form {
        width: 100%;
    }
    
    .contact-description {
        margin-bottom: 0;
    }
}

@media (max-width: 750px) {
    .contact-wrapper {
        margin-top: 65px;
        padding: 0 30px;
    }
    
    .company-card {
        border-radius: 30px 30px 0 0;
    }
    
    .contact-card {
        border-radius: 30px 30px 0 0;
    }
}

@media (max-width: 1050px) {
    .contact-title {
        font-size: 70px;
    }
    
    .contact-form-section {
        padding: 0 1rem;
    }

    .contact-description {
        margin-bottom: 0;
        padding: 0;
    }

    .contact-description p {
        font-size: 14px;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 14px;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 30%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.3) 100%);
        background-size: 15px 1px;
        background-repeat: repeat-x;
        background-position: bottom;
    }

    .submit-button {
        padding: 1.2rem 1.5rem;
        font-size: 16px;
    }

    .contact-info-content h3 {
        font-size: 20px;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-item strong {
        font-size: 12px;
    }

    .contact-item span {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .contact-wrapper {
        padding: 0;
    }
    
    .contact-content {
        padding: 1rem !important;
    }

    .contact-card {
        border: none;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 0 0.5rem;
    }

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

    .contact-description p {
        line-height: 1.3;
    }

    .contact-description {
        padding: 0;
    }

    .form-group label {
        font-size: 20px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        background-image: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 30%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.3) 70%, rgba(255, 255, 255, 0.3) 100%);
        background-size: 12px 1px;
        background-repeat: repeat-x;
        background-position: bottom;
    }

    .submit-button {
        padding: 1rem 1.2rem;
        font-size: 14px;
    }

    .form-group.checkbox-group .checkbox-label {
        font-size: 15px !important;
    }
}

@media (max-width: 380px) {
    .form-group label {
        font-size: 18px;
    }
}

/* Success Modal Styles */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.success-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.3s ease;
}

.success-modal h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.success-modal p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.success-close {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    color: #000;
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.success-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .success-modal {
        padding: 2rem;
    }

    .success-modal h2 {
        font-size: 1.5rem;
    }

    .success-modal p {
        font-size: 0.9rem;
    }

    .success-close {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}
