/* Variables de colores */
:root {
    --primary-color: rgb(38, 186, 165);
    --primary-dark: rgb(30, 149, 132);
    --secondary-color: rgb(55, 95, 122);
    --secondary-dark: rgb(44, 76, 98);
    --secondary-light: rgb(147, 179, 201);
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #e0e0e0;
    --dark-gray: #333333;
}

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat-Medium', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-outline:hover {
    background-color: rgba(55, 95, 122, 0.1);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-text {
    font-family: 'GlyphaLTStd-Bold', serif;
    font-size: 2rem;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-dark);
}

/* Menú móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Estilos para el logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 50px; /* Ajusta según el tamaño que necesites */
    width: auto;
}

/* Animación de pulso (acercarse y alejarse) */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* Acercamiento del 10% */
    }
    100% {
        transform: scale(1);
    }
}


/* Menú móvil - CORREGIDO */
.mobile-menu {
    display: flex; /* Cambiado de 'none' a 'flex' */
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 15px;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden; /* Añadido para ocultar completamente el menú */
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible; /* Añadido para mostrar el menú */
}


/* Hero Section */
.hero-section {
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Montserrat-Bold', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-dark);
    margin-bottom: 20px;
}

.ite-text {
    font-family: 'GlyphaLTStd-Bold', serif;
    color: var(--primary-color);
}

.hero-text p {
    font-family: 'Montserrat-Light', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Animaciones */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

.delay {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
}