:root {
    /* Palet Granodiorit Lebak */
    --agri-green: #3B5E4A;      /* Moss Green Geosite - alam & geosite */
    --agri-dark: #1F2937;       /* Biotite Black - teks & kontras */
    --agri-light: #F2F4F5;      /* Quartz White - latar utama */
    --agri-amber: #D97706;      /* Andesine Bronze - highlight & CTA */
    --agri-earth: #6B7280;      /* Granodiorit Grey - elemen sekunder */
    --text-dark: #1F2937;
    --text-muted: #6B7280;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    /* Latar menyerupai permukaan batu granodiorit yang lembut */
    background:
        radial-gradient(circle at 0 0, rgba(255,255,255,0.65), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(0,0,0,0.06), transparent 55%),
        #f2f2f0;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.agri-navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.agri-navbar .container {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.brand-badge .leaf {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--agri-green), var(--agri-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 12px 25px rgba(45, 159, 101, 0.25);
}

.agri-nav-links {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero {
    position: relative;
    overflow: hidden;
    /* Background gambar hero dari assets/images */
    background-image: url('../images/gambar-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Overlay gelap untuk kontras teks */
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.7) 0%, rgba(107, 114, 128, 0.6) 100%);
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /* Tekstur titik-titik halus menyerupai butiran mineral faneritik */
    background: url('data:image/svg+xml,<svg width="160" height="160" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="18" cy="20" r="1.3" fill="rgba(255,255,255,0.15)"/><circle cx="70" cy="25" r="1" fill="rgba(0,0,0,0.25)"/><circle cx="30" cy="72" r="1.1" fill="rgba(255,255,255,0.12)"/><circle cx="82" cy="78" r="1.4" fill="rgba(0,0,0,0.22)"/><circle cx="50" cy="48" r="0.9" fill="rgba(255,255,255,0.14)"/></svg>') repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    margin: 0 0 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    max-width: 560px;
    margin-bottom: 32px;
}

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

.btn-primary {
    background: #fff;
    color: var(--agri-dark);
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(0,0,0,0.18);
}

.btn-ghost {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, border 0.2s ease;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.8);
}

.hero-visual {
    background: rgba(255,255,255,0.12);
    padding: 24px;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    backdrop-filter: blur(6px);
    position: relative;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.hero-stat {
    background: rgba(255,255,255,0.15);
    padding: 16px;
    border-radius: 16px;
}

.hero-stat .value {
    font-size: 1.6rem;
    font-weight: 700;
}

.hero-stat .label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 140px;
    background: rgba(255,255,255,0.08);
    opacity: 0.7;
    transform: translateX(-25%);
    border-radius: 50%;
    animation: wave 12s infinite linear;
}

@keyframes wave {
    from { transform: translateX(-25%); }
    to { transform: translateX(-5%); }
}

.section {
    padding: 80px 0;
}

.section .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 24px;
}

/* PRADES (Perangkat Desa Grid) */
.prades-section {
    background: #f5f4f1;
}

.prades-grid-wrapper {
    width: 100%;
}

.prades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.prades-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: #f5f3ef; /* selaras dengan panel batu granodiorit */
    padding: 22px 20px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(196, 122, 59, 0.1);
}

.prades-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-color: rgba(196, 122, 59, 0.25);
}

.prades-avatar {
    width: 250px;
    height: 250px;
    border-radius: 12px; /* kotak, bukan lingkaran */
    overflow: hidden;
    border: 3px solid rgba(196, 122, 59, 0.25);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.prades-card:hover .prades-avatar {
    transform: scale(1.05);
}

.prades-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prades-avatar--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e7eb;
    color: #6b7280;
    font-size: 1.6rem;
}

.prades-info {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.prades-info h3 {
    margin: 0 0 2px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prades-info .jabatan {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .prades-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .prades-card {
        padding: 18px 16px 16px;
    }

    .prades-avatar {
        width: 140px;
        height: 140px;
    }

    .prades-info h3 {
        font-size: 0.98rem;
    }

    .prades-info .jabatan {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .prades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .prades-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1400px) {
    .prades-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    margin: 0;
    font-size: 2.4rem;
    color: var(--agri-dark); /* judul section warna batu gelap */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.section-title h2 i {
    color: var(--agri-green);
    font-size: 2rem;
}

.section-title p {
    margin: 12px auto 0;
    color: var(--text-muted);
    max-width: 640px;
}

/* Aksen garis tembaga di bawah judul section */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, var(--agri-earth), var(--agri-green));
    border-radius: 999px;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.program-card {
    background: #f8f8f7;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(107, 110, 115, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[data-animate] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 65px rgba(21, 94, 54, 0.16);
}

.program-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(242, 242, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--agri-green);
    margin-bottom: 20px;
}

.program-card h3 {
    margin: 0 0 10px;
}

.program-card p {
    margin: 0 0 18px;
    color: var(--text-muted);
}

.tag {
    display: inline-flex;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    background: var(--agri-light);
    color: var(--agri-dark);
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.news-card {
    background: #f5f3ef; /* panel berita selaras tema granodiorit */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(31, 35, 39, 0.12);
    border: 1px solid rgba(107, 110, 115, 0.16);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

.news-cover {
    height: 180px;
    background-position: center;
    background-size: cover;
}

.news-body {
    padding: 20px;
}

.news-body h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.news-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-meta i {
    color: var(--agri-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    color: white;
    background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
    font-size: 0.9rem;
    font-weight: 600;
}

.video-section {
    background: #fff;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(11, 83, 40, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.video-frame {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-frame iframe,
.video-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.video-body {
    padding: 18px;
}

.video-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.video-meta i {
    color: var(--agri-green);
}

.video-link {
    color: var(--agri-green);
    font-weight: 600;
}

.map-section {
    background: var(--agri-light);
}

.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 420px;
    border: none;
}

.map-actions {
    margin-top: 20px;
    text-align: center;
}

.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.floating-leaf {
    z-index: 2;
    position: absolute;
    font-size: 2.8rem;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite alternate;
}

.floating-leaf.leaf-1 { top: 12%; left: 10%; animation-delay: 0s; }
.floating-leaf.leaf-2 { top: 20%; right: 12%; animation-delay: 1.5s; }
.floating-leaf.leaf-3 { bottom: 8%; left: 18%; animation-delay: 0.8s; }

@keyframes float {
    from { transform: translateY(0px) rotate(-4deg); }
    to { transform: translateY(-18px) rotate(6deg); }
}

/* ============================================
   RESPONSIVE LAYOUT FOR ALL DEVICES
   ============================================ */

/* Tablet (768px - 1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
    .hero {
        padding: 90px 0 70px;
    }

    .hero .container {
        padding: 0 20px;
        gap: 32px;
    }
    
    .hero-content h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }
    
    .hero-content p {
        font-size: 1rem;
        max-width: 520px;
    }
    
    .hero-visual {
        padding: 20px;
        border-radius: 20px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 14px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section .container {
        padding: 0 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .news-grid,
    .program-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 14px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 18px;
    }
    
    .stat-card,
    .program-card,
    .news-card,
    .video-card {
        padding: 22px;
    }
    
    .map-wrapper {
        border-radius: 20px;
    }
    
    .map-wrapper iframe {
        height: 380px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 16px;
    }
    
    .hero-content h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 16px;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-ghost {
        width: 100%;
        justify-content: center;
    }
    
    .hero-visual {
        padding: 16px;
        border-radius: 16px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 16px;
    }
    
    .hero-stat {
        padding: 12px;
    }
    
    .hero-stat .value {
        font-size: 1.4rem;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section .container {
        padding: 0 16px;
    }
    
    .section-title {
        margin-bottom: 32px;
    }
    
    .section-title h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-title p {
        font-size: 0.95rem;
        margin-top: 8px;
    }
    
    .program-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .program-card,
    .news-card {
        padding: 20px;
        border-radius: 16px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .gallery-card img {
        height: 180px;
    }
    
    .gallery-card .caption {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-card {
        border-radius: 16px;
    }
    
    .video-body {
        padding: 16px;
    }
    
    .map-wrapper {
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .map-wrapper iframe {
        height: 350px;
    }
    
    .map-actions {
        margin-top: 16px;
    }
    
    .map-actions .btn-primary {
        width: 100%;
        max-width: 100%;
    }
    
    .program-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    
    .news-cover {
        height: 180px;
    }
    
    .news-body {
        padding: 16px;
    }
    
    .news-meta {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .news-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .news-card p {
        font-size: 0.9rem;
    }
}

/* Extra small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .hero {
        padding: 50px 0 30px;
    }
    
    .hero .container {
        padding: 0 12px;
        gap: 24px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .section {
        padding: 32px 0;
    }
    
    .section .container {
        padding: 0 12px;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    .program-card,
    .news-card {
        padding: 16px;
    }
    
    .program-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .news-cover {
        height: 160px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-card {
        border-radius: 12px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-card {
        padding: 16px;
    }
    
    .map-wrapper {
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .map-wrapper iframe {
        height: 300px;
        border-radius: 12px;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .map-actions .btn-primary {
        width: 100%;
    }
    
    .mashedi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mashedi-card:last-child {
        grid-column: 1;
    }
    
    .temp-value {
        font-size: 2.5rem;
    }
    
    .next-prayer-time {
        font-size: 1.5rem;
    }
}

/* MASHEDI Section - Jadwal Sholat, Pengumuman, Cuaca */
.mashedi-section {
    padding: 80px 0;
    background: var(--agri-light);
}

.mashedi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.mashedi-card {
    background: white;
    border-radius: 0;
    border: 1px solid rgba(107, 114, 128, 0.15);
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mashedi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(31, 41, 55, 0.12);
    border-color: var(--agri-green);
}

.mashedi-card-header {
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 94, 74, 0.05) 0%, rgba(107, 114, 128, 0.03) 100%);
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mashedi-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 0;
    background: var(--agri-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.mashedi-card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--agri-dark);
    flex: 1;
}

.mashedi-date,
.mashedi-location {
    font-size: 0.85rem;
    color: var(--agri-earth);
    margin: 0;
    width: 100%;
    margin-top: 4px;
}

.mashedi-link {
    color: var(--agri-green);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.mashedi-link:hover {
    color: var(--agri-amber);
}

.mashedi-card-body {
    padding: 24px;
    flex: 1;
}

/* Jadwal Sholat Styles */
.next-prayer {
    background: linear-gradient(135deg, var(--agri-green) 0%, #2d4a3a 100%);
    color: white;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 20px;
    text-align: center;
}

.next-prayer-label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.next-prayer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.next-prayer-time {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.next-prayer-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.prayer-times {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prayer-time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--agri-light);
    border-radius: 0;
    border: 1px solid rgba(107, 114, 128, 0.1);
    transition: all 0.3s ease;
}

.prayer-time-item.active {
    background: rgba(59, 94, 74, 0.1);
    border-color: var(--agri-green);
}

.prayer-time-item:hover {
    background: rgba(59, 94, 74, 0.05);
    transform: translateX(4px);
}

.prayer-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--agri-dark);
}

.prayer-name i {
    font-size: 0.5rem;
    color: var(--agri-green);
}

.prayer-time-item.active .prayer-name i {
    color: var(--agri-amber);
    animation: pulse 2s ease infinite;
}

.prayer-time {
    font-weight: 700;
    color: var(--agri-green);
    font-size: 1.1rem;
}

.prayer-time-item.active .prayer-time {
    color: var(--agri-amber);
}

/* Pengumuman Styles */
.pengumuman-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pengumuman-item {
    padding: 16px;
    background: var(--agri-light);
    border-radius: 0;
    border-left: 3px solid var(--agri-green);
    transition: all 0.3s ease;
}

.pengumuman-item:hover {
    background: rgba(59, 94, 74, 0.05);
    transform: translateX(4px);
}

.pengumuman-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--agri-green);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 0;
    margin-bottom: 8px;
}

.pengumuman-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--agri-dark);
}

.pengumuman-item p {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--agri-earth);
    line-height: 1.5;
}

.pengumuman-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--agri-earth);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--agri-earth);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.3;
}

.empty-state p {
    margin: 0;
    font-size: 0.95rem;
}

/* Cuaca Styles */
.cuaca-main {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}

.cuaca-temp {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.temp-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--agri-dark);
    line-height: 1;
}

.temp-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--agri-earth);
    margin-top: 8px;
}

.cuaca-condition {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--agri-green);
}

.cuaca-condition i {
    font-size: 1.5rem;
}

.cuaca-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.cuaca-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--agri-light);
    border-radius: 0;
}

.cuaca-detail-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--agri-green);
    color: white;
    border-radius: 0;
    font-size: 1rem;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--agri-earth);
    margin-bottom: 2px;
}

.detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--agri-dark);
}

.cuaca-description {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(59, 94, 74, 0.05);
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--agri-dark);
}

.cuaca-description i {
    color: var(--agri-green);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.mashedi-card[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.mashedi-card[data-animate]:nth-child(1) {
    animation-delay: 0.1s;
}

.mashedi-card[data-animate]:nth-child(2) {
    animation-delay: 0.2s;
}

.mashedi-card[data-animate]:nth-child(3) {
    animation-delay: 0.3s;
}

.pengumuman-item[data-animate] {
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.6s ease forwards;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .mashedi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mashedi-card:last-child {
        grid-column: 1 / -1;
    }
}

