/* Mobil CSS - Sadece mobil cihazlar için */

/* Mobil Header */
@media (max-width: 768px) {
    .header {
        padding: 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 15px;
        max-width: 100%;
    }
    
    .logo h1 {
        font-size: 0.9rem !important;
        font-weight: 600;
        margin: 0;
        line-height: 1.2;
        color: #2c3e50;
    }
    
    .logo a {
        text-decoration: none;
        color: inherit;
    }
    
    /* Hamburger Menu */
    .hamburger {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #2c3e50;
        cursor: pointer;
        padding: 0.3rem;
        transition: color 0.3s;
    }
    
    .hamburger:hover {
        color: #3498db;
    }
    
    /* Mobil Navigation */
    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        z-index: 999;
        border-top: 1px solid #f0f0f0;
    }
    
    .main-nav.active {
        display: block !important;
    }
    
    .main-nav ul {
        display: flex;
        flex-direction: column;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .main-nav li {
        border-bottom: 1px solid #f5f5f5;
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
        color: #333;
        text-decoration: none;
        transition: all 0.3s;
        background: none;
        border-radius: 0;
        white-space: normal;
        max-width: none;
        overflow: visible;
        text-overflow: unset;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: #f8f9fa;
        color: #3498db;
    }
    
    /* Mobil Banner */
    .banner {
        padding: 1rem 0;
        background: linear-gradient(135deg, #3498db, #2980b9);
    }
    
    .banner-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: white;
    }
    
    .banner-content p {
        font-size: 0.8rem;
        color: rgba(255,255,255,0.9);
        margin: 0;
    }
    
    /* Mobil Container */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    /* Mobil Content */
    .main-container {
        padding: 1rem 0;
    }
    
    .content-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem;
        order: 1 !important;
        grid-template-columns: none !important;
    }
    
    .main-content {
        padding: 0;
        order: 1 !important;
        width: 100% !important;
    }
    
    /* Mobil Featured Grid */
    .featured-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .featured-item {
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s;
    }
    
    .featured-item:hover {
        transform: translateY(-2px);
    }
    
    .featured-item .news-image {
        height: 150px;
        overflow: hidden;
    }
    
    .featured-item .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .featured-item .news-content {
        padding: 1rem;
    }
    
    .featured-item h3 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        color: #2c3e50;
    }
    
    .featured-item p {
        font-size: 0.8rem;
        color: #666;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .featured-item .news-meta {
        font-size: 0.75rem;
        color: #999;
    }
    
    /* Mobil News Items */
    .news-item {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        margin-bottom: 1rem;
    }
    
    .news-item .news-image {
        width: 100%;
        height: 120px;
        overflow: hidden;
    }
    
    .news-item .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .news-item .news-content {
        padding: 1rem;
    }
    
    .news-item h3 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        color: #2c3e50;
    }
    
    .news-item p {
        font-size: 0.8rem;
        color: #666;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .news-item .news-meta {
        font-size: 0.75rem;
        color: #999;
    }
    
    /* Mobil Sidebar - En alta taşı */
    .sidebar {
        order: 2 !important;
        margin-top: 2rem;
        margin-bottom: 0;
        display: block !important;
        width: 100% !important;
    }
    
    .widget {
        background: white;
        border-radius: 8px;
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .widget h3 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        color: #2c3e50;
        border-bottom: 2px solid #3498db;
        padding-bottom: 0.3rem;
    }
    
    /* Hava durumu widget'ı */
    .weather-widget {
        background: linear-gradient(135deg, #74b9ff, #0984e3);
        color: white;
    }
    
    .weather-widget h3 {
        color: white;
        border-bottom-color: rgba(255,255,255,0.3);
    }
    
    /* Döviz widget'ı */
    .currency-widget {
        background: linear-gradient(135deg, #00b894, #00a085);
        color: white;
    }
    
    .currency-widget h3 {
        color: white;
        border-bottom-color: rgba(255,255,255,0.3);
    }
    
    /* Widget içerik stilleri */
    .widget p,
    .widget span,
    .widget div {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .weather-info,
    .currency-info {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .weather-item,
    .currency-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.3rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .weather-item:last-child,
    .currency-item:last-child {
        border-bottom: none;
    }
    
    .weather-item span,
    .currency-item span {
        font-size: 0.75rem;
    }
    
    /* Mobilde kategorileri gizle */
    .categories-widget {
        display: none !important;
    }
    
    .other-categories-widget {
        display: none !important;
    }
    
    /* Mobil Footer */
    .footer {
        padding: 1rem 0;
        text-align: center;
        background: #2c3e50;
        color: white;
        margin-top: 1rem;
        order: 1000;
    }
    
    .footer p {
        font-size: 0.8rem;
        margin: 0;
    }
    
    /* Mobilde sidebar footer'dan önce */
    .main-container {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .content-wrapper {
        order: 1 !important;
    }
    
    .sidebar {
        order: 2 !important;
    }
    
    .footer {
        order: 3 !important;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .header .container {
        padding: 0.3rem 10px;
    }
    
    .logo h1 {
        font-size: 0.8rem !important;
    }
    
    .hamburger {
        font-size: 1.1rem;
        padding: 0.2rem;
    }
    
    .main-nav a {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .banner {
        padding: 0.8rem 0;
    }
    
    .banner-content h2 {
        font-size: 1.1rem;
    }
    
    .banner-content p {
        font-size: 0.75rem;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .main-container {
        padding: 0.8rem 0;
    }
    
    .featured-item .news-image {
        height: 120px;
    }
    
    .news-item .news-image {
        height: 100px;
    }
    
    .widget {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .widget h3 {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .widget p,
    .widget span,
    .widget div {
        font-size: 0.75rem;
    }
    
    .weather-item,
    .currency-item {
        padding: 0.2rem 0;
    }
    
    .weather-item span,
    .currency-item span {
        font-size: 0.7rem;
    }
}

/* Mobil News Detail Sayfası */
@media (max-width: 768px) {
    .news-title {
        font-size: 1.2rem !important;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .news-meta {
        font-size: 0.8rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .news-content {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .news-content h1,
    .news-content h2,
    .news-content h3 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem 0;
    }
    
    .news-content p {
        margin-bottom: 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .related-item .news-image {
        height: 100px;
    }
    
    .related-item h3 {
        font-size: 0.85rem;
    }
    
    .breadcrumb {
        padding: 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .news-detail {
        padding: 1rem;
    }
}

/* Mobil Category Sayfası */
@media (max-width: 768px) {
    .category-description {
        padding: 1rem;
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .category-news h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a,
    .pagination span {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Mobil 404 Sayfası */
@media (max-width: 768px) {
    .error-page {
        padding: 2rem 1rem;
        text-align: center;
    }
    
    .error-icon {
        font-size: 3rem;
        color: #3498db;
        margin-bottom: 1rem;
    }
    
    .error-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #2c3e50;
    }
    
    .error-content p {
        font-size: 0.9rem;
        color: #666;
        margin-bottom: 1.5rem;
    }
    
    .error-actions {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }
}

/* Mobil Buton Stilleri */
@media (max-width: 768px) {
    .btn {
        background: #3498db;
        color: white;
        padding: 0.8rem 1.5rem;
        border-radius: 25px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 500;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border: none;
        cursor: pointer;
    }
    
    .btn:hover {
        background: #2980b9;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }
    
    .btn i {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        background: #3498db;
    }
    
    .btn-primary:hover {
        background: #2980b9;
    }
    
    .btn-secondary {
        background: #95a5a6;
    }
    
    .btn-secondary:hover {
        background: #7f8c8d;
    }
    
    .btn-success {
        background: #27ae60;
    }
    
    .btn-success:hover {
        background: #229954;
    }
    
    .btn-danger {
        background: #e74c3c;
    }
    
    .btn-danger:hover {
        background: #c0392b;
    }
}
