/* 
   LUMINA Minimal Navbar Styles
   Focus: Clean, whitespace, premium feel, semantic 
*/

:root {
    --color-bg: #ffffff;
    --color-text-main: #1a1a1a;
    --color-text-muted: #757575;
    --color-border: #e0e0e0;
    --color-accent: #000000;
    --color-focus-ring: rgba(255, 255, 255, 0.1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', serif;

    --nav-height: 80px;
    --nav-height-mobile: 120px;
    --container-padding: 40px;
    --container-padding-mobile: 20px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: #000000;
    color: #f9f9f9;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header & Navbar */
.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
}

.navbar {
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: var(--nav-height);
    padding: 0 var(--container-padding);
    color: #ffffff;
}

/* Logo */
.logo {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.7;
}

/* Search Container */
.search-container {
    background-color: #1a1a1a;
    flex-grow: 0;
    flex-shrink: 1;
    width: 100%;
    max-width: 440px;
}

.search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: #ffffff;
    pointer-events: none;
    transition: color 0.2s ease;
}

#search-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 48px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid var(--color-border);
    border-radius: 99px;
    /* Very rounded options */
    outline: none;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

#search-input::placeholder {
    color: #999;
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Interactive States */
#search-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 4px var(--color-focus-ring);
    background-color: rgba(255, 255, 255, 0.1);
    /* Subtle transparent white */
}

#search-input:focus+.search-icon,
.search-input-wrapper:focus-within .search-icon {
    color: #ffffff;
}

#search-input:focus::placeholder {
    opacity: 0.5;
}

/* Mobile Search Button (Hidden on Desktop) */
.mobile-search-container {
    display: none;
}

.search-close-btn {
    display: none;
}



/* Content Placeholders (for demo) */
.content-placeholder {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    min-height: 200vh;
    /* To enable scrolling */
}

.hero-placeholder h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 80px;
    color: #222;
}

.hero-section {
    position: relative;

}

.slider-container {}



/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header {
        position: sticky;
        /* Keep valid sticky behavior */
        top: 0;
    }

    .navbar {
        height: var(--nav-height);
        min-height: auto;
        flex-direction: row;
        /* Space between logo and icon */
        justify-content: space-between;
        gap: 0;
        padding: 0 var(--container-padding-mobile);
    }

    .logo-container {
        width: auto;
        text-align: left;
        margin-bottom: 0;
    }

    .logo {
        font-size: 24px;
    }

    .search-container {
        width: auto;
        max-width: none;
        flex-grow: 0;
    }

    /* Hide the desktop input wrapper normally */
    .search-input-wrapper {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Full screen overlay */
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 2000;
        padding: 24px;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        /* Space from top */
    }

    /* Show when active */
    body.search-open .search-input-wrapper {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }

    /* Reveal the mobile toggle button */
    .mobile-search-container {
        display: block;
    }

    .mobile-search-button {
        background: transparent;
        border: none;
        padding: 8px;
        color: #ffffff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Search Input Styling in Overlay */
    #search-input {
        background-color: #1a1a1a;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 0;
        font-size: 24px;
        padding: 0;
        color: #ffffff;
        height: 70px;
    }

    #search-input:focus {
        box-shadow: none;
        border-bottom-color: #ffffff;
        background-color: transparent;
        height: 70px;
        padding: 0;
    }

    .search-icon {
        display: none;
        /* Hide the input icon in overlay mode, or style it differently */
    }

    .search-close-btn {
        display: block;
        background: transparent;
        border: none;
        color: #ffffff;
        position: absolute;
        top: 24px;
        right: 24px;
        cursor: pointer;
        padding: 8px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Article Styling (Minimal & Premium) --- */

.main-content {
    background-color: #ffffff;
    color: #1a1a1a;
    padding-bottom: 120px;
}

.article-container {
    max-width: 800px;
    /* Editorial width */
    /* margin: 0 auto; */
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 60px;
}

.article-meta {
    font-family: var(--font-sans);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    /* Dark grey for meta */
    margin-bottom: 24px;
}

.card {
    background-color: #717171;
    height: auto;
    width: 90%;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    color: #e0e0e0;
    box-shadow: 5px 5px 10px #1a1a1a;
    transition: transform 3s ease-out;
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.content h2 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 2.1rem;
}

.content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1.2rem;
    font
}

.separator {
    margin: 0 12px;
    color: #ddd;
}

.article-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.article-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.5;
}

/* Hero Image */
.article-hero-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 60px;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: cover;
}

.article-hero-image figcaption {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

/* Article Body */
.article-body {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.intro-text {
    font-size: 1.25rem;
    margin-bottom: 40px;
}

.intro-text::first-letter {
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 12px;
    margin-top: 6px;
    font-weight: 600;
}

.divider {
    border: 0;
    height: 1px;
    background: #1a1a1a;
    margin: 60px auto;
    width: 60px;
}

/* Prompts List */
.prompts-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.prompt-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.prompt-number {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin: 0;
    width: 100%;
    text-align: left;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 12px;
}

.prompt-image {
    width: 100%;
}

.prompt-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    /* Optional slight radius */
}

.prompt-text-box {
    width: 100%;
    background-color: #f9f9f9;
    /* Very light grey box for contrast */
    padding: 32px;
    border-left: 4px solid #1a1a1a;
    /* Accent line */
}

.prompt-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #666;
}

.prompt-content {
    font-family: 'Courier New', Courier, monospace;
    /* Monospace for prompt text style */
    font-size: 1rem;
    color: #1a1a1a;
    margin: 0;
}

/* Footer Minimal */
footer {
    border-top: 1px solid #eee;
    padding: 40px 0;
    text-align: center;
    font-family: var(--font-sans);
    color: #999;
    font-size: 12px;
    background-color: #232323;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-container {
        padding: 40px 20px;
    }

    .article-title {
        font-size: 2rem;
    }

    .prompt-text-box {
        padding: 24px;
    }

    .article-hero-image {
        margin-bottom: 40px;
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    overflow: hidden;
    height: 0;
    padding-bottom: 50%;
    /* Maintain 2:1 aspect ratio */
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider.active {
    opacity: 1;
}

.slider img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.slider-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.slider-text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.376);
    color: white;
    padding: 20px;
    border-radius: 8px;
}

.slider-text h2 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

.slider-text p {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-sans);
}

@media (max-width: 768px) {
    .slider-text {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }

    .slider-text h2 {
        font-size: 1.2rem;
    }

    .slider-text p {
        font-size: 0.9rem;
    }
}