﻿.contacto-image {
    background-image: url('../images/top_pages/contacto.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    width: 100%;
    object-fit: cover;
    filter: brightness(50%);
}

/* Scroll fade-in effect */
.fade-in {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content layout */
.contact-content {
    padding: 4rem 2rem;
    max-width: 1500px;
    margin: 0 auto;
}

/* Title and description */
.title-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .title-description {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

/* .contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  background-color: red;
} */

.contact-description {
    flex: 1;
    font-size: 1.1rem;
    color: #555;
    opacity: 0.9;
}


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

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

    .form-group label {
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .form-group input,
    .form-group textarea {
        background: transparent;
        border: none;
        border-bottom: 1px solid #aaa;
        padding: 0.5rem 0;
        font-size: 1rem;
        color: #000;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(0, 0, 0, 0.4);
            /* font-family: 'Courier New', Courier, monospace; */
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            box-shadow: none;
        }


/* Submit button */
.submit-btn {
    align-self: flex-end;
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .submit-btn:hover {
        background: #000;
        color: #fff;
        transform: scale(1.05);
    }



@media (max-width: 768px) {


    .contact-description {
        flex: 1;
        font-size: 1.1rem;
        color: #555;
        opacity: 0.9;
        line-height: 1.6;
        text-align: justify;
        margin-top: 0.5rem;
        padding-right: 1rem;
        padding-left: 0rem;
    }
}
