/* Variables */
:root {
    --primary-color: #2E7D32;
    /* Green */
    --primary-dark: #1E5622;
    --primary-light: #4caf50;
    --secondary-bg: #FFFFFF;
    --accent-color: #F5E6D3;
    /* Light Brown / Beige */
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #F9FAFB;
    --transition: all 0.3s ease;
    --font-main: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

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

.hidden {
    display: none;
}

h1,
h2,
h3,
h4 {
    color: var(--text-color);
    line-height: 1.3;
}

h2.section-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.5rem auto 1.5rem;
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px rgba(46, 125, 50, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3);
}

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

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

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

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1EBE55;
    color: white;
    transform: translateY(-2px);
}

.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    color: white;
}

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

.btn-email:hover {
    transform: translateY(-2px);
    color: white;
}

.block-btn {
    width: 100%;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.navbar.scroll-down {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar.scroll-up {
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-slogan {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 0.5px;
    margin-top: -2px;
}

.logo img {
    height: 85px;
    width: 85px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

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

/* Navbar Dropdown styling */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    top: 100%;
    overflow: hidden;
}

.dropdown-content a {
    color: #333 !important;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary-dark) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--accent-color);
    animation: fadeInUp 0.8s ease;
}

.hero .subtext {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.tagline {
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s ease;
}

.tagline span {
    background: var(--accent-color);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1.4s ease;
}

/* About Section */
.about {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

/* --------------------------------- */
/* ANIMATED RECYCLE GRAPHIC */
/* --------------------------------- */
.recycle-animation-container {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.15;
    pointer-events: none;
}

.recycle-icon {
    font-size: 14rem;
    color: var(--primary-dark);
    animation: recycleBreath 12s infinite linear;
}

@keyframes recycleBreath {
    0% {
        transform: scale(0.9) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.05) rotate(180deg);
        opacity: 1;
        filter: drop-shadow(0 0 30px var(--primary-color));
    }
    100% {
        transform: scale(0.9) rotate(360deg);
        opacity: 0.4;
    }
}

/* What We Offer */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-color);
}

.service-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Shop Categories */
.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.cat-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.cat-card:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(46, 125, 50, 0.2);
}

.cat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    transition: var(--transition);
}

.cat-card:hover i {
    color: white;
}

.cat-card h4 {
    font-size: 1rem;
    font-weight: 500;
}

/* Sell Section */
.sell-highlight {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-color) 100%);
}

.sell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.sell-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

.sell-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.form-upload-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.upload-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.upload-box {
    background: #f8f9fa;
    border: 1px dashed #ccc;
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
}

.upload-box label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.upload-box input[type="file"] {
    font-size: 0.8rem;
    width: 100%;
}

.full-width-file {
    width: 100%;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    padding: 0.8rem;
    border-radius: 8px;
}

.form-msg {
    margin-top: 1rem;
    padding: 1rem;
    background: #e8f5e9;
    color: var(--primary-dark);
    border-radius: 8px;
    text-align: center;
}

/* Instagram */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.insta-post {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.insta-post:hover .insta-overlay {
    opacity: 1;
}

/* Reviews */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.stars {
    color: #f39c12;
    margin-bottom: 1rem;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.customer {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Delivery */
.delivery-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.delivery-icon {
    font-size: 5rem;
    color: var(--primary-color);
}

.delivery-text h2 {
    margin-bottom: 0.5rem;
}

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

.delivery-text .estimate {
    margin-top: 1rem;
    color: var(--primary-dark);
}

/* FAQ */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    cursor: pointer;
    font-weight: 500;
}

.accordion-header h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

.accordion-header i {
    transition: transform 0.3s;
    color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Contact */
.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #111;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.footer-brand h3 img {
    height: 85px;
    width: 85px;
    object-fit: contain;
}

.footer-brand p {
    color: #999;
    margin-bottom: 0.5rem;
}

.footer-brand p.location-text {
    margin-bottom: 1.5rem;
    color: #aaa;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    background: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
    color: #666;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Intro Splash Screen */
#intro-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b2412;
    /* Dark green matching theme */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out;
}

#intro-splash.fade-out {
    opacity: 0;
    pointer-events: none;
}

#intro-splash video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 992px) {
    .sell-grid {
        grid-template-columns: 1fr;
    }

    .delivery-flex {
        flex-direction: column;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* simple mobile nav hide for now */
    }

    .mobile-menu {
        display: block;
    }

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

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }
}