/* Hero Section Styles */
.hero-section {
    background-color: #f8f9fa;
    padding: 80px 0;
    margin-bottom: 30px;
}

.hero-section h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-section .lead {
    color: #34495e;
    margin-bottom: 30px;
}

/* Navbar Styles */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    color: #2c3e50 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 1.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #007bff !important;
    background-color: rgba(0,123,255,0.1);
}

/* Dropdown Hover Styles */
.dropdown {
    position: relative;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

/* Desktop Dropdown Styles */
@media (min-width: 992px) {
    .dropdown-menu {
        border: none;
        box-shadow: 0 2px 15px rgba(0,0,0,0.1);
        padding: 0;
        display: block;
        visibility: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        transform: translateY(10px);
        margin-top: 0;
    }

    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Bootstrap varsayılan dropdown ikonunu gizle */
    .dropdown-toggle::after {
        display: none !important;
    }
}

/* Mobile Dropdown Styles */
@media (max-width: 991.98px) {
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background-color: rgba(0,123,255,0.05);
    }

    .dropdown-item {
        padding: 0.75rem 2rem;
    }

    .dropdown.show .dropdown-icon {
        transform: rotate(180deg);
    }

    /* Bootstrap varsayılan dropdown ikonunu gizle */
    .dropdown-toggle::after {
        display: none !important;
    }

    .nav-link {
        padding: 1rem !important;
    }
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(0,123,255,0.1);
    color: #007bff;
}

/* Dropdown Item Active State */
.dropdown-item.active {
    background-color: rgba(0,123,255,0.1);
    color: #007bff;
}

.dropdown-item.active:hover {
    background-color: rgba(0,123,255,0.15);
    color: #0056b3;
}

/* Hero Carousel Styles */
#heroCarousel {
    margin-top: 80px;
}

.carousel-item {
    height: 600px;
    position: relative;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    padding: 0 100px;
    text-align: left;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption p.small {
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.3s ease;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel:hover .carousel-control-prev-icon,
#heroCarousel:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.8);
    width: 50px;
    height: 50px;
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
        opacity: 1;
    }

    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
        background-color: rgba(0, 0, 0, 0.7);
        margin: 0 10px;
    }

    #heroCarousel:hover .carousel-control-prev-icon,
    #heroCarousel:hover .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer Styles */
.footer {
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-logo {
    max-height: 60px;
    width: auto;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #007bff;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #007bff;
    transform: translateX(5px);
}

.footer-contact li {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact li i {
    color: #007bff;
    margin-top: 4px;
}

.footer-contact a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #007bff;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #007bff;
    color: #fff !important;
    transform: translateY(-3px);
}

.footer-bottom {
    font-size: 0.9rem;
}

.footer-bottom a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #007bff !important;
}

@media (max-width: 991.98px) {
    .footer-title {
        margin-bottom: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }
    
    .nav-link {
        padding: 1rem !important;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 0 20px;
        text-align: center;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1.2rem;
    }
}

/* Custom Button Styles */
.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #34495e;
    border-color: #34495e;
    transform: translateY(-2px);
}

/* Section Headers */
section h2 {
    position: relative;
    padding-bottom: 15px;
}

section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2c3e50;
}

/* Section Title Styles */
.section-title {
    position: relative;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #e9ecef;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #007bff;
}

.section-title-sm h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #2c3e50;
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.section-title-sm h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #007bff;
}

/* Featured News Styles */
.featured-news .card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-news .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.featured-news .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.featured-news .badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* News Card Styles */
.news-card {
    border: none;
    transition: all 0.3s ease;
    background: #fff;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-img-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    padding: 1rem;
}

.card-img-overlay .badge {
    backdrop-filter: blur(4px);
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

.news-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: #2c3e50;
}

.news-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.news-card .btn-link {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-card .btn-link:hover {
    transform: translateX(5px);
}

.news-card .btn-link i {
    transition: transform 0.3s ease;
}

.news-card .btn-link:hover i {
    transform: translateX(5px);
}

/* Scrollable List Styles */
.scrollable-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 123, 255, 0.5) #f8f9fa;
    padding-right: 5px;
}

.scrollable-list::-webkit-scrollbar {
    width: 4px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background-color: rgba(0, 123, 255, 0.5);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 123, 255, 0.7);
}

/* List Group Item Styles */
.list-group-item {
    border: none;
    border-radius: 8px !important;
    margin-bottom: 0.5rem;
    transition: background-color 0.3s ease;
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    white-space: normal;
    word-wrap: break-word;
}

.list-group-item:hover {
    background-color: #e9ecef;
}

.list-group-item small {
    color: #6c757d;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
}

.list-group-item small i {
    margin-right: 0.25rem;
    color: #007bff;
}

.list-group-item p {
    margin: 0.5rem 0 0;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Sidebar Styles */
.sticky-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.sidebar-widget .list-group {
    margin: 0 -0.5rem;
}

.section-title-sm {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title-sm h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.section-title-sm h3:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #007bff;
}

/* Social Widget Styles */
.social-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-widget-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-widget-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #007bff;
    transition: all 0.3s ease;
}

.social-widget-item:hover {
    transform: translateX(5px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-widget-item:hover::before {
    width: 100%;
    opacity: 0.1;
}

.social-widget-item i {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    margin-right: 12px;
}

.social-widget-item span {
    font-weight: 600;
    font-size: 0.9rem;
    flex-grow: 1;
}

.social-widget-item small {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Sosyal medya ikonlarının renkleri */
.social-widget-item:nth-child(1) i { color: #1877f2; } /* Facebook */
.social-widget-item:nth-child(2) i { color: #1da1f2; } /* Twitter */
.social-widget-item:nth-child(3) i { color: #e4405f; } /* Instagram */
.social-widget-item:nth-child(4) i { color: #ff0000; } /* YouTube */

.social-widget-item:nth-child(1)::before { background: #1877f2; }
.social-widget-item:nth-child(2)::before { background: #1da1f2; }
.social-widget-item:nth-child(3)::before { background: #e4405f; }
.social-widget-item:nth-child(4)::before { background: #ff0000; }

@media (max-width: 991.98px) {
    .sticky-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .featured-news .card-title {
        font-size: 1.2rem;
    }

    .social-widget {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .social-widget-item {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
    }
}

@media (max-width: 767.98px) {
    .featured-news .row {
        flex-direction: column;
    }

    .featured-news .col-md-8,
    .featured-news .col-md-4 {
        width: 100%;
    }

    .featured-news img {
        height: 300px !important;
    }
}

/* Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.back-to-top.show {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Sayfa Başlık Bölümü Stilleri */
.page-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-top: 80px;
}

.page-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* İçerik Wrapper Stilleri */
.content-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Timeline Stilleri */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    padding-left: 24px;
    border-left: 2px solid #e9ecef;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid #fff;
}

.timeline-item h5 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .page-header {
        margin-top: 60px;
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 1rem !important;
    }
}

/* Paylaşım Butonları Stilleri */
.share-buttons .btn {
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.text-facebook {
    color: #1877f2;
}

.text-twitter {
    color: #1da1f2;
}

.share-buttons .btn:hover .text-facebook {
    color: #0d6efd;
}

.share-buttons .btn:hover .text-twitter {
    color: #0dcaf0;
}

.share-buttons .btn[title="Bağlantıyı Kopyala"]:hover {
    background-color: #198754;
    color: white;
    border-color: #198754;
} 