/* 
   Austria Yetim Eli - Premium Design System (Donatm Inspired)
   Fresh Setup 2026
*/

:root {
    --color-primary: #00b54e;     /* Vibrant Charity Green */
    --color-primary-dark: #009640;
    --color-secondary: #ff7e16;   /* Donatm Orange */
    --color-dark: #0e221b;        /* Deep Green/Black for topbar */
    --color-light: #f8fafc;
    --color-text: #334155;
    --color-text-muted: #64748b;
    --font-main: 'Inter', 'Poppins', sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* CUSTOM SLIDER STYLES */
.custom-caption { 
    position: absolute; top: 50%; left: 10%; transform: translateY(-50%); 
    max-width: 800px; color: white; padding: 40px; z-index: 10;
}
.custom-caption-title { 
    font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.1; margin-bottom: 25px; 
    text-shadow: 0 5px 30px rgba(0,0,0,0.3);
}
.custom-caption-text { font-size: 1.1rem; opacity: 0.9; margin-bottom: 35px; line-height: 1.6; max-width: 600px; }
.custom-caption-btn {
    display: inline-flex; align-items: center; background: var(--color-primary); color: white;
    padding: 16px 35px; border-radius: 50px; font-weight: 700; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 181, 78, 0.4); transition: 0.3s;
}
.custom-caption-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 181, 78, 0.5); color: white; }

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===================================
   HEADER & NAVIGATION (SKEWED)
   =================================== */

.topbar-donat {
    background: var(--color-dark);
    color: white;
    height: 45px;
    display: flex;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}

.topbar-content {
    display: flex;
    align-items: center;
    padding-left: 320px;
    font-size: 13px;
    font-weight: 500;
}

.topbar-content span { color: var(--color-secondary); font-weight: 700; margin-right: 5px; }

.topbar-social {
    background: var(--color-secondary);
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewX(-25deg);
    margin-right: -40px;
}

.topbar-social-inner {
    transform: skewX(25deg);
    display: flex;
    gap: 15px;
    align-items: center;
}

.topbar-social-inner a { color: white; transition: var(--transition); }
.topbar-social-inner a:hover { transform: scale(1.2); opacity: 0.8; }

.navbar-donat {
    background: white;
    height: 90px;
    display: flex;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-skew-box {
    background: var(--color-primary);
    width: 300px;
    position: absolute;
    top: -45px;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.logo-skew-box::after {
    content: '';
    position: absolute;
    top: 0;
    right: -30px;
    height: 100%;
    width: 60px;
    background: var(--color-primary);
    transform: skewX(-15deg);
    z-index: -1;
}

.logo-skew-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: -40px;
    height: 100%;
    width: 15px;
    background: var(--color-secondary);
    transform: skewX(-15deg);
    z-index: -2;
}

.logo-link { text-decoration: none; color: white; display: flex; align-items: center; gap: 12px; }

.navbar-content-area {
    flex: 1;
    padding-left: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }

/* Drodown Menu */
.nav-links li { position: relative; }
.dropdown-menu-donat {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    list-style: none;
    z-index: 1002;
    border-top: 4px solid var(--color-primary);
}
.nav-links li:hover .dropdown-menu-donat {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu-donat li a {
    padding: 10px 25px;
    display: block;
    font-size: 14px;
    font-weight: 600;
}
.dropdown-menu-donat li a:hover {
    background: var(--color-light);
    color: var(--color-primary);
    padding-left: 30px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: 40px;
}

.btn-donate {
    background: var(--color-primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 8px 15px rgba(0, 181, 78, 0.2);
}

.btn-donate:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 181, 78, 0.3);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    height: 750px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=2070') center/cover;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding-left: 10%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

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

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 35px;
    opacity: 0.9;
}

/* ===================================
   FLOATING STATS
   =================================== */

.stats-container {
    display: flex;
    gap: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding: 0 5%;
}

.stat-box {
    flex: 1;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-box:hover { transform: translateY(-10px); }
.stat-box.orange { background: var(--color-secondary); color: white; }
.stat-box.green { background: var(--color-primary); color: white; }

.stat-icon { font-size: 3rem; opacity: 0.8; }
.stat-info h4 { font-size: 2rem; font-weight: 800; margin: 0; }
.stat-info p { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; margin: 0; opacity: 0.8; }

/* ===================================
   CAUSES / PROJECTS
   =================================== */

.section-padding { padding: 120px 0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-dark);
}

.cause-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.cause-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-lg); }

.cause-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.cause-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.cause-card:hover .cause-img img { transform: scale(1.1); }

.cause-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-primary);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 12px;
}

.cause-content { padding: 40px 30px; }
.cause-content h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 14px;
}

.progress-bar-container {
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
}

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

.btn-card {
    display: block;
    text-align: center;
    padding: 15px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    border-radius: 15px;
    transition: var(--transition);
}

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

/* ===================================
   MODERN PAGE STYLES (Consolidated)
   =================================== */

.page-top-modern {
    position: relative; 
    min-height: 420px; 
    background-size: cover; 
    background-position: center;
    background-attachment: fixed; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.page-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.85)); 
    z-index: 1;
}
.page-top-modern .page-content { position: relative; z-index: 2; text-align: center; }
.page-title { 
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 900; 
    color: #fff; 
    margin-bottom: 25px; 
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); 
    animation: fadeInDown 0.8s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.breadcrumb-modern {
    display: inline-flex; align-items: center; gap: 15px; background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px; border-radius: 50px; margin: 0; list-style: none;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.breadcrumb-modern a { color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.breadcrumb-modern .active { color: white; opacity: 0.8; font-weight: 600; }

.category-intro { background: #fff; margin-top: -80px; position: relative; z-index: 10; }
.category-description-card { background: #fff; border-radius: 24px; box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1); padding: 50px; }

/* About / VM Cards */
.vm-card { 
    background: #fff; border-radius: 24px; padding: 50px 40px; 
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.08); transition: all 0.4s ease; 
    border: 2px solid transparent; height: 100%; position: relative;
}
.vm-card:hover { transform: translateY(-10px); border-color: rgba(16, 185, 129, 0.2); }
.vm-icon { 
    width: 80px; height: 80px; background: linear-gradient(135deg, #10b981, #059669); 
    border-radius: 20px; display: flex; align-items: center; justify-content: center; 
    font-size: 36px; color: #fff; margin-bottom: 25px; 
}

/* Counters */
.parallax-section { background-size: cover; background-position: center; background-attachment: fixed; position: relative; overflow: hidden; }
.parallax-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.9)); }
.counter-card-white { 
    background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); 
    border: 2px solid rgba(255, 255, 255, 0.2); border-radius: 20px; padding: 40px 30px; 
    text-align: center; transition: 0.3s;
}
.counter-white { font-size: 44px; font-weight: 900; color: #fff; margin-bottom: 5px; }

/* Donation Card Modern Variant */
.donation-card-modern {
    background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); height: 100%; display: flex; flex-direction: column; 
    border: 2px solid transparent;
}
.donation-card-modern:hover { transform: translateY(-10px); border-color: rgba(16, 185, 129, 0.2); }
.donation-photo-modern { position: relative; height: 260px; overflow: hidden; }
.donation-photo-modern img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.donation-card-modern:hover img { transform: scale(1.1); }

.btn-donate-modern {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #10b981, #059669); color: #fff; padding: 15px;
    border-radius: 12px; font-weight: 700; text-decoration: none; transition: 0.3s;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}
.btn-donate-modern:hover { transform: translateY(-3px); color: white; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); }

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
    .topbar-donat { display: none; }
    .logo-skew-box { width: 220px; top: 0; padding-left: 20px; }
    .navbar-content-area { padding-left: 240px; }
    .nav-links { display: none; }
    .hero-content h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .stats-container { flex-direction: column; margin-top: 20px; padding: 0 20px; }
    .hero-section { height: auto; padding: 100px 0; }
    .hero-content h1 { font-size: 2.5rem; }
}
