/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Calibri', sans-serif;
    text-align: left;
}

body {
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: #000;
}

h1, h2, h3 {
    color: #333;
    margin-bottom: 20px;
}


header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #323431;
    position: fixed;
    z-index: 2000;
    opacity: 0.9;
}

.logo img {
    height: 50px;
}

.nav-menu {
    list-style: none;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
    
}

.nav-menu li a {
    font-size: 18px;
    font-weight: bold;
    color: #CCC5B5;
}

.nav-menu li a:hover {
    color: #E9E8E4;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 25px;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000;
}

@media (max-width: 768px) {
    


    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 250px;
        height: 100%;
        background-color: #f5f5f5;
        display: flex;
        flex-direction: column;
        align-items: start;
        padding-top: 50px;
        transition: left 0.3s ease-in-out;
    }

    .hamburger span {
        background-color: white;
}

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 20px;
    }

    .nav-menu li a {
        color:#2A2A2A;
    }

    .nav-menu li a:hover{
        color:black;
    }

    .hamburger {
        display: flex;
    }

}

.hamburger.change span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.change span:nth-child(2) {
    opacity: 0;
}

.hamburger.change span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}




/* Hero Section */
.hero {
    background-image: url('../img/mapa.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5); /* Superposición oscura */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 48px;
    color: #CCC5B5;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.hero-content h5 {
    font-size: 24px;
    color: #E7E8E3;
    font-style: italic;
    text-align: center;
    font-weight: bold;
}

.hero-content p {
    font-size: 18px;
    color: #E7E8E3;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 5%;
    }
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }
}


/* About Me Section */
.about-me {
    background-color: #D9D8D4;
    padding: 80px 20px;
    color: #2A2A2A;
}

.about-me .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-me-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-me-image {
    flex-basis: 30%;
}

.about-me-image img {
    width: 100%;
    border-radius: 10px;
}

.about-me-text {
    flex-basis: 65%;
    padding-left: 30px;
}

.about-me-text h2 {
    font-size: 36px;
    color: #48443B;
    margin-bottom: 20px;
}

.about-me-text p {
    font-size: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-me-content {
        flex-direction: column;
        text-align: center;
    }

    .about-me-image {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .about-me-text {
        flex-basis: 100%;
        padding-left: 0;
    }
}


/* What I Do Section */
.what-i-do {
    background-color: #E7E8E3;
    padding: 100px 20px;
    color: #2A2A2A;
}

.what-i-do .container{
    max-width: 1200px;
    margin: 0 auto;
}

.what-i-do h2 {
    text-align: left;
    font-size: 36px;
    color: #48443B;
    margin-bottom: 40px;
}

.what-i-do-grid {
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.what-i-do-item {
    display: flex;
    width: 30%;
    margin: 20px auto;
    align-items: flex-start;
    background-color: #D9D8D4;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.what-i-do-item .icon {
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 48px; /* Tamaño del ícono */
    color: #48443B;
}

.what-i-do-item .icon img {
    width: 60px;
    height: auto;
}

.what-i-do-item .content h3 {
    font-size: 24px;
    color: #48443B;
    margin-bottom: 10px;
}

.what-i-do-item .content p {
    font-size: 16px;
    color: #2A2A2A;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .what-i-do-item{
        width: 100%;
    }
}



/* Testimonials Section with Parallax */
.testimonials {
    background-image: url('../img/mapa.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    
    color: #E7E8E3;
}

.parallax-overlay {
    background-color: rgba(0, 0, 0, 0.8); /* Dark overlay for readability */
    width: 100%;
    height: 100%;
    padding: 250px 20px;
    position: relative;
}

.parallax-overlay h2{
    color: #D9D8D4;
    text-align: center;
    font-size: 30px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: auto;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 100%; /* Start slides off-screen */
    opacity: 0;
    transition: all 0.6s ease-in-out;

    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-slide.active-slide {
    left: 0; /* Move active slide into view */
    opacity: 1;
}

.testimonial-slide.prev-slide {
    left: -100%; /* Move previous slide out of view */
}

.testimonial-slide.next-slide {
    left: 100%; /* Move next slide out of view */
}


.testimonial-slide p:first-child {
    font-size: 20px;
    margin-bottom: 15px;
}

.testimonial-slide p:last-child {
    font-size: 18px;
    font-style: italic;
    color: #CCC5B5;
}

/* Navigation Arrows */
button.prev-slide, button.next-slide {
    background-color: rgba(0, 0, 0, 0.3);
    color: #FFF;
    border: none;
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 12px;
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button.prev-slide {
    left: 10%;
}

button.next-slide {
    right: 10%;
}

button.prev-slide:hover, button.next-slide:hover {
    background-color: rgba(255, 255, 255, 0.5);
    color: #2A2A2A;

}


button.prev-slide:focus, button.next-slide:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-slide p:first-child {
        font-size: 18px;
    }

    .testimonial-slide p:last-child {
        font-size: 16px;
    }

    button.prev-slide, button.next-slide {
        font-size: 20px;
        padding: 10px;
    }

    button.prev-slide {
        left: 20px;
    }

    button.next-slide {
        right: 20px;
    }

    .parallax-overlay {
        padding: 150px 20px 0 20px;
    }

    .testimonial-slider {
        height: 800px;
    }

}



/* Services Section */
.services {
    background-color: #D9D8D4;
    padding: 100px 20px;
    color: #2A2A2A;
}

.services h2 {
    text-align: center;
    color: #48443B;
    font-size: 36px;
    margin-bottom: 40px;
    position: relative;
}

.services h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background-color: #48443B;
    display: block;
    margin: 10px auto 0;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.services .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #E7E8E3;
    border-radius: 10px;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.services .service-item:hover {
    /*opacity: 0.7;*/ /* Fade-in effect */
}

.services .service-item img {
    max-width: 200px;
    margin-bottom: 20px;
}

.services .service-item h4 {
    font-size: 18px;
    color: #2A2A2A;
    text-align: center;
}

.services .service-item p {
    font-size: 16px;
    color: #2A2A2A;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services .services-grid {
        grid-template-columns: 1fr;
    }

    .services .service-item {
        margin-bottom: 20px;
    }
}



/* Why Me Section */
.why-me {
    background-image: url('../img/imagen2.avif');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #E7E8E3;
}

.why-me .overlay {
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    padding: 250px 20px;
    position: relative;
}

.why-me h2 {
    text-align: center;
    color: #CCC4B9;
    font-size: 36px;
}

.why-me p {
    text-align: center;
    font-size: 20px;
    margin-bottom: 60px;
    line-height: 1.6;
    margin: 0 auto 20px auto;
}

.why-me .why-me-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-me .why-me-item {
    background-color: ;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.why-me .why-me-item1{
    display: flex;
    justify-content: center;
    align-items: center
}


/*.why-me .why-me-item img {
    max-width: 150px;
    margin-bottom: 20px;
    border-radius: 50%;
}*/

.why-me .why-me-item img {
    width: 100%;
}

.why-me .why-me-item h3 {
    font-size: 24px;
    color: #CCC4B9;
    margin-bottom: 15px;
    text-align:left;
}

.why-me .why-me-item p {
    font-size: 18px;
    color: #E7E8E3;
    text-align:left;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .why-me .why-me-grid {
        grid-template-columns: 1fr;
    }

    .why-me .why-me-item {
        margin-bottom: 20px;
    }
}



/* Contact Section */
.contact {
    background-color: #E7E8E3;
    padding: 100px 20px;
    color: #2A2A2A;
}


.contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact .contact-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact .contact-form, .contact .contact-info {
    flex-basis: 45%;
    padding: 30px;
    border-radius: 10px;
}

.contact .contact-form{
    background: white;
}

.contact .contact-form h3, .contact .contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #48443B;
}

.contact .contact-form form {
    display: flex;
    flex-direction: column;
}

.contact .contact-form label {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact .contact-form input {
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border: 1px solid #2A2A2A;
    border-radius: 5px;
    background-color: #FFF;
}

.contact .contact-form button {
    padding: 15px 30px;
    background-color: #2A2A2A;
    color: #FFF;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.contact .contact-form button:hover {
    background-color: #48443B;
}

.contact .contact-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.contact .contact-info a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: bold;
}

.contact .contact-info a:hover {
    color: #48443B;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact .contact-grid {
        flex-direction: column;
    }
}


/* Footer Section */
.main-footer {
    background-color: #2A2A2A;
    padding: 60px 20px;
    color: #E7E8E3;
    font-size: 14px;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-footer .footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.main-footer .footer-column {
    flex-basis: 30%;
}

.main-footer .footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.main-footer p {
    line-height: 1.6;
    font-size: 16px;
}

.main-footer .footer-menu {
    list-style: none;
    padding: 0;
}

.main-footer .footer-menu li {
    margin-bottom: 10px;
}

.main-footer .footer-menu li a {
    color: #CCC4B9;
    text-decoration: none;
    font-size: 16px;
}

.main-footer .footer-menu li a:hover {
    color: #48443B;
}

.main-footer h3 {
    font-size: 18px;
    color: #CCC4B9;
    margin-bottom: 20px;
}

.main-footer .social-icons a {
    margin-right: 15px;
    display: inline-block;
}

.main-footer .social-icons img {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease;
}

.main-footer .social-icons a:hover img {
    transform: scale(1.1);
}

.main-footer .footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #48443B;
    padding-top: 20px;
    color: #CCC4B9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-footer .footer-grid {
        flex-direction: column;
        text-align: center;
    }

    .main-footer .footer-column {
        margin-bottom: 30px;
    }

    .main-footer .footer-bottom {
        margin-top: 20px;
    }
}


/* General animation class */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}



