:root {
    --main-pink: #ae81ee;
    --lighter-pink: #FF8ACD;
    --main-yellow: #FFD700;
    --white: #FFFFFF;
    --main-font: 'Nunito', sans-serif;
    --main-font-size: 16px;
    --dark-purple: #230D41;
    --gray-light: #f0f0f0;
    --gray-medium: #bdc3c7;
    --gray-dark: #2c3e50;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--main-font);
    font-size: var(--main-font-size);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 1140px;
    margin: 0 auto;
    max-width: 95%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.pink-underline {
    color: black;
    transition: color 0.2s, text-decoration-color 0.2s;
    text-decoration: underline var(--main-pink, #ae81ee);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.pink-underline:hover {
    color: var(--main-pink, #ae81ee);
    cursor: pointer;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

header {
    width: 100%;
    border-bottom: solid 1px rgba(0, 0, 0, 0.15);
    min-height: 90px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.nav-header ul {
    display: flex;
    gap: 32px;
}

.logo-header img {
    height: 35px;
    width: auto;
    display: block;
}

.logo-header-mobile img {
    height: 35px;
}

.logo-header:hover {
    opacity: 0.8;
    cursor: pointer;
}

.header-desktop {
    display: flex;
    width: 100%;
}

.header-mobile {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 4px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}

@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    border-radius: 20px;
    padding: 30px;
    gap: 40px;
    max-width: 1000px;
    width: 90%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
}

.left-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    flex-shrink: 0;
    width: 250px;
}

.location-box {
    background-color: #e3c4ff;
    padding: 20px 25px;
    font-size: 1.7rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.diatinf-box {
    background-color: var(--gray-dark);
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.diatinf-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.right-section {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 65%;
    min-width: 300px;
}

.main-image {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 20px;
}

footer {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 40px 20px;
    font-family: var(--main-font);
    width: 100%;
    margin-top: auto;
}

.footer-container,
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1150px;
    margin: 0 auto;
    gap: 20px;
}

.footer-container {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 30px;
}

.footer-legal {
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 40px;
}

.footer-text {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #979797;
    border-radius: 50%;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    text-decoration: none;
}

.footer-social img {
    height: 18px;
    width: 18px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal p {
    margin: 0;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: text-decoration 0.2s;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    .left-section {
        width: 100%;
        align-items: center;
    }
    .right-section {
        max-width: 100%;
        min-width: unset;
    }
    .footer-container,
    .footer-legal {
        flex-direction: column;
        text-align: center;
    }
    .footer-social {
        margin-top: 20px;
    }
}

.header-desktop {
    display: flex;
}

.header-mobile {
    display: none;
}

@media (max-width: 768px) {
    .header-desktop {
        display: none;
    }
    .header-mobile {
        display: flex;
    }
}
