/* ==========================================================================
   Green Life Tropical - Modern CSS Framework & Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #0d5c2e;          /* Rich Emerald Green from logo 'GREEN' */
    --primary-dark: #063319;     /* Deep Tropical Forest from logo 'TROPICAL' */
    --primary-light: #5eb70c;    /* Vibrant Apple Lime Green from logo 'LIFE' */
    --accent: #ff7b00;           /* Vivid Orange from Strelitzia Bird of Paradise Flower */
    --accent-light: #80d814;     /* Fresh Lime Leaf Highlight */
    --sun-gold: #fcbf49;         /* Tropical Sunset Sun Gold */
    --dark: #072413;             /* Deep Tropical Dark Green */
    --text-color: #334155;
    --text-muted: #64748b;
    --bg-light: #f3f9f4;         /* Soft Mint Background Tint */
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(13, 92, 46, 0.05);
    --shadow-md: 0 4px 14px rgba(13, 92, 46, 0.1);
    --shadow-lg: 0 10px 25px rgba(13, 92, 46, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* ==========================================================================
   Top Header Bar & Navigation
   ========================================================================== */

.top-bar {
    background: linear-gradient(90deg, #0d5c2e, #13773c);
    color: #ffffff;
    font-size: 0.875rem;
    padding: 9px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-info a {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    opacity: 0.95;
}

.top-info a:hover {
    color: #82d622;
    opacity: 1;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-selector a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-selector a.active, .lang-selector a:hover {
    color: #093b1a;
    background: #82d622;
    font-weight: 700;
}

/* Main Navigation */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--dark);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 28px;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.98rem;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: #25D366;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.nav-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
    border: 1px solid #25D366 !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background: #128C7E !important;
    border-color: #128C7E !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #0a4820);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(17, 94, 43, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(98, 182, 20, 0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

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

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

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

.section-bg {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

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

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(98, 182, 20, 0.12), rgba(17, 94, 43, 0.08));
    color: var(--primary);
    border: 1px solid rgba(98, 182, 20, 0.25);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Hero Section & Premium Slider
   ========================================================================== */

.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    background: var(--dark);
}

.slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.slider-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    box-shadow: 0 0 10px rgba(102, 187, 106, 0.8);
    transition: width 0.1s linear;
}

.hero-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 150px 0 130px 0;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
}

.hero-slide.active .hero-bg {
    transform: scale(1.12);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 30, 18, 0.9) 0%, rgba(27, 56, 32, 0.75) 55%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 780px;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--accent-light) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 18px;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.hero-title {
    font-size: 3.4rem;
    color: var(--white);
    margin: 20px 0;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #e2e8f0;
    margin-bottom: 38px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 680px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

.hero-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.55s;
}

/* Active Slide Text Stagger Animations */
.hero-slide.active .hero-badge,
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .hero-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-hero {
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.5);
}

.slider-arrow.prev { left: 35px; }
.slider-arrow.next { right: 35px; }

/* Bottom Control Bar */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
    z-index: 10;
    background: rgba(15, 30, 18, 0.6);
    backdrop-filter: blur(12px);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.slider-counter {
    color: #cbd5e1;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.slider-counter .current-slide {
    color: var(--accent);
    font-size: 1.1rem;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 12px;
}

/* ==========================================================================
   Cards & Grids
   ========================================================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-light);
}

.card-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Portfolio & Reference Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,56,32,0.9), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: var(--white);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ==========================================================================
   Page Inner Headers
   ========================================================================== */

.page-banner {
    position: relative;
    background: linear-gradient(rgba(15, 35, 18, 0.72), rgba(27, 56, 32, 0.82)), url('../images/banner-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 85px 0;
    text-align: center;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.4);
}

.page-banner.banner-alt {
    background: linear-gradient(rgba(15, 35, 18, 0.72), rgba(27, 56, 32, 0.82)), url('../images/banner-bg-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner h1 {
    color: var(--white);
    font-size: 2.75rem;
    margin-bottom: 12px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.5px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #e2e8f0;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.breadcrumb a {
    color: var(--accent-light);
    font-weight: 500;
}

.breadcrumb a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   Call To Action Banner with AI Garden Care Background
   ========================================================================== */

.cta-banner {
    position: relative;
    background: linear-gradient(rgba(15, 35, 18, 0.82), rgba(27, 56, 32, 0.88)), url('../images/cta-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    padding: 85px 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}

.cta-banner h2 {
    color: var(--white);
    font-size: 2.6rem;
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.cta-banner p {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 680px;
    margin: 0 auto 32px auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.7;
}

.cta-banner .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.cta-banner .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;;
}

.info-icon {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 10000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: var(--white);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--dark);
    color: #94a3b8;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    padding: 25px 0;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: var(--accent-light);
    font-weight: 500;
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

/* Custom Page & Detail Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .about-grid, .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .top-email {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 50px 0;
    }

    .cta-banner, .page-banner {
        padding: 50px 0;
    }

    .hero-slide {
        padding: 120px 0 80px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2, .cta-banner h2 {
        font-size: 1.8rem;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .btn-hero {
        width: 100%;
        margin-bottom: 10px;
    }

    .slider-arrow {
        display: none; /* Hide arrows on mobile, rely on swipe/dots */
    }
}

/* Map Section Styling */
.map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 550px !important;
    border: 0 !important;
}
