/* ==========================================================================
   PANONGAN AGRO LESTARI - STYLE SHEET
   ========================================================================== */

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --primary: #2e7d32;
    --primary-light: #4caf50;
    --primary-dark: #1b5e20;
    --accent: #ffa000;
    --accent-light: #ffc107;
    --text-dark: #2c3e2f;
    --text-light: #ffffff;
    --text-muted: #5c7562;
    --bg-light: #f1f8e9;
    --bg-white: #ffffff;
    --danger: #d32f2f;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(10, 40, 15, 0.08);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0b1f0c;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- HERO WRAPPER --- */
.hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0) 55%,
        rgba(15, 60, 20, 0.35) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* --- STICKY GLASSMORPHIC HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Scrolled Header Style via JS */
.header.scrolled {
    padding: 12px 5%;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(46, 125, 50, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 101;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 0.5px;
    line-height: 1.1;
    transition: var(--transition-smooth);
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5d6a7;
    transition: var(--transition-smooth);
}

/* Scroll changes logo colors */
.header.scrolled .logo-title {
    color: var(--primary-dark);
}
.header.scrolled .logo-subtitle {
    color: var(--primary);
}

/* --- NAVIGATION LINKS --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-light) !important;
    background: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
    color: var(--primary-dark) !important;
    background: var(--bg-light);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid rgba(46, 125, 50, 0.15);
    z-index: 150;
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.dropdown-content a:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
    padding-left: 25px;
}

/* Hubungi Kami Button */
.btn-contact {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 12px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    transition: var(--transition-bounce);
    z-index: 101;
}

.btn-contact:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(27, 94, 32, 0.4);
}

.btn-contact i {
    font-size: 1.1rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

.header.scrolled .mobile-nav-toggle {
    color: var(--text-dark);
}

/* --- HERO CONTENT --- */
.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    padding: 140px 5% 50px 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.hero-text-area {
    max-width: 750px;
    margin-bottom: 60px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.cursive-welcome {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    color: var(--accent-light);
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(10, 40, 15, 0.6);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.15;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(27, 94, 32, 0.7), 0 2px 4px rgba(0,0,0,0.4);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* --- CARD GRID CONTAINER (GLASSMORPHISM) --- */
.card-grid-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 18px;
    width: 100%;
    margin-top: auto;
    padding-bottom: 20px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-bounce);
    cursor: pointer;
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 40, 15, 0.18);
    border-color: rgba(46, 125, 50, 0.4);
}

.card-image {
    height: 120px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition-smooth);
}

.glass-card:hover .card-image {
    transform: scale(1.05);
}

.card-badge-icon {
    position: absolute;
    top: -20px;
    left: 15px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
    border: 2px solid #ffffff;
    z-index: 5;
    transition: var(--transition-smooth);
}

.glass-card:hover .card-badge-icon {
    background: var(--accent);
    transform: rotate(360deg);
}

.card-body {
    padding: 25px 15px 15px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.card-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 15px;
    flex-grow: 1;
}

.btn-card-action {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
}

.btn-card-action i {
    transition: var(--transition-smooth);
}

.glass-card:hover .btn-card-action {
    background: var(--primary-dark);
}

.glass-card:hover .btn-card-action i {
    transform: translateX(4px);
}

/* --- FOOTER HIGHLIGHT BAR --- */
.footer-bar {
    position: relative;
    width: 100%;
    z-index: 2;
    background: rgba(27, 94, 32, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 15px 5%;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 15px;
}

.footer-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-icon {
    font-size: 1.5rem;
    color: var(--accent-light);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.footer-text {
    display: flex;
    flex-direction: column;
}

.footer-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-light);
}

.footer-desc {
    font-size: 0.75rem;
    color: #c8e6c9;
}

/* --- SUB-FOOTER / SOCIAL LINKS --- */
.sub-footer {
    position: relative;
    width: 100%;
    z-index: 2;
    background: rgba(11, 31, 12, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-copyright {
    font-size: 0.78rem;
    color: #a5d6a7;
    font-weight: 500;
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    text-decoration: none;
    transition: var(--transition-bounce);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.08);
    color: var(--text-light);
}

.social-icon.wa:hover {
    background: #25d366;
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.social-icon.ig:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(214, 36, 159, 0.35);
}

.social-icon.fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.social-icon.th:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* --- MODAL POPUPS (INTERACTIVE SCREEN) --- */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 30, 15, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-backdrop.show {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -42%) scale(0.92);
    width: 90%;
    max-width: 950px;
    max-height: 85vh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.modal-window.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 20px 30px;
    background: var(--bg-light);
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h2 i {
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(0,0,0,0.05);
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.text-green { color: var(--primary); }
.text-red { color: var(--danger); }
.text-yellow { color: #f57f17; }
.text-orange { color: var(--accent); }

/* --- 1. Hasil Perkebunan Grid --- */
.veg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.veg-item {
    display: flex;
    gap: 15px;
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 15px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.veg-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    border-color: rgba(46, 125, 50, 0.2);
    transform: translateY(-3px);
}

.veg-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.veg-details h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.veg-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 8px;
}

.veg-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    background: var(--bg-light);
    color: var(--primary-dark);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(46,125,50,0.15);
}

/* --- 2. Jadwal Panen Elements --- */
.filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-filter {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-filter.active, .btn-filter:hover {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.table-container {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
}

.schedule-table th, .schedule-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.schedule-table th {
    background: var(--bg-light);
    font-weight: 700;
    color: var(--primary-dark);
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-badge.ready {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-badge.growing {
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffe0b2;
}

/* --- 3. Visit Aturan Elements --- */
.visit-sections {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.visit-column h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.checklist-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist-items li {
    display: flex;
    gap: 15px;
}

.check-icon {
    font-size: 1.2rem;
    color: var(--primary);
    background: var(--bg-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checklist-items strong {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.checklist-items p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.rule-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 15px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition-smooth);
}

.rule-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.03);
}

.rule-icon-no {
    font-size: 1.6rem;
    color: var(--danger);
    margin-bottom: 10px;
}

.rule-icon-yes {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.rule-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.rule-card p {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.35;
}

/* --- 4. Gallery Elements --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item-wrapper {
    position: relative;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(125%) brightness(105%) contrast(102%) hue-rotate(-2deg);
    transition: var(--transition-smooth);
}

.gallery-item-wrapper:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    padding: 15px;
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
}

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

.gallery-overlay span {
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Lightbox overlay styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: zoomLightbox 0.3s ease-out;
}

@keyframes zoomLightbox {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 2.2rem;
    font-weight: bold;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.lightbox-close:hover {
    color: #bbb;
    transform: rotate(90deg);
}

#lightboxCaption {
    margin: 15px auto;
    text-align: center;
    color: #ccc;
    font-size: 0.95rem;
    font-weight: 600;
}

/* --- 5. Fun Farm Layout --- */
.fun-farm-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
}

.fun-activities {
    list-style: none;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fun-activities li {
    font-size: 0.88rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fun-activities li i {
    margin-top: 3px;
    font-size: 1.05rem;
}

.ticket-info {
    background: var(--bg-light);
    border: 1px dashed rgba(46, 125, 50, 0.3);
    border-radius: 16px;
    padding: 20px;
}

.ticket-info h5 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.ticket-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.price-desc {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.price-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.fun-farm-image-side {
    height: 100%;
    min-height: 250px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

/* --- 6. School Tour Layout --- */
.school-tour-layout {
    width: 100%;
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0 30px 0;
}

.feature-box {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    padding: 20px 15px;
    border-radius: 18px;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-box:hover {
    border-color: rgba(46, 125, 50, 0.2);
    transform: translateY(-2px);
}

.feature-box i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.booking-section {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.booking-section h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.btn-submit {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(46,125,50,0.25);
    transition: var(--transition-smooth);
    margin-top: 5px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(27,94,32,0.35);
}

/* --- 7. Peta Lokasi Elements --- */
.maps-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    height: 350px;
}

.maps-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.address {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.visit-info-box {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 15px;
    margin: 15px 0;
}

.visit-info-box p {
    font-size: 0.82rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.visit-info-box .note {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
}

.btn-maps-action {
    background: #0288d1;
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(2, 136, 209, 0.25);
}

.btn-maps-action:hover {
    background: #01579b;
    box-shadow: 0 6px 20px rgba(1, 87, 155, 0.35);
}

.maps-iframe-container {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* --- ANIMATION CLASSES --- */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

/* Cascade Card Animations */
.card-grid-container > div:nth-child(1) { animation-delay: 0.5s; }
.card-grid-container > div:nth-child(2) { animation-delay: 0.58s; }
.card-grid-container > div:nth-child(3) { animation-delay: 0.66s; }
.card-grid-container > div:nth-child(4) { animation-delay: 0.74s; }
.card-grid-container > div:nth-child(5) { animation-delay: 0.82s; }
.card-grid-container > div:nth-child(6) { animation-delay: 0.9s; }
.card-grid-container > div:nth-child(7) { animation-delay: 0.98s; }
.card-grid-container > div:nth-child(8) { animation-delay: 1.06s; }

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


/* ==========================================================================
   RESPONSIVE DESIGN & MEDIA QUERIES
   ========================================================================== */

/* --- Desktop Layout Fits --- */
@media (max-width: 1400px) {
    .card-grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .card-grid-container > div:nth-child(7) {
        grid-column: auto;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 15px 4%;
    }
    
    .nav-menu {
        display: none; /* Hide standard nav on tablet/mobile, handle with responsive drawer if needed, or overlay */
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    /* Responsive Mobile Navigation Drawer Overlay */
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(11, 31, 12, 0.98);
        backdrop-filter: blur(15px);
        padding: 100px 30px 40px 30px;
        z-index: 99;
        align-items: flex-start;
        gap: 20px;
        box-shadow: -10px 0 35px rgba(0,0,0,0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        animation: slideIn 0.3s ease-out;
    }
    
    @keyframes slideIn {
        from {transform: translateX(100%);}
        to {transform: translateX(0);}
    }
    
    .nav-menu.open .nav-link {
        font-size: 1.05rem;
        width: 100%;
        color: var(--text-light) !important;
    }
    
    .nav-menu.open .nav-dropdown {
        width: 100%;
    }
    
    .nav-menu.open .dropdown-content {
        position: static;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 5px;
        width: 100%;
    }
    
    .nav-menu.open .dropdown-content a {
        color: rgba(255,255,255,0.85);
        padding: 8px 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .card-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .card-grid-container > div:nth-child(7) {
        grid-column: auto;
    }
    
    .footer-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .footer-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-top: 110px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .cursive-welcome {
        font-size: 1.4rem;
    }
    
    .card-grid-container {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 25px;
        margin-left: -5%;
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
        scrollbar-width: none; /* Hide scrollbar for clean app-look */
    }
    
    .card-grid-container::-webkit-scrollbar {
        display: none;
    }
    
    .glass-card {
        min-width: 260px;
        max-width: 280px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .veg-grid, .visit-sections, .fun-farm-layout, .maps-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .maps-layout {
        height: auto;
    }
    
    .maps-iframe-container {
        height: 250px;
    }
    
    .tour-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sub-footer {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn-contact {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .logo-title {
        font-size: 1.15rem;
    }
    
    .logo-subtitle {
        font-size: 0.75rem;
    }
    
    .footer-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }
    
    .footer-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }
    
    .footer-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- TRAINING ACCORDION STYLES --- */
.training-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.training-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.training-card:hover {
    border-color: rgba(46, 125, 50, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.training-card-header {
    background: var(--bg-white);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-smooth);
}

.training-card-header h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.toggle-arrow {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.training-card.active .toggle-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.training-card.active .training-card-header {
    background: var(--bg-light);
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.training-card-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.training-card.active .training-card-body {
    padding: 25px;
    max-height: 1000px; /* smooth slide-down */
}

.training-card-body p {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
}

.training-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    border-top: 1px dashed rgba(0,0,0,0.08);
    padding-top: 20px;
}

.training-detail-grid h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.training-detail-grid ul, .training-detail-grid ol {
    padding-left: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.training-detail-grid li {
    margin-bottom: 6px;
}
