/* PT Sungmin Metal Indonesia - Premium Corporate Stylesheet */

/* Google Fonts Setup */
/* Noto Sans KR is included so Korean copy renders even on devices with no
   local Hangul font (many Android / Linux installs ship none). */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@300;400;500;700;900&display=swap');

:root {
    --bg-dark: #f8fafc;
    --bg-charcoal: #ffffff;
    --bg-panel: rgba(255, 255, 255, 0.85);
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    
    --text-pure: #111111;
    --text-main: #333333;
    --text-muted: #555555;
    --text-dim: #777777;
    
    --accent-copper: #2563eb;
    --accent-blue: #3b82f6;
    --accent-glow: rgba(29, 78, 216, 0.15);
    --accent-glow-strong: rgba(29, 78, 216, 0.35);
    
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #2563eb 100%);
    --gradient-metallic: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e3a8a 100%);
    --gradient-dark: linear-gradient(180deg, rgba(248, 250, 252, 0.8) 0%, #f8fafc 100%);
    
    --border-light: rgba(65, 105, 225, 0.2);
    --border-glow: rgba(29, 78, 216, 0.3);
    
    --font-sans: 'Inter', 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    --font-heading: 'Manrope', 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: #ffffff;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #272c35;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-copper);
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 300;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Canvas Background */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(65, 105, 225, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 0 2px 20px rgba(0, 32, 194, 0.06);
}

header.scrolled {
    background: #ffffff;
    padding: 5px 0;
    box-shadow: 0 6px 32px rgba(0, 32, 194, 0.15), 0 1px 0 rgba(65, 105, 225, 0.2);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 15px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo SMI styling */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    height: 38px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-metallic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    display: block;
    margin-top: -3px;
}

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

.nav-item a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
    padding: 8px 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-metallic);
    transition: var(--transition-smooth);
}

.nav-item a:hover,
.nav-item.active a {
    color: #2563eb;
}

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

/* Lang Switch / Call to Action */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav {
    border: 1px solid var(--accent-copper);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-copper);
    background: rgba(29, 78, 216, 0.03);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: var(--transition-smooth);
}

.btn-nav:hover {
    background: var(--gradient-metallic);
    color: #ffffff;
    box-shadow: 0 0 20px var(--accent-glow-strong);
    border-color: transparent;
}

/* Mobile Toggle Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #1e293b;
    margin: 5px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 24px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10, 7, 2, 0.85) 0%, rgba(10, 7, 2, 0.65) 50%, rgba(10, 7, 2, 0.3) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #93c5fd;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    /* Was var(--gradient-metallic): dark navy on the dark hero video, which left
       the headline almost unreadable. Light gradient keeps the brand blue tint
       while staying legible over the video. */
    background: linear-gradient(135deg, #ffffff 0%, #bfdbfe 55%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffffff;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.75));
}

.hero-desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Button UI Components */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-accent);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 4px;
    font-size: 1rem;
    box-shadow: 0 8px 30px rgba(29, 78, 216, 0.25);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(29, 78, 216, 0.45);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-pure);
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 4px;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent-copper);
    box-shadow: 0 0 15px var(--accent-glow);
    background: rgba(255, 255, 255, 0.02);
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Page Section Layouts */
section {
    padding: 100px 24px;
    position: relative;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-copper);
    margin-bottom: 12px;
    display: inline-block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-desc {
    color: var(--text-muted);
}

/* Grid & Glassmorphism Cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 40px 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(29, 78, 216, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(29, 78, 216, 0.05);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card * {
    position: relative;
    z-index: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Feature/Visual Showcase split panels */
.showcase-img-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.showcase-img-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.8);
    pointer-events: none;
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.showcase-img-wrap:hover .showcase-img {
    transform: scale(1.05) rotate(0.5deg);
}

/* Timeline Components */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #ffffff;
    border: 3px solid var(--accent-copper);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-copper);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -8px;
}

.timeline-content {
    padding: 25px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    position: relative;
    border-radius: 6px;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-copper);
    margin-bottom: 8px;
}

/* Product Catalog specific */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-img-box {
    height: 220px;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-img-box img {
    transform: scale(1.06);
}

.product-specs {
    margin-top: auto;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 4px;
    border-left: 2px solid var(--accent-copper);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.spec-row span:last-child {
    color: var(--text-pure);
    font-weight: 500;
}

/* QA / Certificates Grid */
.cert-card {
    text-align: center;
    padding: 30px;
}

.cert-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-copper);
    font-size: 1.8rem;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

/* Interactive Map */
.map-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.world-map-svg {
    width: 100%;
    height: auto;
    max-height: 500px;
}

.map-marker {
    fill: var(--accent-copper);
    stroke: #fff;
    stroke-width: 1px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.map-marker:hover {
    fill: #fff;
    r: 10;
}

.map-pulse {
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { r: 4; opacity: 1; }
    100% { r: 16; opacity: 0; }
}

/* News & Insights blog cards */
.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid var(--border-light);
}

.blog-body {
    padding: 24px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.blog-title:hover {
    color: var(--accent-copper);
}

/* Career listings */
.job-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 24px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.job-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.job-info h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(10, 11, 14, 0.6);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-copper);
    box-shadow: 0 0 10px rgba(29, 78, 216, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info Blocks */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent-copper);
}

.contact-info-text h5 {
    font-size: 1rem;
    margin-bottom: 5px;
}

/* Footer Section */
footer {
    background: #1e3a8a;
    border-top: 2px solid #2563eb;
    padding: 80px 24px 40px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(29, 78, 216, 0.6), transparent);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Footer text colours.
   The global `p { color: var(--text-muted) }` rule (#555) outranks the colour
   inherited from `footer`, which made every paragraph inside the dark blue
   footer nearly invisible. These rules re-assert light text on the blue panel. */
footer p,
footer li,
footer span {
    color: #dbeafe;
}

footer strong {
    color: #ffffff;
    font-weight: 700;
}

footer p a {
    color: #bfdbfe;
}

footer p a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-brand p {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #e2e8f0;
}

.footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

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

.footer-links a {
    color: #e2e8f0;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: #93c5fd;
    padding-left: 6px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(65, 105, 225, 0.2);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 20px;
    color: #cbd5e1;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer-bottom p a {
    color: #93c5fd;
}

.footer-bottom p a:hover {
    color: #ffffff;
}

/* Call To Action Banner */
.cta-banner {
    background: radial-gradient(circle at top right, rgba(29, 78, 216, 0.08), transparent 60%), var(--bg-charcoal);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-banner h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* Scroll Trigger Reveal CSS */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 24px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background: var(--bg-dark);
        flex-direction: column;
        padding: 40px 24px;
        align-items: flex-start;
        gap: 20px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-light);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-actions {
        display: none;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 23px;
    }
    
    .left, .right {
        left: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: var(--transition-smooth);
    color: #ffffff;
    animation: waPulse 2.5s ease-in-out infinite;
}

.floating-wa svg {
    width: 28px;
    height: 28px;
    fill: #ffffff;
}

.floating-wa:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
    background: #20b858;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.75), 0 0 0 8px rgba(37, 211, 102, 0.08); }
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.08);
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
    0%   { transform: scale(1.08); }
    100% { transform: scale(1.0); }
}

/* Slideshow dot indicators */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(29, 78, 216, 0.6);
}

.hero-dot:hover {
    border-color: var(--accent-copper);
    background: rgba(29, 78, 216, 0.4);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 100px 24px;
    background: #fdf9ed;
}

/* Filter Tabs */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 26px;
    border-radius: 50px;
    border: 1.5px solid var(--border-light);
    background: transparent;
    color: #475569;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.3px;
}

.gallery-filter-btn:hover {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
    background: rgba(29, 78, 216, 0.06);
}

.gallery-filter-btn.active {
    background: var(--gradient-metallic);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 32, 194, 0.3);
}

/* Masonry Grid */
.gallery-grid {
    columns: 4;
    column-gap: 14px;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(65, 105, 225, 0.12);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition-smooth);
    display: block;
}

.gallery-item.gallery-item--wide {
    column-span: none;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 32, 194, 0.18);
    border-color: rgba(65, 105, 225, 0.4);
}

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

/* Gallery Overlay on hover */
.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(26, 19, 8, 0.82) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0;
    transition: opacity 0.35s ease;
    gap: 6px;
}

.gallery-item-overlay span {
    font-size: 1rem;
}

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

/* Hidden gallery items (filtered out) */
.gallery-item.hidden {
    display: none;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 7, 2, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(8px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-inner {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-inner img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 0 1px rgba(197,155,39,0.15);
    transition: opacity 0.25s ease;
}

.lightbox-caption {
    color: #c8a855;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-align: center;
    margin: 0;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 32px;
    background: rgba(29, 78, 216, 0.12);
    border: 1px solid rgba(29, 78, 216, 0.3);
    color: #e8c96a;
    font-size: 2rem;
    line-height: 1;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(29, 78, 216, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(29, 78, 216, 0.1);
    border: 1px solid rgba(29, 78, 216, 0.25);
    color: #e8c96a;
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    padding: 0;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(29, 78, 216, 0.25);
    border-color: var(--accent-copper);
    transform: translateY(-50%) scale(1.1);
}

/* Responsive gallery grid */
@media (max-width: 1024px) {
    .gallery-grid { columns: 3; }
}

@media (max-width: 768px) {
    .gallery-grid { columns: 2; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
}



/* ============================================
   LANGUAGE SWITCHER (EN / ID / KO)
   ============================================ */
.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid rgba(65, 105, 225, 0.28);
    border-radius: 6px;
    background: #f8fafc;
}

.lang-switch button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #475569;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 5px 9px;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.lang-switch button:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.lang-switch button.active {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.lang-switch button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

/* The desktop switcher is hidden on mobile (the nav menu carries its own). */
@media (max-width: 768px) {
    .nav-actions .lang-switch {
        display: none;
    }
}

/* The in-menu switcher only exists inside the mobile drawer. */
.nav-lang-item {
    display: none;
    list-style: none;
    width: 100%;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid rgba(65, 105, 225, 0.18);
}

@media (max-width: 768px) {
    .nav-lang-item {
        display: block;
    }
    .nav-lang-item .lang-switch {
        width: 100%;
        justify-content: space-between;
    }
    .nav-lang-item .lang-switch button {
        flex: 1;
        padding: 9px 0;
        font-size: 0.8rem;
    }
}

/* Korean typography: tighter tracking / negative letter-spacing hurts Hangul. */
html[lang="ko"] body,
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4,
html[lang="ko"] h5,
html[lang="ko"] h6 {
    letter-spacing: 0;
    word-break: keep-all;
    line-height: 1.65;
}

html[lang="ko"] .hero-title,
html[lang="ko"] .section-title {
    line-height: 1.35;
}
