/* ============================================================
   VARAD SEEDS — Home Page Styles (home.css)
   Only loaded on index.html
   ============================================================ */

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.9), rgba(46, 125, 50, 0.8)),
                url('../assets/images/site/hero-bg.jpg') center/cover;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px;
    animation: movePattern 20s linear infinite;
}

@keyframes movePattern {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(50px) translateY(50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 152, 0, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-text h1 span {
    color: var(--accent-yellow);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

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

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
}

.hero-image-main {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card:nth-child(1) { top: 10%; right: 0; animation-delay: 0s; }
.floating-card:nth-child(2) { bottom: 20%; left: 0; animation-delay: 1s; }
.floating-card:nth-child(3) { bottom: 40%; right: -20px; animation-delay: 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.floating-card .icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.floating-card .text h4 { font-size: 1rem; color: var(--text-dark); }
.floating-card .text p { font-size: 0.8rem; color: var(--text-light); }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-indicator i { font-size: 2rem; }

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: 100px 0;
    background: var(--bg-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-green), var(--accent-orange));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.feature-card:hover .feature-icon i { color: var(--white); }

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==================== ABOUT SECTION ==================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images { position: relative; }

.about-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: 15px;
    border: 5px solid var(--white);
    box-shadow: var(--shadow);
}

.experience-badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background: var(--accent-orange);
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.experience-badge h3 { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.experience-badge p { font-size: 0.9rem; margin-top: 5px; }

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-feature i {
    width: 40px;
    height: 40px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
}

.about-feature span {
    font-weight: 500;
    color: var(--text-dark);
}

/* ==================== GALLERY ==================== */
.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.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;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(27, 94, 32, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 5px; }
.gallery-overlay p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* Gallery Pagination */
.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.gallery-pagination button {
    padding: 10px 18px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.gallery-pagination button.active,
.gallery-pagination button:hover {
    background: var(--primary-green);
    color: var(--white);
}

/* Gallery Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 10px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10002;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ==================== HOME RESPONSIVE ==================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 { font-size: 2.5rem; }
    .hero-stats { justify-content: center; }
    .hero-image { display: none; }

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

    .about-content { grid-template-columns: 1fr; }
    .about-images { order: -1; }

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

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-text h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 20px; }
}
