:root {
    --bg-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #005aa2; /* BTS Logo Blue */
    --accent-hover: #00427a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(203, 213, 225, 0.6);
    --font-main: 'Inter', sans-serif;
    --blob-1: #e2e8f0;
    --blob-2: #cbd5e1;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.background-blobs { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -2; overflow: hidden; } /* Arkaplanı bozmasın diye beyaz rengi kaldırdım */

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.header-container { max-width: 1400px; margin: 0 auto; padding: 0 40px; }

/* Admin and Generic Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-top { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f1f5f9; }
.header-logo img { height: 60px; max-width: 100%; object-fit: contain; }
.header-socials a { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; color: var(--accent); align-items: center; justify-content: center; text-decoration: none; margin-left: 10px; transition: 0.3s; font-weight: bold; }
.header-socials a:hover { background: var(--accent); color: #fff; }

.main-menu { display: flex; list-style: none; gap: 20px; align-items:center; margin:0; padding:0; }
.main-menu .menu-item { position: relative; }
.main-menu a { color: var(--text-primary); text-decoration: none; font-weight: 600; font-size: 15px; transition: 0.2s; padding: 10px 5px; display:block; }
.main-menu a:hover { color: var(--accent); }

/* Dropdown Sub-menu */
.sub-menu { 
    position: absolute; top: 100%; left: 0; 
    background: #fff; min-width: 200px; 
    list-style: none; padding: 10px 0; margin: 0; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); 
    border-radius: 8px; border: 1px solid #f1f5f9;
    opacity: 0; visibility: hidden; transform: translateY(10px); 
    transition: all 0.3s ease; z-index: 1000;
}
.menu-item.has-dropdown:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li { padding: 0 15px; }
.sub-menu a { padding: 8px 10px; font-size: 14px; color: var(--text-secondary); border-radius: 4px; }
.sub-menu a:hover { background: #f8fafc; color: var(--accent); }

.header-search { display: flex; align-items: center; }
.header-search input { border: 1px solid #e2e8f0; border-radius: 20px; padding: 6px 15px; outline: none; transition: 0.3s; }
.header-search input:focus { border-color: var(--accent); }

main { flex: 1; margin: 100px 0 40px 0; position: relative; }

/* Bolder Modern Hero Arka Planı */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background: radial-gradient(circle at 20% 10%, #dbeafe 0%, transparent 40%),
                radial-gradient(circle at 80% 20%, #e0f2fe 0%, transparent 40%),
                linear-gradient(180deg, #f0f7ff 0%, var(--bg-color) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Dashboard Admin Elements */
.admin-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.admin-table th, .admin-table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--glass-border); color: var(--text-primary); }
.btn { padding: 10px 20px; border-radius: 6px; border: none; cursor: pointer; text-decoration: none; display: inline-block; font-weight: 500; }
.glass-btn { background: var(--accent); color: white; box-shadow: 0 2px 5px rgba(0,90,162,0.3); color:#fff !important; }
.glass-btn:hover { background: var(--accent-hover); }
.text-red { color: #ef4444; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 500; font-size: 14px; }
.form-control { width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 6px; font-family: inherit; color: var(--text-primary); background: #fff; }
.form-control:focus { outline: none; border-color: var(--accent); }

/* Buttons */
.btn-sm { padding: 6px 12px; font-size: 13px; border-radius: 6px; background: #e2e8f0; text-decoration: none; }

/* Headline Slider (Manşet) */
.headline-module { display: flex; height: 450px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); margin-bottom: 30px; position:relative;}
.headline-image { flex: 1; background-size: cover; background-position: center; transition: background-image 0.4s ease-in-out; }
.headline-content { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; z-index: 1; }
.headline-content::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    background-image: url('/bts/public/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.04;
    transform: translate(-50%, -50%) rotate(-30deg);
    z-index: -1;
    pointer-events: none;
}
.headline-content h1 { font-size: 32px; color: var(--accent); margin-bottom: 15px; line-height: 1.2; font-weight:800; }
.headline-content p { font-size: 16px; color: var(--text-secondary); margin-bottom: 25px; line-height: 1.6; }
.headline-nav { position: absolute; bottom: 0; right: 0; width: 50%; display: flex; background: rgba(255,255,255,0.9); border-top: 1px solid #f1f5f9; z-index: 10; }
.headline-nav span { flex: 1; text-align: center; padding: 15px 0; font-weight: bold; color: var(--text-secondary); cursor: pointer; transition: 0.3s; border-right: 1px solid #f1f5f9; }
.headline-nav span:last-child { border-right: none; }
.headline-nav span:hover, .headline-nav span.active { background: var(--accent); color: #fff; }

/* Banners Grid */
.banners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.banner-card { display: flex; align-items: center; padding: 20px; border-radius: 12px; text-decoration: none; transition: transform 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.banner-card:hover { transform: translateY(-5px); }
.banner-card img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.banner-card span { font-weight: 600; font-size: 16px; line-height: 1.3; }

/* Post Grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.post-image { height: 200px; background-size: cover; background-position: center; background-color: #f1f5f9; }
.post-card-content { padding: 25px; }
.post-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.3; }
.post-card h3 a { color: var(--text-primary); text-decoration: none; }
.post-card h3 a:hover { color: var(--accent); }
.post-date { font-size: 13px; color: var(--text-secondary); display: block; margin-bottom: 10px; }

/* Single */
.single-post h1 { color: var(--accent); margin-bottom: 15px; }
.single-post .post-body { color: #334155; }
.single-img { width: 100%; height: auto; max-height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 30px; }

/* Footer */
.site-footer { background: var(--text-primary); color: #cbd5e1; margin-top: auto; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 40px; padding: 60px 20px 40px; }
.footer-col h4 { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 600; }
.footer-logo { max-width: 180px; margin-bottom: 15px; display: block; }
.footer-logo-text { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 15px; letter-spacing: 1px; }
.footer-about { line-height: 1.8; color: #94a3b8; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cbd5e1; text-decoration: none; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: #fff; transform: translateX(5px); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { margin-bottom: 15px; line-height: 1.6; }
.footer-contact strong { color: #fff; display: block; margin-bottom: 2px; }
.footer-contact a { color: #cbd5e1; text-decoration: none; transition: 0.3s; }
.footer-contact a:hover { color: #fff; }

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: rgba(255,255,255,0.05); color: #fff; border-radius: 50%; text-decoration: none; transition: 0.3s; font-weight: bold; }
.social-icon:hover { background: var(--accent); transform: translateY(-3px); }

.footer-bottom { background: rgba(0,0,0,0.2); padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }

/* Responsive Settings */
@media (max-width: 992px) {
    .headline-module { flex-direction: column; height: auto; }
    .headline-image { height: 300px; flex: none; }
    .headline-nav { position: relative; width: 100%; border-top: none; flex-wrap: wrap; }
    .headline-nav span { flex-basis: 20%; border-bottom: 1px solid #e2e8f0; }
    .banners-grid { grid-template-columns: repeat(2, 1fr); }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 768px) {
    .header-bottom { flex-direction: column; gap: 15px; }
    .post-grid { grid-template-columns: 1fr; }
    .banners-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 40px 20px 20px; }
}
