:root {
    --primary-color: #050A30; /* Azul marino oscuro */
    --secondary-color: #B79347; /* Dorado */
    --accent-color: #8B8383; /* Gris */
    --light-color: #F4F6FC; /* Blanco hueso */
    --bg-color: #050A30; /* Fondo principal - Azul marino oscuro */
}

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

body {
    font-family: 'Open Sans', 'Roboto', 'Arial', sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-top: 60px;
    line-height: 1.6;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    background-color: rgba(5, 10, 48, 0.5);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.8;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
    padding: 2rem;
}

.profile {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    color: var(--light-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

.subtitle {
    color: var(--light-color);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.profile p {
    color: var(--light-color);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.link-button {
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    margin-bottom: 0.75rem;
}

.link-button h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.8px;
    color: var(--primary-color);
    margin-top: 0;
    text-align: center;
}

.link-button p {
    font-size: 0.9rem;
    color: var(--accent-color);
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.link-button:hover {
    background-color: rgba(244, 246, 252, 0.8);
    transform: translateY(-2px);
    border-left: 3px solid var(--secondary-color);
}

.news-slider {
    margin-top: 2rem;
    width: 100%;
    background: rgba(183, 147, 71, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(183, 147, 71, 0.2);
}

.news-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.news-header h2 {
    color: var(--light-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.news-header p {
    color: var(--accent-color);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.news-item {
    min-width: 100%;
    padding: 1rem;
}

.news-link {
    text-decoration: none;
    color: var(--light-color);
    display: block;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-link:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 0.5rem;
}

.news-date {
    display: block;
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--light-color);
    letter-spacing: 0.5px;
    margin-top: 0;
}

.news-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--accent-color);
}

.news-button {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.news-button:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-color);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(183, 147, 71, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.slider-nav:hover {
    background: var(--secondary-color);
    color: var(--light-color);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
        margin-bottom: 60px;
    }
    
    .profile-photo {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .link-button {
        padding: 1.2rem;
    }
    
    .link-button h3 {
        font-size: 0.9rem;
    }
    
    .link-button p {
        font-size: 0.75rem;
    }
    
    .footer {
        font-size: 0.7rem;
        padding: 0.8rem;
    }
    
    .news-image {
        height: 150px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .news-content h3 {
        font-size: 1rem;
    }

    .news-content p {
        font-size: 0.8rem;
    }
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1rem;
    color: var(--light-color);
    font-size: 0.8rem;
    background: linear-gradient(90deg, rgba(5, 10, 48, 0.9) 0%, rgba(5, 10, 48, 0.8) 100%);
    backdrop-filter: blur(5px);
    border-top: 1px solid var(--secondary-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 48, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1100;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: rgba(5, 10, 48, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    position: relative;
    color: var(--light-color);
    border: 1px solid var(--secondary-color);
}

.close-popup {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-popup:hover {
    opacity: 1;
}

.popup-content h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.popup-content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(183, 147, 71, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    color: var(--light-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: var(--accent-color);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(183, 147, 71, 0.2);
    box-shadow: 0 0 0 2px rgba(183, 147, 71, 0.1);
}

.form-group select {
    appearance: none;
    padding-right: 2rem;
    cursor: pointer;
}

.form-group select option {
    background: var(--primary-color);
    color: var(--light-color);
}

.submit-btn {
    background: var(--secondary-color);
    color: var(--light-color);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    background: rgba(183, 147, 71, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Share Popup Styles */
.share-popup {
    text-align: center;
    padding: 2.5rem;
}

.qr-container {
    background: var(--light-color);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: inline-block;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.qr-code {
    width: 280px;
    height: 280px;
    margin-bottom: 1rem;
    border: 1px solid var(--accent-color);
}

.qr-container p {
    color: var(--primary-color);
    margin: 0;
    font-size: 0.9rem;
}

.share-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.share-btn {
    background: rgba(183, 147, 71, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

.share-btn:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.share-btn i {
    font-size: 1rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: var(--light-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    animation: fadeIn 0.3s ease;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(183, 147, 71, 0.3);
}

.toast.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 480px) {
    .qr-code {
        width: 150px;
        height: 150px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

.locations-section {
    padding: 1.5rem 0;
    margin: 1rem 0;
    width: 100%;
}

.locations-header {
    text-align: center;
    margin-bottom: 1rem;
}

.locations-header h2 {
    color: var(--light-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locations-header p {
    color: var(--accent-color);
    font-size: 0.9rem;
    max-width: 80%;
    margin: 0 auto;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.location-card {
    background: rgba(5, 10, 48, 0.7);
    border-radius: 10px;
    padding: 0;
    position: relative;
    border: 1px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary-color);
}

.location-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.05);
}

.location-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--bg-color);
    margin: -20px auto 0.1rem;
}

.location-icon i {
    font-size: 1rem;
    color: var(--light-color);
}

.location-card h3 {
    color: var(--light-color);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.8rem;
    padding: 0;
    font-weight: 600;
}

.location-card p {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding: 0;
    line-height: 1.6;
}

.location-phone {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--secondary-color);
}

.location-buttons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    justify-content: center;
}

.location-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.location-link.map-trigger {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.location-link.map-trigger:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.whatsapp-link {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.whatsapp-link:hover {
    background-color: #1EAF56;
    border-color: #1EAF56;
}


/* Map Styles */
.map-popup {
    max-width: 800px;
    width: 90%;
    padding: 0;
    overflow: hidden;
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(5, 10, 48, 0.8);
    border-bottom: 1px solid var(--secondary-color);
}

.map-header h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.map-content {
    height: 450px;
    width: 100%;
}

.map-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-actions {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(5, 10, 48, 0.7);
    border-top: 1px solid var(--secondary-color);
}

.map-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(183, 147, 71, 0.1);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    margin: 0 0.5rem;
    border: 1px solid var(--secondary-color);
}

.map-action-btn:hover {
    background: var(--secondary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

.map-action-btn:first-child {
    margin-left: 0;
}

.map-action-btn:last-child {
    margin-right: 0;
}

.map-action-btn i {
    font-size: 1.1rem;
}

#whatsappBtn {
    background: rgba(37, 211, 102, 0.1);
    border-color: var(--secondary-color);
    color: rgba(37, 211, 102, 0.8);
}

#whatsappBtn:hover {
    background: rgba(37, 211, 102, 0.8);
    color: var(--light-color);
}

#directionsBtn {
    background: rgba(66, 133, 244, 0.1);
    border-color: var(--secondary-color);
    color: rgba(66, 133, 244, 0.8);
}

#directionsBtn:hover {
    background: rgba(66, 133, 244, 0.8);
    color: var(--light-color);
}

@media (max-width: 768px) {
    .map-content {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-content {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .map-action-btn {
        margin: 0;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

