/* ========================================================
   GREEN PARADISE LANDING PAGE (WITH ANIMATIONS)
   ======================================================== */

/* --- SCROLL ANIMATION CLASSES --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal.show-reveal {
    opacity: 1;
    transform: translateY(0);
}

.gp-home-hero {
    background-color: #0b4f2c; /* Deep emerald green */
    position: relative;
    padding: 100px 20px 180px 20px;
    overflow: hidden;
}
.gp-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}
.gp-hero-text {
    flex: 1;
    color: #ffffff;
}
.gp-hero-text h1 {
    font-size: 54px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Noto Sans Khmer', sans-serif;
}
.gp-hero-text p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    font-family: 'Noto Sans Khmer', sans-serif;
}

.btn-gp-outline {
    background: transparent;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #ffffff; 
    transition: all 0.3s ease;
}
.btn-gp-outline:hover { 
    background-color: #ffffff; 
    color: #0b4f2c; 
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255,255,255,0.2);
}

/* Right Image & Slider Layout */
.gp-hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.gp-hero-image-wrapper img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s ease, opacity 0.4s ease-in-out;
}


/* ========================================================
   ZIGZAG CROPS SECTION
   ======================================================== */
.crop-zigzag-section {
    background-color: #ffffff;
    padding: 80px 20px 120px 20px;
    position: relative;
    overflow: hidden;
}

/* Floating Decorative Leaves */
.float-leaf {
    position: absolute;
    color: #92d050;
    opacity: 0.3;
    font-size: 30px;
    z-index: 0;
    /* Constant slow floating animation */
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0) rotate(-20deg); }
    50% { transform: translateY(-20px) rotate(-10deg); }
    100% { transform: translateY(0) rotate(-20deg); }
}
.leaf-1 { top: 10%; left: 10%; animation-delay: 0s; }
.leaf-2 { top: 40%; right: 15%; font-size: 40px; animation-delay: 2s; }
.leaf-3 { bottom: 20%; left: 8%; animation-delay: 4s; }

.crop-zigzag-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px; 
    position: relative;
    z-index: 2;
}

/* Base Row Flexbox */
.crop-zz-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.crop-zz-row:nth-child(even) {
    flex-direction: row-reverse;
}
.crop-zz-row:nth-child(even) .crop-zz-text {
    text-align: right;
}

.crop-zz-image {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
}
.crop-zz-image img {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    /* Image zoom animation */
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
/* Zooms the image slightly when hovering over the row */
.crop-zz-row:hover .crop-zz-image img {
    transform: scale(1.05);
    box-shadow: 0 25px 45px rgba(0,0,0,0.2);
}

.crop-zz-text {
    flex: 1;
    text-align: left; 
}
.crop-zz-text h2 {
    font-size: 42px;
    color: #111;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Noto Sans Khmer', sans-serif;
}
.crop-zz-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    font-family: 'Noto Sans Khmer', sans-serif; 
}

/* The Bright Green View Button */
.btn-gp-green {
    background-color: #a4d265; 
    color: #000000;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Noto Sans Khmer', sans-serif;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(164, 210, 101, 0.3);
}
.btn-gp-green:hover {
    background-color: #8cc446;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(140, 196, 70, 0.5);
}

/* ================= MOBILE RESPONSIVE FIXES ================= */
@media (max-width: 900px) {
    .gp-hero-container {
        flex-direction: column;
        text-align: center;
    }
    .crop-zigzag-container {
        gap: 40px;
    }
    .crop-zz-row {
        gap: 15px;
        align-items: center;
    }
    .crop-zz-image img {
        height: 160px;
        border-radius: 12px;
    }
    .crop-zz-text h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    .crop-zz-text p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    .btn-gp-green {
        padding: 8px 20px;
        font-size: 13px;
    }
    .float-leaf {
        display: none; 
    }
}