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

body {
    font-family: 'Judson', serif;
    background-color: #00303C;
    /* Dark teal background */
    color: white;
    min-height: 100vh;
    overflow-x: hidden;

    @media (max-width: 768px) {
        min-height: auto;
    }
}

.cnter {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;

    @media (max-width: 768px) {
        margin-bottom: 5rem;
        height: 100%;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;

    @media (max-width: 768px) {
        max-width: 100%;
    }
}

.event-type-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;

    @media (max-width: 768px) {
        flex-direction: column;
    }
}

/* Left Section - Event Details */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
    margin-top: 40px;
}

.logo {
    width: 16%;
    flex-shrink: 0;

    @media (max-width: 768px) {
        width: 100%;
        text-align: center;
    }
}

.logo-image {
    max-height: 100px;
    width: auto;
    filter: brightness(0) invert(1);

    /* Hace el logo blanco */
    @media (max-width: 768px) {
        max-height: 41px;
    }
}

.main-title {
    text-align: left;
    width: 80%;
    font-family: 'Judson', serif;
    font-weight: 400;
    font-style: normal;
    font-size: 80px;
    line-height: 53px;
    margin: 0;
    flex: 1;

    @media (max-width: 768px) {
        width: 80%;
        margin: 0 auto;
        text-align: center;
        font-size: 40px;
        line-height: 43px;
    }
}

.highlight {
    color: #B73B0F;
    /* Orange accent color */
}

.organizers {
    display: flex;
    align-items: flex-start;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;

    @media (max-width: 768px) {
        flex-direction: column-reverse;
    }
}

.line {
    width: 261px;
    height: 2px;
    background-color: #FFFFFF;

    @media (max-width: 768px) {
        width: 100%;
    }
}

.organizer-names {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.25em;
    text-transform: uppercase;

    @media (max-width: 768px) {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 10px;
        gap: 0;
        row-gap: 10px;
    }
}

.organizer {
    padding: 8px 12px;
    border-radius: 4px;
    white-space: nowrap;
}

.separator {
    color: #B73B0F;
    font-weight: bold;
    font-size: 18px;
}

.event-type {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 35px;
    line-height: auto;
    letter-spacing: 10px;
    color: #FFFFFF;

    @media (max-width: 768px) {
        font-size: 18px;
        text-align: center;
    }
}

.event-name {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 35px;
    line-height: 50px;
    letter-spacing: 10px;
    margin-bottom: 15px;

    @media (max-width: 768px) {
        font-size: 18px;
        text-align: center;
        letter-spacing: 5px;
    }
}

.event-line {
    width: 453px;
    height: 3px;
    background-color: #B73B0F;
    margin-bottom: 40px;

    @media (max-width: 768px) {
        width: 80%;
        margin: 40px auto;
    }
}

.event-details {
    margin-bottom: 50px;
}

.event-details-mobile {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.detail-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.detail-text-mobile {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
}

.detail-item-mobile {
    width: 50%;
    text-align: center;
}

.border-right {
    border-right: 1px solid #B73B0F;
}

.detail-item-mobile-full {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.detail-text-2-mobile {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
}

.bullet {
    color: #B73B0F;
    font-size: 55px;
    margin-right: 15px;
    font-weight: bold;
}

.detail-text {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    line-height: 30px;
    letter-spacing: 0.25em;
    color: #FFFFFF;
}

.detail-text-2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #FFFFFF;
}

.navigation-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;

    @media (max-width: 768px) {
        width: 50%;
        margin: 0 auto;
    }
}

.nav-btn {
    background-color: #B73B0F;
    color: white;
    border-radius: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 295px;
    height: 49px;
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;

    @media (max-width: 768px) {
        font-size: 13px;
    }

}

.nav-btn:hover {
    background-color: #e55a2b;
}

/* Right Section - Personal Data Form */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    @media (max-width: 768px) {
        width: 80%;
        margin: 0 auto;
    }
}

.form-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 20px;
    line-height: 50px;
    letter-spacing: 0.25em;
    color: #FFFFFF;
    margin-bottom: 35px;
    margin-top: 20px;

    @media (max-width: 768px) {
        text-align: center;
        margin-top: 35px;
        margin-bottom: 20px;
    }
}

.form-line {
    width: 100%;
    height: 3px;
    background-color: #B73B0F;
    margin-bottom: 40px;
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group .full-width {
    width: 100%;
}

.form-group input {
    width: 100%;
    height: 50px;
    top: 423px;
    left: 730px;
    opacity: 1;
    border-width: 2px;
    border-radius: 10px;
    background-color: transparent;
    border: 2px solid #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #FFFFFF;
    padding-left: 15px;

    @media (max-width: 768px) {
        font-size: 13px;
    }
}

.form-group input::placeholder {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;

    @media (max-width: 768px) {
        font-size: 13px;
    }
}

.form-group input:focus {
    border-color: #B73B0F;
}

.submit-btn {
    width: 100%;
    height: 50px;
    top: 633px;
    left: 730px;
    opacity: 1;
    border-radius: 10px;
    font-family: 'Archivo', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0.25em;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: #B73B0F;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;

    @media (max-width: 768px) {
        width: 50%;
        margin: 0 auto;
        font-size: 12px;
        line-height: 18px;
    }
}

.submit-btn:hover {
    background-color: #e55a2b;
}

.event-no-asistensia {
    font-family: 'Archivo', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    line-height: 50px;
    letter-spacing: 5%;
    color: #FFFFFF;

    h6 {
        width: 70%;
    }

    @media (max-width: 768px) {
        font-size: 18px;
        line-height: 30px;
        text-align: center;
        padding-bottom: 20px;

        h6 {
            width: 60%;
            margin: 0 auto;
        }
    }
}

.is-desktop {
    display: block;
}

.is-mobile {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .is-desktop {
        display: none;
    }

    .is-mobile {
        display: block;
    }

    .container {
        flex-direction: column;
    }

    .event-name {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .event-name {
        font-size: 20px;
    }

    .detail-text {
        font-size: 16px;
    }

    .nav-btn {
        width: 100%;
    }
}