/* Google Fonts Preconnect and Display Swap */
@import url('https://fonts.googleapis.com/css2?family=Monda:wght@400;700&display=swap');

:root {
    --primary-color: #224040;
    --accent-color: #dad420;
    --text-color: #333;
    --bg-color: #c2e1ff;
    --header-bg: #00aaff;
    --header-text: #ffffff;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-family: "Monda", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* Scrollbar Optimization */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

/* Layout Helpers */
.temizle { clear: both; }
.mt-50 { margin-top: 50px; }
.mb-20 { margin-bottom: 20px; }

/* Header & Navigation */
.Header_Alani {
    color: var(--header-text);
    background-color: var(--header-bg);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
    padding: 30px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.Header_Alani h1 { font-size: 2.5rem; margin: 0; font-weight: 700; }
.Header_Alani h2 { font-size: 1.5rem; opacity: 0.9; margin-top: 10px; }

/* Vitrin & Cards */
.vipilan {
    background: var(--primary-color);
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border-radius: 4px;
}

.vipilan span {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.vipilan .glyphicon {
    color: var(--accent-color);
    margin: 0 10px;
}

.VitrinUst {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    border: 2px solid transparent;
}

.VitrinUst:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

/* Blog & Panels */
.panel-stili {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    transition: box-shadow 0.3s ease;
}

.panel-stili:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.panel-heading {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #eee !important;
}

.panel-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem;
}

.media-heading a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.media-heading a:hover {
    color: var(--primary-color);
}

/* Image Containers */
.cerceve {
    width: 110px;
    height: 110px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #eee;
}

.resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
@keyframes shine {
    from { -webkit-mask-position: 150%; }
    to { -webkit-mask-position: -50%; }
}

.effect-shine {
    -webkit-mask-image: linear-gradient(-75deg, rgba(255,255,255,0.6) 30%, #fff 50%, rgba(255,255,255,0.6) 70%);
    -webkit-mask-size: 200%;
    animation: shine 3s infinite;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .Header_Alani { padding: 20px 0; }
    .Header_Alani h1 { font-size: 2rem; }
    .cerceve { width: 80px; height: 80px; }
    .navbar-brand { font-size: 1.6rem; }
}

/* Tags */
.tags a {
    margin-right: 5px;
    margin-bottom: 8px;
    display: inline-block;
}

/* Footer */
footer {
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    background: #fdfdfd;
}

.copyrights p { margin-bottom: 10px; }

/* Utilities */
.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }

.blink2 { animation: blinker2 1s linear infinite; }
@keyframes blinker2 { 50% { transform: scale(1.05); } }
