:root {
  --main-bg-color: #212529;
  --accent-color: #7030A0;
  --button-hover-color: #551e80;
  --text-color: #eee;
  --footer-cont-color: #ABABAB;

  --font-family: 'Helvetica', sans-serif;
  --font-family-form: 'Calibri', sans-serif;

  --social-icon-size: 35px;

  --color-rosa: #C04F8A;
  --color-azul: #00B0F0;
  --color-fondo-form: rgba(226, 226, 220, 0.5);
  --color-fondo-form-alt: rgba(197, 197, 193, 0.4);

  --color-hover-btn: #049fd8;

  --shadow: 0 0 10px rgba(0,0,0,0.2);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
    margin: 0;
    font-family: var(--font-family);
}

.navbar {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-bg-color);
    padding: 0 40px;
    position: relative;
}

.logo {
    width: 150px;
    height: 90px;
    cursor: pointer;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.nav-links li a:hover {
    color: var(--text-color);
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #cf1d94,
        0 0 20px #cf1d94;
}

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    font-size: 2em;
    color: var(--text-color);
    cursor: pointer;
}

.fondo {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/bg/fondo-inicio.webp') center / cover no-repeat;
}

.fondo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 20px;
}

.content h2 {
    font-weight: 900;
    color: white;
    font-size: 28px;
    padding: 0 20px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    margin-bottom: 25px;
}

.btn-cita {
    background-color: var(--accent-color);
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cita:hover {
    background-color: var(--button-hover-color);
    transform: scale(1.05);
}

#footer {
    background-color: var(--main-bg-color);
    color: white;
    padding: 40px 20px;
    box-shadow: 0px 0px 2px gray;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-left, .footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.footer-left h3,
.footer-right h3 {
    background-color: var(--color-fondo-form);
    width: 300px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3), 0 0 12px rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 wheat;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-social-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.footer-social a {
    color: var(--text-color);
    font-size: 1.3rem;
    padding: 10px;
    border-radius: 50%;
    transition: transform 0.3s, color 0.3s, background-color 0.3s;
    width: var(--social-icon-size);
    height: var(--social-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    transform: scale(1.2);
    background-color: var(--accent-color);
    color: var(--icon-hover-color);
}

.footer-ubi-text {
    color: white;
    font-size: 14px;
    font-weight: 600;
    max-width: 300px;
    margin-top: 0;
    text-align: center;
    margin-bottom: 20px;
}

.footer-ubi-icon {
    display: flex;
    justify-content: center;
}

.footer-ubi-icon a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    transition: background-color 0.3s, transform 0.3s;
    background-color: white;
}

.footer-ubi-icon a i {
    color: black;
    font-size: 1.5rem;
}

.footer-ubi-icon a:hover {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.footer-ubi-icon a:hover i {
    color: #c01616;
}

@media (max-width: 768px) {

    .navbar {
        height: auto;
        flex-wrap: wrap;
        padding: 0;
    }

    .logo {
        width: 120px;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        margin-right: 10px;
        font-size: 2em;
        color: white;
        cursor: pointer;
    }

    .nav-links {
        width: 100%;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        box-sizing: border-box;
        display: none;
        text-align: center;
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
        background-color: var(--main-bg-color);
        border-top: 1px solid rgba(255,255,255,0.2);
    }
}