@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 {
    text-decoration: none;
    margin: 0 4px;
}

.socialMedia img {
    width: 30px;
}

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

.theme-toggle {
    background: transparent;
    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; /* Texto oscuro para contraste */
}

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;
}

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

body.light-theme .contact-info p {
    color: #333333;
}

body.light-theme .contact-info p strong {
    color: #1a1a1a;
}

body.light-theme .contact-info p a {
    color: #005b96;
}

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

body.light-theme .copyright {
    color: #4a4a4a;
}

body.light-theme .text-contact-intro h1 {
    color: #1a1a1a;
}

body.light-theme .text-contact-intro p {
    color: #333333;
}

body.light-theme .contact-item p {
    color: #333333;
}

body.light-theme .contact-item p strong {
    color: #1a1a1a;
}

body.light-theme .contact-item p a {
    color: #005b96;
}

body.light-theme .contact-item p a:hover {
    color: var(--color-hover);
}

/* Ajustar media queries para el tema claro */
@media (max-width: 768px) {
    body.light-theme .navbar {
        background: #e0e0e0;
    }
}

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

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

.text-contact-intro h1 {
    font-size: var(--text-size-title);
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

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

.container-contact-info {
    margin: 60px auto 100px;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item img {
    width: 40px;
    margin-right: 15px;
}

.contact-item p {
    font-size: var(--lowText_font_size);
    color: var(--color-text-secundary);
}

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

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

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

.contact-map {
    flex: 1;
    min-width: 300px;
}

.contact-map iframe {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    border: 2px solid var(--color-button);
}

/* 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) {
    .container-contact-info {
        flex-direction: column;
        align-items: center;
    }
}

@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-contact-intro h1 { font-size: 30px; }
    .text-contact-intro p { font-size: 14px; }
    .contact-item img { width: 30px; }
    .contact-item p { font-size: 14px; }
    .contact-map iframe { height: 300px; }
    footer p { font-size: 12px; }
    .socialMediaFooter img { width: 30px; }
}

@media (max-width: 480px) {
    .text-contact-intro h1 { font-size: 24px; }
    .text-contact-intro p { font-size: 12px; }
    .contact-item img { width: 25px; }
    .contact-item p { font-size: 12px; }
    .contact-map iframe { height: 250px; }
    .contact-info p { font-size: 12px; }
    .socialMediaFooter img { width: 25px; }
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}