 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        :root {
            --primary-color: #c00;
            --secondary-color: #ffc107;
            --dark-color: #222;
            --light-color: #f8f9fa;
            --gray-color: #6c757d;
            --border-color: #dee2e6;
            --transition: all 0.3s ease;
            --topbar-color: #01889f;
            --valilik-color: #28a745;
            --belediye-color: #007bff;
            --siyaset-color: #ffc107;
            --bartin-color: #c00;
            --breaking-red: #d32f2f;
            --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            --card-hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            background-color: #fff;
            color: var(--dark-color);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-text-size-adjust: 100%;
            -webkit-tap-highlight-color: transparent;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        ul {
            list-style: none;
        }
        
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        .section-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            display: flex;
            align-items: center;
            position: relative;
            border-bottom: 2px solid var(--topbar-color);
        }
        
        .blinking-dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 10px;
            animation: blink 1s infinite;
        }
        
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
        
        /* Header */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .top-bar {
            background-color: var(--topbar-color);
            color: white;
            padding: 10px 0;
        }
        
        .social-icons {
            display: flex;
            justify-content: flex-end;
            gap: 10px;
        }
        
        .social-icons a {
            color: white;
            font-size: 1.1rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
        }
        
        .social-icons a.facebook {
            background-color: #1877F2;
        }
        
        .social-icons a.instagram {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        }
        
        .social-icons a.twitter {
            background-color: #000000;
        }
        
        .social-icons a.youtube {
            background-color: #FF0000;
        }
        
        .social-icons a.telegram {
            background-color: #0088cc;
        }
        
        .social-icons a:hover {
            transform: translateY(-3px);
            opacity: 0.9;
        }
        
        .main-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
        }
        
        .logo-container {
            height: 70px;
            display: flex;
            align-items: center;
            margin-left: 30px;
        }
        
        .logo {
            height: 100%;
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .logo img {
            height: 100%;
            width: auto;
            object-fit: contain;
            transform: scale(1.2);
        }
        
        .hamburger-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 10px;
            background: none;
            border: none;
            z-index: 1002;
            -webkit-appearance: none;
            appearance: none;
        }
        
        .hamburger-menu span {
            width: 28px;
            height: 3px;
            background-color: var(--topbar-color);
            margin: 4px 0;
            transition: var(--transition);
            border-radius: 3px;
        }
        
        .hamburger-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(6px, 6px);
        }
        
        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
        }
        
        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(6px, -6px);
        }
        
        .nav-menu {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .nav-links-container {
            display: flex;
            gap: 5px;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-link {
            font-weight: 600;
            font-size: 1.05rem;
            padding: 14px 15px;
            transition: var(--transition);
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        
        .nav-link:hover {
            color: var(--topbar-color);
            background-color: rgba(1, 136, 159, 0.08);
        }
        
        .dropdown.active .nav-link i {
            transform: rotate(180deg);
        }
        
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: white;
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
            min-width: 200px;
            padding: 6px 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 100;
            border-radius: 10px;
            border-top: 3px solid var(--topbar-color);
            max-width: 220px;
        }
        
        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-menu li {
            padding: 0 3px;
            margin: 1px 0;
        }
        
        .dropdown-menu a {
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
            padding: 8px 15px;
            border-radius: 6px;
            font-weight: 500;
            font-size: 0.95rem;
        }
        
        .dropdown-menu a:hover {
            color: var(--topbar-color);
            background-color: rgba(1, 136, 159, 0.08);
            padding-left: 20px;
        }
        
        .dropdown-menu a i {
            width: 18px;
            text-align: center;
            font-size: 0.9rem;
            color: var(--topbar-color);
        }
        
        .menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
        }
        
        .menu-overlay.active {
            display: block;
        }
        
        /* SLİDER BÖLÜMÜ */
        .slider-section {
            position: relative;
            margin-bottom: 2px;
            overflow: hidden;
        }
        
        .slider-container {
            position: relative;
            height: 500px;
            overflow: hidden;
            cursor: grab;
            user-select: none;
            -webkit-user-drag: none;
            touch-action: pan-y;
        }
        
        .slider-container:active {
            cursor: grabbing;
        }
        
        .slider-item {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 0.8s ease;
            display: flex;
            align-items: flex-end;
            pointer-events: none;
        }

        .slider-item.active {
            opacity: 1;
            pointer-events: auto;
        }
        
        .slider-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
        }
        
        .slider-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.6) 70%, rgba(0,0,0,0.3) 90%, transparent 100%);
            padding: 30px 40px 40px;
            color: white;
            min-height: 45%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            pointer-events: none;
        }
        
        .slider-title {
            font-size: 2.2rem;
            margin-bottom: 0;
            font-weight: 700;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0,0,0,0.7);
            margin-bottom: 30px;
            margin-top: auto;
            transform: translateY(-50%);
            pointer-events: none;
        }
        
        .slider-controls {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 20px;
            z-index: 10;
            pointer-events: none;
        }
        
        .slider-btn {
            background-color: rgba(0,0,0,0.5);
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            transition: var(--transition);
            z-index: 20;
            pointer-events: auto;
            -webkit-appearance: none;
            appearance: none;
        }
        
        .slider-btn:hover {
            background-color: rgba(0,0,0,0.8);
        }
        
        .slider-pagination {
            position: absolute;
            bottom: 20px;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            gap: 10px;
            z-index: 10;
            pointer-events: none;
        }
        
        .pagination-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.5);
            border: 2px solid transparent;
            cursor: pointer;
            transition: var(--transition);
            pointer-events: auto;
        }
        
        .pagination-dot.active {
            background-color: var(--topbar-color);
            transform: scale(1.2);
            border-color: white;
        }
        
        .pagination-dot:hover {
            background-color: white;
            transform: scale(1.1);
        }
        
        /* YENİ SON DAKİKA ŞERİDİ - GÜNCELLENMİŞ */
        .breaking-news-ticker {
            background: linear-gradient(90deg, #d32f2f, #c62828, #b71c1c);
            color: white;
            padding: 15px 0;
            position: relative;
            overflow: hidden;
            border-bottom: 2px solid #ff5252;
            box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
            margin: 0 0 30px 0;
            z-index: 5;
        }
        
        .breaking-ticker-container {
            display: flex;
            align-items: center;
            gap: 15px;
            overflow: hidden;
            padding: 0 15px;
        }
        
        .breaking-ticker-label {
            background: rgba(0, 0, 0, 0.3);
            color: #fff;
            font-weight: 800;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding: 8px 15px;
            border-radius: 4px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
        }
        
        .breaking-ticker-label i {
            color: #ffeb3b;
            animation: bell-ring 1.5s infinite;
        }
        
        @keyframes bell-ring {
            0%, 100% { transform: rotate(0deg); }
            10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
            20%, 40%, 60%, 80% { transform: rotate(10deg); }
        }
        
        .breaking-ticker-content {
            flex: 1;
            overflow: hidden;
            position: relative;
            min-height: 26px;
            display: flex;
            align-items: center;
        }
        
        .breaking-ticker-text {
            white-space: nowrap;
            font-weight: 600;
            font-size: 1rem;
            padding-right: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            text-overflow: ellipsis;
            overflow: hidden;
        }
        
        /* Yanıp sönen efekti */
        .breaking-news-ticker::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
            animation: shine 3s infinite;
        }
        
        @keyframes shine {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        /* YANIP SÖNEN MANŞET YAZISI */
        .breaking-news-sidebar {
            position: absolute;
            right: 20px;
            top: 20px;
            background-color: #8b0000;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            z-index: 5;
            font-weight: bold;
            box-shadow: 0 3px 10px rgba(0,0,0,0.3);
            pointer-events: none;
        }
        
        .breaking-title {
            font-size: 1rem;
            text-align: center;
            white-space: nowrap;
            animation: blinkText 1.5s infinite;
        }
        
        @keyframes blinkText {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.5; }
        }
        
        /* Main content */
        .main-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
            align-items: start;
        }
        
        /* Sol taraf - Ana haberler */
        .main-news {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
        /* Son Dakika Haberler */
        .breaking-news-section {
            margin-bottom: 0;
            padding: 20px;
            background: white;
            border-radius: 12px;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--border-color);
        }
        
        .breaking-news-title {
            font-size: 1.4rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--breaking-red);
            color: var(--dark-color);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .breaking-news-title i {
            color: var(--breaking-red);
            animation: blink 1s infinite;
        }
        
        .breaking-news-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .breaking-news-item {
            display: flex;
            gap: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed var(--border-color);
            transition: var(--transition);
        }
        
        .breaking-news-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .breaking-news-item:hover {
            transform: translateX(5px);
        }
        
        .breaking-news-img {
            width: 100px;
            height: 80px;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .breaking-news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .breaking-news-item:hover .breaking-news-img img {
            transform: scale(1.1);
        }
        
        .breaking-news-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .breaking-news-title-text {
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 5px;
            color: var(--dark-color);
        }
        
        .breaking-news-time {
            font-size: 0.8rem;
            color: var(--gray-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .breaking-news-details {
            color: var(--topbar-color);
            font-weight: 500;
        }
        
        /* Haber Kartları */
        .news-category {
            margin-bottom: 0;
        }
        
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .news-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            cursor: pointer;
            display: block;
            position: relative;
            border: 1px solid var(--border-color);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--card-hover-shadow);
            border-color: var(--topbar-color);
        }
        
        .news-image {
            height: 200px;
            overflow: hidden;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .news-card:hover .news-image img {
            transform: scale(1.05);
        }
        
        .news-content {
            padding: 22px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        
        .news-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.4;
            color: var(--dark-color);
            flex-grow: 1;
        }
        
        .news-excerpt {
            color: var(--gray-color);
            font-size: 0.95rem;
            margin-bottom: 40px;
            line-height: 1.6;
            flex-grow: 1;
        }
        
        .read-more {
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 5px;
            margin-top: auto;
            position: absolute;
            bottom: 22px;
            right: 22px;
            left: auto;
        }
        
        #bartin .read-more {
            color: var(--bartin-color);
        }
        
        #valilik .read-more {
            color: var(--valilik-color);
        }
        
        #belediye .read-more {
            color: var(--belediye-color);
        }
        
        #siyaset .read-more {
            color: var(--siyaset-color);
        }
        
        .news-card:hover .read-more {
            transform: translateX(5px);
        }
        
        /* Sağ sidebar - En Çok Okunan Haberler */
        .sidebar {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 25px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
            border: 1px solid var(--border-color);
            margin-bottom: 30px;
            position: sticky;
            top: 150px;
            height: fit-content;
        }
        
        .sidebar-title {
            font-size: 1.4rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--topbar-color);
            color: var(--dark-color);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .sidebar-title i {
            color: var(--topbar-color);
            animation: blink 1s infinite;
        }
        
        .sidebar-news-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .sidebar-news-item {
            display: flex;
            gap: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed var(--border-color);
            transition: var(--transition);
        }
        
        .sidebar-news-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .sidebar-news-item:hover {
            transform: translateX(5px);
        }
        
        .sidebar-news-img {
            width: 100px;
            height: 80px;
            border-radius: 4px;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .sidebar-news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .sidebar-news-item:hover .sidebar-news-img img {
            transform: scale(1.1);
        }
        
        .sidebar-news-content {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        
        .sidebar-news-title-text {
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 5px;
            color: var(--dark-color);
        }
        
        .sidebar-news-time {
            font-size: 0.8rem;
            color: var(--gray-color);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .sidebar-news-details {
            color: var(--topbar-color);
            font-weight: 500;
        }
        
        /* Reklam Alanı */
        .ad-section {
            background-color: white;
            min-height: 160px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            border-radius: 12px;
            color: var(--gray-color);
            overflow: hidden;
            position: relative;
            padding: 15px;
            width: 100%;
            max-width: 100%;
            transition: var(--transition);
            box-shadow: var(--card-shadow);
            border: 3px solid transparent;
            border-image: linear-gradient(45deg, #28a745, #20c997, #28a745) 1;
            animation: border-glow 2s ease-in-out infinite;
        }
        
        @keyframes border-glow {
            0%, 100% { border-color: #28a745; box-shadow: 0 0 10px rgba(40, 167, 69, 0.3); }
            50% { border-color: #20c997; box-shadow: 0 0 15px rgba(32, 201, 151, 0.5); }
        }
        
        .ad-section:hover {
            box-shadow: var(--card-hover-shadow);
        }
        
        .ad-content {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px;
            position: relative;
            cursor: pointer;
        }
        
        .ad-image {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 150px;
            object-fit: contain;
            border-radius: 8px;
            transition: all 0.3s ease;
        }
        
        .ad-desktop {
            display: block;
            width: 100%;
            height: auto;
            max-height: 150px;
            object-fit: contain;
        }

        .ad-mobile {
            display: none;
            width: 100%;
            height: auto;
            max-height: 180px;
            object-fit: contain;
        }
        
        /* Daha Fazla Bilgi Al Butonu */
        .ad-info-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, var(--topbar-color), #01576d);
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            cursor: pointer;
            z-index: 10;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s ease;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 10px;
            white-space: nowrap;
            max-width: 90%;
            text-align: center;
            -webkit-appearance: none;
            appearance: none;
        }
        
        .ad-info-btn i {
            font-size: 1.1rem;
        }
        
        .ad-info-btn:hover {
            background: linear-gradient(135deg, #01576d, var(--topbar-color));
            transform: translate(-50%, -50%) scale(1.05);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        .ad-section.active .ad-info-btn {
            opacity: 1;
            visibility: visible;
        }
        
        .ad-section.active .ad-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(3px);
            z-index: 5;
            border-radius: 8px;
        }
        
        .ad-section.active .ad-image {
            filter: brightness(0.7);
            transform: scale(1.02);
        }
        
        /* Kategoriler */
        .categories-section {
            margin: 60px 0;
            position: relative;
        }

        .categories-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(1, 136, 159, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
            z-index: -1;
            border-radius: 16px;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 25px;
        }

        .category-card {
            background-color: white;
            border-radius: 8px;
            padding: 0;
            text-align: center;
            box-shadow: var(--card-shadow);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            border: 1px solid rgba(1, 136, 159, 0.1);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            min-height: 280px;
        }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 1;
            transition: transform 0.5s ease;
        }

        .category-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(1, 136, 159, 0.85), rgba(1, 136, 159, 0.95));
            z-index: 2;
            opacity: 0.9;
            transition: opacity 0.4s ease;
        }

        .category-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--card-hover-shadow);
            border-color: var(--topbar-color);
        }

        .category-card:hover::after {
            opacity: 0.95;
        }

        .category-card:hover::before {
            transform: scale(1.1);
        }

        .category-card[href*="bartin-haberleri"]::before {
            background-image: url('https://www.bartinduysun.com/images/bartin-haberleri.webp');
        }

        .category-card[href*="bartin-valiligi"]::before {
            background-image: url('https://www.bartinduysun.com/images/bartin-valiligi.webp');
        }

        .category-card[href*="bartin-belediyesi"]::before {
            background-image: url('https://www.bartinduysun.com/images/bartin-belediyesi.webp');
        }

        .category-card[href*="bartin-siyaset"]::before {
            background-image: url('https://www.bartinduysun.com/images/bartin-siyaset.webp');
        }

        .category-card[href*="firma-rehberi"]::before {
            background-image: url('https://www.bartinduysun.com/images/firma-rehberi.webp');
            background-position: center 30%;
        }

        .category-content {
            position: relative;
            z-index: 3;
            padding: 30px 20px;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
        }

        .category-icon {
            font-size: 2.8rem;
            color: white;
            margin-bottom: 15px;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
        }

        .category-card:hover .category-icon {
            transform: scale(1.1) translateY(-5px);
            color: var(--secondary-color);
        }

        .category-name {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 10px;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
            position: relative;
            padding-bottom: 10px;
        }

        .category-name::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 3px;
            background-color: var(--secondary-color);
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .category-card:hover .category-name::after {
            width: 70px;
        }

        .category-card p {
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.95rem;
            line-height: 1.6;
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
            margin-top: 10px;
            max-width: 90%;
        }
        
        /* Tanıtım */
        .intro-section {
            text-align: center;
            padding: 30px 0;
            margin-bottom: 40px;
            border-bottom: 1px solid var(--border-color);
        }
        
        .intro-text {
            font-size: 1.25rem;
            color: var(--gray-color);
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.7;
            font-weight: 400;
        }
        
        /* YENİ FOOTER DÜZENİ */
        footer {
            background-color: white;
            color: #333333;
            padding: 50px 0 25px;
            margin-top: 50px;
            border-top: 2px solid var(--topbar-color);
        }

       .footer-container {
            display: flex;
            flex-direction: column;
            gap: 40px;
        }
        
       .footer-top-section {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }
        
       .footer-logo-description-section {
            order: 1;
            display: flex;
            align-items: flex-start;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-logo-container {
            display: flex;
            flex-direction: row;
            gap: 20px;
            min-width: 200px;
        }
        
       .footer-logo-img {
            height: 60px;
            width: auto;
            cursor: pointer;
            transition: var(--transition);
        }
        
       .footer-logo-img:hover {
            opacity: 0.9;
            transform: translateY(-2px);
        }
        
       .web4medya-logo {
            height: 70px;
            width: auto;
            opacity: 0.9;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .web4medya-logo:hover {
            opacity: 1;
            transform: translateY(-2px);
        }
        
       .footer-description {
            flex-grow: 1;
            font-size: 1rem;
            line-height: 1.7;
            color: #333333;
            text-align: justify;
            margin: 0;
            display: flex;
            align-items: center;
        }
        
        .footer-links-sections {
            order: 2;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 20px;
        }
        
        .footer-links-column {
            display: flex;
            flex-direction: column;
        }
        
        .footer-title {
            font-size: 1.2rem;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(1, 136, 159, 0.2);
            color: #333333;
            font-weight: 600;
            position: relative;
        }
        
        .footer-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--topbar-color);
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            transition: var(--transition);
            color: var(--topbar-color);
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
            padding: 5px 0;
            font-weight: 500;
        }
        
        .footer-links a:hover {
            color: #01576d;
            padding-left: 8px;
        }
        
        .footer-links a i {
            font-size: 0.8rem;
            width: 20px;
            color: var(--topbar-color);
        }
        
        .footer-social-section {
            order: 3;
            margin-top: 20px;
        }
        
        .footer-social {
    display: flex;
    justify-content: flex-start; /* sola hizalar */
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
        
        .footer-social a {
            color: white;
            font-size: 1.1rem;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background-color: rgba(1, 136, 159, 0.9);
        }
        
        .footer-social a.facebook {
            background-color: #1877F2;
        }
        
        .footer-social a.instagram {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        }
        
        .footer-social a.twitter {
            background-color: #000000;
        }
        
        .footer-social a.youtube {
            background-color: #FF0000;
        }
        
        .footer-social a.telegram {
            background-color: #0088cc;
        }
        
        .footer-social a:hover {
            transform: translateY(-3px);
            opacity: 0.9;
        }
        
        .copyright {
            text-align: center;
            padding: 20px 0;
            margin-top: 40px;
            color: white;
            font-size: 0.85rem;
            background-color: var(--topbar-color);
            border-radius: 8px;
            order: 4;
        }
        
        /* Responsive */
        @media (max-width: 1200px) {
            .categories-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .category-card {
                min-height: 260px;
            }
        }
        
        @media (max-width: 992px) {
            .main-content {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .sidebar {
                position: static;
                top: auto;
            }
            
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            
            .category-content {
                padding: 25px 15px;
            }
            
            .category-icon {
                font-size: 2.4rem;
                margin-bottom: 12px;
            }
            
            .category-name {
                font-size: 1.2rem;
            }
            
            .ad-info-btn {
                padding: 12px 24px;
                font-size: 0.95rem;
            }
            
            .footer-links-sections {
                gap: 30px;
            }
        }
        
        @media (max-width: 768px) {
            .main-header {
                padding: 8px 0;
            }
            
            .logo-container {
                height: 50px;
                margin-left: 0;
            }
            
            .hamburger-menu {
                display: flex;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 320px;
                height: 100vh;
                background-color: white;
                flex-direction: column;
                padding: 80px 25px 25px;
                box-shadow: -5px 0 20px rgba(0,0,0,0.15);
                transition: var(--transition);
                z-index: 1001;
                overflow-y: auto;
            }
            
            .nav-links-container {
                flex-direction: column;
                gap: 0;
            }
            
            .nav-social-container {
                display: none;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-link {
                padding: 14px 15px;
                font-size: 1rem;
                margin-bottom: 3px;
            }
            
            .nav-link i {
                display: inline-block;
            }
            
            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                padding: 4px 0;
                display: none;
                background-color: rgba(1, 136, 159, 0.05);
                border-radius: 8px;
                margin: 3px 0 8px;
                border-top: none;
                border-left: 3px solid var(--topbar-color);
                min-width: auto;
                max-width: 100%;
                width: 100%;
            }
            
            .dropdown.active .dropdown-menu {
                display: block;
            }
            
            .dropdown-menu li {
                padding: 0 3px;
                margin: 1px 0;
            }
            
            .dropdown-menu a {
                padding: 7px 15px;
                font-size: 0.95rem;
                gap: 8px;
                margin: 0;
            }
            
            .dropdown-menu a:hover {
                padding-left: 20px;
            }
            
            .ad-desktop {
                display: none !important;
            }
            
            .ad-mobile {
                display: block !important;
            }
            
            .ad-section {
                min-height: 120px;
                padding: 10px;
            }
            
            .ad-info-btn {
                padding: 10px 20px;
                font-size: 0.9rem;
                max-width: 85%;
            }
            
            .footer-logo-img {
                height: 50px;
            }
            
            .web4medya-logo {
                height: 60px;
            }
            
            .footer-logo-description-section {
                flex-direction: column;
                gap: 20px;
            }
            
            .footer-logo-container {
                flex-direction: row;
                justify-content: flex-start;
                align-items: center;
                gap: 20px;
            }
            
            .footer-links-sections {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .slider-container {
                height: 400px;
            }
            
            .slider-title {
                font-size: 1.6rem;
                transform: translateY(-30%);
            }
            
            .slider-overlay {
                padding: 20px 20px 25px;
                min-height: 50%;
            }
            
            .breaking-news-sidebar {
                right: 10px;
                top: 10px;
                padding: 8px 15px;
                font-size: 0.9rem;
            }
            
            .slider-controls {
                padding: 0 10px;
            }
            
            .slider-btn {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .news-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .categories-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
            
            .category-card {
                min-height: 240px;
            }
            
            .category-content {
                padding: 20px 15px;
            }
            
            .category-icon {
                font-size: 2.2rem;
            }
            
            .category-name {
                font-size: 1.1rem;
            }
            
            .category-card p {
                font-size: 0.9rem;
            }
            
            /* Son Dakika Şeridi Mobil */
            .breaking-news-ticker {
                padding: 12px 0;
                margin: 0 0 20px 0;
            }
            
            .breaking-ticker-container {
                gap: 10px;
                padding: 0 10px;
            }
            
            .breaking-ticker-label {
                font-size: 0.85rem;
                padding: 6px 10px;
            }
            
            .breaking-ticker-content {
                min-height: 24px;
            }
            
            .breaking-ticker-text {
                font-size: 0.9rem;
                white-space: normal;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
        
        @media (max-width: 576px) {
            .logo-container {
                height: 45px;
                margin-left: 0;
            }
            
            .main-header {
                padding: 6px 0;
            }
            
            .intro-text {
                font-size: 1.05rem;
            }
            
            .section-title {
                font-size: 1.5rem;
            }
            
            .slider-container {
                height: 350px;
            }
            
            .slider-overlay {
                padding: 15px 15px 20px;
                min-height: 55%;
            }
            
            .slider-title {
                font-size: 1.4rem;
                transform: translateY(-20%);
            }
            
            .breaking-news-sidebar {
                padding: 6px 12px;
                font-size: 0.85rem;
                top: 15px;
                right: 15px;
            }
            
            .ad-info-btn {
                padding: 8px 16px;
                font-size: 0.85rem;
                gap: 8px;
            }
            
            .footer-logo-img {
                height: 45px;
            }
            
            .web4medya-logo {
                height: 55px;
            }
            
            .footer-logo-container {
                gap: 15px;
            }
            
            .footer-description {
                font-size: 0.95rem;
            }
            
            .footer-social a {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
            
            .nav-menu {
                width: 85%;
                max-width: 320px;
                padding-top: 70px;
            }
            
            .dropdown-menu a {
                padding: 6px 15px;
                font-size: 0.9rem;
            }
            
            .news-title {
                font-size: 1.15rem;
            }
            
            .news-excerpt {
                font-size: 0.9rem;
            }
            
            .sidebar {
                padding: 20px;
            }
            
            .sidebar-title {
                font-size: 1.2rem;
            }
            
            .breaking-news-img,
            .sidebar-news-img {
                width: 80px;
                height: 70px;
            }
            
            .breaking-news-title-text,
            .sidebar-news-title-text {
                font-size: 0.95rem;
            }
            
            .ad-section {
                min-height: 100px;
                padding: 8px;
            }
            
            .category-card {
                min-height: 220px;
            }
            
            .category-content {
                padding: 18px 12px;
            }
            
            .category-icon {
                font-size: 2rem;
                margin-bottom: 10px;
            }
            
            .category-name {
                font-size: 1rem;
            }
            
            /* Son Dakika Şeridi Küçük Ekran */
            .breaking-news-ticker {
                padding: 10px 0;
            }
            
            .breaking-ticker-label {
                font-size: 0.8rem;
                padding: 5px 8px;
            }
            
            .breaking-ticker-text {
                font-size: 0.85rem;
                -webkit-line-clamp: 2;
            }
        }
        
        @media (max-width: 400px) {
            .ad-section {
                min-height: 90px;
            }
            
            .ad-info-btn {
                padding: 6px 14px;
                font-size: 0.8rem;
            }
            
            .slider-container {
                height: 300px;
            }
            
            .slider-title {
                font-size: 1.2rem;
                transform: translateY(-15%);
            }
            
            .footer-social {
                gap: 10px;
            }
            
            .footer-social a {
                width: 36px;
                height: 36px;
                font-size: 0.9rem;
            }
        }
        
        @media (min-width: 769px) {
            .nav-link {
                font-size: 0.95rem;
                padding: 14px 10px;
                white-space: nowrap;
            }
            
            .nav-link i {
                display: none;
            }
            
            .nav-links-container {
                gap: 2px;
            }
            
            .dropdown-menu a i {
                display: inline-block;
            }
            
            .slider-container {
                height: 500px;
            }
            
            .slider-overlay {
                padding: 30px 40px 40px;
            }
            
            .slider-title {
                font-size: 2.2rem;
            }
            
            /* Masaüstü için düzenlemeler */
            .main-content {
                grid-template-columns: 2fr 1fr;
                align-items: start;
            }
            
            .main-news {
                display: flex;
                flex-direction: column;
                gap: 30px;
            }
            
            .news-category {
                margin-bottom: 0;
            }
            
            .breaking-news-section {
                margin-bottom: 0;
            }
            
            .ad-section {
                margin: 0;
            }
            
            .footer-links-sections {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        /* Başlık rengini siyah yap */
        .intro-section h1 {
            color: var(--dark-color) !important;
            font-size: 2.2rem;
            margin-bottom: 15px;
        }

        /* Erişilebilirlik için */
        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
.cookie-banner {
  position: fixed;
  bottom: -100px; /* başlangıçta ekran dışında */
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #000;
  padding: 12px 14px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 99999;
  font-size: 14px;
  animation: slideUpCookie 0.8s ease forwards;
}

.cookie-banner a {
  color: #0066cc;
  text-decoration: underline;
}

.cookie-banner button {
  background: #000;
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

/* Slide-up animasyonu */
@keyframes slideUpCookie {
  from {
    bottom: -100px;
    opacity: 0;
  }
  to {
    bottom: 0;
    opacity: 1;
  }
}
/* SAĞ ALT KÖŞE YUKARI ÇIK BUTONU */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--topbar-color), #01576d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(1, 136, 159, 0.3);
    border: 3px solid white;
    outline: none;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #01576d, var(--topbar-color));
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(1, 136, 159, 0.4);
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive tasarım için media query'ler */
@media (max-width: 992px) {
    /* Yukarı çık butonu tablet */
    .scroll-to-top {
        width: 55px;
        height: 55px;
        bottom: 25px;
        right: 25px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    /* Yukarı çık butonu mobil */
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.2rem;
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    /* Yukarı çık butonu küçük mobil */
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 400px) {
    /* Yukarı çık butonu çok küçük ekranlar */
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 12px;
        right: 12px;
        font-size: 1rem;
    }
}
