/* ============================= */
/* RESET */
/* ============================= */

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

body {
    font-family: Arial, sans-serif;
}


/* ============================= */
/* HEADER */
/* ============================= */

.header {
    width: 100%;
    background: #f2f2f2;
    border-bottom: 1px solid #ddd;
    /* Ayrı bar efekti */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee;

    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */

.header .logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .logo-area img {
    height: 35px;
}

.header .brand {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

/* NAVIGATION */

.header .nav {
    display: flex;
    gap: 30px;
}

.header .nav a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: 0.2s;
}

.header .nav a:hover {
    opacity: 0.7;
}










/* ================= ADMIN ================= */

.admin-login,
.admin-dashboard {
    width: 350px;
    margin: 100px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.admin-login input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.admin-login button {
    padding: 10px 20px;
    cursor: pointer;
}

/* ================= ADMIN LAYOUT ================= */

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.admin-sidebar {
    width: 220px;
    background: #111;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.admin-sidebar h2 {
    margin-bottom: 20px;
}

.admin-sidebar a {
    color: #ccc;
    text-decoration: none;
    margin: 8px 0;
    padding: 8px;
    border-radius: 4px;
    transition: 0.2s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: #222;
    color: white;
}

/* CONTENT */

.admin-content {
    flex: 1;
    padding: 40px;
}


/* ================= MODERN ADMIN THEME ================= */

.admin-body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
    width: 240px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 30px 20px;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
}

.sidebar nav a {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    color: #ccc;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: #4facfe;
    color: white;
}

/* MAIN */

.main-content {
    flex: 1;
    padding: 40px;
}

.topbar h2 {
    margin-bottom: 30px;
}

/* STATS */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.stat-card h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
}

.stat-card p {
    font-size: 22px;
    font-weight: bold;
}

.stat-card.gradient {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

/* CHART BOX */

.chart-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}




/* ================= FORM CARD ================= */

.form-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    max-width: 800px;
}

.form-card h2 {
    margin-bottom: 30px;
}

/* FORM GROUP */

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

/* ROW */

.row {
    display: flex;
    gap: 15px;
}

/* INPUT */

.form-card input[type="text"] {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: 0.3s;
    font-size: 14px;
}

.form-card input[type="text"]:focus {
    border-color: #4facfe;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79,172,254,0.2);
}

.form-card input[type="color"] {
    width: 60px;
    height: 45px;
    border: none;
    cursor: pointer;
}

/* SAVE BUTTON */

.btn-save {
    margin-top: 10px;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* ================= HERO SECTION ================= */

.hero {
    text-align: center;
    padding: 80px 20px;
    background: #f5f7fa;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.video-wrapper {
    max-width: 1000px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    width: 100%;
    height: 500px;
}

.update-table {
    max-width: 1000px;
    margin: auto;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.update-head,
.update-row {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.update-head {
    font-weight: bold;
    background: #f7f9fc;
}

.update-row:last-child {
    border-bottom: none;
}

.update-left p {
    margin: 5px 0 0;
    color: #666;
}

.update-right {
    text-align: right;
    font-size: 14px;
}

.update-link {
    margin-top: 6px;
    font-size: 12px;
    word-break: break-all;
}

.update-link a {
    color: #4facfe;
    text-decoration: none;
}

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

.view-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 12px;
    background: #4facfe;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

/* ================= LAST UPDATES ================= */

.updates {
    padding: 100px 20px;
    background: #f5f7fa;
}

.updates-title {
    text-align: center;
    font-size: 56px;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

/* BOX */

.updates-box {
    max-width: 1000px;
    margin: auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* HEADER ROW */

.updates-header {
    display: flex;
    padding: 22px;
    background: #f1f3f6;
    font-weight: 600;
    font-size: 15px;
}

.updates-header .col-1 {
    flex: 3;
}

.updates-header .col-2 {
    flex: 1;
    text-align: right;
}

.updates-header .col-3 {
    flex: 1;
    text-align: right;
}

/* UPDATE ROW */

.update-row {
    display: flex;
    padding: 14px 20px;   /* küçüldü */
    border-top: 1px solid #e6e6e6;
    align-items: center;
}



.update-row:hover {
    background: #fafafa;
}

.col-1 {
    flex: 3;
}

.col-1 strong {
    font-size: 18px;
    font-weight: 700;
}



.col-2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}


.col-3 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* VIEW BUTTON */

.view-btn {
    padding: 6px 16px;
    background: #5daaf7;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.2s;
}

.view-btn:hover {
    background: #3d8be0;
}

.new-badge {
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 600;
}

.pagination {
    margin-top: 30px;
    text-align: center;
}

.page-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    background: #f1f3f6;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    transition: 0.2s;
}

.page-btn:hover {
    background: #4facfe;
    color: white;
}

.page-btn.active {
    background: #4facfe;
    color: white;
}

/* ================= FOOTER CENTERED ================= */

.site-footer {
    border-top: 1px solid #e6e6e6;
    padding: 60px 20px;
    background: #f5f7fa;
    text-align: center;
}

.footer-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 80px;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.footer-column p {
    font-size: 14px;
    color: #777;
}

.footer-column a {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #4facfe;
}
