* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Slider */
.hero-slider {
    height: 75vh;
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: 75vh;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    right: auto;
    text-align: center;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
}

.btn-devami {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.btn-devami:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    text-decoration: none;
    color: white;
}

/* Başkan ve Haberler Bölümü */
.mayor-news-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* Başkan Kartı */
.mayor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 61%;
}

.mayor-card:hover {
    transform: translateY(-5px);
}

.mayor-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 25px 30px;
    position: relative;
}

.mayor-header h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.header-line {
    width: 60px;
    height: 4px;
    background: #41e2ad;
    margin-top: 10px;
    border-radius: 2px;
}

.mayor-content {
    padding: 40px 30px;
}


.mayor-image {
    position: relative;
    width: 100%;
    height: 662px;
    margin: 0 auto 25px;
    border-radius: 10px;
    overflow: hidden;
}

.mayor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.mayor-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.mayor-info {
    text-align: center;
}

.mayor-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 5px;
}

.mayor-title {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.mayor-message {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
    margin-bottom: 25px;
}

.btn-mayor-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.btn-mayor-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 60, 114, 0.4);
    color: white;
}

.btn-mayor-detail i {
    transition: transform 0.3s ease;
}

.btn-mayor-detail:hover i {
    transform: translateX(5px);
}

/* Haberler ve Duyurular */
.news-announcements {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #1e3c72;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-all {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all:hover {
    color: #2a5298;
    gap: 8px;
}

/* Haberler */
.news-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-item-link:hover {
    text-decoration: none;
    color: inherit;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.news-image {
    position: relative;
    width: 180px;
    height: 130px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(30, 60, 114, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 600;
}

.news-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Duyurular */
.announcements-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #1e3c72;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.announcement-item:hover {
    background: #e8ecf1;
    transform: translateX(5px);
    border-left-color: #41e2ad;
}

.announcement-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
}

.announcement-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3c72;
    margin: 0 0 5px 0;
}

.announcement-date {
    color: #999;
    font-size: 0.85rem;
}

/* Projeler Bölümü */
.projects-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.project-status.completed {
    background: #28a745;
}

.project-status.ongoing {
    background: #ffc107;
}

.project-status.planning {
    background: #17a2b8;
}

.project-content {
    padding: 25px;
}

.project-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 12px;
}

.project-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.btn-all-projects {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(30, 60, 114, 0.3);
}

.btn-all-projects:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.4);
    color: white;
}

.btn-all-projects i {
    transition: transform 0.3s ease;
}

.btn-all-projects:hover i {
    transform: translateX(5px);
}

/* Fotoğraf Galerisi Bölümü */
.gallery-section {
    height: 500px;
    background: url('../images/galeri1.jpg') center/cover no-repeat fixed;
    position: relative;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.9) 0%, rgba(42, 82, 152, 0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-content {
    text-align: center;
    color: white;
}

.gallery-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.btn-gallery {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #1e3c72;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-gallery:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    color: #1e3c72;
}

.btn-gallery i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-gallery:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Responsive */
@media (max-width: 991px) {

    /* Hero Slider - Tablet */
    .hero-slider {
        height: 60vh;
    }

    .carousel-item {
        height: 60vh;
    }

    .carousel-caption h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        margin-bottom: 25px;
    }

    .btn-devami {
        padding: 10px 30px;
        font-size: 1rem;
    }

    /* Mayor & News Section - Tablet */
    .mayor-news-section {
        padding: 50px 0;
    }

    .mayor-card {
        height: auto;
        margin-bottom: 30px;
    }

    .news-item {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 768px) {

    /* Hero Slider - Mobile */
    .hero-slider {
        height: 50vh;
    }

    .carousel-item {
        height: 50vh;
    }

    .carousel-item::before {
        height: 200px;
    }

    .carousel-caption {
        width: 90%;
        padding: 0 15px;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .btn-devami {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    /* Mayor & News Section - Mobile */
    .mayor-news-section {
        padding: 40px 0;
    }

    .mayor-card {
        height: auto;
        margin-bottom: 30px;
    }

    .mayor-header h2 {
        font-size: 1.5rem;
    }

    .mayor-content {
        padding: 30px 20px;
    }

    .mayor-image {
        width: 400px;
        height: 537px;
    }


    .mayor-info h3 {
        font-size: 1.4rem;
    }

    .mayor-message {
        font-size: 0.9rem;
        padding: 15px;
    }

    .section-header h2 {
        font-size: 1.3rem;
    }

    .news-section,
    .announcements-section {
        padding: 20px;
    }

    .gallery-content h2 {
        font-size: 2rem;
    }

    .gallery-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {

    /* Hero Slider - Small Mobile */
    .hero-slider {
        height: 45vh;
        min-height: 400px;
    }

    .carousel-item {
        height: 45vh;
        min-height: 400px;
    }

    .carousel-item::before {
        height: 150px;
    }

    .carousel-caption {
        width: 95%;
    }

    .carousel-caption h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .btn-devami {
        padding: 8px 20px;
        font-size: 0.85rem;
    }

    /* Mayor & News Section - Small Mobile */
    .mayor-news-section {
        padding: 30px 0;
    }

    .mayor-header {
        padding: 20px;
    }

    .mayor-header h2 {
        font-size: 1.3rem;
    }

    .mayor-content {
        padding: 25px 15px;
    }

    .mayor-image {
        width: 325px;
        height: 445px;
        margin-bottom: 20px;
    }

    .mayor-info h3 {
        font-size: 1.2rem;
    }

    .mayor-title {
        font-size: 0.9rem;
    }

    .mayor-message {
        font-size: 0.85rem;
        padding: 12px;
    }

    .btn-mayor-detail {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.2rem;
    }

    .news-section,
    .announcements-section {
        padding: 15px;
    }

    .news-content h4 {
        font-size: 1rem;
    }

    .news-content p {
        font-size: 0.85rem;
    }

    .announcement-content h5 {
        font-size: 0.9rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    .gallery-content h2 {
        font-size: 1.6rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .btn-gallery {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 375px) {

    /* Hero Slider - Extra Small Mobile */
    .hero-slider {
        height: 40vh;
        min-height: 350px;
    }

    .carousel-item {
        height: 40vh;
        min-height: 350px;
    }

    .carousel-caption h2 {
        font-size: 1.3rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .btn-devami {
        padding: 7px 18px;
        font-size: 0.8rem;
    }
}

/* Aktiviteler Bölümü Styles */
.activities-section {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.section-header-custom {
    margin-bottom: 40px;
    position: relative;
    border-bottom: 3px solid #1e3c72;
    padding-bottom: 15px;
}

.section-header-custom h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.activities-slider {
    position: relative;
    padding: 0 50px;
}

.activities-container {
    overflow: hidden;
    margin: 0 -15px;
}

.activities-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0;
}

.activity-card-wrapper {
    flex: 0 0 50%;
    padding: 0 15px;
}

.activity-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(30, 60, 114, 0.1);
    cursor: pointer;
}



.activity-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

/* Activity Lightbox Styles */
.activity-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #41e2ad;
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.lightbox-arrow:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 991px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 20px;
        right: 25px;
    }
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #1e3c72;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
}

.slider-arrow:hover {
    background: #41e2ad;
    color: #1e3c72;
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow:disabled {
    background: #ccc;
    cursor: not-allowed;
    box-shadow: none;
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

/* Skeletons */
.activity-card-skeleton {
    flex: 0 0 calc(25% - 20px);
    margin: 10px;
    height: 350px;
    background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 15px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .activity-card-wrapper {
        flex: 0 0 50%;
    }

    .activity-card-skeleton {
        flex: 0 0 calc(50% - 20px);
    }

    .activity-image {
        height: 400px;
    }
}

@media (max-width: 991px) {
    .activities-section {
        padding: 60px 0;
    }

    .activity-card-wrapper {
        flex: 0 0 100%;
    }

    .activity-card-skeleton {
        flex: 0 0 calc(100% - 20px);
    }

    .activities-slider {
        padding: 0 40px;
    }

    .activity-image {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .activity-card-wrapper {
        flex: 0 0 100%;
    }

    .activity-card-skeleton {
        flex: 0 0 calc(100% - 20px);
    }

    .activities-slider {
        padding: 0 35px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}