@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');

:root {
    /* Çatkapı renkleri: turkuaz (ana) + turuncu (vurgu) */
    --primary-color: #0F766E;
    --primary-light: #14B8A6;
    --secondary-color: #F97316;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #ffffff;
    --bg-light: #F8FAFC;
    --surface: #ffffff;
    --surface-2: #F8FAFC;
    --surface-3: #F1F5F9;
    --line: #E2E8F0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(15, 118, 110, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utilities */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(22, 122, 97, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 122, 97, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: #c08d5c;
}

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

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

.btn-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

/* Topbar */
.topbar {
    width: 100%;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--white);
    transition: var(--transition);
    z-index: 1001;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
    min-height: 38px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.topbar-item:hover {
    opacity: 0.85;
}

.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.topbar-social a {
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

.topbar-social a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    background: transparent;
    display: flex;
    flex-direction: column;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0;
    box-shadow: var(--glass-shadow);
}

.navbar.scrolled .topbar {
    margin-top: -38px;
    opacity: 0;
    pointer-events: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
    width: 100%;
}

.navbar.scrolled .nav-container {
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
}

.logo img {
    height: 80px; /* Adjust as needed */
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1); /* Sayfa en üstteyken logoyu beyaz yapar */
}

.navbar.scrolled .logo img {
    height: 60px; /* Slightly smaller when scrolled */
    filter: none; /* Sayfa aşağı inince logonun kendi rengini gösterir */
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1.05rem;
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-dark);
}

.navbar.scrolled .btn-nav-login {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.navbar.scrolled .btn-nav-login:hover {
    background: var(--primary-color);
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
}

.hide-on-mobile { display: inline; }
.mobile-nav-btn { display: none; }

@media (max-width: 768px) {
    .mobile-nav-btn { display: block; }
    .topbar { display: none; }
}

@media (max-width: 650px) {
    .nav-actions { gap: 8px; }
    .btn-nav-login { padding: 8px 15px; font-size: 0.85rem; }
    .nav-actions .btn-secondary { padding: 8px 15px; font-size: 0.85rem; }
    .hide-on-mobile { display: none; }
}

.navbar.scrolled .hamburger {
    color: var(--text-dark);
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.8s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(11, 74, 58, 0.85) 0%, rgba(11, 74, 58, 0.45) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--surface);
    color: var(--primary-color);
}

/* Quick Donate Section */
.quick-donate {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.donate-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.donate-tabs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

@media screen and (max-width: 900px) {
    .donate-tabs-grid {
        display: flex;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 12px;
        scrollbar-width: none;
    }
    .donate-tabs-grid::-webkit-scrollbar {
        display: none;
    }
}

.donate-tab {
    background: var(--surface);
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    min-width: 110px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.donate-tab:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.donate-tab.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white) !important;
}

.donate-tab .tab-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 118, 110, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.donate-tab.active .tab-icon {
    background: var(--surface);
    color: var(--primary-color);
}

.donate-tab .tab-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    transition: var(--transition);
}

.donate-tab.active .tab-label {
    color: var(--white);
}

.donate-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    padding: 15px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn.active, .amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(11, 74, 58, 0.05);
}

.donate-custom {
    display: flex;
    gap: 15px;
    align-items: center;
}

.custom-input {
    flex: 1;
    position: relative;
}

.custom-input span {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: var(--text-light);
}

.custom-input input {
    width: 100%;
    padding: 16px 20px 16px 40px;
    border: 2px solid #eee;
    border-radius: var(--radius-md);
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
    transition: var(--transition);
}

.custom-input input:focus {
    border-color: var(--primary-color);
}

/* Projects Section */
.projects {
    padding: 80px 0;
}

.projects-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.projects-slider-nav {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.proj-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--surface);
    color: var(--primary-color);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}

.proj-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.projects-carousel-wrapper {
    position: relative;
    margin: -15px -10px;
    padding: 15px 10px;
    overflow: hidden;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.projects-grid.projects-carousel {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 15px 5px 25px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.projects-grid.projects-carousel.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.projects-grid.projects-carousel::-webkit-scrollbar {
    display: none;
}

.projects-grid.projects-carousel .project-card {
    flex: 0 0 calc((100% - 60px) / 3);
    min-width: 310px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.projects-grid.projects-carousel .project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.projects-grid.projects-carousel .project-desc {
    flex: 1;
}

@media (max-width: 992px) {
    .projects-grid.projects-carousel .project-card {
        flex: 0 0 calc((100% - 30px) / 2);
        min-width: 280px;
    }
}

@media (max-width: 640px) {
    .projects-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .projects-grid.projects-carousel .project-card {
        flex: 0 0 88%;
        min-width: 260px;
    }
}

.project-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    top: 0;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(11, 74, 58, 0.1);
}

.project-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.project-content {
    padding: 25px;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

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

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 10px;
}

/* Call to Action */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), #052c22);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 163, 115, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

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

.cta-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #041f18;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-desc {
    margin-bottom: 20px;
    max-width: 300px;
}

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

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

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.4s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--text-dark);
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    
    .donate-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donate-custom {
        flex-direction: column;
    }
    
    .donate-custom .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .donate-amounts {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* ==========================================================================
   Optimization & UX Enhancements
   ========================================================================== */

/* Scroll Animations (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-left.active, .reveal-right.active {
    transform: translateX(0);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.4);
}

/* Slider Controls & Navigation */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.prev-arrow {
    left: 30px;
}

.next-arrow {
    right: 30px;
}

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

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background: var(--surface);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .prev-arrow { left: 15px; }
    .next-arrow { right: 15px; }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #074722 0%, #0F766E 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(20, 184, 166, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.stat-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* News Section */
.news-section {
    padding: 100px 0;
    background-color: var(--surface);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.news-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(15, 118, 110, 0.05);
    border: 1px solid rgba(15, 118, 110, 0.03);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(15, 118, 110, 0.1);
}

.news-img {
    position: relative;
    overflow: hidden;
}

.news-img img {
    transition: var(--transition);
}

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

.news-content {
    padding: 30px;
}

.news-date {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.35rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.news-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.03);
    border: 1px solid rgba(15, 118, 110, 0.02);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: 0 15px 40px rgba(15, 118, 110, 0.07);
    border-color: rgba(15, 118, 110, 0.1);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 0 30px;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .news-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        padding: 30px 20px;
    }
}

/* ==========================================
   DONATION CART & DETAIL PAGES STYLES
   ========================================== */

/* Nav Cart Icon & Dropdown */
.nav-cart-wrapper {
    position: relative;
    display: inline-block;
}

.nav-cart-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
}

.navbar.scrolled .nav-cart-trigger {
    background: rgba(15, 118, 110, 0.08);
    color: var(--primary-color);
}

.nav-cart-trigger:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.navbar.scrolled .nav-cart-trigger:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    width: 320px;
    background: var(--surface);
    border-radius: var(--radius-md);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 1px solid rgba(15, 118, 110, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1002;
    overflow: hidden;
}

.nav-cart-wrapper:hover .cart-dropdown,
.cart-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cart-dropdown-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-dropdown-count {
    background: rgba(255,255,255,0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.cart-dropdown-items {
    max-height: 240px;
    overflow-y: auto;
    padding: 10px 0;
}

.cart-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #F1F5F9;
    transition: var(--transition);
}

.cart-dropdown-item:hover {
    background: var(--surface-2);
}

.cart-dropdown-item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    padding-right: 10px;
}

.cart-dropdown-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.cart-dropdown-item-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-dropdown-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cart-dropdown-item-remove:hover {
    color: #c0392b;
    transform: scale(1.15);
}

.cart-empty-message {
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
}

.cart-empty-message i {
    font-size: 2.2rem;
    color: #e74c3c;
    margin-bottom: 10px;
    opacity: 0.7;
    animation: heartbeat 1.5s infinite;
}

.cart-dropdown-footer {
    padding: 15px 20px;
    background: var(--surface-2);
    border-top: 1px solid var(--line);
}

.cart-dropdown-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.cart-dropdown-total strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Activity Details Page */
.detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 140px 0 60px;
    color: var(--white);
}

.detail-header-category {
    background: rgba(255,255,255,0.15);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.detail-header h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

.detail-grid {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 40px;
    padding: 60px 0;
    align-items: start;
}

.detail-main-img {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.detail-body-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a504d;
}

.detail-body-text p {
    margin-bottom: 20px;
}

.detail-progress-container {
    background: var(--surface-3);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
}

.detail-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.detail-progress-bar-bg {
    height: 12px;
    background: var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.detail-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.detail-progress-stats {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    color: var(--primary-color);
}

.detail-progress-stats span {
    font-weight: 500;
    color: var(--text-light);
}

.sticky-donation-card {
    position: sticky;
    top: 100px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.05);
}

.sticky-donation-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.sticky-donation-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.amount-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.preset-btn {
    background: var(--surface-2);
    border: 2px solid var(--line);
    padding: 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.preset-btn:hover,
.preset-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.custom-amount-group {
    position: relative;
    margin-bottom: 25px;
}

.custom-amount-group input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 45px;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

.custom-amount-group input:focus {
    border-color: var(--primary-color);
}

.custom-amount-group span {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--text-light);
}

/* Sepet Page Styles */
.sepet-container {
    padding: 150px 0 100px;
}

.sepet-grid {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
    margin-top: 40px;
}

.sepet-table-wrapper {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(15, 118, 110, 0.05);
}

.sepet-item-row {
    display: grid;
    grid-template-columns: 5fr 3fr 1fr;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #F1F5F9;
}

.sepet-item-row:last-child {
    border-bottom: none;
}

.sepet-item-title {
    font-weight: 600;
    color: var(--text-dark);
}

.sepet-item-title span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 4px;
}

.sepet-qty-input {
    display: flex;
    align-items: center;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    width: 140px;
    overflow: hidden;
}

.sepet-qty-input input {
    width: 100%;
    border: none;
    padding: 8px;
    text-align: center;
    font-weight: 600;
    outline: none;
}

.sepet-qty-input span {
    padding: 8px 12px;
    background: var(--surface-2);
    font-weight: 700;
    color: var(--text-light);
    border-left: 2px solid var(--line);
}

.sepet-remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    justify-self: end;
}

.sepet-remove-btn:hover {
    color: #c0392b;
    transform: scale(1.2);
}

.sepet-summary-box {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(15, 118, 110, 0.05);
    position: sticky;
    top: 100px;
}

.sepet-summary-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F1F5F9;
}

.sepet-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.sepet-summary-total {
    border-top: 1px dashed var(--line);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.12); }
    28% { transform: scale(1); }
    42% { transform: scale(1.12); }
    70% { transform: scale(1); }
}

@media (max-width: 900px) {
    .detail-grid, .sepet-grid {
        grid-template-columns: 1fr;
    }
    .sticky-donation-card, .sepet-summary-box {
        position: relative;
        top: 0;
        margin-top: 20px;
    }
}

/* Page Header & Menu Spacing Overrides */
.page-header {
    padding-top: 195px !important;
}

.detail-header {
    padding-top: 195px !important;
}

.sepet-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .sepet-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .panel-donate-grid {
        grid-template-columns: 1fr !important;
    }
}


