/* Modern Dernek Web Sitesi Tasarımı */

:root {
    --primary-color: #D4AF37;
    --primary-dark: #B8941F;
    --primary-light: #E5C866;
    --dark-bg: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --light-bg: #ffffff;
    --light-gray: #f5f5f5;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --text-gray: #6c757d;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 15px rgba(212, 175, 55, 0.3);
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

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

body {
    font-family: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-bg);
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar - IBAN ve Hesap Bilgileri */
.top-bar {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Header & Navigation */
header {
    background: var(--gradient-dark);
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

nav .container {
    width: 100%;
}

nav .container > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo a img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.menu li {
    margin: 0;
}

.menu li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 0.85rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.menu li a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
}

.menu li a i {
    font-size: 0.8rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.menu li a span {
    white-space: nowrap;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.menu li a:hover {
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
}

.menu li a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--light-bg);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1.2s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-color);
    color: var(--text-light);
}

.btn-primary {
    background: var(--light-bg);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: var(--dark-bg);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Campaigns Section */
.campaigns {
    padding: 5rem 0;
    background: var(--light-gray);
}

.campaigns h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.campaigns h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.campaign-card {
    background: var(--light-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.campaign-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.campaign-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.progress-bar {
    background-color: #e0e0e0;
    height: 12px;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.progress {
    background: var(--gradient-primary);
    height: 100%;
    transition: width 0.8s ease;
    border-radius: 10px;
    position: relative;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.campaign-card > p:last-child {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.campaign-card > p:last-child strong {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
}

/* Zakat Form */
.zakat-form,
.donation-form {
    max-width: 700px;
    margin: 3rem auto;
    padding: 3rem;
    background: var(--light-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.zakat-form h1,
.donation-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 2.5rem;
}

.zakat-form h2,
.donation-form h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.zakat-form label,
.donation-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.zakat-form input,
.zakat-form select,
.zakat-form textarea,
.donation-form input,
.donation-form select,
.donation-form textarea {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.zakat-form input:focus,
.zakat-form select:focus,
.zakat-form textarea:focus,
.donation-form input:focus,
.donation-form select:focus,
.donation-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.zakat-form button,
.donation-form button {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.zakat-form button:hover,
.donation-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Price Info */
.price-info {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(184, 148, 31, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-light);
}

.price-info h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price-info p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* IBAN Info */
.iban-info {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.iban-info h2 {
    margin-bottom: 1rem;
    color: var(--text-light);
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 0.5rem;
}

.iban-info p {
    margin: 0.75rem 0;
    font-size: 1.1rem;
}

.iban-info strong {
    font-weight: 700;
    display: inline-block;
    min-width: 120px;
}

/* Zakat Result */
.zakat-result {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.zakat-result h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.result-item {
    padding: 1rem;
    margin: 0.75rem 0;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    font-size: 1.1rem;
}

.result-item strong {
    color: var(--text-dark);
    display: inline-block;
    min-width: 200px;
}

.result-item.highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 148, 31, 0.2) 100%);
    border-left-color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
}

/* Responsive */
/* Form Input Focus Styles */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
select,
textarea {
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="file"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Table Styles */
table {
    font-size: 0.95rem;
}

table th {
    font-weight: 600;
}

table td {
    vertical-align: middle;
}

/* Link Hover Effects */
a:hover {
    transition: all 0.3s ease;
}

/* Mobil Menü Toggle Butonu */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--primary-dark);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.menu-wrapper {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: var(--gradient-dark);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
        padding-top: 4rem;
    }

    .menu-wrapper.active {
        right: 0;
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .top-bar {
        font-size: 0.75rem;
        padding: 0.5rem 0;
    }
    
    .top-bar .container > div {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .top-bar .container > div > div:first-child {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    nav .container > div {
        flex-wrap: wrap;
        position: relative;
    }
    
    nav .container > div > div:first-child {
        flex: 1;
        min-width: 0;
    }
    
    .menu-wrapper {
        order: 3;
        width: 100%;
    }
    
    .menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        padding: 1rem 0;
    }
    
    .menu li {
        width: 100%;
    }
    
    .menu li a {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem;
        border-radius: 8px;
        margin-bottom: 0.25rem;
    }
    
    .hero {
        padding: 2rem 0 !important;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .campaign-grid {
        grid-template-columns: 1fr !important;
    }
    
    .campaign-card {
        padding: 1.25rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* Bağış formu mobil */
    form label[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .zakat-form,
    .donation-form {
        padding: 1.5rem;
        margin: 1.5rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.campaign-card {
    animation: slideIn 0.6s ease backwards;
}

.campaign-card:nth-child(1) { animation-delay: 0.1s; }
.campaign-card:nth-child(2) { animation-delay: 0.2s; }
.campaign-card:nth-child(3) { animation-delay: 0.3s; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
