:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --secondary: #66BB6A;
    --accent: #FFD54F;
    --bg-light: #F1F8E9;
    --text-main: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(46, 125, 50, 0.1);
    --radius: 20px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Fredoka', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('assets/image2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.8), rgba(102, 187, 106, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    width: 100%;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animation Styles */
.animation-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.animation-container svg {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.estilo-texto {
    font-family: 'Great Vibes', cursive;
    font-size: 90px;
    fill: #FFFFFF;
    font-style: normal;
    letter-spacing: 0px;
}

.letra-e {
    text-shadow: var(--sombra-e, none);
}

.letra-resto {
    text-shadow: var(--sombra-resto, none);
}

.texto-con-sombra {
    --sombra-e: 3px 3px 6px rgba(0, 0, 0, 0.4);
    --sombra-resto: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.tallo-enredadera {
    fill: none;
    stroke: #A5D6A7;
    /* Light green for contrast */
    stroke-width: 3px;
    stroke-linecap: round;
}

.hoja {
    fill: #C8E6C9;
    /* Very light green */
    opacity: 0;
    transform-origin: bottom left;
}

.flor {
    fill: #FFAB91;
    /* Light coral */
    opacity: 0;
    transform-origin: center;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Services Section */
.services {
    padding: 4rem 0 2rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

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

/* Old icon-box styles removed */

.service-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    fill: var(--primary-dark);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0;
}

.service-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Info Section */
.info-section {
    padding: 2rem 0 4rem;
    background-color: var(--white);
    margin-top: 2rem;
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.info-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-list i {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-list div {
    display: flex;
    flex-direction: column;
}

.contact-list strong {
    color: var(--primary-dark);
    margin-bottom: 0.2rem;
}

.contact-list span {
    color: var(--text-light);
}

.info-map {
    height: 400px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    gap: 1rem;
    background: #e8f5e9;
}

.map-placeholder i {
    font-size: 3rem;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--primary-dark), #144a18);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Decorative top border */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

/* Brand Column (Left) */
.footer-brand {
    text-align: left;
}

.footer-brand h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Hours Column (Center) */
.footer-hours {
    text-align: center;
}

.footer-hours h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-family: 'Fredoka', sans-serif;
    position: relative;
    display: inline-block;
}

.footer-hours h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.hours-block {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hours-block strong {
    color: var(--secondary);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.hours-block strong::after {
    content: ":";
    color: rgba(255, 255, 255, 0.7);
}

.hours-block span {
    font-size: 1rem;
    color: var(--white);
    font-weight: 300;
}

/* Social Column (Right) */
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-links a {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .info-container {
        grid-template-columns: 1fr;
    }

    .info-map {
        height: 300px;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #FFF;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Floating Instagram Button */
.instagram-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    /* Start at same position as WhatsApp */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    /* Below WhatsApp */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
}

.instagram-float:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
}

.instagram-float.visible {
    right: 120px;
    /* 40px (right) + 60px (width) + 20px (gap) */
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

@media (max-width: 768px) {
    .instagram-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .instagram-float.visible {
        right: 85px;
        /* 20px + 50px + 15px gap */
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: transparent;
    width: 95%;
    max-width: 1200px;
    max-height: 95vh;
    border-radius: 0;
    padding: 0;
    position: relative;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    border-bottom: none;
}

.modal-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
    border-color: var(--white);
}

.modal-body {
    overflow-y: auto;
    padding: 1rem;
    flex: 1;
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.modal-image-container {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    background: rgba(255, 255, 255, 0.05);
}

.modal-image-container:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modal-image-container:hover .modal-image {
    transform: scale(1.15);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Lightbox for full image view */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 95%;
    max-height: 95vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        padding: 0;
    }

    .modal-header {
        padding: 1rem;
        margin-bottom: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    }

    .modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .modal-title {
        font-size: 1.8rem;
    }
}