/* =========================================
   CSS variables and Base Settings
   ========================================= */
:root {
    --bg-primary: #0b0f19;
    --bg-secondary: #111827;
    --accent: #f59e0b; /* Vibrant Amber */
    --accent-glow: rgba(245, 158, 11, 0.4);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

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

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

.highlight {
    color: var(--accent);
}

.bg-darker {
    background-color: var(--bg-secondary);
}

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

.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}
.section-header.center {
    text-align: center;
}
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}
.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    font-family: var(--font-body);
}
.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: #000;
    border: 2px solid var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-primary:hover {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}
.btn-secondary:hover {
    border-color: var(--text-primary);
    background-color: rgba(255,255,255,0.05);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 15, 25, 0.9);
    backdrop-filter: blur(15px);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, rgba(11, 15, 25, 0.95), rgba(11, 15, 25, 0.7)), url('../assets/gallery_plant_wide.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-inner {
    height: 50vh;
    min-height: 400px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 15, 25, 0.9) 0%, rgba(11, 15, 25, 0.6) 50%, rgba(11, 15, 25, 0.3) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.hero-inner .hero-title {
    font-size: 3.5rem;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

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

/* =========================================
   About & Process Content Structure
   ========================================= */
.section-grid, .process-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.about-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.about-description p {
    margin-bottom: 1rem;
}

.about-image-wrapper {
    position: relative;
}
.about-image {
    padding: 1rem;
    position: relative;
}
.about-image img {
    border-radius: 8px;
    width: 100%;
}
.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--accent);
    color: #000;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px var(--accent-glow);
}
.experience-badge .number {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
}
.experience-badge .text {
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================
   Products Section
   ========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.product-card {
    padding: 2.5rem 2rem;
    text-align: center;
}
.product-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}
.product-card:hover .product-icon {
    background: var(--accent);
    color: #000;
    transform: scale(1.1);
}
.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.product-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =========================================
   Why Us & Features Grid
   ========================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}
.feature-item p {
    color: var(--text-secondary);
}

/* =========================================
   Locations Contact Cards
   ========================================= */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}
.location-card {
    padding: 3rem;
    text-align: left;
}
.location-card i.main-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.location-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.location-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}
.location-card .contact-links {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    max-width: 400px;
}
.footer-brand h2 {
    font-family: var(--font-heading);
    margin-top: 0;
}
.footer-brand p {
    color: var(--text-secondary);
}
.footer-contact h3 {
    font-family: var(--font-heading);
    margin-top: 0;
    margin-bottom: 1.5rem;
}
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
}
.footer-contact i {
    color: var(--accent);
}
.footer-contact a:hover {
    color: var(--accent);
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* =========================================
   Sticky WhatsApp
   ========================================= */
.floating-social-menu {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.social-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.social-option:hover {
    transform: scale(1.1);
    color: white;
}

.social-option.whatsapp { background-color: #25d366; }
.social-option.whatsapp:hover { box-shadow: 0 0 15px #25d366; }

.social-option.youtube { background-color: #ff0000; }
.social-option.youtube:hover { box-shadow: 0 0 15px #ff0000; }

.social-option.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-option.instagram:hover { box-shadow: 0 0 15px #bc1888; }

.main-fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent);
    color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 175, 41, 0.4);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.main-fab:hover {
    transform: scale(1.05);
}

.main-fab::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--accent);
    z-index: -1;
    animation: socialPulse 2s linear infinite;
}

@keyframes socialPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

.main-fab.active {
    transform: rotate(45deg);
    background-color: #fff;
    animation: none;
}
.main-fab.active::after {
    display: none;
}


/* =========================================
   Gallery Section
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    cursor: pointer;
}

.gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    height: 615px; /* (300*2) + gap */
}

@media (max-width: 900px) {
    .gallery-item.featured {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 15, 25, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

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

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--accent);
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    animation: zoomIn 0.3s ease-out;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .section-grid, .process-grid {
        grid-template-columns: 1fr;
    }
    .experience-badge {
        bottom: 10px;
        left: 10px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(15px);
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
        text-align: center;
    }
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-contact {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-content {
        padding-top: 90px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .section { padding: 4rem 0; }
    .location-card, .workflow-card, .product-card, .faq-card {
        padding: 1.5rem !important;
    }
    .hero-inner .hero-title {
        font-size: 2.5rem;
    }
    .stats-grid .stat-box h3 {
        font-size: 2.8rem !important;
    }
}
