/* Variables */
:root {
    --primary-color: #800020; /* Burgundy */
    --accent-color: #D4AF37; /* Gold */
    --background-color: #000000; /* Black */
}

/* General Styles */
body {
    background-color: var(--background-color);
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background-color: #333;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }
    .nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-link {
        padding: 0.5rem;
    }
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #555;
}

/* Main Content */
.main-content {
    margin-left: 220px;
    padding: 2rem;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
}

/* Hero Section */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: right;
		background: url('images/header.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    position: relative;
    padding: 2rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }
    .hero-image {
        width: 100px; /* Ajusta el tamaño según necesidad */
}

}

/* Opcional: Añadir un overlay para oscurecer la imagen */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece la imagen */
    z-index: 1;
}

.hero-section > div {
    position: relative;
    z-index: 2;
}


.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-right: 1rem;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 2rem;
}

.hero-button {
    margin-top: 1.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
}

.hero-image {
    width: 240px; /* Ajusta el tamaño según necesidad */
    height: auto;
    margin-bottom: 5px; /* Espacio entre la imagen y el título */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Especialistas Section */
.especialistas-section {
    padding: 5rem 0;
    background-color: #111;
}

.especialistas-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.especialistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.especialistas-card {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.especialistas-img {
    width: 100%;
    height: 459;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1rem;
}

/* Sections */
.section-title {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: #111;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

.service-card {
    background-color: #222;
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
}

.service-title {
    font-size: 1.25rem;
    color: white;
}

.service-desc {
    color: #aaa;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: #222;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-map {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.about-map2 {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    text-align: left;
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    color: #aaa;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about-map, .about-map2, .about-text {
        max-width: 90%;
    }
    .about-text {
        text-align: center;
    }

}

.about-description {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.map-description {
    margin-top: 10px;
    font-size: 1rem;
    color: #ccc;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #111;
}


.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #25D366; /* Verde de WhatsApp */
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    transition: background-color 0.3s;
}
@media (max-width: 768px) {
    .contact-button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

.contact-button:hover {
    background-color: #128C7E;
}

.button-icon {
    width: 24px;
    height: 24px;
}


/* Footer */
.footer {
    text-align: center;
    padding: 0.3rem 0; /* Espaciado reducido */
    background-color: #333;
    color: white;
    font-size: 0.8rem; /* Texto más pequeño */
    border-top: 1px solid #555; /* Línea superior sutil */
    line-height: 1.2; /* Espaciado reducido entre líneas */
    margin-top: auto; /* Asegura que esté al final */    
}

.footer a {
    color: #25D366; /* Verde WhatsApp o color personalizado */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer a:hover {
    color: #128C7E;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        font-size: 0.7rem;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    z-index: 1001;
}

.whatsapp-button img {
    width: 50px;
    height: 50px;
}

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



