/*
Theme Name: Yaşama iz Bırak
Description: Yaşama iz Bırak Derneği için Pelikan Yazılım tarafından yapılmıştır.
Version: 1.0
Author: Pelikan Yazılım
Author URI: https://pelikanyazilim.com
Text Domain: yasamizbirak


*/

:root {
    --primary-green: #60b243;
    --primary-orange: #ec7e29;
    --dr-levent-purple: #584263;
    --light-gray: #f8f9fa;
    --dark-gray: #343a40;
    --white: #ffffff;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --gray: #6c757d;

}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
a {
    color: var(--primary-green);
    text-decoration: none;
}
a:hover {
    color: var(--primary-orange);
    text-decoration: none;
}
.btn-custom {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: var(--box-shadow);
}

.btn-custom:hover {
    background-color: var(--primary-orange);
    transform: translateY(-3px);
    color: var(--white);
    text-decoration: none;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-outline-custom:hover {
    background: var(--primary-green);
    color: var(--white);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary-orange);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Header Styles */
/* ======================
   NEW MODERN MENU STYLES
   ====================== */

/* Header Structure */


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Desktop Menu */
.desktop-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-menu li {
    position: relative;
    margin: 0 15px;
}

.desktop-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.desktop-menu a:hover {
    color: var(--primary-green);
}

.desktop-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.desktop-menu a:hover::after {
    width: 100%;
}

/* Submenu Styles */
.desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border-radius: 4px;
    padding: 10px 0;

}

.desktop-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.desktop-menu .sub-menu li {
    margin: 0;
    width: 100%;
}

.desktop-menu .sub-menu a {
    padding: 10px 20px;
    display: block;
    transition: background 0.3s ease;
}

.desktop-menu .sub-menu a:hover {
    background: var(--light-gray);
}
/* ======================
   ENHANCED MENU STYLES
   ====================== */

/* Desktop Submenu Fixes */
.desktop-menu .sub-menu {
    display: block !important; /* Force vertical layout */
    min-width: 220px;
    left: 0;
    transform: none !important;
}

.desktop-menu .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* Submenu Indicators */
.submenu-indicator {
    margin-left: 5px;
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.desktop-menu .menu-item-has-children:hover > a > .submenu-indicator {
    transform: rotate(180deg);
}

/* Mobile Multi-level Support */
.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 15px;
}

.mobile-menu .level-2 {
    background: rgba(0,0,0,0.05);
    border-left: 2px solid var(--primary-green);
}

.mobile-menu .level-3 {
    background: rgba(0,0,0,0.03);
    border-left: 2px solid var(--primary-orange);
}

/* Scroll Effects */
.custom-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: top 0.4s ease, background-color 0.3s ease, padding 0.3s ease;
    padding: 15px 0;
}

.custom-header.hide {
    top: -100px; /* Adjust based on header height */
}

.custom-header.show {
    top: 0;
}

.custom-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu Fixes */



/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1100;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--dark-gray);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1098;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1099;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu-header,
.mobile-menu-footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 15px;
    position: relative;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 15px;
}

.mobile-menu .submenu-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu .submenu-toggle[aria-expanded="true"] {
    transform: rotate(45deg);
}

.mobile-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

/* Active States */
.menu-active .mobile-menu {
    right: 0;
}

.menu-active .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}
/* ======================
   SUBMENU INDICATOR FIXES
   ====================== */

/* Desktop Submenu Indicators for all levels */
.desktop-menu .menu-item-has-children > a > .submenu-indicator {
    margin-left: 5px;
    font-size: 0.8em;
    display: inline-block;
    transition: transform 0.3s ease;
}

.desktop-menu .menu-item-has-children:hover > a > .submenu-indicator {
    transform: rotate(180deg);
}

/* Nested submenu indicators */
.desktop-menu .sub-menu .submenu-indicator {
    float: right;
    transform: rotate(-90deg);
}

.desktop-menu .sub-menu .menu-item-has-children:hover > a > .submenu-indicator {
    transform: rotate(0deg);
}

/* Mobile Menu Fixes */
.mobile-menu .submenu-toggle[aria-expanded="true"] {
    transform: rotate(45deg);
}

.mobile-menu .menu-item-has-children > .submenu-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Level-specific styling for mobile */
.mobile-menu .level-2 {
    background: rgba(0,0,0,0.05);
    border-left: 2px solid var(--primary-green);
}

.mobile-menu .level-3 {
    background: rgba(0,0,0,0.03);
    border-left: 2px solid var(--primary-orange);
}

/* Mobile menu animation fixes */
.mobile-menu .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Active state for mobile menu */
.menu-active .mobile-menu {
    right: 0;
}

.menu-active .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}
.dr-levent-image img {
     transition: transform 0.3s ease, opacity 0.3s ease;
    display: block;
}
.dr-levent-image:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .desktop-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .dr-levent-logo {
        margin-left: auto;
        margin-right: 20px;
    }
}
.fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeInUp.animated {
    opacity: 1;
    transform: translateY(0);
}


/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;

}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    margin-left: 10%;
    animation: fadeInUp 1s ease;
}

.slider-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slider-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* About Section */
.about-section {
    background-color: var(--white);
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    position: relative;
    height: auto;
}

/*.about-image::after {
    content: '';
    position: absolute;
   !* top: 20px;*!
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-green);
    border-radius: 10px;
    z-index: -1;
}*/

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(0.98);
}

/* Projects Section */
.projects-section {
    background-color: #f0f5f9;
}

.project-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.project-content p {
    margin-bottom: 20px;
    color: #666;
}

.project-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.5rem;
}
.project-featured-image img{
    width: 100%;
    aspect-ratio: 4 / 2;
    object-fit: cover;
}
/* Support Section */
.support-section {
    background-color: var(--white);
}

.support-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 500px;
}

.support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-steps {
    margin-top: 30px;
}

.step {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-green);
}

/* Impact Section */
.impact-section {
    /*
    background: linear-gradient(rgba(96, 178, 67, 0.9), rgba(236, 126, 41, 0.8)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    */
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.impact-card {
    background: rgba(255, 255, 255, 0.15);
    /*backdrop-filter: blur(10px);*/
    border-radius: 10px;
    padding: 40px 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.impact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
}

.impact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.impact-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.impact-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Dr Levent Section */
.dr-levent-section {
    background-color: #f9f9f9;
}

.dr-levent-badge-large {
    display: inline-flex;
    align-items: center;
    background: var(--dr-levent-purple);
    color: var(--white);
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    margin-top: 20px;
    font-size: 1.2rem;
    text-decoration: none;
}

.dr-levent-badge-large:hover {
    color: var(--white);
    text-decoration: none;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 250px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.product-content {
    padding: 20px;
    text-align: center;
}

.product-content h4 {
    margin-bottom: 10px;
    color: var(--dr-levent-purple);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--white);
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(96, 178, 67, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to right, #f8f9fa, #e9ecef);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
    color: var(--primary-green);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* Donation Section */
.donation-section {
    background-color: var(--dr-levent-purple);
    color: var(--white);
    text-align: center;
}

.donation-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.donation-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.donation-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

/* Blog Section */
.blog-section {
    background-color: #f0f5f9;
    padding: 100px 0;
}
.swiper-slide {
    height: auto;
}
.swiper-wrapper {
    height: auto;
}
.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;

}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #777;
    font-size: 0.9rem;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.blog-content h3 a {
    color: var(--primary-green);
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: var(--primary-orange);
}

.blog-content p {
    margin-bottom: 20px;
    color: #666;
    flex-grow: 1;
}
.blog-content .btn-custom {
    margin-top: auto;
}
.blog-carousel.swiper {
    padding: 50px 20px;
}
.post-featured-image img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}



/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 70px 0 0;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
}

.footer-col ul {
    list-style: none;
    padding-left: 0;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.footer-col ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-col p {
    color: #bbb;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-5px);
    color: var(--white);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeInUp.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-title h2 {
        font-size: 2rem;
    }
    
    .slider-content h2 {
        font-size: 2.5rem;
    }
    
    .dr-levent-badge {
        margin-left: 10px;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .slider-content {
        margin-left: 5%;
        text-align: center;
    }
    
    .slider-content h2 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dr-levent-badge {
        margin-left: 0;
        margin-top: 5px;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .dr-levent-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .slider-content {
        margin-left: 5%;
    }
    
    .slider-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Comments Styles */
.comments-area {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.comments-title {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-green);
    position: relative;
}

.comments-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-orange) 100%);
    border-radius: 2px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.comment {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.comment-body {
    display: flex;
    gap: 15px;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    border-radius: 50%;
    border: 3px solid var(--light-gray);
    transition: var(--transition);
}

.comment:hover .comment-avatar img {
    border-color: var(--primary-green);
}

.comment-content {
    flex: 1;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.comment-metadata {
    font-size: 0.9rem;
    color: #6c757d;
}

.comment-metadata a {
    color: #6c757d;
    text-decoration: none;
    transition: var(--transition);
}

.comment-metadata a:hover {
    color: var(--primary-green);
}

.comment-text {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.comment-text p {
    margin-bottom: 10px;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.reply {
    text-align: right;
}

.comment-reply-link {
    background: var(--primary-green);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.comment-reply-link:hover {
    background-color: var(--primary-orange);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(96, 178, 67, 0.3);
}

.comment-reply-link::before {
    content: '\f3e5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* İç içe yorumlar */
.children {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 40px;
}

.children .comment {
    background: #f1f3f4;
    border-left: 4px solid var(--primary-green);
}

.children .children .comment {
    background: #e9ecef;
    border-left-color: var(--primary-orange);
}

/* Yorum formu */
.comment-respond {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.comment-reply-title {
    color: var(--dark-gray);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    display: block;
}

.comment-form .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.comment-form .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(96, 178, 67, 0.25);
    outline: none;
}

.comment-notes {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
}

.form-submit {
    text-align: right;
    margin-top: 20px;
}

.btn-primary {
    background: var(--primary-green);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(96, 178, 67, 0.3);
}
p.comment-form-cookies-consent {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    gap: 10px;
}
/* Responsive */
@media (max-width: 768px) {
    .comments-area {
        padding: 25px 20px;
    }

    .comment {
        padding: 20px 15px;
    }

    .comment-body {
        flex-direction: column;
        gap: 10px;
    }

    .children {
        margin-left: 20px;
    }

    .comment-respond {
        padding: 20px 15px;
    }
}

/* Project Navigation Styles */
.project-navigation {
    margin: 60px 0;
    padding: 40px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.nav-project {
    margin-bottom: 20px;
}

.nav-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nav-link:hover {
    text-decoration: none;
    color: inherit;
    border-color: #007bff;
    box-shadow: 0 4px 20px rgba(0,123,255,0.15);
    transform: translateY(-2px);
}

.nav-direction {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.prev-project .nav-direction {
    justify-content: flex-start;
}

.next-project .nav-direction {
    justify-content: flex-end;
}

.nav-direction i {
    margin: 0 8px;
}

.nav-content {
    display: flex;
    align-items: center;
}

.next-project .nav-content {
    flex-direction: row-reverse;
}

.nav-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.next-project .nav-thumb {
    margin-right: 0;
    margin-left: 15px;
}

.nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.nav-date {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
    display: block;
}

/* Recent Projects Section */
.recent-projects-section {
    margin: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.section-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.view-all-btn:hover {
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,123,255,0.4);
}

.view-all-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover i {
    transform: translateX(3px);
}

/* Projects Carousel */
.projects-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.carousel-item {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 0;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.project-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-content h5 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.project-content h5 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-content h5 a:hover {
    color: #007bff;
    text-decoration: none;
}

.project-date {
    font-size: 14px;
    color: #6c757d;
    margin-top: auto;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,123,255,0.4);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0,123,255,0.2);
}

.carousel-btn i {
    font-size: 16px;
}
/*Blog index.php şablonu*/
.blog-index-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-index-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.blog-index-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-index-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.blog-index-card:hover .blog-index-image img {
    transform: scale(1.1);
}

.blog-index-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.blog-index-card:hover .blog-index-overlay {
    opacity: 1;
}

.blog-index-card .project-link {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e67e22;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: scale(1.1);
    background: #27ae60;
}

.blog-index-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-index-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-index-card .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-index-card .meta-item i {
    color: #e67e22;
}

.blog-index-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #27ae60;
    flex-grow: 1;
}

.blog-index-title a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-index-title a:hover {
    color: #e67e22;
}

.blog-index-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}



.blog-index-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-index-card .post-actions {
    display: flex;
    gap: 10px;
}

.blog-index-card .btn-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f8f9fa;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-index-card .btn-action:hover {
    background: #27ae60;
    color: white;
}
/* Responsive Design */
@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc(50% - 10px);
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-header h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        flex: 0 0 100%;
    }

    .project-navigation {
        margin: 40px 0;
        padding: 30px 0;
    }

    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    .next-project .nav-content {
        flex-direction: column;
    }

    .nav-thumb {
        margin: 0 0 15px 0;
    }

    .next-project .nav-thumb {
        margin: 0 0 15px 0;
    }

    .nav-direction {
        justify-content: center !important;
    }

    .recent-projects-section {
        margin: 40px 0;
    }

    .section-header h3 {
        font-size: 22px;
    }

    .project-image {
        height: 180px;
    }

    .carousel-controls {
        margin-top: 20px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .nav-link {
        padding: 15px;
    }

    .nav-info h6 {
        font-size: 14px;
    }

    .project-content {
        padding: 15px;
    }

    .project-content h5 {
        font-size: 16px;
    }

    .view-all-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}