/* assets/css/style.css - Ana Stil Dosyası */
:root {
    --primary-color: #d4af37;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #ecf0f1;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #c19a2f);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-body {
    padding: 30px;
}

.yasal-metin-container h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.yasal-linkler {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.yasal-linkler a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.yasal-linkler a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.uyari-kutusu {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
}

.uyari-kutusu i {
    color: var(--warning-color);
    font-size: 24px;
    flex-shrink: 0;
}

.onay-checkbox-container {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-footer {
    margin-top: 25px;
}


.btn-primary {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, var(--success-color), #229954);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #95a5a6;
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.yasal-not {
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Reklam Modal */
.reklam-modal .modal-content {
    max-width: 800px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: rotate(90deg);
}

.reklam-icerik {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--secondary-color), #34495e);
    color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 40px;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.canli-durum {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.pulse {
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; transform: scale(1.2); }
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn-login, .btn-register, .btn-logout {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-login:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-register {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-register:hover {
    background: #c19a2f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.user-menu i {
    font-size: 24px;
}

.btn-logout {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
}

.btn-logout:hover {
    background: #c0392b;
}

/* Reklam Alanları */
.reklam-alani {
    background: var(--light-bg);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    overflow: hidden;
}

.ust-banner {
    min-height: 90px;
}

.orta-banner {
    min-height: 280px;
    margin: 30px 0;
}

.sol-sidebar {
    min-height: 600px;
}

.mobil-banner {
    min-height: 50px;
}

.alt-banner {
    min-height: 90px;
    margin: 0;
}

.sticky {
    position: sticky;
    top: 100px;
}

/* Navigation */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 0;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.main-nav a:hover, .main-nav a.active {
    background: var(--primary-color);
    color: var(--white);
}

/* Main Content */
.content-wrapper {
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
    margin-bottom: 30px;
}

.sidebar-left, .sidebar-right {
    display: block;
}

/* Güncelleme Bilgisi */
.guncelleme-bilgi {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.guncelleme-bilgi i {
    color: var(--primary-color);
    font-size: 20px;
}

.btn-refresh {
    padding: 10px 20px;
    background: var(--info-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-refresh:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Altın Grid */
.altin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.altin-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.altin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), #c19a2f);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header i {
    font-size: 24px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

.fiyat-detay {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fiyat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.fiyat-item:last-child {
    border-bottom: none;
}

.label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 14px;
}

.fiyat {
    font-size: 22px;
    font-weight: 700;
}

.fiyat.alis {
    color: var(--success-color);
}

.fiyat.satis {
    color: var(--accent-color);
}

.degisim {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.degisim-oran {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.degisim-oran.pozitif {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.degisim-oran.negatif {
    background: rgba(231, 76, 60, 0.1);
    color: var(--accent-color);
}

/* Bilgilendirme Panel */
.bilgilendirme-panel {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 30px 0;
}

.bilgilendirme-panel h2 {
    color: var(--secondary-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bilgi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.bilgi-item {
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    text-align: center;
}

.bilgi-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.bilgi-item h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

/* Sorumluluk Reddi */
.sorumluluk-reddi {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.sorumluluk-reddi h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sorumluluk-reddi ul {
    margin: 15px 0;
    padding-left: 25px;
}

.sorumluluk-reddi li {
    margin: 8px 0;
}

.detay-link {
    margin-top: 15px;
    font-weight: 500;
}

.detay-link a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.detay-link a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.sosyal-medya {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.sosyal-medya a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.sosyal-medya a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 5px 0;
}

.disclaimer {
    color: var(--text-light);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar-left, .sidebar-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .altin-grid {
        grid-template-columns: 1fr;
    }
    
    .bilgi-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .yasal-linkler {
        grid-template-columns: 1fr;
    }
}

/* Hata Mesaj */
.hata-mesaj {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.hata-mesaj i {
    font-size: 64px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.hata-mesaj p {
    font-size: 18px;
    color: var(--text-dark);
}