/* ════════════════════════════════════════════
   assets/css/style.css  —  v5.0.0
   Circassian Memory Center - Exact Image Match Layout
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:ital,wght@0,300;0,400;0,700;1,400&display=swap');

/* ── Variables ──────────────────────────── */
:root {
    --color-bg-dark:     #353331; /* Header/Right Column background */
    --color-bg-darker:   #2f2d2a; /* Footer background */
    --color-hero-blue:   #162231; /* Dark Slate Blue */
    --color-welcome:     #fdf9f1; /* Cream */
    --color-gold:        #bd9758; /* Muted Gold */
    --color-gold-hover:  #d8b068;
    --color-text-light:  #ffffff;
    --color-text-dim:    #b0b0b0;
    --color-text-dark:   #333333;
    
    --font-serif:        'Playfair Display', serif;
    --font-sans:         'Inter', sans-serif;
    
    --nav-h:             90px;
}

/* ── Reset & Base ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    background: #222; /* Outer background if window is wider than 1800px */
    color: var(--color-text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: all .3s; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ════════════════════════════════════════
   NAVBAR (HEADER)
════════════════════════════════════════ */
.navbar {
    background: var(--color-bg-dark);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 1.5rem; }
.logo-text-group { display: flex; align-items: center; gap: 1.25rem; }
.logo-left, .logo-right { display: flex; flex-direction: column; }
.logo-en { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.1em; color: var(--color-text-light); }
.logo-ad { font-family: var(--font-sans); font-size: 0.75rem; color: var(--color-text-dim); letter-spacing: 0.05em; }
.logo-url { font-family: var(--font-sans); font-size: 0.7rem; color: var(--color-gold); letter-spacing: 0.05em; margin-top: 2px; }
.logo-separator { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.logo-ru { font-family: var(--font-serif); font-size: 1.05rem; letter-spacing: 0.05em; color: var(--color-text-light); }
.logo-tr { font-family: var(--font-sans); font-size: 0.85rem; color: var(--color-text-dim); }

.nav-links { display: flex; gap: 2rem; }
.nav-link {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    color: var(--color-text-dim); text-transform: uppercase;
    position: relative; padding-bottom: 5px;
}
.nav-link:hover, .nav-link.active { color: var(--color-gold); }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 1px; background: var(--color-gold);
}

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.search-icon { color: var(--color-text-dim); }
.search-icon:hover { color: var(--color-gold); }
.lang-switcher { font-size: 0.8rem; font-weight: 600; color: var(--color-text-dim); }
.lang-switcher a.active { color: var(--color-gold); }
.lang-sep { margin: 0 4px; }
.nav-toggle { display: none; }

/* ════════════════════════════════════════
   USER LAYOUT (Hero, Welcome, Grid)
════════════════════════════════════════ */
:root {
    --dark-blue: #0d1b2a;
    --gold-bg: #b08d57;
    --cream: #f4eee1;
    --text-gold: #d4af37;
}

/* --- Hero Section --- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: var(--dark-blue);
    min-height: 500px;
    position: relative;
}

.hero-text {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero-text .lang-alt { 
    color: var(--text-gold); 
    font-size: 1rem; 
    opacity: 0.8; 
}

.hero-image {
    background: url('/assets/img/hero.png');
    background-size: cover;
    background-position: center;
}

/* --- Welcome Bar --- */
.welcome-section {
    background-color: var(--cream);
    color: #333;
    padding: 40px 15%;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* --- Bottom Grid --- */
.content-grid {
    display: grid;
    grid-template-columns: 35% 65%;
}

/* Sol Bölüm (Explore) */
.explore-box {
    background-color: #08111d;
    padding: 50px 30px;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 30px;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

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

.archive-items img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.archive-items p { 
    font-size: 0.7rem; 
    margin-top: 8px; 
    color: #aaa; 
}

/* Sağ Bölüm (Stories) */
.stories-box {
    background-color: var(--gold-bg);
    padding: 50px 40px;
}

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

    background: rgba(0, 0, 0, 0.4);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
}

.story-info {
    padding: 15px;
}

.story-info blockquote {
    font-style: italic;
    font-size: 0.8rem;
    margin: 0;
    border-left: 2px solid var(--text-white);
    padding-left: 10px;
}

.learn-more {
    display: block;
    margin-top: 15px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
}

/* Right Footer */
.ed-footer {
    padding: 3rem 2.5rem;
    background: var(--color-bg-darker);
    color: var(--color-text-dim);
}
.ed-footer-links {
    display: flex;
    gap: 4rem;
    margin-bottom: 2rem;
}
.ed-footer-links ul li { margin-bottom: 0.5rem; }
.ed-footer-links a { font-size: 0.8rem; }
.ed-footer-links a:hover { color: var(--color-gold); }

.ed-footer-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.ed-footer-social span { font-size: 0.8rem; }
.social-icons { display: flex; gap: 0.5rem; }
.s-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-bg-darker);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: bold;
}
.ed-footer-copy {
    font-size: 0.65rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* ════════════════════════════════════════
   MODALS
════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}
.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: var(--color-welcome);
    color: var(--color-text-dark);
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--color-gold);
    width: 90%;
    max-width: 600px;
    position: relative;
    border-radius: 4px;
}
.close-modal {
    color: var(--color-text-dim);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    position: absolute;
    top: 15px;
    right: 20px;
}
.close-modal:hover { color: #000; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-family: var(--font-sans);
}
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.btn-primary { background: var(--color-gold); color: #fff; padding: 0.75rem 1.5rem; border: none; cursor: pointer; font-weight: bold; }
.btn-secondary { background: #ccc; color: #333; padding: 0.75rem 1.5rem; border: none; cursor: pointer; font-weight: bold; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1200px) {
    .editorial-container { flex-direction: column; }
    .editorial-left { flex: none; width: 100%; box-shadow: none; border-bottom: 5px solid var(--color-bg-dark); }
    .editorial-right { flex: none; width: 100%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: block; width: 30px; height: 20px; background: transparent; border: none; }
    .nav-toggle span { display: block; width: 100%; height: 2px; background: var(--color-gold); margin-bottom: 5px; }
    
    .ed-dual-grid { flex-direction: column; }
    .ed-box-items { grid-template-columns: 1fr; }
    
    .right-stories-grid { grid-template-columns: 1fr; }
    .exhibitions-slider { grid-template-columns: 1fr; }
}

