@import url('https://fonts.googleapis.com/css2?family=Kanit&display=swap');
body {
    font-family: 'Kanit', sans-serif;
    border-radius: 16px;   /* เดิม 6px */
}

/* Main Container */
.location-container {
    max-width: 1400px;
    border-radius: 16px;
    margin: 40px auto;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.location-header-section {
    background: #ffffff;
    padding: 40px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.location-header {
    font-size: 24px;
    font-weight: 600;
    color: #2e7d32;   /* เขียวหลัก */
    margin-bottom: 12px;
    line-height: 1.4;
}

.location-desc {
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.location-content {
    padding: 40px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

/* Information Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;   /* เดิม 6px */
    padding: 24px;
    transition: border-color 0.2s ease;
}

.info-card:hover {
    border-color: #c0a040;   /* ทองเน้น */
}

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: #2e7d32;   /* เขียวหลัก */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: block;
}

.info-value {
    font-size: 16px;
    font-weight: 400;
    color: #374151;
    line-height: 1.6;
}

/* Map Section */
.map-section {
    border: 1px solid #e2e8f0;
    border-radius: 16px;   /* เดิม 6px */
    overflow: hidden;
    height: 400px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Section Title */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #2e7d32;   /* เขียวหลัก */
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c0a040;   /* ทอง */
}

/* Responsive Design */
@media (max-width: 768px) {
    .breadcrumb-text {
        font-size: 22px;
    }

    .location-container {
        margin: 20px;
        border-radius: 6px;
    }

    .location-header-section,
    .location-content {
        padding: 24px;
    }

    .location-header {
        font-size: 20px;
        color: #2e7d32;   /* เขียวหลัก */
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .map-section {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-text {
        font-size: 20px;
    }

    .location-header-section,
    .location-content {
        padding: 20px;
    }

    .location-header {
        font-size: 18px;
        color: #2e7d32;   /* เขียวหลัก */
    }

    .info-card {
        padding: 20px;
    }
}
/* ================= DARK MODE ================= */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

/* Container */
body.dark-mode .location-container {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
}

/* Header Section */
body.dark-mode .location-header-section {
    background: #1a1a1a;
    border-bottom: 2px solid #2a2a2a;
}

body.dark-mode .location-header {
    color: #c0a040; /* header text */
}

body.dark-mode .location-desc {
    color: #bbb;
}

/* Content */
body.dark-mode .location-content {
    background: #121212;
}

/* Info Card */
body.dark-mode .info-card {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
}

body.dark-mode .info-card:hover {
    border-color: #c0a040;
}

body.dark-mode .info-label {
    color: #2e7d32;
}

body.dark-mode .info-value {
    color: #ddd;
}

/* Map Section */
body.dark-mode .map-section {
    border: 1px solid #2a2a2a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Section Title */
body.dark-mode .section-title {
    color: #c0a040;
    border-bottom: 2px solid #2e7d32;
}

/* Responsive Dark Mode */
@media (max-width: 768px) {
    body.dark-mode .location-container {
        border-radius: 6px;
        border: 1px solid #2a2a2a;
    }
    body.dark-mode .location-header {
        color: #c0a040;
    }
}

@media (max-width: 480px) {
    body.dark-mode .location-header {
        color: #c0a040;
    }
    body.dark-mode .info-card {
        background: #1e1e1e;
    }
}
