* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --primary-gold: #C4A747;
    --primary-dark: #1a1a2e;
    --secondary-dark: #16213e;
    --text-light: #f5f5f5;
    --accent-brown: #8B4513
}

body {
    font-family: Inter, sans-serif;
    color: #333;
    background-color: #f9f9f9
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Playfair Display, serif
}

.navbar-brand {
    font-family: Playfair Display, serif;
    font-weight: 700;
    font-size: 1.5rem
}

.navbar {
    background: #1a1a2e !important
}

.negative-logo {
    filter: brightness(0) invert(1);
}

.nav-link {
    transition: color .3s ease;
    font-weight: 500
}

.nav-link:hover {
    color: var(--primary-gold) !important
}

.hero-carousel {
    height: 650px;
    position: relative;
    overflow: hidden
}

.hero-carousel .carousel-item {
    height: 650px;
    background-color: #000;
}

.hero-carousel .carousel-item a {
    display: block;
    height: 100%;
}

.hero-carousel .carousel-item img {
    -o-object-fit: cover;
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(.7)
}

.hero-carousel .carousel-caption {
    background: linear-gradient(to top, #000000ec, #0000);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6rem 2rem 3rem;
    text-align: left;
    z-index: 20
}

.hero-carousel .btn-primary-custom {
    position: relative;
    z-index: 30
}

.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 25
}

.hero-carousel .display-5 {
    font-size: 2.5rem;
    line-height: 1.2;
    max-width: 60%;
}

.hero-carousel .lead {
    font-size: 1.1rem;
    opacity: .95
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: brightness(1.5)
}

.card-article {
    transition: transform .3s ease, box-shadow .3s ease;
    border: none;
    overflow: hidden;
    height: 100%;
    border-radius: 8px;
    cursor: pointer;
}

.card-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-article img {
    height: 250px;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform .3s ease
}

.card-article:hover img {
    transform: scale(1.08)
}

.card-article .card-body {
    display: flex;
    padding: 1.5rem;
    flex-direction: column
}

.card-article .card-title {
    font-size: 1.3rem;
    margin: .75rem 0;
    line-height: 1.4;
    font-weight: 700;
}

.card-article .card-text {
    flex-grow: 1;
    font-size: .85rem
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(196, 167, 71, 0.9);
    color: #fff;
    padding: .4rem .9rem;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.card-article:hover .category-badge {
    background: var(--primary-gold);
    transform: translateY(-2px);
}

.hero-carousel .category-badge {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 1rem;
    display: inline-block;
}

.video-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .3s ease;
    aspect-ratio: 16 / 9;
    cursor: pointer
}

.video-card img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block
}

.video-card:hover {
    transform: scale(1.03)
}

.video-card:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fffffff2;
    border-radius: 50%;
    z-index: 2;
    transition: all .3s ease
}

.video-card:after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%);
    z-index: 3;
    font-size: 1.8rem;
    color: var(--primary-dark);
    transition: all .3s ease
}

.video-card:hover:before {
    background: #fff;
    width: 80px;
    height: 80px
}

.video-card:hover:after {
    font-size: 2rem
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.sidebar-list li {
    padding: .75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    transition: all .2s ease
}

.sidebar-list li:last-child {
    border-bottom: none
}

.sidebar-list li:hover {
    background: #f8f9fa;
    padding-left: 1.25rem
}

.sidebar-list a {
    color: #333;
    text-decoration: none
}

.sidebar-list a:hover {
    color: var(--primary-gold)
}

.btn-primary-custom {
    background: var(--primary-gold);
    border: none;
    color: #fff;
    padding: .6rem 1.8rem;
    border-radius: 5px;
    transition: all .3s ease;
    font-weight: 600;
    cursor: pointer
}

.btn-primary-custom:hover {
    background: var(--accent-brown);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px #00000026;
    color: #fff;
    text-decoration: none
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
    font-size: .85rem;
    padding: .4rem .8rem
}

.btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d
}

.footer-dark {
    background: var(--primary-dark);
    color: var(--text-light)
}

.footer-dark h5,
.footer-dark h6 {
    color: #fff
}

.footer-dark a {
    color: var(--text-light);
    text-decoration: none;
    transition: color .2s ease
}

.footer-dark a:hover {
    color: var(--primary-gold)
}

.footer-dark .text-muted {
    color: #fff9 !important
}

.footer-dark .form-control {
    background: #ffffff1a;
    border-color: #fff3;
    color: #fff
}

.footer-dark .form-control::-moz-placeholder {
    color: #ffffff80
}

.footer-dark .form-control::placeholder {
    color: #ffffff80
}

.footer-dark .form-control:focus {
    background: #ffffff26;
    border-color: var(--primary-gold);
    color: #fff;
    box-shadow: 0 0 0 .2rem #c4a74740
}

.detail-header {
    background: linear-gradient(135deg, #1a1a2ef2, #16213ef2), url(https://images.pexels.com/photos/5935788/pexels-photo-5935788.jpeg?auto=compress&cs=tinysrgb&w=1200);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 5rem 0;
    min-height: 400px;
    display: flex;
    align-items: center
}

.detail-header h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem
}

.detail-meta-item i {
    color: var(--primary-gold)
}

.detail-content {
    line-height: 1.8;
    font-size: 1.05rem;
    color: #444
}

.detail-content p {
    margin-bottom: 1.5rem
}

.detail-content img,
.corporate-page-content img,
.detail-content iframe,
.corporate-page-content iframe {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: block;
}

.detail-content iframe,
.corporate-page-content iframe {
    aspect-ratio: 16 / 9;
}

.detail-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
    font-size: 1.5rem
}

.detail-image {
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.related-articles {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e9ecef
}

.related-articles h3 {
    margin-bottom: 2rem
}

@media (max-width: 768px) {

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 480px !important
    }

    .hero-carousel .carousel-item a {
        height: 100% !important;
    }

    .hero-carousel .carousel-item img {
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    .hero-carousel .display-5 {
        font-size: 1.5rem;
        max-width: 100%
    }

    .hero-carousel .lead {
        font-size: .9rem
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.card-article {
    animation: fadeInUp .5s ease-out
}

.input-group .form-control {
    border-radius: 5px 0 0 5px;
    border: 1px solid #dee2e6;
    padding: .6rem 1rem
}

.input-group .form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 .2rem #c4a74740
}

.card-header {
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: .5px
}

.btn-back {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    display: inline-flex;
    align-items: center;
    gap: .5rem
}

.btn-back:hover {
    color: var(--accent-brown);
    transform: translate(-3px)
}

html {
    scroll-behavior: smooth
}

a {
    transition: color .3s ease
}

/* Yorum Bölümü */
.comments-section h3 {
    margin-bottom: 1.5rem
}

.yorum-card {
    border: none;
    border-left: 3px solid var(--primary-gold);
    transition: transform .2s ease, box-shadow .2s ease
}

.yorum-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px #0000000d
}

.yorum-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0
}

#yorumForm .form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 .2rem #c4a74740
}

.galeri-item:hover img {
    transform: scale(1.05)
}

.galeri-item {
    overflow: hidden;
    box-shadow: 0 5px 15px #0000001a;
    transition: box-shadow .3s ease
}

.galeri-item:hover {
    box-shadow: 0 10px 30px #00000026
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: #c4a74778;
    color: #fff;
    padding: 3px 12px;
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.4;
    width: auto;
    max-width: fit-content
}

/* Sidebar List */
.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.sidebar-list li {
    border-bottom: 1px solid #f0f0f0
}

.sidebar-list li:last-child {
    border-bottom: none
}

.sidebar-list li a {
    display: flex;
    align-items: center;
    padding: .85rem 1.25rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: all .3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    border-left: 3px solid transparent;
}

.sidebar-list li a:hover {
    background: #f8f9fa;
    color: var(--primary-gold);
    border-left-color: var(--primary-gold);
    padding-left: 1.5rem;
}

.sidebar-list li a .badge {
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-list li a:hover .badge {
    background-color: var(--primary-gold) !important;
    color: #fff !important;
    border-color: var(--primary-gold) !important;
}

.sidebar-list li a i {
    transition: transform 0.3s ease;
}

.sidebar-list li a:hover i {
    transform: translateX(3px);
    color: var(--primary-gold);
    opacity: 1 !important;
}

.sidebar-list li a .position-relative i {
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.sidebar-list li a:hover .position-relative i {
    transform: translate(-50%, -50%) scale(1.2) !important;
    color: var(--primary-gold) !important;
}

.sidebar-list li a .position-relative::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-list li a:hover .position-relative::after {
    background: rgba(0, 0, 0, 0.4);
}

/* Small Author Avatar (sidebar) */
.yazar-avatar-sm {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    color: var(--primary-gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 2px solid #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1)
}

/* Sticky Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 80px
}

.sidebar-list li a:hover img {
    transform: scale(1.1);
}

/* Share Circles - Modern & Small as per image */
.share-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center
}

.share-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid transparent;
    font-size: 1rem;
    color: #fff
}

.share-circle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px #00000026;
    color: #fff
}

.share-news {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    font-weight: 800;
    font-family: Arial, sans-serif;
    line-height: 1
}

.share-facebook {
    background: #3b5998
}

.share-x {
    background: #000
}

.share-whatsapp {
    background: #25d366
}

.share-linkedin {
    background: #0077b5
}

.share-email {
    background: #fff;
    border-color: #ddd;
    color: #333
}

.share-email:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold)
}

.share-more {
    background: #fff;
    border-color: #ddd;
    color: #999;
    padding: 0;
    cursor: pointer
}

.share-more:hover {
    color: #333;
    border-color: #999
}

/* Sayfalama */
.pagination .page-link {
    color: var(--primary-dark);
    border-color: #dee2e6
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff
}

.pagination .page-link:hover {
    background-color: #f8f9fa;
    color: var(--primary-gold)
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px #0000001a;
    border-radius: 8px
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--primary-gold)
}

/* Skip Link (Accessibility) */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary-gold);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    transition: top .2s ease
}

.skip-link:focus {
    top: 0
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-dark);
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.scroll-top-btn:hover {
    background: var(--primary-gold);
    color: #fff
}

/* Footer Social Icons */
.footer-socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    transition: all .3s ease;
    font-size: 1rem
}

.footer-socials a:hover {
    background: var(--primary-gold);
    color: #fff;
    transform: translateY(-3px)
}

/* Social Nav in Navbar */
.social-nav {
    gap: 6px
}

.social-nav a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: all .3s ease
}

.social-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--primary-gold);
    transform: scale(1.1)
}

.nsosyal-nav {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    font-weight: 800;
    font-family: Arial, sans-serif !important;
}

.nsosyal-footer {
    background: var(--primary-gold) !important;
    font-weight: 800;
    font-family: Arial, sans-serif !important;
}

/* Breadcrumb */
.breadcrumb-custom {
    background: transparent;
    padding: .5rem 0;
    font-size: .85rem
}

.breadcrumb-custom a {
    color: var(--primary-gold);
    text-decoration: none
}

.breadcrumb-custom a:hover {
    text-decoration: underline
}

/* ========== MOBILE IMPROVEMENTS ========== */

/* Tablet */
@media (max-width: 992px) {
    .navbar .social-nav {
        justify-content: center;
        padding: .5rem 0
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 15px
    }

    /* Container padding */
    .container {
        padding-left: 16px;
        padding-right: 16px
    }

    /* Better touch targets */
    .btn,
    button,
    a.btn {
        min-height: 44px;
        padding: .5rem 1rem
    }

    .nav-link {
        padding: .75rem 1rem !important;
        font-size: .95rem
    }

    /* Card layout - horizontal on mobile */
    .card-article {
        animation: none
    }

    .card-article .card-img-top {
        height: 180px;
        object-fit: cover
    }

    .card-article .card-title {
        font-size: 1rem;
        line-height: 1.4
    }

    .card-article .card-text {
        font-size: .85rem
    }

    /* Detail page */
    .detail-header {
        padding: 2rem 0;
        min-height: auto
    }

    .detail-header h1 {
        font-size: 1.5rem;
        line-height: 1.3
    }

    .detail-meta {
        flex-direction: column;
        gap: .5rem;
        align-items: flex-start
    }

    .detail-meta-item {
        font-size: .85rem
    }

    .detail-content {
        font-size: .95rem;
        line-height: 1.8
    }

    .detail-content img {
        border-radius: 8px
    }

    /* Sidebar on mobile */
    .sidebar-list li {
        border-bottom: 1px solid #f0f0f0
    }

    .sidebar-list li a {
        padding: .75rem 1rem;
        min-height: 44px;
        display: flex;
        align-items: center
    }

    /* Comment card mobile */
    .yorum-card:hover {
        transform: none
    }

    .yorum-avatar {
        width: 38px;
        height: 38px;
        font-size: 1rem
    }

    /* Form inputs */
    .form-control {
        font-size: 16px !important;
        padding: .6rem .75rem
    }

    textarea.form-control {
        min-height: 100px
    }

    /* Footer */
    .footer-dark {
        padding: 2rem 0 !important
    }

    .footer-dark h5 {
        font-size: 1.1rem
    }

    .footer-socials {
        justify-content: center
    }

    /* Section headings */
    h2.fw-bold {
        font-size: 1.5rem !important
    }

    /* Related articles */
    .related-articles .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%
    }

    /* Scroll to top */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px
    }

    /* Video cards */
    .video-card {
        aspect-ratio: 16/9
    }

    .video-card img {
        height: 100%;
        object-fit: cover
    }

    /* Pagination mobile */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px
    }

    .pagination .page-link {
        padding: .4rem .7rem;
        font-size: .85rem;
        min-width: 40px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center
    }

    /* Share buttons on mobile */
    .card-body .btn-outline-secondary {
        padding: .6rem 1rem;
        font-size: .9rem
    }
}

/* Small Mobile */
@media (max-width: 576px) {

    .hero-carousel,
    .hero-carousel .carousel-item {
        height: 420px !important
    }

    .hero-carousel .carousel-item a {
        height: 100% !important;
    }

    .carousel-caption {
        padding: .75rem !important;
        bottom: 0
    }

    .hero-carousel .display-5 {
        font-size: 1.1rem;
        line-height: 1.3
    }

    .hero-carousel .lead {
        display: none
    }

    .hero-carousel .btn {
        font-size: .8rem;
        padding: .4rem .8rem;
        min-height: 36px
    }

    .detail-header h1 {
        font-size: 1.2rem
    }

    /* Stack columns on very small screens */
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%
    }

    /* Galeri - 2 columns */
    .galeri-item img {
        height: 150px !important
    }

    /* Comment form */
    #yorumForm .btn {
        width: 100%
    }
}

/* Touch device optimization */
@media (hover: none) {
    .card-article:hover {
        transform: none
    }

    .yorum-card:hover {
        transform: none
    }

    .btn-back:hover {
        transform: none
    }
}

/* Print styles for articles */
@media print {

    .navbar,
    .footer-dark,
    .sidebar,
    .scroll-top-btn,
    .comments-section,
    .related-articles,
    .social-nav,
    .btn-back,
    .card-header {
        display: none !important
    }

    .col-lg-8 {
        width: 100% !important;
        max-width: 100% !important
    }

    .detail-content {
        font-size: 12pt;
        line-height: 1.6
    }

    a {
        color: #000;
        text-decoration: underline
    }
}

/* Site Banner Areas */
.site-banner {
    margin: 2rem 0;
    clear: both;
}

.blank-slot {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    min-height: 120px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    color: #6c757d;
}

.blank-slot:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.slot-icon {
    font-size: 1.5rem;
    color: #ced4da;
    transition: all 0.3s ease;
}

.blank-slot:hover .slot-icon {
    color: var(--primary-gold);
    transform: rotate(-10deg);
}

.rotate-n15 {
    transform: rotate(-15deg);
}

.slot-title {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.slot-btn {
    font-size: 0.75rem;
    margin-top: 5px;
    opacity: 0.7;
    font-style: italic;
}

.banner-link img {
    transition: opacity 0.3s ease;
}

.banner-link:hover img {
    opacity: 0.9;
}