:root {
    --primary:   #1a4d2e;
    --primary-light: #2d6b42;
    --gold:      #c5a059;
    --gold-light:#e8c97a;
    --bg:        #f5f3ee;
    --card-bg:   #ffffff;
    --text:      #2c3428;
    --muted:     #7a7a6a;
    --border:    rgba(26,77,46,0.1);
    --radius:    14px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
    --transition: all 0.28s ease;

    /* ✏️ FONT DEĞİŞTİRMEK İÇİN SADECE BU SATIRI DEĞİŞTİR: */
    --font-main: 'Montserrat', sans-serif;
    /* Seçenekler: 'Montserrat' | 'Poppins' | 'Roboto' | 'Inter' | 'Open Sans' | 'Amiri' */
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(160deg, #122e1c 0%, #1a4d2e 55%, #26633c 100%);
    color: white;
    padding: 5rem 1.5rem 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle arabesque pattern in header */
header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Gold top border */
header::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}

/* Wave bottom */
.header-wave {
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%;
    line-height: 0;
}
.header-wave svg { display: block; width: 100%; }

.header-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.header-badge {
    display: inline-block;
    background: rgba(197,160,89,0.18);
    border: 1px solid rgba(197,160,89,0.4);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

h1 {
    font-family: var(--font-main);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 span {
    color: var(--gold-light);
}

.subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== SECTION TITLE ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.section-divider::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-divider span {
    font-size: 1.1rem;
    color: var(--gold);
}

/* ===== MAIN ===== */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

/* ===== GRID ===== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* ===== CARD ===== */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #0f3320, var(--primary), #2d6b42);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(197,160,89,0.3);
}

.card:hover::after {
    transform: scaleX(1);
}

/* ===== ICON ===== */
.icon-container {
    display: none; /* Kapak fotoğları aktifken gizli */
}

/* ===== COVER ===== */
.cover-container {
    width: 100%;
    margin-bottom: 1.2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 3 / 4;
    background-color: #ddd;
    position: relative;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.card:hover .cover-img {
    transform: scale(1.05);
}

/* ===== CARD TITLE ===== */
.card h3 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    padding: 0 0.2rem;
}

/* ===== BUTTONS ===== */
.btn-group {
    display: flex;
    gap: 0.6rem;
    width: 100%;
    margin-top: auto;
}

.btn {
    flex: 1;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(26,77,46,0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #122e1c 0%, var(--primary) 100%);
    box-shadow: 0 4px 14px rgba(26,77,46,0.35);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* ===== FOOTER ===== */
footer {
    background: #111c15;
    color: rgba(255,255,255,0.55);
    text-align: center;
    padding: 2.5rem 1rem;
    margin-top: 5rem;
    font-size: 0.85rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
}

.footer-divider {
    width: 40px;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
    margin: 1.2rem auto;
}

footer p { margin-bottom: 0.3rem; }

.footer-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    letter-spacing: 0.04em;
    margin: 2rem 0 1rem;
    direction: rtl;
}

.footer-dua-tr {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
    margin-bottom: 0.8rem;
}

.footer-note {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.4rem;
    margin-bottom: 90px;
}

.footer-copy {
    margin-top: 3rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
}

/* SVG global */
svg { width: 24px; height: 24px; flex-shrink: 0; }
.icon-lg { width: 32px; height: 32px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    header { padding: 3.5rem 1rem 6rem; }
    .grid-container { grid-template-columns: 1fr; gap: 1.2rem; }
    .card { padding: 1.2rem 1.2rem 1.5rem; }
    main { padding: 3rem 1.2rem 1rem; }
    .btn { font-size: 0.8rem; padding: 0.6rem 0.5rem; }
}

/* ===== SHARE BUTTON ===== */
.btn-share {
    flex: 0 0 auto;
    padding: 0.6rem 0.7rem;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    border: 1.5px solid rgba(26,77,46,0.18);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 600;
    gap: 0.3rem;
}

.btn-share svg { width: 14px; height: 14px; }

.btn-share:hover {
    background: #f0f7f2;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-share.copied {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #1a4d2e;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ===== FLOATING WHATSAPP CHANNELS ===== */
.floating-channels {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
}

.channel-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #25D366;
    overflow: hidden;
    padding: 5px;
    opacity: 1;
}

.channel-btn:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.channel-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.channel-btn.v1 img{ height: 50px; width: auto; border-radius: 0;}
.channel-btn.v1{ width: auto; height: fit-content; border-radius: 10px;}
.channel-btn.v2 img{ height: 50px; width: auto; border-radius: 0;}
.channel-btn.v2{ width: auto; height: fit-content; border-radius: 10px;}

.channel-btn .wa-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #25D366;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.channel-btn .wa-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .floating-channels {
        bottom: 1rem;
        right: 1rem;
        gap: 0.8rem;
    }
    
    .channel-btn {
        width: 50px;
        height: 50px;
    }

    .channel-btn .wa-icon {
        width: 20px;
        height: 20px;
        bottom: -3px;
        right: -3px;
    }
    
    .channel-btn .wa-icon svg {
        width: 11px;
        height: 11px;
    }
}
