/* css/index.css */
body {
    background-color: #fafafa;
}

/* Premium Hero Section */
.hero-section {
    position: relative;
    background-image: url('../img/portfolio/Bodas/DSC_1155.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Neutral elegant overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'montserrat', sans-serif;
    font-weight: 800;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-family: 'displayLight', sans-serif;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.btn-hero {
    font-family: 'montserrat', sans-serif;
    border-radius: 30px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary-hero {
    background-color: rgba(127, 19, 0, 0.9);
    color: white;
    border: 2px solid rgba(127, 19, 0, 0.9);
}

.btn-primary-hero:hover {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-hero {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-hero:hover {
    background-color: white;
    color: rgba(127, 19, 0, 0.9);
}

/* Services Dynamic Cards */
.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(127, 19, 0, 0.15);
}

.service-card-body {
    padding: 2rem;
}

.service-title {
    font-family: 'montserrat', sans-serif;
    color: rgba(127, 19, 0, 1);
    font-weight: 700;
}

.service-desc {
    font-family: 'displayLight', sans-serif;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Service Carousel images */
.service-carousel-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

/* Custom Premium Carousel Fade */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 1.2s; /* Slower, more elegant fade */
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item img {
    transition: transform 12s linear; /* Subtle zoom effect during fade */
}

.carousel-fade .carousel-item.active img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-section {
    background-color: rgba(127, 19, 0, 0.76);
    color: white;
    padding: 5rem 0;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.testimonial-text {
    font-family: 'displayLight', sans-serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    position: relative;
    z-index: 2;
}

.testimonial-text::before {
    content: '"';
    font-family: 'montserrat', sans-serif;
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -30px;
    left: -15px;
    z-index: -1;
}

.testimonial-author {
    font-family: 'montserrat', sans-serif;
    color: white;
    font-weight: 700;
}

/* Call to Action */
.cta-section {
    padding: 5rem 0;
    margin-bottom: 0 !important;
}

.cta-box {
    border: 2px solid rgba(127, 19, 0, 0.3);
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 30px rgba(127, 19, 0, 0.05);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        height: 55vh;
        min-height: 350px;
        margin-bottom: 2rem;
    }
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
    .service-carousel-img {
        height: 200px;
    }
    .service-card-body {
        padding: 1.2rem;
    }
    .service-title {
        font-size: 1.2rem;
    }
    .service-desc {
        font-size: 0.9rem;
    }
    .testimonial-section {
        padding: 3rem 0;
    }
    .testimonial-card {
        padding: 1.5rem 1.2rem;
    }
    .testimonial-text {
        font-size: 0.95rem;
    }
    .testimonial-text::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }
    .cta-section {
        padding: 2rem 0;
    }
    .cta-box {
        padding: 2rem 1.5rem !important;
    }
    .cta-box h2 {
        font-size: 1.5rem !important;
    }
    .cta-box .lead {
        font-size: 0.95rem !important;
    }
    .cta-box .btn-hero {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}
