

/* Global Styles */
:root {
    --primary-color: #BFFCBB;
    --primary-light: #E8FEE8;
    --primary-medium: #8DE697;
    --primary-dark: #6BCF74;
    --primary-strong: #2F7A3E;
    --secondary-color: #4DAA5B;
    --accent-color: #2E6B3B;
    --text-color: #18311D;
    --light-gray: #f8f9fa;
    --dark-gray: #2C3B2E;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 120px;
    overflow-x: hidden;
}

.google-translate-wrapper {
    display: none !important;
}

.google-translate-wrapper .goog-te-gadget {
    font-family: 'Poppins', sans-serif;
}

.google-translate-wrapper .goog-te-gadget-simple {
    border: none !important;
    background: transparent !important;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* SMS Button */
.sms-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

.sms-button .btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #7ec8ff; /* azul celeste claro */
    color: #ffffff;
    border: none;
}

.sms-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #4fb3ff; /* azul celeste más oscuro al pasar */
}

.whatsapp-button .btn {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-button .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Top Contact Bar */
.top-contact-bar {
    margin-top: 20px;
    background: linear-gradient(90deg, var(--primary-strong), var(--primary-dark));
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.contact-info {
    font-weight: 500;
}

.contact-info i {
    margin-right: 8px;
    color: var(--primary-light);
}

/* Navigation */
.navbar {
    background: rgba(191, 252, 187, 0.96) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(47, 122, 62, 0.15);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.logo {
    width: 300px;
    height: auto;
}

@media (max-width: 991px) {
    .logo {
        width: 180px;
    }
}

.navbar-nav .nav-link {
    font-weight: 600;
    margin: 0 10px;
    color: var(--primary-strong);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
}

/* Buttons */
.btn-primary {
    background: var(--primary-strong);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--secondary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-strong);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

.card-img-top {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

/* Services */
.service-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Projects */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-en_progreso {
    background: #f39c12;
    color: white;
}

.status-completado {
    background: #27ae60;
    color: white;
}

.status-planificado {
    background: #3498db;
    color: white;
}

/* Gallery */
.gallery-filter {
    margin-bottom: 2rem;
}

.gallery-filter .btn {
    margin: 0 5px;
    border-radius: 25px;
    padding: 8px 20px;
}

.gallery-item {
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.carousel-item img,
.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Footer */
footer {
    margin-top: auto;
}

.social-links a {
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* Admin Panel */
.admin-sidebar {
    background: var(--dark-gray);
    min-height: 100vh;
    padding: 2rem 0;
}

.admin-sidebar .nav-link {
    color: #adb5bd;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 2rem;
}

/* Landing Page */
.landing-page {
    background: linear-gradient(180deg, #f9fff9 0%, #f4fff4 100%);
}

.landing-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding: 120px 0 90px;
    overflow: hidden;
}

.landing-hero-bg,
.landing-hero-overlay {
    position: absolute;
    inset: 0;
}

.landing-hero-bg {
    background-size: cover;
    background-position: center;
    transform: scale(1.03);
}

.landing-hero-overlay {
    background: linear-gradient(110deg, rgba(24, 49, 29, 0.92) 0%, rgba(47, 122, 62, 0.78) 60%, rgba(191, 252, 187, 0.2) 100%);
}

.landing-hero .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: var(--primary-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.landing-hero h1 {
    font-size: clamp(2.3rem, 4vw, 4rem);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.landing-hero p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.92);
    max-width: 650px;
    margin-bottom: 1.6rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.hero-actions .btn {
    min-width: 180px;
    border-radius: 999px;
}

.btn-outline-light {
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-strong);
}

.landing-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: white;
}

.landing-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-card {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.hero-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.hero-card-body {
    padding: 1.5rem;
}

.hero-card h3 {
    color: var(--primary-strong);
    margin-bottom: 0.65rem;
}

.hero-card-body p {
    color: var(--text-color);
    margin-bottom: 0;
}

.section-light {
    background: linear-gradient(180deg, #f8fff8 0%, #f2fdf2 100%);
}

.feature-list {
    display: grid;
    gap: 0.9rem;
    margin: 1.4rem 0 1.6rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: white;
    box-shadow: 0 6px 18px rgba(47, 122, 62, 0.08);
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-strong);
    font-size: 1rem;
}

.gallery-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    height: 100%;
}

.gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.gallery-card h4,
.gallery-card p {
    padding: 0 1.2rem;
}

.gallery-card h4 {
    color: var(--primary-strong);
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

.gallery-card p {
    padding-bottom: 1.2rem;
    color: #5d685e;
}

.cta-section {
    padding-bottom: 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-strong), var(--accent-color));
    color: white;
    border-radius: 28px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 16px 38px rgba(47, 122, 62, 0.18);
}

.cta-box p {
    max-width: 680px;
    margin: 0.8rem auto 1.4rem;
}

@media (max-width: 991px) {
    body {
        padding-top: 130px;
    }

    .logo {
        width: 220px;
    }

    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }

    .top-contact-bar {
        padding: 10px 0;
        font-size: 13px;
    }

    .top-contact-bar .row {
        gap: 0.35rem;
    }

    .top-contact-bar .col-md-6 {
        width: 100%;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .landing-hero {
        min-height: auto;
        padding: 100px 0 70px;
    }

    .landing-hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .landing-hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .landing-highlights {
        flex-direction: column;
        gap: 0.65rem;
    }

    .hero-card {
        margin-top: 1rem;
    }

    .hero-card img {
        height: 220px;
    }

    .feature-item {
        padding: 0.75rem 0.9rem;
    }

    .gallery-card img {
        height: 200px;
    }

    .cta-box {
        padding: 1.8rem;
        border-radius: 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 120px;
    }

    .top-contact-bar {
        margin-top: 10px;
        padding: 8px 0;
    }

    .top-contact-bar .contact-info {
        display: block;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }

    .landing-hero {
        padding: 90px 0 60px;
    }

    .landing-hero h1 {
        font-size: 1.9rem;
    }

    .landing-hero p {
        font-size: 0.95rem;
    }

    .hero-card-body {
        padding: 1.1rem;
    }

    .hero-card h3 {
        font-size: 1.15rem;
    }

    .section-title h2 {
        font-size: 1.7rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .service-card,
    .contact-form {
        padding: 1.25rem;
    }
    
    .whatsapp-button {
        bottom: 12px;
        right: 12px;
    }
    
    .whatsapp-button .btn {
        padding: 10px 14px;
        font-size: 13px;
    }
}

/* Hero Section with Background Carousel */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
	opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

}
.navbar-toggler {
    border: 1px solid var(--primary-strong);
    padding: 0.4rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    background-color: transparent;
}
.img-fluid {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 768px) {
    .card-img-top,
    .gallery-item img {
        height: 220px;
    }
}
.panel{
    color: #dfe0e1;
    font-weight: bold;
    text-align: center;
}