/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: #FFD700;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #FFD700;
    color: #222;
}

.btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #222;
    transform: translateY(-3px);
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    animation: popupFadeIn 0.5s;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #FFD700;
}

.popup-body {
    text-align: center;
}

.popup-body h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 15px;
}

.popup-body p {
    margin-bottom: 15px;
    color: #555;
}

.popup-cta {
    background-color: #FFD700;
    color: #222;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s;
}

.popup-cta:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Header & Navigation */
.header {
    background-color: #222;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    border-radius: 8px;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 1.5rem;
    color: #FFD700;
    margin-bottom: 5px;
}

.logo-text p {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s;
    position: relative;
}

.nav-menu li a:hover {
    color: #FFD700;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
}
/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                      url('../assets/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Efecto parallax opcional */
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 80px;
    position: relative;
}

/* Fallback en caso de que la imagen no cargue */
.hero {
    background-color: #222; /* Fondo de respaldo */
}

.hero-overlay {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-features {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 215, 0, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px);
}

.feature-item i {
    color: #FFD700;
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero-buttons .btn-primary i,
.hero-buttons .btn-secondary i {
    margin-right: 8px;
}

/* Efecto de partículas para más dinamismo (opcional) */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Responsive para la sección Hero */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .hero-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll; /* Desactiva parallax en móviles */
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 500px;
        height: 80vh;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}
/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    background-color: #FFD700;
    color: #222;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.feature h4 {
    font-size: 1.1rem;
    color: #222;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.about-image:hover {
    transform: translateY(-10px);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: #FFD700;
}

.service-icon {
    background-color: #222;
    color: #FFD700;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    color: #666;
}

/* Text-Image Sections */
.text-image-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-image.reverse .text-image-content {
    flex-direction: row-reverse;
}

.text-image-text {
    flex: 1;
}

.text-image-text h2 {
    font-size: 2.2rem;
    color: #222;
    margin-bottom: 20px;
}

.text-image-text p {
    margin-bottom: 15px;
    color: #555;
}

.text-image-text ul {
    list-style-type: none;
    margin: 20px 0;
}

.text-image-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.text-image-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.text-image-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.text-image-image:hover {
    transform: translateY(-10px);
}

.text-image-image img {
    width: 100%;
    height: auto;
    display: block;
}
/* Testimonials Section */
.testimonials {
    background-color: #222;
    color: #fff;
}

.testimonials .section-header h2 {
    color: #fff;
}

.testimonials .section-header p {
    color: #ddd;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #333;
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-left-color: #FFD700;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 25px;
    color: #ddd;
    line-height: 1.7;
}

.testimonial-author h4 {
    color: #FFD700;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: #aaa;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.gallery-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.slide {
    display: none;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.prev-btn, .next-btn {
    background-color: #222;
    color: #FFD700;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #FFD700;
    color: #222;
    transform: scale(1.1);
}

.gallery-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background-color: #FFD700;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: #FFD700;
}

/* Location Section */
.location-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.location-info {
    flex: 1;
}

.location-info h3 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 20px;
}

.location-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.location-info i {
    color: #FFD700;
    width: 20px;
}

.location-info a {
    color: #222;
    text-decoration: none;
    transition: color 0.3s;
}

.location-info a:hover {
    color: #FFD700;
}

.service-area {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #FFD700;
}

.service-area h4 {
    color: #222;
    margin-bottom: 10px;
}

.location-map {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo img {
    border-radius: 8px;
}

.footer-logo h3 {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: #ddd;
    font-size: 0.9rem;
}

.footer-services h4, .footer-contact h4, .footer-social h4 {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-services h4::after, .footer-contact h4::after, .footer-social h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: #FFD700;
    bottom: 0;
    left: 0;
}

.footer-services ul {
    list-style: none;
}

.footer-services li {
    margin-bottom: 10px;
    color: #ddd;
    position: relative;
    padding-left: 15px;
}

.footer-services li::before {
    content: '•';
    color: #FFD700;
    position: absolute;
    left: 0;
}

.footer-contact p {
    margin-bottom: 12px;
    color: #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #FFD700;
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons i {
    background-color: #333;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.social-icons i:hover {
    background-color: #FFD700;
    color: #222;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    
    .about-content, .text-image-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .text-image.reverse .text-image-content {
        flex-direction: column;
    }
    
    .location-content {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background-color: #222;
        width: 100%;
        text-align: center;
        padding: 30px 0;
        gap: 0;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}


/* Estilos adicionales para el botón de WhatsApp */
.btn-whatsapp {
    background-color: #25D366;
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    margin-right: 8px;
    font-size: 1.2rem;
}