﻿/* ==========================================================================
   BODRUM KARADENİZLİLER DERNEĞİ - CORE DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* 1. DESIGN TOKENS & ROOT VARIABLES */
:root {
    --ana-renk: #004d40;
    --ikinci-renk: #007bff;
    --vurgu: #2ecc71;
    --telegram: #0088cc;
    --koyu: #1a1a1a;
    --gri: #6c757d;
    --acik-gri: #f8f9fa;
    --body-bg: #ffffff;
    --card-bg: #ffffff;
}

/* 2. BASE RESET & TYPOGRAPHY */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: #333;
    overflow-x: hidden;
}

/* 3. HEADER & NAVBAR */
.top-bar {
    background-color: var(--ana-renk);
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
}
.top-bar a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    transition: 0.3s;
    font-size: 16px;
}
.top-bar a:hover {
    color: var(--ikinci-renk);
}

.navbar {
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1050;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}
.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.navbar-brand img {
    height: 80px;
    width: auto;
    transition: 0.3s;
}
.navbar.scrolled .navbar-brand img {
    height: 65px;
}

.nav-link {
    font-weight: 700;
    color: var(--koyu) !important;
    margin: 0 12px;
    font-size: 15px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--ana-renk) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 10px;
    margin-top: 10px;
}
.dropdown-item {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--gri);
    transition: 0.3s;
}
.dropdown-item:hover {
    background-color: var(--acik-gri);
    color: var(--ana-renk);
    transform: translateX(5px);
}

/* 4. MAIN HERO SLIDER */
#mainSlider .carousel-item {
    height: 85vh;
    min-height: 600px;
    background-color: #0c111d;
    overflow: hidden;
    position: relative;
}
#mainSlider .carousel-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(12, 17, 29, 0.85) 0%, rgba(12, 17, 29, 0.4) 50%, rgba(12, 17, 29, 0.75) 100%),
                linear-gradient(to top, rgba(12, 17, 29, 0.6) 0%, rgba(0, 0, 0, 0) 40%);
    z-index: 2;
}
#mainSlider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transform: scale(1);
    transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
}
#mainSlider .carousel-item.active img {
    transform: scale(1.08);
}
.carousel-caption {
    bottom: 25%;
    left: 8%;
    right: 8%;
    text-align: left;
    z-index: 10;
    max-width: 800px;
}

/* Slider Active Elements Entrance Animations */
.carousel-caption .slider-eyebrow,
.carousel-caption h1,
.carousel-caption p,
.carousel-caption .btn-slider {
    opacity: 0;
    transform: translateY(35px);
    transition: none;
}

.carousel-item.active .carousel-caption .slider-eyebrow {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}
.carousel-item.active .carousel-caption h1 {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}
.carousel-item.active .carousel-caption p {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}
.carousel-item.active .carousel-caption .btn-slider {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 1s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .carousel-caption h1 { font-size: 2.3rem; }
    .carousel-caption p { font-size: 1.1rem; }
    #mainSlider .carousel-item { height: 65vh; min-height: 450px; }
    .carousel-caption { bottom: 15%; left: 5%; right: 5%; }
}

/* Slider Controls & Indicators */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1;
}
.carousel-indicators .active {
    width: 28px;
    border-radius: 5px;
    background-color: var(--ikinci-renk) !important;
}

#mainSlider .carousel-control-prev, #mainSlider .carousel-control-next {
    width: 7%;
    z-index: 12;
}
#mainSlider .carousel-control-prev-icon, #mainSlider .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 22px;
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background-size: 45%;
}
#mainSlider .carousel-control-prev:hover .carousel-control-prev-icon,
#mainSlider .carousel-control-next:hover .carousel-control-next-icon {
    background-color: var(--ikinci-renk);
    border-color: var(--ikinci-renk);
    transform: scale(1.1);
}

.carousel-caption .btn-slider {
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: none;
}
.carousel-caption .btn-slider:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

/* Secondary Sliders Dark Controls */
.carousel-dark-control .carousel-control-prev-icon,
.carousel-dark-control .carousel-control-next-icon {
    background-color: rgba(15, 23, 42, 0.05) !important;
    border: 1px solid rgba(15, 23, 42, 0.1) !important;
    filter: invert(1) grayscale(100%) brightness(0.2);
    padding: 20px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.carousel-dark-control:hover .carousel-control-prev-icon,
.carousel-dark-control:hover .carousel-control-next-icon {
    background-color: var(--ana-renk) !important;
    border-color: var(--ana-renk) !important;
    filter: invert(0) !important;
    transform: scale(1.1);
}

/* 5. GENERAL SECTIONS, LABELS, PANELS */
.section-padding {
    padding: 100px 0;
}
.section-title {
    font-weight: 800;
    color: var(--ana-renk);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: -1px;
}
.section-title::after {
    content: '';
    width: 60px;
    height: 5px;
    background: var(--ikinci-renk);
    position: absolute;
    bottom: -15px;
    left: 0;
    border-radius: 10px;
}

/* Page Header Title Section */
.page-header {
    background: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.9)), url('../../img/default-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}
.page-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Breadcrumb Styles */
.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb-item {
    font-size: 0.95rem;
    font-weight: 500;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}
.breadcrumb-item a:hover {
    color: white !important;
    text-decoration: none;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4) !important;
}
.breadcrumb-item.active {
    color: white !important;
    font-weight: 600;
}

/* 6. NEWS CARDS & ANNOUNCEMENTS */
.news-card {
    position: relative;
    border: none;

    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.4s;
    overflow: hidden;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-10px);
}
.news-img-box {
    height: 250px;
    overflow: hidden;
    position: relative;
}
.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.news-card:hover .news-img-box img {
    transform: scale(1.1);
}
.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.news-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 10px;
    display: block;
}
.news-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--koyu);
    line-height: 1.4;
}

.announcement-item {
    border-left: 5px solid var(--ikinci-renk);
    background: var(--acik-gri);
    padding: 20px;
    border-radius: 0 15px 15px 0;
    margin-bottom: 15px;
    transition: 0.3s;
}
.announcement-item:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

/* Pagination Control */
.pagination .page-link {
    border: none;
    color: var(--gri);
    font-weight: 600;
    margin: 0 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.pagination .page-link:hover, .pagination .page-item.active .page-link {
    background-color: var(--ana-renk);
    color: white;
}

/* 7. EVENTS SYSTEM */
.event-tabs .nav-pills .nav-link {
    background: #eee;
    color: var(--gri);
    border-radius: 12px;
    padding: 12px 30px;
    margin: 0 8px;
    font-weight: 700;
    transition: 0.3s;
}
.event-tabs .nav-pills .nav-link.active {
    background: var(--ana-renk);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 77, 64, 0.2);
}
.event-tabs .nav-pills .nav-link:hover {
    transform: translateY(-2px);
}
.event-tabs .all-events-btn {
    background: var(--koyu);
    color: white;
}
.event-tabs .all-events-btn:hover {
    background: var(--ikinci-renk);
    color: white;
}

.event-card {
    background: #fff;
    border-radius: 20px;
    display: flex;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    height: 120px;
    transition: 0.3s;
}
.event-card:hover {
    border-color: var(--ikinci-renk);
}
.event-date {
    background: var(--ana-renk);
    color: white;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.event-date b {
    font-size: 28px;
    font-weight: 800;
}
.event-content {
    padding: 15px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.past-event {
    opacity: 0.7;
    filter: grayscale(1);
}

/* 8. MANAGEMENT BOARD, TESTIMONIALS, SPONSORS */
.management-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f7f6 100%);
}
.mgmt-card {
    border: none;
    border-radius: 30px;
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.5s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin: 15px;
}
.mgmt-img-box {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px;
    padding: 8px;
    background: linear-gradient(45deg, var(--ana-renk), var(--ikinci-renk));
    border-radius: 50%;
}
.mgmt-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
}

.testimonial-card {
    background: var(--acik-gri);
    border-radius: 25px;
    padding: 40px;
    margin: 20px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
}
.testimonial-user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-card-modern {
    background: #fff;
    border-radius: 25px;
    padding: 25px 15px;
    text-align: center;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.sponsor-img-circle {
    width: 110px;
    height: 110px;
    margin-bottom: 15px;
    padding: 6px;
    border-radius: 50%;
    border: 2px dashed var(--ana-renk);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sponsor-img-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* 9. CONTACT FORM ELEMENTS */
.contact-card {
    border: none;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.1);
    background: #fff;
}
.contact-info-side {
    background: linear-gradient(135deg, var(--ana-renk) 0%, #002e26 100%);
    color: white;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.contact-icon-box {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 20px;
    transition: 0.3s;
    color: var(--vurgu);
}
.modern-input {
    border: 1px solid #ebebeb;
    border-radius: 15px;
    padding: 18px;
    background: #fdfdfd;
    transition: 0.4s;
}
.submit-btn {
    background: var(--ana-renk);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 77, 64, 0.2);
}

/* 10. MAIN FOOTER */
.main-footer {
    background: #0a0c0b;
    color: #b0b0b0;
    padding: 100px 0 0;
    position: relative;
    margin-top: auto;
}
.footer-logo-box img {
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 25px;
}
.footer-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background: var(--ikinci-renk);
}
.footer-links-list {
    list-style: none;
    padding: 0;
}
.footer-links-list li {
    margin-bottom: 12px;
}
.footer-links-list a {
    color: #b0b0b0;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
}
.footer-links-list a:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer-links-list a i {
    margin-right: 10px;
    color: var(--ana-renk);
    font-size: 14px;
}
.footer-social-box {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}
.social-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: 0.3s;
}
.social-circle:hover {
    background: var(--ana-renk);
    transform: translateY(-5px);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 80px;
    font-size: 14px;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.footer-contact-item i {
    width: 35px;
    height: 35px;
    background: rgba(0, 77, 64, 0.2);
    color: var(--ana-renk);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 11. FLOATING SOCIAL ICONS & SCROLL-TO-TOP */
.floating-social {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2000;
}
.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    text-decoration: none;
    position: relative;
}
.hover-white:hover {
    color: #fff !important;
    text-decoration: underline !important;
}

#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: var(--ana-renk);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scrollTopBtn:hover {
    background-color: #00695c;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* 12. MEMBERSHIP SYSTEM (LOGIN & REGISTER PAGES) */
.login-section, .register-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.login-card, .register-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: none;
}
.login-header, .register-header {
    background: var(--ana-renk);
    color: white;
    padding: 40px;
    text-align: center;
}
.login-header i {
    font-size: 3rem;
    margin-bottom: 10px;
    display: block;
    opacity: 0.8;
}
.register-header h3 {
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 5px;
}
.login-body, .register-body {
    padding: 50px;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--ana-renk);
    opacity: 0.8;
}
.form-control:focus {
    border-color: var(--ana-renk);
    box-shadow: 0 0 0 0.25rem rgba(0, 77, 64, 0.15);
}
.btn-login, .btn-register {
    background: var(--ana-renk);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: 0.3s;
}
.btn-login:hover, .btn-register:hover {
    background: #00382e;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 13. USER PROFILE PANEL */
.profile-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    overflow: hidden;
    height: 100%;
}
.profile-menu-link {
    display: block;
    padding: 15px 20px;
    color: #555;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}
.profile-menu-link:hover, .profile-menu-link.active {
    background-color: #e0f2f1;
    color: var(--ana-renk);
    border-left: 4px solid var(--ana-renk);
}
.profile-img-box {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}
.profile-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.profile-img-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--ana-renk);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid white;
    transition: 0.3s;
}
.profile-img-edit:hover {
    transform: scale(1.1);
}

/* DIGITAL MEMBERSHIP CARD (PREMIUM) */
.member-card {
    background: linear-gradient(135deg, #004d40 0%, #00251a 100%);
    border-radius: 16px;
    color: white;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 77, 64, 0.4);
    min-height: 220px;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.member-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.card-content-wrapper {
    position: relative;
    z-index: 1;
}
.card-logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.member-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.qr-box {
    background: white;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 14. NEWS & ANNOUNCEMENT DETAILS (haber-detay.php & duyuru-detay.php) */
.content-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}
.news-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}
.news-meta {
    color: var(--gri);
    font-size: 0.95rem;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
}
.news-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}
.news-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

/* Sidebar Widgets in Details */
.widget-title {
    font-weight: 800;
    color: var(--ana-renk);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 25px;
    position: relative;
}
.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 50px;
    height: 2px;
    background: var(--ikinci-renk);
}
.mini-news-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}
.mini-news-item:hover {
    transform: translateX(5px);
    color: var(--ana-renk);
}
.mini-news-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}
.mini-news-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}
.mini-news-date {
    font-size: 11px;
    color: #999;
    display: block;
    margin-top: 5px;
}

/* Share Buttons */
.share-btn {
    transition: 0.3s;
    font-weight: 600;
    border-radius: 50px;
    padding: 8px 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.share-btn:hover {
    color: white;
    opacity: 0.9;
    transform: translateY(-2px);
}
.btn-facebook { background-color: #3b5998; }
.btn-whatsapp { background-color: #25d366; }
.btn-twitter { background-color: #000; }


/* 15. EVENT DETAILS (etkinlik-detay.php) */
.event-detail-header {
    background: linear-gradient(rgba(0, 77, 64, 0.9), rgba(0, 77, 64, 0.9)), url('../../img/default-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}
.event-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.event-main-img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 30px;
    object-fit: cover;
    max-height: 500px;
}

.info-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: 0.3s;
    height: 100%;
}
.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--ana-renk);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 77, 64, 0.1);
    color: var(--ana-renk);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}
.info-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    display: block;
    margin-bottom: 3px;
}
.info-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.mini-event-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    text-decoration: none;
    color: #333;
    transition: 0.3s;
}
.mini-event-item:hover {
    transform: translateX(5px);
    color: var(--ana-renk);
}
.mini-event-date {
    background: var(--acik-gri);
    padding: 5px 10px;
    border-radius: 8px;
    text-align: center;
    margin-right: 15px;
    min-width: 60px;
}
.mini-event-date b {
    display: block;
    font-size: 18px;
    color: var(--ana-renk);
}
.mini-event-date span {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
}


/* 16. PAGE DETAILS (sayfa-detay.php) */
.sidebar-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid #eee;
}
.sidebar-title {
    font-weight: 800;
    color: var(--ana-renk);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.sidebar-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #f9f9f9;
    color: #555;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.sidebar-menu a:hover {
    color: var(--ana-renk);
    transform: translateX(5px);
}
.sidebar-menu a.active {
    color: var(--ana-renk);
    font-weight: 800;
    border-left: 3px solid var(--ana-renk);
    padding-left: 10px;
}
.sidebar-menu a i {
    margin-right: 10px;
    color: var(--ikinci-renk);
}

@media (max-width: 768px) {
    .content-card { padding: 30px; }
    .page-title { font-size: 2rem; }
}


/* 17. OBITUARIES SYSTEM (vefatlar.php) */
.vefat-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: 0.4s;
    position: relative;
    height: 100%;
}
.vefat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.ribbon {
    position: absolute;
    top: 15px;
    right: -25px;
    transform: rotate(45deg);
    background-color: #000;
    color: #fff;
    padding: 5px 30px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.vefat-img-box {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #eee;
}
.vefat-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}
.vefat-card:hover .vefat-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.vefat-body {
    padding: 25px;
    text-align: center;
}
.vefat-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}
.vefat-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}
.btn-taziye {
    background: transparent;
    border: 1px solid #333;
    color: #333;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-taziye:hover {
    background: #000;
    color: #fff;
}
.modal-taziye-box {
    background: #f9f9f9;
    border-left: 4px solid #000;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    font-style: italic;
    position: relative;
}
.modal-taziye-box::before {
    content: '\F599';
    font-family: "bootstrap-icons";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: #ddd;
}
.modal-img {
    max-height: 300px;
    width: auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
    display: block;
}


/* 18. EXTRA USER PROFILE STYLES */
.member-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    margin-bottom: 2px;
    font-weight: 600;
}
.member-value {
    font-size: 1.25rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    letter-spacing: 0.5px;
}
.card-badge {
    background: rgba(46, 204, 113, 0.25);
    color: #d4edda;
    border: 1px solid #2ecc71;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 19. REHBER SYSTEM (rehber.php) */
.firma-card { 
    background: white; border: none; border-radius: 15px; 
    transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
    height: 100%; overflow: hidden; border: 1px solid #f0f0f0;
}
.firma-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: var(--vurgu); }
.firma-logo-area { 
    height: 160px; display: flex; align-items: center; justify-content: center; 
    background: #ffffff; border-bottom: 1px solid #f0f0f0; padding: 20px; position: relative;
}
.firma-logo-area img { max-height: 100px; max-width: 100%; object-fit: contain; transition: 0.3s; }
.firma-card:hover .firma-logo-area img { transform: scale(1.05); }
.firma-body { padding: 25px; }
.sektor-badge { 
    font-size: 10px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; 
    color: var(--ana-renk); background: rgba(0, 77, 64, 0.08); 
    padding: 6px 12px; border-radius: 50px; display: inline-block; margin-bottom: 15px;
}
.firma-title { font-weight: 800; color: #333; margin-bottom: 10px; font-size: 1.15rem; }
.firma-desc { color: #666; font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; height: 65px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.filter-btn { 
    border: 1px solid #e0e0e0; background: white; color: #555; 
    padding: 10px 25px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; margin: 5px; 
    transition: 0.3s; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { 
    background: var(--ana-renk); color: white; border-color: var(--ana-renk); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn-custom-outline { border: 1px solid #eee; color: #555; font-weight: 600; font-size: 0.85rem; padding: 8px 15px; transition: 0.3s; background: #fff; text-decoration: none; display: inline-block; }
.btn-custom-outline:hover { background: var(--ana-renk); color: white; border-color: var(--ana-renk); }


/* 20. EVENTS LIST (etkinlikler.php) */
.etkinlik-card { border: none; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; height: 100%; display: flex; flex-direction: column; }
.etkinlik-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.etkinlik-img-box { height: 220px; position: relative; overflow: hidden; }
.etkinlik-img-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.etkinlik-card:hover .etkinlik-img-box img { transform: scale(1.1); }
.etkinlik-date-badge { position: absolute; top: 15px; right: 15px; background: var(--ana-renk); color: white; padding: 10px 15px; border-radius: 10px; text-align: center; font-weight: 800; line-height: 1.1; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.etkinlik-date-badge span { font-size: 1.5rem; display: block; }
.etkinlik-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.etkinlik-loc { font-size: 0.85rem; color: #999; margin-bottom: 10px; display: block; }
.etkinlik-title { font-weight: 700; font-size: 1.2rem; margin-bottom: 15px; color: var(--koyu); line-height: 1.4; }


/* 21. ANNOUNCEMENTS LIST (duyurular.php) */
.duyuru-card { border: none; border-radius: 15px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; height: 100%; display: flex; flex-direction: column; border-top: 5px solid var(--ikinci-renk); }
.duyuru-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.duyuru-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.duyuru-date { font-size: 0.9rem; color: var(--ikinci-renk); font-weight: 700; margin-bottom: 15px; display: block; text-transform: uppercase; letter-spacing: 1px; }
.duyuru-title { font-weight: 800; font-size: 1.3rem; margin-bottom: 15px; color: var(--koyu); line-height: 1.4; }


/* 22. SSS (sss.php) */
.accordion-button { font-weight: 700; color: var(--ana-renk); background-color: #fff; box-shadow: none !important; padding: 20px; border-radius: 10px !important; transition: 0.3s; }
.accordion-button:not(.collapsed) { color: white; background-color: var(--ana-renk); }
.accordion-button::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23004d40'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.accordion-item { border: none; margin-bottom: 15px; border-radius: 10px !important; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.accordion-body { background-color: #fff; padding: 25px; line-height: 1.7; color: #555; font-size: 1.05rem; }


/* 23. MEMBER VERIFICATION (uye-dogrula.php) */
.verification-card { max-width: 400px; width: 100%; background: white; border-radius: 20px; padding: 40px 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border-top: 6px solid #004d40; }
.status-icon { width: 90px; height: 90px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 45px; margin: 0 auto 25px; }
.user-img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 5px solid #f8f9fa; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin-bottom: 20px; }
.logo-img { max-height: 60px; width: auto; margin-bottom: 20px; }
.site-title { font-size: 0.9rem; font-weight: 700; color: #6c757d; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 30px; display: block; }


/* 24. 404 ERROR PAGE (404.php) */
.error-section { flex: 1; display: flex; align-items: center; justify-content: center; padding: 80px 0; background: radial-gradient(circle at center, #f8f9fa 0%, #ffffff 100%); position: relative; overflow: hidden; }
.error-code { font-size: 180px; font-weight: 900; line-height: 1; color: var(--ana-renk); opacity: 0.05; position: absolute; z-index: 0; user-select: none; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.error-content { position: relative; z-index: 1; text-align: center; }
.error-icon { font-size: 80px; color: var(--ana-renk); margin-bottom: 20px; animation: float 3s ease-in-out infinite; display: inline-block; }
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}


/* 25. MAINTENANCE MODE (bakim.php) */
.maintenance-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 0; }
.maintenance-card { 
    background: white; padding: 60px; border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.1); 
    max-width: 700px; width: 90%; text-align: center; border-top: 6px solid var(--ana-renk);
}
.icon-box { 
    width: 100px; height: 100px; background: rgba(0, 77, 64, 0.08); color: var(--ana-renk); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-size: 3rem; margin: 0 auto 30px; 
}
.contact-btn {
    padding: 12px 25px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    transition: all 0.3s; display: inline-flex; align-items: center; text-decoration: none; margin: 5px;
}
.btn-phone { background: #e3f2fd; color: #0d47a1; }
.btn-phone:hover { background: #0d47a1; color: white; transform: translateY(-3px); }
.btn-email { background: #e8f5e9; color: #1b5e20; }
.btn-email:hover { background: #1b5e20; color: white; transform: translateY(-3px); }
.social-modern {
    width: 45px; height: 45px; 
    background-color: #fff; color: var(--ana-renk);
    border: 2px solid #eee;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: all 0.3s ease;
    text-decoration: none; margin: 0 6px;
}
.social-modern:hover {
    background-color: var(--ana-renk); color: white; border-color: var(--ana-renk);
    transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,77,64,0.2);
}


/* 26. SEARCH SYSTEM (arama.php) */
.result-card { background: white; padding: 20px; border-radius: 15px; border: 1px solid #eee; margin-bottom: 20px; transition: 0.3s; display: flex; align-items: center; }
.result-card:hover { transform: translateX(5px); border-color: var(--ikinci-renk); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.result-img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; margin-right: 20px; flex-shrink: 0; }


/* 27. GALLERY SYSTEM (galeri.php) */
.portfolio-filters { list-style: none; padding: 0; margin: 0 0 40px 0; text-align: center; }
.portfolio-filters li { 
    cursor: pointer; display: inline-block; padding: 10px 25px; font-size: 15px; 
    font-weight: 600; line-height: 1; text-transform: uppercase; color: #444; 
    margin-bottom: 5px; transition: all 0.3s ease-in-out; border-radius: 50px;
    border: 1px solid #ddd; background: #fff;
}
.portfolio-filters li:hover, .portfolio-filters li.filter-active { 
    background: var(--ana-renk); color: #fff; border-color: var(--ana-renk); 
}
.portfolio-item { margin-bottom: 30px; }
.portfolio-wrap { 
    transition: 0.3s; position: relative; overflow: hidden; z-index: 1; 
    border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}
.portfolio-wrap::before {
    content: ""; background: rgba(0, 0, 0, 0.5); position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    transition: all ease-in-out 0.3s; z-index: 2; opacity: 0;
}
.portfolio-wrap img { transition: 0.3s; width: 100%; height: 250px; object-fit: cover; }
.portfolio-wrap:hover::before { opacity: 1; }
.portfolio-wrap:hover img { transform: scale(1.1); }
.video-icon {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 3; font-size: 3rem; color: white; opacity: 0.8; pointer-events: none;
}
.portfolio-info {
    opacity: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; text-align: center;
    z-index: 3; transition: all ease-in-out 0.3s; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}
.portfolio-wrap:hover .portfolio-info { opacity: 1; }
.portfolio-info h4 { font-size: 20px; color: #fff; font-weight: 600; }
.portfolio-info p { color: #ddd; font-size: 14px; text-transform: uppercase; padding: 0; margin: 0; }
.preview-link {
    color: #fff; font-size: 24px; display: inline-block; transition: 0.3s; margin-top: 10px;
}
.preview-link:hover { color: var(--vurgu); }


