/* ============================================
   Global Styles & Variables
   ============================================ */
:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c24;
    --accent-color: #6b9f3d;
    --mining-gold: #8fbc5a;
    --mining-copper: #5a8f3d;
    --rock-brown: #6b8e5a;
    --rock-dark: #3d5a2d;
    --green-light: #a5d6a7;
    --green-medium: #81c784;
    --green-dark: #558b2f;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for fixed header */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes geological-shift {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(10px) translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateX(-5px) translateY(10px) rotate(-1deg);
    }
    75% {
        transform: translateX(5px) translateY(-8px) rotate(0.5deg);
    }
}

@keyframes strata-move {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.4s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.6s both;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

/* ============================================
   Top Navigation
   ============================================ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--mining-gold);
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
    transition: var(--transition);
}

.menu-toggle:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
}

.menu-toggle:hover .hamburger-line {
    background: var(--mining-gold);
}

.menu-toggle.active {
    transform: rotate(0deg);
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
    background: var(--primary-color);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--mining-gold));
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   Index/Hero Section
   ============================================ */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 25%, #a5d6a7 50%, #81c784 75%, #66bb6a 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        /* Geological strata layers */
        linear-gradient(90deg, transparent 0%, rgba(77, 124, 36, 0.1) 50%, transparent 100%),
        linear-gradient(0deg, rgba(85, 139, 47, 0.15) 0%, transparent 20%, transparent 80%, rgba(85, 139, 47, 0.15) 100%),
        /* Rock texture pattern */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(77, 124, 36, 0.03) 2px,
            rgba(77, 124, 36, 0.03) 4px
        ),
        /* Mineral crystal pattern */
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 3px,
            rgba(107, 159, 61, 0.02) 3px,
            rgba(107, 159, 61, 0.02) 6px
        );
    background-size: 100% 100%, 100% 100%, 40px 40px, 50px 50px;
    z-index: 0;
}

.hero-content {
    text-align: center;
    z-index: 10;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(212, 165, 116, 0.3);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--mining-gold);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.main-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 10;
    position: relative;
}

.logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: -1px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 300;
}

.content-wrapper {
    width: 100%;
    z-index: 10;
    position: relative;
}

.welcome-text {
    text-align: center;
    margin-bottom: 50px;
}

.welcome-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.welcome-text p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ============================================
   Destination Cards
   ============================================ */
.destination-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.destination-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 450px;
    z-index: 10;
}

.destination-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.destination-card:hover::before {
    opacity: 0.95;
}

.destination-card:hover .card-icon,
.destination-card:hover h3,
.destination-card:hover .card-code,
.destination-card:hover .card-description {
    color: var(--bg-white);
    position: relative;
    z-index: 2;
}

.destination-card:hover .card-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.destination-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.destination-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.card-code {
    font-size: 1.2rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 20px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.card-overlay {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3;
}

.card-overlay span {
    color: var(--bg-white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    color: var(--bg-white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.destination-card:hover .card-description {
    color: rgba(255, 255, 255, 0.9);
}

.card-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-tag {
    background: rgba(139, 111, 71, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.destination-card:hover .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
}

/* ============================================
   Destinations Section
   ============================================ */
.destinations-section {
    padding: 100px 0;
    background: var(--bg-white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    color: var(--bg-white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
    position: relative;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    text-align: center;
}

.about-description {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about-feature {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.about-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--mining-gold);
}

.about-feature .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--mining-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
}

.about-feature .feature-icon svg {
    width: 35px;
    height: 35px;
}

.about-feature h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-feature p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Background Shapes
   ============================================ */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

/* Rock formation shape */
.shape-1 {
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg, #6b8e5a 0%, #558b2f 50%, #3d5a2d 100%);
    top: 5%;
    left: -5%;
    border-radius: 0 50% 50% 0;
    clip-path: polygon(0% 20%, 30% 0%, 70% 10%, 100% 30%, 100% 70%, 70% 90%, 30% 100%, 0% 80%);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.2);
    animation: geological-shift 10s ease-in-out infinite;
}

.shape-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(77, 124, 36, 0.3) 20px,
        rgba(77, 124, 36, 0.3) 22px
    );
    border-radius: inherit;
}

/* Geological strata layers */
.shape-2 {
    width: 500px;
    height: 180px;
    background: linear-gradient(
        180deg,
        #81c784 0%,
        #66bb6a 20%,
        #4caf50 40%,
        #558b2f 60%,
        #3d5a2d 80%,
        #2e4a1f 100%
    );
    top: 50%;
    right: -10%;
    border-radius: 15px;
    transform: rotate(-15deg);
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(0, 0, 0, 0.1);
    animation: geological-shift 12s ease-in-out infinite;
    animation-delay: 1s;
}

.shape-2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 25px,
        rgba(255, 255, 255, 0.1) 25px,
        rgba(255, 255, 255, 0.1) 27px
    );
    border-radius: inherit;
}

/* Mineral crystal formation */
.shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #8fbc5a 0%, #6b9f3d 50%, #558b2f 100%);
    bottom: 10%;
    left: 5%;
    clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.15),
        inset 0 0 40px rgba(0, 0, 0, 0.2);
    animation: geological-shift 9s ease-in-out infinite;
    animation-delay: 2s;
}

.shape-3::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
}

/* Additional geological element - mountain silhouette */
.shape-4 {
    position: absolute;
    width: 600px;
    height: 300px;
    background: linear-gradient(180deg, transparent 0%, rgba(77, 124, 36, 0.1) 50%, rgba(61, 90, 45, 0.15) 100%);
    bottom: 0;
    right: 10%;
    clip-path: polygon(0% 100%, 20% 60%, 40% 80%, 60% 40%, 80% 70%, 100% 30%, 100% 100%);
    animation: float 15s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Additional geological element - rock layers */
.shape-5 {
    position: absolute;
    width: 350px;
    height: 120px;
    background: linear-gradient(
        90deg,
        #66bb6a 0%,
        #81c784 25%,
        #558b2f 50%,
        #66bb6a 75%,
        #3d5a2d 100%
    );
    top: 25%;
    left: 50%;
    border-radius: 10px;
    transform: rotate(5deg);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(0, 0, 0, 0.1);
    animation: float 11s ease-in-out infinite;
    animation-delay: 1.5s;
    opacity: 0.12;
}

/* ============================================
   Page Navigation
   ============================================ */
.page-nav {
    background: var(--bg-white);
    box-shadow: 0 2px 10px var(--shadow);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: 8px;
}

.back-button:hover {
    background: var(--bg-light);
    transform: translateX(-5px);
}

.back-button svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.back-button:hover svg {
    transform: translateX(-5px);
}

/* ============================================
   Page Hero
   ============================================ */
.page-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.granit-hero {
    background: linear-gradient(135deg, #d7ccc8 0%, #bcaaa4 50%, #a1887f 100%);
}

.hutan-hero {
    background: linear-gradient(135deg, #a5d6a7 0%, #81c784 50%, #66bb6a 100%);
}

.page-header {
    text-align: center;
    color: var(--text-dark);
    z-index: 2;
}

.page-badge {
    display: inline-block;
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px var(--shadow);
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 300;
}

/* ============================================
   Page Content
   ============================================ */
.page-content {
    padding: 80px 0;
    background: var(--bg-white);
}

.content-section,
.features-section,
.info-section,
.conservation-section,
.maps-section {
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

.section-body {
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.8;
}

.section-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

/* ============================================
   Features Grid
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   Info Grid
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-item {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ============================================
   Maps Section
   ============================================ */
.maps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-top: 40px;
}

.map-item {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
}

.map-item:hover {
    box-shadow: 0 10px 30px var(--shadow-hover);
    transform: translateY(-5px);
}

.map-item h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.map-description {
    font-size: 1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.7;
}

.map-image-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.map-image-wrapper:hover {
    box-shadow: 0 10px 35px var(--shadow-hover);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
    object-fit: contain;
}

.map-image-wrapper:hover .map-image {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 80, 22, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: var(--bg-white);
}

.map-image-wrapper:hover .map-overlay {
    opacity: 1;
}

.map-overlay svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

.map-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
}

.map-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.map-image-wrapper:hover::after {
    opacity: 0;
}

/* ============================================
   Map Modal Popup
   ============================================ */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-modal.active {
    display: flex;
    opacity: 1;
}

.map-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.map-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95vh;
    background: var(--bg-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transform: translateY(50px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-modal.active .map-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.map-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10001;
}

.map-modal-close:hover {
    background: var(--secondary-color);
    transform: rotate(90deg) scale(1.1);
}

.map-modal-close svg {
    width: 24px;
    height: 24px;
}

.map-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.map-modal-image-wrapper {
    width: 100%;
    max-height: calc(95vh - 150px);
    overflow: auto;
    border-radius: 10px;
    background: var(--bg-light);
    padding: 10px;
}

.map-modal-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

/* Scrollbar styling for modal image wrapper */
.map-modal-image-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.map-modal-image-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 10px;
}

.map-modal-image-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.map-modal-image-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ============================================
   Ripple Effect
   ============================================ */
.ripple {
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    pointer-events: none;
}

.ripple.animate {
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    to {
        transform: scale(20);
        opacity: 0;
    }
}

/* ============================================
   Mining Icons Background
   ============================================ */
.mining-icon {
    position: absolute;
    opacity: 0.08;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}

.mining-icon svg {
    width: 100%;
    height: 100%;
    color: var(--mining-gold);
}

.mining-icon-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 15%;
    animation-delay: 0s;
}

.mining-icon-2 {
    width: 60px;
    height: 60px;
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

/* ============================================
   Footer
   ============================================ */
.main-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--green-dark) 100%);
    color: var(--bg-white);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px
        );
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    color: var(--mining-gold);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--mining-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--mining-gold);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    color: var(--mining-gold);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
    color: var(--mining-gold);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-width: 350px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 40px 30px;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(45, 80, 22, 0.1);
        transition: var(--transition);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li:hover {
        background: rgba(45, 80, 22, 0.05);
        padding-left: 10px;
    }
    
    .nav-link {
        display: block;
        padding: 20px 0;
        font-size: 1.1rem;
        width: 100%;
        color: var(--text-dark);
        transition: var(--transition);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-color);
        padding-left: 15px;
        border-left: 3px solid var(--primary-color);
        font-weight: 600;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    /* Mobile menu overlay - using body pseudo element */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.3s ease;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .welcome-text h2 {
        font-size: 2rem;
    }
    
    .destination-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .destination-card {
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .maps-container {
        gap: 30px;
    }
    
    .map-item {
        padding: 20px;
    }
    
    .map-item h3 {
        font-size: 1.5rem;
    }
    
    .map-modal-content {
        max-width: 98%;
        padding: 20px;
    }
    
    .map-modal-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .map-modal-image-wrapper {
        max-height: calc(90vh - 120px);
    }
    
    .map-modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
    
    .map-modal-close svg {
        width: 20px;
        height: 20px;
    }
    
    .map-overlay span {
        font-size: 0.9rem;
    }
    
    .map-overlay svg {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    /* Geological shapes responsive */
    .shape-1 {
        width: 250px;
        height: 150px;
        top: 5%;
        left: -10%;
    }
    
    .shape-2 {
        width: 300px;
        height: 120px;
        top: 55%;
        right: -15%;
    }
    
    .shape-3 {
        width: 200px;
        height: 200px;
        bottom: 8%;
        left: -5%;
    }
    
    .shape-4 {
        width: 350px;
        height: 180px;
        right: 5%;
    }
    
    .shape-5 {
        width: 250px;
        height: 80px;
        top: 30%;
        left: 45%;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        width: 28px;
        height: 28px;
        padding: 4px;
    }
    
    .hamburger-line {
        height: 2.5px;
    }
    
    .nav-menu {
        max-width: 100%;
        padding: 30px 20px;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 18px 0;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .destination-card h3 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Geological shapes for very small screens */
    .shape-1 {
        width: 200px;
        height: 120px;
    }
    
    .shape-2 {
        width: 250px;
        height: 100px;
    }
    
    .shape-3 {
        width: 150px;
        height: 150px;
    }
    
    .shape-4 {
        width: 280px;
        height: 140px;
    }
    
    .shape-5 {
        width: 200px;
        height: 60px;
    }
}

/* ============================================
   Stakeholders Section
   ============================================ */
.stakeholders-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.stakeholders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stakeholder-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    padding: 25px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.stakeholder-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.stakeholder-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--bg-white);
    padding: 15px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.gallery-caption p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Gallery Section */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .stakeholders-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .stakeholder-item {
        height: 120px;
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stakeholders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

