/* =========================================
   FONT & RENK PALETİ
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700&display=swap');

:root {
    --mws-bg:        #071829;
    --mws-bg-soft:   #0b2136;
    --mws-accent:    #ffc857;
    --mws-accent-soft:#ffdd88;
    --mws-text-main: #f8f9fa;
    --mws-text-muted:#ced4da;
    --mws-card-bg:   #ffffff;
    --mws-border-soft: rgba(255,255,255,0.08);
}

/* =========================================
   GENEL
========================================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Titillium Web", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--mws-bg);
    color: var(--mws-text-main);
}

/* =========================================
   ÜST NAV (LOGO + MENÜ)
========================================= */
.mws-top {
    background: #ffffff;
    border-bottom: 3px solid #e0a400;
    padding: 10px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mws-top img {
    height: 52px;
}

.mws-top-menu a {
    margin-left: 28px;
    text-decoration: none;
    color: #102132;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.03em;
}

.mws-top-menu a:hover {
    color: #d48c00;
}

/* =========================================
   HERO BÖLÜMÜ
   (index.php içinde <section class="mws-hero" style="background-image:url(...);"> )
========================================= */
.mws-hero {
    position: relative;
    height: 360px;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.mws-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 24, 41, 0.96) 0%,
        rgba(7, 24, 41, 0.80) 40%,
        rgba(7, 24, 41, 0.10) 100%
    );
}

.mws-hero-inner {
    position: relative;
    padding: 40px 60px;
    max-width: 520px;
    color: var(--mws-text-main);
}

.mws-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    color: var(--mws-accent-soft);
    margin-bottom: 10px;
}

.mws-hero-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.mws-hero-sub {
    font-size: 15px;
    color: var(--mws-text-muted);
}

/* =========================================
   INDEX – ANA SAYFA GÖVDE (kartların arka planı)
   (hero’dan sonra <div class="mws-page"> ... )
========================================= */
.mws-page {
    background: var(--mws-bg-soft);
    border-radius: 26px 26px 0 0;
    margin-top: -32px;
    padding: 40px 70px 60px;
}

/* Başlık */
.mws-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--mws-text-main);
    margin-bottom: 24px;
}

/* GRID YAPISI */
.mws-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* =========================================
   KARTLAR
========================================= */
.mws-card {
    background: var(--mws-card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    transition: transform .15s ease, box-shadow .15s ease;
}

.mws-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.mws-card-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.mws-card-body {
    padding: 18px 20px 20px;
}

.mws-card-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mws-card-title a {
    text-decoration: none;
    color: #1b2635;
}

.mws-card-title a:hover {
    color: #d48c00;
}

.mws-card-excerpt {
    font-size: 14px;
    color: #546072;
    min-height: 44px;
}

.mws-card-meta {
    font-size: 12px;
    color: #9aa4b4;
    margin-top: 10px;
}

.mws-card-link a {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d48c00;
    text-decoration: none;
}

.mws-card-link a:hover {
    text-decoration: underline;
}

/* =========================================
   FOOTER
========================================= */
.mws-footer {
    text-align: center;
    padding: 22px 10px 26px;
    font-size: 13px;
    color: #8894a7;
    background: #050f1b;
    border-top: 1px solid var(--mws-border-soft);
}

/* =========================================
   DETAY SAYFASI (content/*.php) ORTAK STİLLER
========================================= */
.mws-content-wrapper {
    max-width: 1100px;
    margin: 30px auto 60px;
}

.mws-content {
    background: #ffffff;
    color: #1b2635;
    border-radius: 18px;
    padding: 26px 28px 32px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.mws-content h1 {
    margin-top: 0;
}

.mws-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.mws-gallery a {
    display: block;
}

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

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 900px) {
    .mws-top {
        padding: 10px 18px;
    }

    .mws-page {
        padding: 26px 18px 40px;
    }

    .mws-hero-inner {
        padding: 26px 22px;
    }
}
