/* public/assets/css/guest/profildesa.css */

.profil-desa-section {
    font-family: 'Poppins', sans-serif;
    color: #111827;
    padding-bottom: 0;
}

/* Page Header */
.profil-desa-header {
    text-align: center;
    margin-bottom: 3rem;
}

.profil-desa-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2E7D32;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.profil-desa-subtitle::before,
.profil-desa-subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #2E7D32;
}

.profil-desa-subtitle::before {
    left: -40px;
}

.profil-desa-subtitle::after {
    right: -40px;
}

.profil-desa-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.profil-desa-title span {
    color: #2E7D32;
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Bento Cards */
.bento-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.bento-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.bento-card-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(46, 125, 50, 0.1);
    color: #2E7D32;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Grid Layout Assignments */
.bento-main {
    grid-column: span 12;
}

.bento-stats {
    grid-column: span 6;
    justify-content: center;
}

.bento-small {
    grid-column: span 4;
}

@media (min-width: 992px) {
    .bento-main {
        grid-column: span 8;
        grid-row: span 2;
    }
    
    .bento-stats {
        grid-column: span 4;
    }
    
    .bento-small {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    .bento-stats, .bento-small {
        grid-column: span 12;
    }
}

/* Typography inside cards */
.bento-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.bento-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bento-value .unit {
    font-size: 0.85rem;
    color: #2E7D32;
    font-weight: 600;
    background: rgba(46, 125, 50, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.bento-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
}

.bento-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bento-list li:first-child {
    padding-top: 0;
}

.bento-list-label {
    color: #6b7280;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bento-list-label i {
    color: #2E7D32;
    width: 20px;
    text-align: center;
}

.bento-list-val {
    font-weight: 600;
    color: #111827;
    font-size: 0.95rem;
    text-align: right;
}

/* Sections */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #2E7D32;
}

.history-text {
    color: #4b5563;
    line-height: 1.8;
    text-align: justify;
    font-size: 0.95rem;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Kontak Desa */
.kontak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.kontak-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s ease;
}

.kontak-item:hover {
    background: #f0fdf4;
}

.kontak-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kontak-detail {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.kontak-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
}

.kontak-value {
    font-size: 0.9rem;
    color: #374151;
    font-weight: 500;
    line-height: 1.5;
}

.kontak-link {
    font-size: 0.9rem;
    color: #2E7D32;
    font-weight: 500;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.kontak-link:hover {
    color: #1a5c1e;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .kontak-grid {
        grid-template-columns: 1fr;
    }
}

/* Glassify Styles for Data Profil Desa Grid */
.data-profil-bg {
    position: relative;
    border-radius: 32px; 
    background-image: 
        linear-gradient(rgba(20, 83, 45, 0.85), rgba(20, 83, 45, 0.85)),
        url('../../img/section-pengumuman.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

/* Exact CSS from Hype4 Academy Generator */
.glass-card {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45) !important;
}

.glass-card h1, .glass-card h2, .glass-card h3, .glass-card h4, .glass-card h5, .glass-card h6 {
    color: #ffffff !important;
}

.glass-text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Lightweight Scroll Animation */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Monochrome Subtle Green-Gray Map Filter */
.map-tint-green {
    filter: grayscale(100%) sepia(35%) hue-rotate(90deg) contrast(1.1) brightness(0.95) !important;
}
