/* Kocaman Balık Blog - Ana Stil Dosyası */

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #00a8e8;
    --accent-color: #ff6b35;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: #124477;
    color: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.main-nav ul ul {
    display: block !important;
}

.main-nav > ul > li {
    position: relative;
    margin-right: 1.5rem;
}

.main-nav > ul > li:last-child {
    margin-right: 0;
}

.main-nav a {
    font-size: 14px;
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s;
    display: flex
;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 0px;
    font-style: italic;
}

.main-nav a:hover {
    opacity: 0.8;
}

.main-nav a i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

/* Submenu Styles */
.main-nav .has-submenu:hover > a i,
.main-nav .has-submenu.active > a i {
    transform: rotate(180deg);
}

.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background:#124477;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    border-radius: 8px;
    overflow: hidden;
    min-width: 220px;
    display: block !important;
}


.main-nav .has-submenu:hover .submenu,
.main-nav .has-submenu.active .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .submenu li {
    margin: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-right: none !important;
    position: relative;
    display: block !important;
    width: 100% !important;
    float: none !important;
    clear: both;
}

.main-nav .submenu li:last-child {
    border-bottom: none;
}

.main-nav .submenu a {
    color: white;
    padding: 0.75rem 1.5rem;
    display: block;
    font-weight: 400;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: all 0.3s;
}

.main-nav .submenu a:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    opacity: 1;
    padding-left: 2rem;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Top / Blog Hero */
.page-top {
    width: 100%;
    background-image: url('https://kocamanfish.com.tr/assets/images/page-top-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.page-top.product-top-bg {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-top .container {
    position: relative;
    z-index: 1;
}

.page-top .logo {
    text-align: center;
}

.page-top .logo a {
    display: inline-block;
}

.page-top .logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.col-sm-4 {
    width: 33.333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
}

.col-sm-offset-4 {
    margin-left: 33.333333%;
}

/* Clearfix */
.page-top::after,
.container::after {
    content: "";
    display: table;
    clear: both;
}

/* Blog Hero (Eski stil - geriye dönük uyumluluk için) */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
}

.blog-hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter Info */
.filter-info {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.filter-info p {
    margin: 0;
}

.clear-filter {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.clear-filter:hover {
    text-decoration: underline;
}

/* Search Box */
.search-box {
    margin-bottom: 2rem;
}

.search-box form {
    display: flex;
    gap: 0.5rem;
}

.search-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-box button {
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    border-radius: 12px 12px 0 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-card-title {
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 0.75rem;
}

/* Blog Detail */
.blog-detail-main {
    padding: 2rem 0;
}

.blog-detail {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.blog-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.category-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.3s;
}

.category-tag:hover {
    background: var(--primary-dark);
}

.blog-detail-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-top: 1rem;
    line-height: 1.2;
}

.blog-detail-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    height: 450px;
    object-fit:cover !important;
    display: block;
}

.blog-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
}

.blog-detail-content h2,
.blog-detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.blog-detail-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.blog-detail-share h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #000000;
}

.share-btn.twitter .x-icon {
    font-weight: bold;
    font-size: 1.1em;
    letter-spacing: -1px;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

/* Related Posts */
.related-posts {
    margin-top: 3rem;
}

.related-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.related-post-card:hover {
    transform: translateY(-3px);
}

.related-post-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 1rem;
}

.related-post-content h3 {
    margin-bottom: 0.5rem;
}

.related-post-content a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.related-post-content a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.75rem 1rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-dots {
    padding: 0.75rem 0.5rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,5 50,10 T100,10" stroke="rgba(255,255,255,0.05)" fill="none" stroke-width="0.5"/></svg>');
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
}

.footmenu {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-sm-2,
.col-sm-4,
.col-sm-6 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-sm-2 {
    width: 16.666667%;
}

.col-sm-4 {
    width: 33.333333%;
}

.col-sm-6 {
    width: 100%;
}

.clearfix {
    clear: both;
    width: 100%;
}

.footer .title {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer .address {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.footer .mail {
    margin-top: 1rem;
}

.footer .mail a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer .mail a:hover {
    color: white;
    text-decoration: underline;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-block;
}

.footer ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer .phone {
    font-size: 2rem;
    font-weight: 700;
    text-align: left;
    margin: 2rem 0;
    color: white;
}

.footer .social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.footer .social .link {
    width: 40px;
    height: 40px;
}

.footer .social .link a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    transition: all 0.3s;
    position: relative;
}

.footer .social .link a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer .social .face a::after {
    content: '\f09a';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: normal;
}

.footer .social .twit a::after {
    content: '\f099';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer .social .youtube a::after {
    content: '\f167';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer .social .inst a::after {
    content: '\f16d';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer .social .lin a::after {
    content: '\f08c';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.no-posts {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    
    .main-nav > ul > li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }
    
    .main-nav a {
        display: flex;
        justify-content: space-between;
        padding: 0.75rem 1rem;
        width: 100%;
    }
    
    .main-nav .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--primary-color);
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        display: block;
    }
    
    .main-nav .has-submenu.active .submenu,
    .main-nav .has-submenu:hover .submenu {
        max-height: 500px;
    }
    
    .main-nav .submenu li {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-nav .submenu li:last-child {
        border-bottom: none;
    }
    
    .main-nav .submenu a {
        padding: 0.75rem 2rem;
        color: white;
    }
    
    .main-nav .submenu a:hover {
        background: rgba(255,255,255,0.1);
        color: white;
        padding-left: 2.5rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        position: relative;
    }
    
    .logo img {
        height: 40px;
    }
    
    .page-top {
        padding: 2rem 0;
        min-height: 200px;
    }
    
    .page-top .container {
        flex-direction: column;
    }
    
    .col-sm-4,
    .col-sm-offset-4 {
        width: 100% !important;
        margin-left: 0 !important;
        float: none !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .blog-hero h2 {
        font-size: 1.75rem;
    }
    
    .blog-hero p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .blog-layout {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 1rem;
    }
    
    .blog-content {
        width: 100%;
    }
    
    .blog-sidebar {
        width: 100%;
        margin-top: 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .blog-card {
        overflow: visible;
        margin-bottom: 0;
    }
    
    .blog-card-image {
        overflow: hidden;
        border-radius: 12px 12px 0 0;
    }
    
    .blog-card-content {
        padding: 1.25rem;
    }
    
    .sidebar-widget {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .filter-info {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .search-box {
        margin-bottom: 1.5rem;
    }
    
    .search-box input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .blog-detail-title {
        font-size: 1.75rem;
    }
    
    .blog-detail-image img {
        height: auto;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .row {
        flex-direction: column;
    }
    
    .col-sm-2,
    .col-sm-4,
    .col-sm-6 {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .footer .phone {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .footer .social {
        justify-content: center;
    }
}



/* Blog Layout */
.blog-layout {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.blog-content {
    flex: 1;
    min-width: 0;
}

.blog-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    color: var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    background: var(--bg-light);
}

.category-list a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.category-list a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.category-list a i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.category-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.category-list a:hover .category-count,
.category-list a.active .category-count {
    background: rgba(255, 255, 255, 0.3);
}

