/**
 * ZameenPro - Website Styles
 * Lush botanical design system, high-contrast hero, visual marla matrix, and nature aesthetics.
 */

/* ── Base ────────────────────────────────────────────────── */
.website-body {
    background: #fbfdfc;
    color: #1f2937;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
}

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

/* ── Navigation Header ───────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 33, 22, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.site-logo i {
    color: #52b788;
    font-size: 1.6rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #d1fae5;
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: #6ee7b7;
}

.site-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle {
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.2s;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary.btn-sm {
    padding: 8px 18px;
    background: #2d6a4f;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary.btn-sm:hover {
    background: #40916c;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
}

/* ── Lush Botanical Hero Section ─────────────────────────── */
.hero-lush {
    position: relative;
    background: #081c12 url('../images/hero_farmland.jpg') center center / cover no-repeat;
    padding: 6.5rem 0 5.5rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 25, 16, 0.82) 0%, rgba(12, 36, 23, 0.88) 55%, rgba(6, 18, 12, 0.97) 100%);
    backdrop-filter: blur(1.5px);
    z-index: 1;
}

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

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.hero-plant-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #a7f3d0;
    padding: 8px 22px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 1.8rem;
    border: 1px solid rgba(167, 243, 208, 0.35);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-main-title {
    color: #ffffff !important;
    font-size: clamp(2.3rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.18;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    margin: 0 0 1.25rem 0;
    letter-spacing: -0.5px;
}

.hero-main-subtitle {
    color: #e2f9ea !important;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto 2.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(45, 106, 79, 0.45);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(45, 106, 79, 0.55);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    transition: background 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
}

.hero-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.45);
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 0.92rem;
    color: #d1fae5;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-contact-pill i {
    color: #25d366;
    font-size: 1.15rem;
}

.hero-contact-pill .contact-number {
    color: #34d399;
    font-weight: 800;
    font-size: 1.05rem;
    text-decoration: none;
    margin-left: 4px;
}

.hero-contact-pill .contact-number:hover {
    text-decoration: underline;
}

/* Floating Botanical Highlights */
.hero-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-top: 3.5rem;
}

.hero-highlight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    transition: transform 0.2s, background 0.2s;
}

.hero-highlight-card:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(82, 183, 136, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #a7f3d0;
}

.highlight-text strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
}

.highlight-text span {
    font-size: 0.78rem;
    color: #d1fae5;
}

/* ── Visual 20 Marla Matrix Section ──────────────────────── */
.section-showcase {
    padding: 5rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #e8f5e9;
    color: #1b4332;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1b4332;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.marla-preview-card {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.07);
}

.marla-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 16px;
}

.marla-preview-header h3 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    color: #1b4332;
}

.marla-preview-header small {
    color: #6b7280;
    font-size: 0.9rem;
}

.marla-legend {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.status-planted { background: #2d6a4f; }
.status-ready   { background: #d97706; }
.status-water   { background: #0284c7; }
.status-empty   { background: #e5e7eb; }

.marla-demo-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 10px;
}

.marla-demo-cell {
    border-radius: 8px;
    padding: 10px 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 62px;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: default;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.marla-demo-cell:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.marla-demo-cell strong {
    font-size: 0.85rem;
    line-height: 1.1;
}

.marla-demo-cell small {
    font-size: 0.68rem;
    margin-top: 3px;
}

/* ── Features Section ────────────────────────────────────── */
.section-features {
    padding: 5rem 0;
    background: #fbfdfc;
}

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

.feature-card-lush {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature-card-lush:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(45, 106, 79, 0.12);
    border-color: #a7f3d0;
}

.feature-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #e8f5e9;
    color: #2d6a4f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.feature-card-lush h3 {
    margin: 0 0 0.65rem 0;
    font-size: 1.2rem;
    color: #1b4332;
    font-weight: 700;
}

.feature-card-lush p {
    margin: 0;
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
}

/* ── Bottom CTA ──────────────────────────────────────────── */
.section-cta-banner {
    padding: 4rem 0 6rem;
}

.cta-banner-box {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 20px 45px rgba(27, 67, 50, 0.35);
}

.cta-banner-box h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
}

.cta-banner-box p {
    font-size: 1.1rem;
    color: #d1fae5;
    margin: 0 auto 2rem;
    max-width: 600px;
}

.cta-banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #0f281e;
    color: #9ca3af;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand h3 {
    color: #ffffff;
    margin: 0 0 10px 0;
}

.footer-links h4 {
    color: #ffffff;
    margin: 0 0 16px 0;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #34d399;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .marla-demo-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .marla-demo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .hero-btn-group, .cta-banner-buttons {
        flex-direction: column;
    }
    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ── Floating Ambient Sound Button ───────────────────────── */
.floating-ambient-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(18, 38, 30, 0.92);
    color: #ffffff;
    border: 1.5px solid rgba(82, 183, 136, 0.5);
    border-radius: 9999px;
    box-shadow: 0 10px 28px rgba(8, 28, 21, 0.45), 0 0 12px rgba(82, 183, 136, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    user-select: none;
}

[dir="rtl"] .floating-ambient-btn {
    right: auto;
    left: 24px;
}

.floating-ambient-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(8, 28, 21, 0.55), 0 0 20px rgba(82, 183, 136, 0.4);
    border-color: rgba(116, 198, 157, 0.8);
}

.floating-ambient-btn.playing {
    animation: floatingSoundPulse 2.8s infinite;
}

@keyframes floatingSoundPulse {
    0% {
        box-shadow: 0 10px 28px rgba(8, 28, 21, 0.45), 0 0 0 0 rgba(82, 183, 136, 0.55);
    }
    70% {
        box-shadow: 0 10px 28px rgba(8, 28, 21, 0.45), 0 0 0 12px rgba(82, 183, 136, 0);
    }
    100% {
        box-shadow: 0 10px 28px rgba(8, 28, 21, 0.45), 0 0 0 0 rgba(82, 183, 136, 0);
    }
}

.floating-ambient-btn.muted {
    background: rgba(30, 41, 59, 0.88);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Sound Wave Bars */
.sound-wave-bars {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 16px;
}

.sound-wave-bars .bar {
    width: 3px;
    height: 4px;
    background: #52b788;
    border-radius: 2px;
    transition: height 0.2s ease, background 0.2s ease;
}

.floating-ambient-btn.playing .bar {
    animation: barWave 1.2s ease-in-out infinite alternate;
}

.floating-ambient-btn.playing .bar-1 { animation-delay: 0.1s; }
.floating-ambient-btn.playing .bar-2 { animation-delay: 0.35s; }
.floating-ambient-btn.playing .bar-3 { animation-delay: 0.2s; }
.floating-ambient-btn.playing .bar-4 { animation-delay: 0.45s; }

@keyframes barWave {
    0% { height: 4px; }
    50% { height: 16px; }
    100% { height: 7px; }
}

.floating-ambient-btn.muted .bar {
    height: 3px;
    background: #94a3b8;
    animation: none;
}

/* Sound Icon */
.sound-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #74c69d;
    transition: color 0.2s;
}

.floating-ambient-btn.muted .sound-icon-box {
    color: #94a3b8;
}

/* Sound Label */
.sound-label {
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.01em;
}

.sound-label .label-title {
    color: #d8f3dc;
    font-weight: 500;
}

.sound-label .label-state {
    color: #4ade80;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.floating-ambient-btn.muted .sound-label .label-title {
    color: #cbd5e1;
}

.floating-ambient-btn.muted .sound-label .label-state {
    color: #f87171;
}

@media (max-width: 640px) {
    .floating-ambient-btn {
        bottom: 18px;
        right: 18px;
        padding: 10px 14px;
    }
    [dir="rtl"] .floating-ambient-btn {
        right: auto;
        left: 18px;
    }
    .sound-label .label-title {
        display: none;
    }
}

