/* =============================================
   LAS VARILLAS - Shared styles for all 4 sections
   Reuses secc- and camp- patterns
   ============================================= */

.lv-section { padding: 40px 0 50px; }

.lv-header { text-align: center; margin-bottom: 36px; }
.lv-header-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: #f0faf2; border-radius: 50%; margin-bottom: 14px; }
.lv-header-icon i { font-size: 28px; color: #0B5C21; }
.lv-header h1 { font-family: 'Lato', sans-serif; font-size: 30px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; }
.lv-header p { font-size: 15px; color: #666; margin: 0 auto; max-width: 600px; }

/* Hero: título + imagen flotante + texto (same as seccional) */
.lv-hero { margin-bottom: 48px; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 32px 36px 36px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.lv-hero-title { font-family: 'Lato', sans-serif; font-size: 24px; font-weight: 700; color: #0B5C21; margin: 0 0 20px 0; line-height: 1.3; text-align: center; padding-bottom: 16px; border-bottom: 2px solid #e8f5ea; }
.lv-hero-content { overflow: hidden; }
.lv-hero-img { float: left; width: 380px; margin: 0 28px 16px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.lv-hero-img img { width: 100%; height: auto; display: block; }
.lv-hero-body { font-size: 14px; color: #444; line-height: 1.8; }
.lv-hero-body p { margin-bottom: 8px; }
.lv-text-heading { font-family: 'Lato', sans-serif; font-size: 18px; font-weight: 700; color: #0B5C21; margin: 20px 0 10px 0; }

/* PDF button in hero */
.lv-hero-pdf { display: inline-flex; align-items: center; gap: 8px; padding: 9px 20px; background: #f0faf2; color: #0B5C21; font-size: 13px; font-weight: 600; border-radius: 8px; text-decoration: none; transition: background 0.2s; margin-top: 10px; }
.lv-hero-pdf:hover { background: #0B5C21; color: #fff; }

/* Gallery (same as seccional/camping) */
.lv-gallery-section { margin-top: 10px; }
.lv-gallery-title { font-family: 'Lato', sans-serif; font-size: 24px; font-weight: 700; color: #1a1a1a; text-align: center; margin: 0 0 24px 0; }
.lv-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.lv-filter-btn { padding: 9px 22px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font-family: 'Lato', sans-serif; font-size: 13px; font-weight: 600; color: #555; cursor: pointer; transition: all 0.2s; }
.lv-filter-btn:hover { border-color: #0B5C21; color: #0B5C21; }
.lv-filter-btn.active { background: #0B5C21; color: #fff; border-color: #0B5C21; }

.lv-photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.lv-photo-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: #f0f0f0; cursor: pointer; }
.lv-photo-item.hidden { display: none; }
.lv-photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.lv-photo-item:hover img { transform: scale(1.08); }
.lv-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,92,33,0.7) 0%, rgba(11,92,33,0) 60%); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 14px; gap: 4px; opacity: 0; transition: opacity 0.3s; }
.lv-photo-item:hover .lv-photo-overlay { opacity: 1; }
.lv-photo-overlay i { color: #fff; font-size: 24px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.7); transition: transform 0.3s; }
.lv-photo-item:hover .lv-photo-overlay i { transform: translate(-50%,-50%) scale(1); }
.lv-photo-overlay span { color: #fff; font-size: 12px; font-weight: 600; text-align: center; text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.lv-photo-count { text-align: center; margin-top: 16px; font-size: 13px; color: #888; }
.lv-lb-detail { margin-top: 10px; padding: 10px 20px; background: rgba(255,255,255,0.08); border-radius: 8px; color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.5; text-align: center; max-width: 600px; border: 1px solid rgba(255,255,255,0.1); }

/* Google Maps */
.lv-map-section { margin-top: 48px; }
.lv-map-title { font-family: 'Lato', sans-serif; font-size: 20px; font-weight: 700; color: #1a1a1a; text-align: center; margin: 0 0 20px 0; }
.lv-map-wrap { border-radius: 14px; overflow: hidden; border: 1px solid #eee; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.lv-map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; }

/* Responsive */
@media (max-width: 1100px) { .lv-photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .lv-hero { padding: 24px; }
    .lv-hero-img { width: 300px; margin-right: 20px; }
    .lv-hero-title { font-size: 21px; }
}
@media (max-width: 600px) {
    .lv-section { padding: 24px 0 36px; }
    .lv-header h1 { font-size: 22px; }
    .lv-hero { padding: 18px; margin-bottom: 32px; }
    .lv-hero-title { font-size: 18px; padding-bottom: 12px; margin-bottom: 16px; }
    .lv-hero-img { float: none; width: 100%; max-width: 360px; margin: 0 auto 16px auto; }
    .lv-hero-body { font-size: 13px; }
    .lv-text-heading { font-size: 16px; }
    .lv-photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .lv-filter-btn { padding: 7px 14px; font-size: 12px; }
    .lv-filters { gap: 6px; }
    .lv-gallery-title { font-size: 20px; }
    .lv-map-wrap iframe { height: 280px; }
}
@media (min-width: 1400px) { .lv-photo-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1600px) { .lv-photo-grid { grid-template-columns: repeat(6, 1fr); } }
