@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Roboto", sans-serif;
}

:root {
    --main-color: #141414;
    --color-text-primary: #ececfc;
    --color-text-secundary: #a1a0a0;
    --color-button: #193b68;
    --color-hover: #050e70;
    --color-text-primary1: #03162F;
    --color-secundary2: #AB29CA;
    --color-text-third: #485663;
    --main-color1: #ececfc;
    --lowText_font_size: 16px;
    --text-size-title: 40px;
    --text-tittle_card: 24px;
    --text-tittle_cardv2: 20px;
    --text-paragraph: 16px;
    --box-shadow-primary: 0px 6px 50px -20px rgba(20, 111, 224, 0.7);
}

/* Body */
body {
    background: linear-gradient(90deg, #141414, #141414 40%, #1A1A2E 100%, #003de4 100%);
    background-attachment: fixed;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: #141414;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.container-header {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    width: 70px;
    border: 2px solid var(--color-text-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0 20px;
}

.nav-menu li {
    margin: 0 16px;
}

.nav-menu a {
    color: var(--color-text-primary);
    font-size: var(--lowText_font_size);
    text-decoration: none;
}

.nav-menu a:hover {
    color: var(--color-hover);
    transition: all 0.3s ease;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.arrow {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown.active .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(90deg, #141414, #141414 40%, #1A1A2E 100%, #003de4 100%);
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--color-text-primary);
    transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.btn_quote {
    padding: 8px 40px;
    color: #0af;
    border: 2px solid var(--color-button);
    border-radius: 8px;
    font-weight: 500;
    margin: 0 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn_quote:hover {
    color: white;
    background: var(--color-hover);
}

.socialMedia a {
    margin: 0 4px;
    text-decoration: none;
}

.socialMedia img {
    width: 30px;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: var(--color-text-primary);
    background: none;
    border: none;
    cursor: pointer;
}

/* Botón de cambio de tema */
.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-primary);
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.2);
}

/* Tema claro */
body.light-theme {
    background: linear-gradient(150deg, #f0f0f0, #7da4ba 40%, #e0e0e0 100%, #d57878 100%);
    color: #1a1a1a;
}

body.light-theme header {
    background: #7da4ba;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

body.light-theme .navbar {
    background: #7da4ba;
}

body.light-theme .nav-menu a {
    color: #1a1a1a;
}

body.light-theme .nav-menu a:hover {
    color: var(--color-hover);
}

body.light-theme .btn_quote {
    color: #1a1a1a;
    border: 2px solid var(--color-button);
}

body.light-theme .btn_quote:hover {
    color: #ffffff;
    background: var(--color-hover);
}

body.light-theme .dropdown-menu {
    background: #7da4ba;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-menu li a {
    color: #1a1a1a;
}

body.light-theme .dropdown-menu li a:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-theme .theme-toggle {
    color: #1a1a1a;
}

w
body.light-theme .container::after {
    background: #666666;
}

body.light-theme .evento::after {
    background: #1a1a1a;
    border: 2px solid #005b96;
}

body.light-theme .foto {
    border: 3px solid #333333;
}

body.light-theme .foto::after {
    border-left: 20px solid #333333;
}

body.light-theme .evento:nth-child(even) .foto::after {
    border-right: 20px solid #333333;
}

/* Main */
main {
    padding-top: 80px;
    flex: 1;
}

.container-wel {
    margin-top: 50px;
    text-align: center;
}

.text-wel h1 {
    font-size: var(--text-size-title);
    color: var(--color-text-primary);
}

.text-wel h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    color: #0af;
    font-size: 50px;
}

.text-wel p {
    color: var(--color-text-secundary);
    font-size: var(--lowText_font_size);
    max-width: 600px;
    margin: 0 auto;
}

.img-l {
    padding-top: 50px;
}

.img-l img {
    height: 250px;
    width: 250px;
    border-radius: 50%;
    border: solid;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 35vh;
}

.hero h3 {
    font-size: var(--text-size-title);
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

.container::after {
    content: "";
    width: 2px;
    height: 100%;
    background: rgb(23, 45, 78);
    position: absolute;
    top: 0;
    left: calc(50% - 1px);
    z-index: 1;
}

.evento {
    display: flex;
    justify-content: space-between;
    margin-bottom: 70px;
    position: relative;
}

.evento h5 {
    text-align: center;
    font-size: var(--lowText_font_size);
    color: var(--color-text-primary);
}

.evento::after {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 100px;
    background: #4d8cf0;
    border: 2px solid #07e8dd;
    position: absolute;
    z-index: 2;
    top: calc(50% - 9px);
    left: calc(49% - 4px);
}

.text {
    display: flex;
    align-items: center;
    justify-content: start;
    width: calc(42% + 20px);
}

.foto {
    width: 35%;
    border: 3px solid #fff;
    position: relative;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.foto::after {
    content: "";
    display: block;
    border: 20px solid transparent;
    border-left: 20px solid #fff;
    position: absolute;
    right: -50px;
    top: calc(50% - 20px);
}

.foto img {
    width: 90%;
    vertical-align: top;
}

.evento:nth-child(even) {
    flex-direction: row-reverse;
}

.evento:nth-child(even) .text {
    justify-content: end;
}

.evento:nth-child(even) .foto::after {
    content: "";
    border: 20px solid transparent;
    border-right: 20px solid #fff;
    right: initial;
    left: -50px;
}

.container-quie {
    margin: 60px auto 100px;
    text-align: center;
}

.text-quie h3 {
    font-size: var(--text-tittle_card);
    color: #0af;
}

.text-quie p {
    color: var(--color-text-secundary);
    font-size: var(--lowText_font_size);
    max-width: 600px;
    margin: 0 auto;
}

.text-quie h5 {
    color: var(--color-text-primary);
    max-width: 600px;
    margin: 30px auto;
}

.container-why {
    margin: 60px auto 100px;
    text-align: center;
}

.cover-why {
    margin-top: 1px;
}

.text-why-1 h3 {
    font-size: var(--text-tittle_card);
    color: var(--color-text-primary);
}

.text-why-1 p,
.text-why-2 p {
    color: var(--color-text-secundary);
    font-size: var(--lowText_font_size);
}

.text-why-1 p strong,
.text-why-2 p strong {
    color: var(--color-text-primary);
}

.container-uni {
    margin: 60px auto 100px;
    text-align: center;
}

.text-uni h3 {
    font-size: var(--text-tittle_card);
    color: var(--color-text-primary);
}

.text-uni ul {
    list-style: none;
}

.text-uni ul li {
    padding-bottom: 20px;
    color: var(--color-text-secundary);
}

.text-uni ul li strong {
    color: var(--color-text-primary);
}

/* Footer */
footer {
    width: 100%;
    background: #141414;
    padding: 20px 0;
    box-shadow: 0px 4px 15px rgba(0, 200, 245, 0.9);
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--color-text-primary);
}

.contact-info p {
    font-size: var(--lowText_font_size);
    color: var(--color-text-secundary);
    margin: 5px 0;
}

.contact-info p strong {
    color: var(--color-text-primary);
}

.contact-info p a {
    color: #0af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--color-hover);
}

.socialMediaFooter {
    margin: 15px 0;
}

.socialMediaFooter a {
    margin: 0 10px;
    text-decoration: none;
}

.socialMediaFooter img {
    width: 50px;
}

.copyright {
    font-size: 14px;
    color: var(--color-text-secundary);
}

/* Botón de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-btn img {
    width: 70px;
    height: 70px;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 1200px) {
    .evento .text {
        width: calc(40% + 10px);
    }
    .foto {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .navbar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: #1A1A2E;
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 2000;
    }
    .navbar.active {
        right: 0;
    }
    .nav-menu {
        flex-direction: column;
        margin: 40px 0;
    }
    .nav-menu li {
        margin: 20px 0;
    }
    .btn_quote {
        margin: 20px 0;
    }
    .socialMedia {
        margin: 20px 0;
    }
    .dropdown-menu {
        position: static;
        background: none;
        box-shadow: none;
    }
    .text-wel h1 { font-size: 30px; }
    .text-wel h2 { font-size: 40px; }
    .text-wel p { font-size: 14px; }
    .hero h3 { font-size: 30px; }
    .container::after { display: none; }
    .evento { flex-direction: column; align-items: center; }
    .evento::after { display: none; }
    .evento .text { width: 100%; justify-content: center; margin-bottom: 20px; }
    .evento .foto { width: 60%; }
    .evento .foto::after { display: none; }
    .text-quie h3, .text-why-1 h3, .text-uni h3 { font-size: 20px; }
    footer p { font-size: 12px; }
    .socialMediaFooter img { width: 30px; }
}

@media (max-width: 480px) {
    .text-wel h1 { font-size: 24px; }
    .text-wel h2 { font-size: 30px; }
    .text-wel p { font-size: 12px; }
    .img-l img { width: 200px; height: 200px; }
    .hero h3 { font-size: 24px; }
    .evento .foto { width: 80%; }
    .evento h5 { font-size: 14px; }
    .contact-info p { font-size: 12px; }
    .socialMediaFooter img { width: 25px; }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}