/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 0.9rem;
    color: #ecf0f1;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a:hover {
    color: #3498db;
}

/* Navigation Active State */
.nav a.active {
    color: #3498db;
    font-weight: bold;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Buttons */
.btn-primary {
    background: #3498db;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-secondary {
    background: transparent;
    color: #3498db;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #3498db;
    transition: all 0.3s;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-secondary:hover {
    background: #3498db;
    color: white;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem 0;
    margin-top: 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Admin Panel Styles */
.admin-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e74c3c;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.admin-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.admin-panel.show {
    right: 0;
}

.admin-panel.show {
    right: 0;
}

.admin-content {
    padding: 2rem;
}

.admin-content h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.close-admin {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

.tab-button {
    background: #ecf0f1;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-button.active {
    background: #3498db;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.admin-form {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.admin-form button {
    background: #27ae60;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.admin-form button:hover {
    background: #219a52;
}

.admin-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    border-left: 4px solid #3498db;
}

.admin-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.admin-item .actions {
    margin-top: 1rem;
}

.admin-item .actions button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9rem;
}

.admin-item .actions button:hover {
    background: #c0392b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-panel {
        width: 100%;
        right: -100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem 0;
        display: none;
    }

    .nav ul.mobile-open {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

.mobile-menu-btn {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    margin: 0;
    font-size: 1.5rem;
}

.logo-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #ecf0f1;
}

/* =============================================
   MOBİL HAMBURGER MENÜ SİSTEMİ
   ============================================= */

/* Hamburger Menü Butonu (PC'de gizli) */
/* Hamburger Menü Butonu (PC'de gizli) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    /* Yazı ile hamburger arası boşluk */
}

/* MENÜ yazısı */
.menu-text {
    font-size: 10px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

/* Hamburger çizgileri */
.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Hamburger animasyonları (menü açıkken) */
.mobile-menu-btn.active .hamburger:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* =============================================
   MOBİL RESPONSIVE (768px ve altı) - DÜZELTİLMİŞ
   ============================================= */
@media (max-width: 768px) {

    /* Header container düzeni */
    .header .container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80px;
    }

    /* Logo ortalama */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1000;
    }

    .logo img {
        height: 40px;
    }

    /* Hamburger butonu sol tarafta */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* Normal menüyü gizle ve mobil düzenle */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        display: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    /* Menü açıkken göster */
    .nav.mobile-open {
        display: block !important;
        animation: slideDown 0.3s ease;
    }

    /* Menü listesi düzeni */
    .nav ul {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block !important;
    }

    .nav ul li:last-child {
        border-bottom: none;
    }

    .nav ul li a {
        display: block !important;
        padding: 1.2rem 1rem !important;
        width: 100%;
        color: white !important;
        text-decoration: none !important;
        transition: all 0.3s;
        font-size: 1rem;
        font-weight: normal;
    }

    .nav ul li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #3498db !important;
    }

    .nav ul li a.active {
        background: #3498db !important;
        color: white !important;
    }
}