/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #52005c;
    --primary-dark: #3a0045;
    --secondary: #fcb900;
    --secondary-dark: #e0a500;
    --bg-light: #f8f6f2;
    --text-dark: #1e1e1e;
    --text-muted: #555555;
    --white: #ffffff;
    --shadow: 0 8px 30px rgba(82, 0, 92, 0.12);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: 3.2rem; }
h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}
h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 4px;
}
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}
.highlight { color: var(--secondary); }

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--secondary);
    color: var(--text-dark);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(252, 185, 0, 0.35);
    color: var(--text-dark);
}
.btn-secondary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-secondary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 0, 92, 0.35);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== Header / Nav ===== */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}
.logo-icon { font-size: 1.8rem; }
.logo-highlight { color: var(--secondary); }
.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}
.nav-menu ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 0.5rem 0;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: var(--primary);
    border-bottom-color: var(--secondary);
}
.nav-external {
    background: var(--secondary);
    padding: 0.4rem 1.2rem !important;
    border-radius: 30px;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    border-bottom: none !important;
}
.nav-external:hover {
    background: var(--secondary-dark);
    color: var(--text-dark) !important;
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero with Slider ===== */
.hero-slider {
    position: relative;
    height: 500px;
    min-height: 500px;
    overflow: hidden;
    width: 1280px;
    margin: 20px auto;
    border-radius:25px;
    border: 2px solid #fcb900;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 1.5rem;
}
.slide.active {
    opacity: 1;
}
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.slide-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 0, 92, 0.8);
}
.slide-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.slide-content .badge {
    display: inline-block;
    background: rgba(252, 185, 0, 0.2);
    color: var(--secondary);
    padding: 0.3rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(252, 185, 0, 0.3);
}
.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.slide-content p {
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
}
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 2;
}
.slider-dots button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.slider-dots button.active {
    background: var(--secondary);
    border-color: var(--secondary);
}
.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 2;
    pointer-events: none;
}
.slider-arrows button {
    pointer-events: all;
    background: rgba(255,255,255,0.2);
    border: none;
    color: var(--white);
    font-size: 2rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.slider-arrows button:hover {
    background: var(--secondary);
    color: var(--text-dark);
}

/* ===== Stats ===== */
.stats-section {
    padding: 3rem 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-item { padding: 0.5rem; }
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ===== Cards & Grids ===== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--secondary);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(82, 0, 92, 0.12);
}
.card h3 { color: var(--primary); }
.card ul { padding-left: 1.2rem; }
.card ul li {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}

/* ===== Sections ===== */
.section-padding { padding: 4rem 0; }
.section-bg-light { background: var(--bg-light); }
.section-bg-white { background: var(--white); }
.text-center { text-align: center; }

/* ===== Tourism Attractions ===== */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}
.attraction-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.attraction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.attraction-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}
.attraction-image {
    background: var(--primary);
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 15px 15px 15px 15px;
    height: 250px;
}
.attraction-emoji { font-size: 4rem; }
.attraction-badge {
    background: var(--secondary);
    color: var(--text-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    margin-top: 0.5rem;
}
.attraction-content { padding: 1.8rem; }
.attraction-content h3 { color: var(--primary); }
.attraction-content small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Map ===== */
.map-wrapper {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1rem;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}
.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
}

/* ===== Tabs ===== */
.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid var(--primary);
    background: transparent;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
}
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
}
.tab-btn.active {
    background: var(--primary);
    color: var(--white);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Accordion ===== */
.accordion {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.accordion-header {
    padding: 1.2rem 1.5rem;
    background: var(--white);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}
.accordion-header:hover { background: #f5f0f7; }
.accordion-header .arrow { transition: var(--transition); }
.accordion-header.active .arrow { transform: rotate(180deg); }
.accordion-body {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-body.open {
    padding: 1.5rem;
    max-height: 800px;
}

/* ===== Company Table ===== */
.company-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.company-table th {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    text-align: left;
}
.company-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
}
.company-table tr:hover { background: #f5f0f7; }
.company-table .badge-mining {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.company-table .badge-electronic {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.company-table .badge-cellulose {
    background: #fff3e0;
    color: #e65100;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.company-table .badge-trading {
    background: #f3e5f5;
    color: #6a1b9a;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.company-table .badge-food {
    background: #fff8e1;
    color: #e65100;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.company-table .badge-other {
    background: #eceff1;
    color: #37474f;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.table-scroll {
    max-height: 500px;
    overflow-y: auto;
    border-radius: var(--radius);
}

/* ===== Investment Cards ===== */
.investment-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 6px solid var(--secondary);
    text-align: center;
}
.investment-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 40px rgba(82, 0, 92, 0.15);
}
.investment-card .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}
.investment-card h3 { color: var(--primary); }

/* ===== Food Cards ===== */
.food-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}
.food-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.food-card .food-image {
    font-size: 4rem;
    background: rgba(252, 185, 0, 0.08);
}
.food-card .food-content { padding: 1rem 1.5rem 1.5rem; }
.food-card .food-content h4 { color: var(--primary); }

/* ===== Hotel Cards ===== */
.hotel-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary);
}
.hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
.hotel-card h4 { color: var(--primary); }
.hotel-card .hotel-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.hotel-card .hotel-contact strong { color: var(--text-dark); }

/* ===== Full Width Investment Section ===== */
.full-width-investment {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
}
.full-width-investment h2 {
    color: var(--white);
    text-align: center;
    display: block;
}
.full-width-investment h2:after {
    left: 50%;
    transform: translateX(-50%);
}
.full-width-investment p { color: rgba(255,255,255,0.85); }
.full-width-investment .investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.full-width-investment .inv-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.1);
}
.full-width-investment .inv-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}
.full-width-investment .inv-item .icon { font-size: 2.5rem; display: block; margin-bottom: 0.5rem; }
.full-width-investment .inv-item h4 { color: var(--secondary); }
.full-width-investment .inv-item p { font-size: 0.9rem; }

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.8);
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
    text-align: center;
}
.footer a { color: var(--secondary); }
.footer a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .slide-content h1 { font-size: 2.6rem; }
    .hero-slider { height: 70vh; min-height: 400px; }
    
    .menu-toggle { display: flex; }
    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 1.5rem;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    .nav-menu.active {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: all;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-menu ul li a {
        display: block;
        width: 100%;
        padding: 0.6rem 0;
    }
    .attraction-card.featured {
        grid-template-columns: 1fr;
    }
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .company-table {
        font-size: 0.8rem;
    }
    .company-table th,
    .company-table td {
        padding: 0.5rem;
    }
    .slider-arrows { display: none; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .attractions-grid { grid-template-columns: 1fr; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}