body {
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E3E3E3;
    background-image: url('src/fondo.png');
}

footer {
    background-color: #000001;
    color: #E3E3E3;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
}

header nav {
    background-color: #000001;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav .logo {
    width: 25vw;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #E3E3E3;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #00FF00;
}

header nav .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

main section {
    padding: 20px;
    background-color: #fff;
    margin: 20px;
    border-radius: 8px;
}

/* Estilo de la sección de inicio */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #E3E3E3;
    background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente para el texto */
    padding: 20px;
    border-radius: 10px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.5; /* Translucidez */
    z-index: 1;
    transition: background-image 1s ease-in-out;
}

body[data-bg="1"] .hero-section::before { background-image: url('src/image1.jpg');}
body[data-bg="2"] .hero-section::before { background-image: url('src/image2.JPEG');}
body[data-bg="3"] .hero-section::before { background-image: url('src/image3.JPEG');}
body[data-bg="4"] .hero-section::before { background-image: url('src/image4.JPEG');}
body[data-bg="5"] .hero-section::before { background-image: url('src/image5.JPEG');}
body[data-bg="6"] .hero-section::before { background-image: url('src/image6.jpg');}
body[data-bg="7"] .hero-section::before { background-image: url('src/image7.jpg');}
body[data-bg="8"] .hero-section::before { background-image: url('src/image8.jpg');}

h1 {
    font-size: 3rem;
    margin: 0;
}

p {
    font-size: 1.5rem;
    margin-top: 10px;
}

.about-us {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #000001;
    text-align: center;
    position: relative;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.accordion {
    margin-bottom: 20px;
    text-align: left;
}

.accordion-item {
    border-bottom: 1px solid #6E6E6E;
    padding: 10px 0;
}

.accordion-header {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: #00FF00;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 10px;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Ajusta según sea necesario */
}

.cta-button {
    background-color: #00FF00;
    color: #000001;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #6E6E6E;
}

.testimonials-slider {
    margin-top: 40px;
    overflow: hidden;
    position: relative;
    height: 100px;
}

.testimonial {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.testimonial.active {
    opacity: 1;
}

.services-section {
    padding: 40px 20px;
    background-color: #E3E3E3;
    color: #000001;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab-button {
    background-color: #6E6E6E;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #00FF00;
}

.tab-button:hover {
    background-color: #00FF00;
}

.tab-content {
    display: none;
    margin-top: 20px;
}

.tab-content.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00FF00;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 1rem;
    color: #6E6E6E;
}

.icon-terrace::before { content: "\1F3E2"; } /* Unicode de ejemplo para icono */
.icon-remodel::before { content: "\1F6E0"; }
.icon-kitchen::before { content: "\1F373"; }
.icon-planning::before { content: "\1F4C8"; }
.icon-interior::before { content: "\1F3E0"; }
.icon-finishing::before { content: "\1F527"; }
.icon-cleaning::before { content: "\1F9F9"; }
.icon-flooring::before { content: "\1F6CF"; }
.icon-landscape::before { content: "\1F333"; }

.projects-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    color: #000001;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-link.instagram {
    background-color: #E4405F;
}

.social-link.facebook {
    background-color: #4267B2;
}

.social-link.linkedin {
    background-color: #0077B5;
}

.social-link:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}
.contact-section {
    padding: 40px 20px;
    background-color: #E3E3E3;
    color: #000001;
    text-align: center;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button.email {
    background-color: #6E6E6E;
}

.contact-button.whatsapp {
    background-color: #25D366;
}

.contact-button:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

/* Opcional: para dispositivos móviles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header nav ul {
        display: none;
        flex-direction: column;
    }

    header nav ul.open {
        display: flex;
    }

    header nav .menu-toggle {
        display: block;
    }
}
