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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.header-content img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
}

h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff6b00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.subtitle {
    font-size: 1.2rem;
    color: #ddd;
    font-weight: 300;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4)), url('images/taller1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-text {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 2rem;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-text p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #ff6b00;
    border-radius: 2px;
}

/* Services Section */
.services {
    background: #f8f9fa;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border-top: 4px solid #ff6b00;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Bootstrap Carousel - Estilos mínimos */
.carousel-section {
    padding: 4rem 0;
    background: #fff;
}

#servicesCarousel {
    max-width: 100%;
}

#servicesCarousel .carousel-item {
    height: 500px;
    background: #000;
}

#servicesCarousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

#servicesCarousel .carousel-caption h3 {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

#servicesCarousel .carousel-indicators button {
    background-color: #ff6b00;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

#servicesCarousel .carousel-indicators button.active {
    background-color: #ff6b00;
}

/* Gallery Section */
.gallery {
    background: #f5f5f5;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Map Section */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    height: 450px;
    margin-top: 2rem;
}

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

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.contact-item {
    padding: 1.5rem;
    text-align: center;
}

.contact-item h3 {
    color: #ff6b00;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    font-size: 1.1rem;
}

.whatsapp-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 0.6rem;
    transition: background 0.3s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-btn:hover {
    background: #1ebe57;
    color: #fff;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: #0a0a0a;
    color: #aaa;
}

footer p {
    margin: 0.5rem 0;
}

/* Responsive para pantallas grandes */
@media (min-width: 1400px) {
    #servicesCarousel .carousel-item {
        height: 600px;
    }
    
    .gallery-item {
        height: 400px;
    }
}

/* Responsive para pantallas medianas-grandes */
@media (min-width: 1025px) and (max-width: 1399px) {
    #servicesCarousel .carousel-item {
        height: 550px;
    }
}

/* Responsive para tablets */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-content img {
        max-width: 180px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: 450px;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    #servicesCarousel .carousel-item {
        height: 450px;
    }

    #servicesCarousel .carousel-caption h3 {
        font-size: 1.4rem;
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .header-content img {
        max-width: 150px !important;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    header {
        padding: 1.5rem 0;
    }

    .hero {
        height: 400px;
        background-attachment: scroll;
    }

    .hero-text h2 {
        font-size: 1.6rem;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    #servicesCarousel .carousel-item {
        height: 400px;
    }

    #servicesCarousel .carousel-caption h3 {
        font-size: 1.1rem;
    }

    .gallery-item {
        height: 280px;
    }

    .map-container {
        height: 300px;
    }

    .whatsapp-icon {
        width: 20px;
        height: 20px;
    }

    .whatsapp-btn {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
        min-height: 44px;
    }

    .whatsapp-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .header-content img {
        max-width: 120px !important;
    }

    h1 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .hero {
        height: 350px;
    }

    .hero-text h2 {
        font-size: 1.4rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    #servicesCarousel .carousel-item {
        height: 350px;
    }

    #servicesCarousel .carousel-caption h3 {
        font-size: 0.95rem;
    }

    .contact-item h3 {
        font-size: 1.1rem;
    }

    .contact-item p {
        font-size: 1rem;
    }
}

/* Responsive para celulares muy pequeños */
@media (max-width: 360px) {
    .header-content img {
        max-width: 100px !important;
    }

    h1 {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .hero {
        height: 300px;
    }

    .hero-text h2 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    #servicesCarousel .carousel-item {
        height: 300px;
    }

    #servicesCarousel .carousel-caption h3 {
        font-size: 0.85rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .gallery-item {
        height: 200px;
    }
}
