/* ==========================================================================
   THE NARRATIVE BANGKOK - Premium Minimalist Style Sheet
   Theme: Elegant Dark (Gold & Obsidian) - Clean Typography & Countdown Only
   ========================================================================== */

:root {
    --bg-dark: #080808;
    --bg-surface: #0f0f0f;
    
    --color-primary: #C5A880; /* Bronze Gold */
    --color-primary-light: #dfc8a5;
    --color-primary-glow: rgba(197, 168, 128, 0.25);
    
    --color-text-main: #E5E5E5;
    --color-text-muted: #999999;
    --color-text-dark: #555555;
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', 'Niramit', sans-serif;
    
    --border-gold: 1px solid rgba(197, 168, 128, 0.15);
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--color-text-main);
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: radial-gradient(circle at center, #121212 0%, #060606 100%);
}

/* Header & Logo */
.header {
    width: 100%;
    padding: 2.5rem 0;
    z-index: 100;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.logo-sub {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.62em;
    color: var(--color-primary);
    margin-top: 0.25rem;
}

.logo:hover .logo-main {
    color: var(--color-primary);
    text-shadow: 0 0 12px var(--color-primary-glow);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-dark);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.2rem 0.5rem;
}

.lang-btn:hover {
    color: var(--color-text-muted);
}

.lang-btn.active {
    color: var(--color-primary);
    font-weight: 600;
}

.lang-divider {
    font-size: 0.8rem;
    color: var(--color-text-dark);
    opacity: 0.3;
}

/* Main Minimal Centered Container */
.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 850px;
    padding-bottom: 2rem;
}

/* Hero Texts */
.hero-content {
    margin-bottom: 3.5rem;
    animation: fadeIn 1.5s ease-out;
}

.tagline {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--color-primary);
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

.line-gold {
    display: inline-block;
    width: 35px;
    height: 1px;
    background: var(--color-primary);
    opacity: 0.7;
}

.hero-title {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.8rem;
    line-height: 1.1;
}

.hero-title .logo-main {
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-title .location-text {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.76em;
    color: var(--color-primary);
    margin-top: 0.6rem;
    text-indent: 0.76em;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* Countdown Section */
.countdown-section {
    width: 100%;
    max-width: 750px;
    animation: fadeInDelayed 2s ease-out;
}

.countdown-container {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(10px);
    border: var(--border-gold);
    padding: 2rem 2rem;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.countdown-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.countdown-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-dark);
    letter-spacing: 0.1em;
    margin-bottom: 1.8rem;
    text-transform: uppercase;
}

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

.countdown-item {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-right: 1px solid rgba(197, 168, 128, 0.08);
}

.countdown-item:last-child {
    border-right: none;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.countdown-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Minimal Footer */
.footer {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 100;
}

.footer p {
    letter-spacing: 0.05em;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDelayed {
    0% { opacity: 0; transform: translateY(20px); }
    30% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive Styles */
@media (max-width: 768px) {
    html, body {
        overflow: auto; /* allow scroll on small screens if content overflows */
    }
    
    body {
        justify-content: flex-start;
        padding-bottom: 2rem;
    }
    
    .header {
        padding: 1.5rem 0;
    }
    
    .main-container {
        padding: 2rem 0;
    }

    .hero-title .logo-main {
        font-size: 2.8rem;
    }
    .hero-title .location-text {
        font-size: 1.1rem;
        letter-spacing: 0.58em;
        text-indent: 0.58em;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .countdown-container {
        padding: 1.5rem 1rem;
    }
    
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .countdown-item {
        border-right: none;
        border-bottom: 1px solid rgba(197, 168, 128, 0.08);
        padding: 0.8rem 0;
    }
    
    .countdown-item:nth-child(even) {
        border-left: 1px solid rgba(197, 168, 128, 0.08);
    }
    
    .countdown-item:nth-child(3), .countdown-item:nth-child(4) {
        border-bottom: none;
    }
    
    .countdown-number {
        font-size: 2.2rem;
    }
    
    .footer {
        margin-top: auto;
        padding: 1.5rem 0;
    }
}
