/* ==========================================
   วัดสวนหินผานางคอย - Stylesheet
   Clean White Theme with Smooth Animations
   ========================================== */

/* Font Face - LINE Seed Sans TH */
@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('fonts/LINESeedSansTH_W_Th.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('fonts/LINESeedSansTH_W_Rg.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('fonts/LINESeedSansTH_W_Bd.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('fonts/LINESeedSansTH_W_He.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('fonts/LINESeedSansTH_W_XBd.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --primary-color: #2c5530;
    --primary-light: #4a7c59;
    --primary-dark: #1a3a1f;
    --accent-color: #c4a35a;
    --accent-light: #e0c88a;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-light: #6a6a6a;
    --text-muted: #8a8a8a;

    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;

    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.16);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'LINE Seed Sans TH', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --container-width: 1200px;
    --section-padding: 100px;
    --nav-height: 70px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

.nav-link.active {
    color: var(--primary-color);
    background: rgba(44, 85, 48, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 250, 248, 0.65) 50%, rgba(240, 245, 240, 0.7) 100%),
        url('ภูมิประเทศ/S__2007046_0.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(44, 85, 48, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(196, 163, 90, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 80%, rgba(44, 85, 48, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.8;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBubble 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%232c5530" opacity="0.03"/><circle cx="75" cy="75" r="0.5" fill="%23c4a35a" opacity="0.03"/><circle cx="50" cy="10" r="0.3" fill="%232c5530" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-location {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md), 0 4px 20px rgba(44, 85, 48, 0.3);
    transition: all var(--transition-normal);
}

.hero-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 8px 30px rgba(44, 85, 48, 0.4);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes scroll {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(6px);
    }
}

/* ==========================================
   Section Styles
   ========================================== */
.section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.section-alt {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(44, 85, 48, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* ==========================================
   Content Cards
   ========================================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.content-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content-card h3 {
    font-size: 1.375rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.content-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==========================================
   Timeline
   ========================================== */
.timeline-section {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 50px;
}

.timeline-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-dark);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), var(--accent-color));
}

.timeline-item {
    position: relative;
    padding-left: 70px;
    padding-bottom: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: 3px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.timeline-item.current .timeline-marker {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 0 6px rgba(44, 85, 48, 0.2);
}

.timeline-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-content {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.timeline-content h4 {
    font-size: 1.0625rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-date {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================
   Location Section
   ========================================== */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.info-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.geography-features {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.geography-features h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.0625rem;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* Map Button */
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    background: linear-gradient(135deg, #5a9cf5, #45b664);
}

/* ==========================================
   Importance Section
   ========================================== */
.importance-with-slider {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.importance-slider {
    position: sticky;
    top: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.importance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
}

.importance-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.importance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.importance-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.importance-card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.card-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--bg-tertiary);
    line-height: 1;
}

.importance-card:hover .card-number {
    color: rgba(44, 85, 48, 0.15);
}

.card-header h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    line-height: 1.4;
}

.importance-card p {
    font-size: 0.95rem;
}

.conservation-box {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.08), rgba(196, 163, 90, 0.08));
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(44, 85, 48, 0.15);
}

.conservation-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.conservation-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.conservation-content p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.8;
}

/* ==========================================
   Attractions Section
   ========================================== */
.attractions-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.attraction-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.attraction-image {
    aspect-ratio: 16/10;
    border-radius: 24px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--border-color);
    border-radius: 24px;
}

.image-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
}

.image-placeholder p {
    color: var(--text-light);
}

.attraction-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.attraction-info p {
    font-size: 1.0625rem;
    line-height: 1.9;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.activity-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.activity-card h4 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.activity-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.travel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.travel-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.travel-card.warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: linear-gradient(135deg, var(--bg-primary), rgba(255, 193, 7, 0.05));
}

.travel-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.travel-card h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.travel-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.travel-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.travel-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.travel-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.travel-card li:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Gallery Section
   ========================================== */
.gallery-category {
    margin-bottom: 50px;
}

.gallery-category:last-child {
    margin-bottom: 0;
}

.gallery-category-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 24px;
    padding: 80px 40px;
    border: 2px dashed var(--border-color);
    margin-bottom: 40px;
}

.placeholder-content {
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.placeholder-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.placeholder-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.coming-soon {
    display: inline-block;
    padding: 10px 24px;
    background: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 50px;
}

/* ==========================================
   Credits Section
   ========================================== */
.credits-intro {
    text-align: center;
    margin-bottom: 40px;
}

.credits-intro h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.credits-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.team-member {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.member-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-member h4 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

.back-to-top span {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ==========================================
   Animations
   ========================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    /* Fix hero background on mobile */
    .hero {
        background-attachment: scroll;
    }

    /* Importance slider responsive */
    .importance-with-slider {
        grid-template-columns: 1fr;
    }

    .importance-slider {
        position: relative;
        top: 0;
    }

    .slider-container {
        height: 300px;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        max-height: calc(100vh - var(--nav-height));
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 8px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        font-weight: 500;
        border-radius: 10px;
        background: var(--bg-secondary);
        border: 1px solid var(--border-color);
        transition: all 0.25s ease;
        text-align: center;
        box-sizing: border-box;
    }

    .nav-link:hover {
        background: rgba(44, 85, 48, 0.1);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }

    .nav-link.active {
        background: var(--primary-color);
        color: white;
        font-weight: 600;
        border-color: var(--primary-color);
    }

    .nav-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: var(--bg-secondary);
        border-radius: 12px;
        transition: all var(--transition-fast);
    }

    .nav-toggle:hover {
        background: var(--primary-color);
    }

    .nav-toggle:hover span {
        background: white;
    }

    .nav-toggle.active {
        background: var(--primary-color);
    }

    .nav-toggle.active span {
        background: white;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 0.75rem;
    }

    .attraction-main {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --nav-height: 60px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .timeline-section {
        padding: 30px 20px;
    }

    .importance-grid {
        grid-template-columns: 1fr;
    }

    .conservation-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .travel-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-btn {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .content-card,
    .info-card,
    .activity-card,
    .travel-card {
        padding: 24px 20px;
    }

    .geography-features {
        padding: 24px;
    }

    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================
   Print Styles
   ========================================== */
@media print {

    .navbar,
    .scroll-indicator,
    .back-to-top {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 30px 0;
    }
}

/* ==========================================
   Page Header (for sub-pages)
   ========================================== */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #f0f7f1 0%, #e8f0e9 25%, #dce8dd 50%, #d4ddd6 75%, #cdd8cf 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 60% 40% at 10% 30%, rgba(44, 85, 48, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 35% at 90% 70%, rgba(196, 163, 90, 0.15) 0%, transparent 50%);
    pointer-events: none;
    animation: headerGlow 6s ease-in-out infinite alternate;
}

@keyframes headerGlow {
    0% {
        opacity: 0.8;
    }

    100% {
        opacity: 1;
    }
}

.page-header::after {
    content: '🏛️';
    position: absolute;
    top: 50%;
    right: 10%;
    font-size: 8rem;
    opacity: 0.06;
    transform: translateY(-50%) rotate(-15deg);
    pointer-events: none;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="%232c5530" opacity="0.03"/><circle cx="75" cy="75" r="0.5" fill="%23c4a35a" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-tag {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.15), rgba(196, 163, 90, 0.15));
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 85, 48, 0.2);
    box-shadow: 0 2px 10px rgba(44, 85, 48, 0.1);
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--primary-dark);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   Quick Links (Home Page)
   ========================================== */
.intro-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.quick-link-card {
    display: block;
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.quick-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.quick-link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.quick-link-card:hover::before {
    transform: scaleX(1);
}

.quick-link-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.quick-link-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.quick-link-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.quick-link-arrow {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-fast);
}

.quick-link-card:hover .quick-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   Featured Gallery (Home Page)
   ========================================== */
.featured-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.featured-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.featured-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-item:hover img {
    transform: scale(1.08);
}

.text-center {
    text-align: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ==========================================
   Page Navigation
   ========================================== */
.page-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.page-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
}

.page-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-nav-btn.prev {
    padding-left: 20px;
}

.page-nav-btn.next {
    padding-right: 20px;
}

.nav-arrow {
    font-size: 1.25rem;
    font-weight: 700;
}

/* ==========================================
   Intro Box
   ========================================== */
.intro-box {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.05), rgba(196, 163, 90, 0.05));
    border-radius: 20px;
    padding: 32px 40px;
    margin-bottom: 50px;
    border-left: 4px solid var(--primary-color);
}

.intro-box p {
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 0;
}

/* ==========================================
   Legend Section
   ========================================== */
.legend-section {
    background: linear-gradient(135deg, var(--bg-secondary), rgba(196, 163, 90, 0.08));
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.legend-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 163, 90, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.legend-content {
    position: relative;
    text-align: center;
}

.legend-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.legend-section h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.legend-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.legend-text p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 16px;
}

.legend-text p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Beliefs Grid
   ========================================== */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.belief-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.belief-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.belief-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.belief-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.belief-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.belief-card p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Geography Gallery
   ========================================== */
.geography-gallery {
    margin-top: 50px;
}

.gallery-section-title {
    font-size: 1.375rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

/* ==========================================
   Attraction Highlight
   ========================================== */
.attraction-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.attraction-highlight .attraction-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.attraction-highlight .attraction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.attraction-info h2 {
    font-size: 1.75rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.attraction-info p {
    font-size: 1rem;
    line-height: 1.85;
}

/* ==========================================
   Activities Section
   ========================================== */
.activities-section {
    margin-bottom: 50px;
}

.section-subtitle {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    text-align: center;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.activity-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
}

.activity-card h4 {
    font-size: 1.0625rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.activity-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ==========================================
   Travel Info
   ========================================== */
.travel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.travel-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.travel-card.warning {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.3);
}

.travel-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.travel-card h4 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.travel-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.travel-card ul {
    list-style: none;
    padding: 0;
}

.travel-card li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.travel-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================
   Tourism Note
   ========================================== */
.tourism-note {
    display: flex;
    gap: 24px;
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 50px;
    border-left: 4px solid var(--accent-color);
}

.note-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.note-content h4 {
    font-size: 1.125rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.note-content p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.note-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Video Section
   ========================================== */
.video-section {
    margin-top: 50px;
}

.video-placeholder {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    border-radius: 24px;
    padding: 80px 40px;
    border: 2px dashed var(--border-color);
    text-align: center;
}

/* Credits Note */
.credits-note {
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 12px;
}

/* ==========================================
   Responsive for New Components
   ========================================== */
@media (max-width: 992px) {
    .featured-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .attraction-highlight {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .featured-gallery {
        grid-template-columns: 1fr;
    }

    .page-navigation {
        flex-direction: column;
        gap: 16px;
    }

    .page-nav-btn {
        width: 100%;
        justify-content: center;
    }

    .legend-section {
        padding: 30px 24px;
    }

    .beliefs-grid {
        grid-template-columns: 1fr;
    }

    .tourism-note {
        flex-direction: column;
    }
}