/* =====================================================
   Eyüp Sultan Cami Derneği - Ana Stil Dosyası
   Renk Paleti: Koyu Yeşil, Altın, Beyaz, Gri
   ===================================================== */

/* ---- CSS Değişkenleri ---- */
:root {
    --primary: #4A4A4A;       /* Logodaki Ana Gri/Antrasit */
    --primary-dark: #333333;  /* Logodaki Koyu Gölgeler */
    --primary-light: #64748b; /* Yardımcı Gri */
    --accent: #C99B3B;        /* Logodaki Asil Altın */
    --accent-light: #D4B066;  /* Parlak Altın Vurgular */
    --accent-dark: #A67D2B;   /* Koyu Altın/Ocher */
    --white: #FFFFFF;
    --off-white: #F8FAFC;     /* Daha Modern Beyaz */
    --light-gray: #F1F5F9;
    --gray: #94A3B8;
    --dark-gray: #334155;
    --dark: #1E1E1E;          /* Saf Lacivert Yerine Koyu Antrasit */
    --text: #334155;
    --text-light: #64748B;
    --success: #27AE60;
    --error: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-arabic: 'Amiri', serif;
    /* Sabit aksiyon butonları (scroll-top + iletişim): aynı boyut ve dikey kolon */
    --fab-offset-right: 30px;
    --fab-offset-bottom: 30px;
    --fab-size: 48px;
    --fab-stack-gap: 10px;
    /* KVKK bandı açıkken FAB’ları yukarı kaydır (main.js: body.has-kvkk-banner) */
    --fab-banner-extra: 0px;
    /* Site içerik genişliği (form + vitrin aynı) */
    --tig-vitrin-max: 1200px;
    --tig-form-max: var(--tig-vitrin-max);
}

body.has-kvkk-banner {
    --fab-banner-extra: 96px;
}

@media (max-width: 768px) {
    body.has-kvkk-banner {
        --fab-banner-extra: 128px;
    }
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-gray);
}

.container {
    max-width: var(--tig-vitrin-max);
    margin: 0 auto;
    padding: 0 20px;
}

.tig-form-wrap {
    max-width: var(--tig-form-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

/* Vitrin: genelde .container yeter; padding’siz full geniş sarma gerektiğinde kullanılır */
.tig-vitrin-wrap {
    max-width: var(--tig-vitrin-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

/* ---- Utility Classes ---- */
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1100;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switch {
    display: flex;
    gap: 6px;
}

.lang-btn {
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.user-menu-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.user-menu-top a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.user-menu-top a:hover {
    color: var(--accent-light);
}

/* ---- Navigation ---- */
.main-nav {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1100;
    padding: 0;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.main-nav.scrolled {
    padding: 0;
    box-shadow: var(--shadow-lg);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}

.nav-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.98rem;
    flex-shrink: 0;
    margin-right: 15px;
    transition: padding 0.3s ease;
    line-height: 1.35;
}

.scrolled .nav-logo {
    padding: 4px 0;
}

.nav-logo:hover {
    color: var(--primary);
}

/* Header logo: renderPicture <picture><img> — sadece img hedefle (yüksek çözünürlük taşmasın) */
.nav-logo picture {
    display: contents;
}

.nav-logo img,
.nav-logo .logo-img {
    height: 52px;
    max-height: 52px;
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
    display: block;
    transition: height 0.3s ease, max-height 0.3s ease, max-width 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
}

.scrolled .nav-logo img,
.scrolled .nav-logo .logo-img {
    height: 44px;
    max-height: 44px;
    max-width: min(180px, 40vw);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
}

.logo-icon-img {
    height: 48px;
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.auth-card .logo-icon-img {
    height: 35px;
    margin-bottom: 15px;
    max-width: 140px;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    color: var(--text);
    font-weight: 500;
    font-size: 0.88rem;
    position: relative;
    transition: padding 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.scrolled .nav-link {
    padding: 10px 12px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

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

.nav-link.donate-btn {
    background: var(--accent);
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    margin: 6px 0 6px 8px;
    padding: 6px 16px;
    font-weight: 600;
}

.scrolled .nav-link.donate-btn {
    margin: 4px 0 4px 8px;
    padding: 4px 14px;
}

.nav-link.donate-btn::after {
    display: none;
}

.nav-link.donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 162, 78, 0.4);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--primary);
    padding-left: 25px;
}

/* Hamburger
   Z-index hierarchy:
   .top-bar / .main-nav = 1100 (root context)
   .nav-menu (mobile)   = 1095 (within main-nav)
   .nav-overlay          = 1090 (root context, below nav)
   .hamburger            = 1100 (within main-nav, on top)
*/
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    opacity: 1 !important;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    border-radius: 3px;
    transition: var(--transition);
}

/* Nav Overlay — tüm ekranlarda gizli, sadece mobilde .active ile açılır */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1090;
    -webkit-tap-highlight-color: transparent;
}

.nav-overlay.active {
    display: block;
}

/* Nav Search */
.nav-search {
    position: relative;
}

.nav-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-search-input {
    width: 0;
    padding: 8px 0;
    border: none;
    outline: none;
    font-size: 0.88rem;
    font-family: var(--font-body);
    background: transparent;
    transition: width 0.3s ease, padding 0.3s ease;
}

.nav-search.open .nav-search-input {
    width: 180px;
    padding: 8px 12px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
}

.nav-search-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-search-btn:hover {
    color: var(--accent);
}

/* Banner Area — full-width, 1px spacing */
.banner-area {
    width: 100%;
    text-align: center;
    overflow: hidden;
    margin: 1px 0;
    padding: 0;
    line-height: 0;
}

.banner-area img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-item {
    display: block;
    line-height: 0;
}

/* ---- Hero Slider ---- */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 0;
    padding-bottom: 31.25%; /* 600/1920 = 0.3125 → 1920x600 oranını korur */
    background: var(--primary-dark);
}

/* Modern tarayıcılar */
@media (max-width: 768px) {
  .hero-slider { aspect-ratio: 3 / 4; height: auto; padding-bottom: 0; }
  .hero-slider .slider-item { position: absolute; inset: 0; }
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

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

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    pointer-events: none;
}

.slider-content {
    color: var(--white);
    width: 100%;
    padding: 30px 40px;
    background: transparent;
    animation: fadeInUp 0.8s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    pointer-events: auto;
}

.slider-content h1, 
.slider-content h2.h1 {
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.slider-content p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.slider-dots {
    display: none;
}

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

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

/* Slider ok butonları */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
    backdrop-filter: blur(4px);
}
.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    border-color: #fff;
}
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ---- Prayer Times Bar ---- */
.prayer-times-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.prayer-times-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: rgba(201, 162, 78, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.prayer-times-inner {
    display: flex;
    align-items: center;
    gap: 0;
}

.prayer-times-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 25px;
    background: rgba(0, 0, 0, 0.15);
    color: var(--accent-light);
    white-space: nowrap;
    flex-shrink: 0;
}

.prayer-times-title i {
    font-size: 1.3rem;
    color: var(--accent);
}

.prayer-times-title span {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.prayer-times-title small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    color: var(--white);
    margin-top: 2px;
}

.prayer-times-list {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: space-around;
    padding: 0 15px;
}

.prayer-time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 12px;
    position: relative;
    transition: var(--transition);
}

.prayer-time-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.prayer-time-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.prayer-time-item:last-child::after {
    display: none;
}

.prayer-name {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    font-weight: 500;
}

.prayer-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

/* ---- Quick Menu ---- */
.quick-menu {
    padding: 15px 0;
    background: var(--white);
}

.quick-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.quick-menu-item {
    text-align: center;
    padding: 20px 15px;
    border-radius: var(--radius);
    background: var(--off-white);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.quick-menu-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.quick-menu-item i {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.quick-menu-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.quick-menu-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-gray);
}

/* Hızlı menü — tüm ekranlar: 2 satır + “Hepsi” / “Daha az” */
.quick-menu-grid.qm-collapsed .qm-link.qm-clipped {
    display: none !important;
}

.quick-menu-item.quick-menu-expand {
    font: inherit;
    width: 100%;
    border: 2px dashed #c5cdd8;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2f7 100%);
    color: inherit;
}
.quick-menu-item.quick-menu-expand:hover {
    border-color: var(--accent);
    background: linear-gradient(160deg, #fff 0%, #f1f5f9 100%);
}
.quick-menu-item.quick-menu-expand:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.quick-menu-item.quick-menu-expand .qm-expand-icon {
    color: var(--accent);
}

.quick-menu-page-cta {
    margin: 1.25rem 0 0;
    text-align: center;
}
.quick-menu-all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}
.quick-menu-all-link i {
    font-size: 1.05rem;
    color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
    .floating-email,
    .floating-email .floating-text,
    .quick-menu-item,
    .scroll-top {
        transition: none !important;
    }

    .floating-email:hover,
    .floating-email:focus-visible {
        transform: none;
    }
}

/* ---- Sections ---- */
.section {
    padding: 15px 0;
}

.section-alt {
    background: var(--white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

@media (max-width: 576px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .section-header .section-title {
        text-align: left;
    }
    .section-header .section-title h2 {
        font-size: 1.25rem;
    }
    .section-header .btn-sm {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 1.6rem;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
    padding-bottom: 0;
}

.section-title h2::after {
    display: none;
}

.section-title p {
    color: var(--text-light);
    margin-top: 12px;
    font-size: 1.05rem;
}

/* ---- Cards ---- */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 18px;
}

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

.footer-contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 0.88rem;
    color: #d1d1d1;
    line-height: 1.4;
}

.footer-contact-info i {
    color: var(--accent);
    margin-top: 3px;
    font-size: 0.95rem;
    width: 14px;
    text-align: center;
}

.footer-contact-info a:hover {
    color: var(--white);
    text-decoration: underline;
}

.card-body h3 a {
    color: var(--dark);
}

.card-body h3 a:hover {
    color: var(--primary);
}

.card-body p {
    color: var(--text-light);
    font-size: 0.92rem;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--gray);
    padding-top: 15px;
    border-top: 1px solid var(--light-gray);
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: var(--font-body);
    text-align: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(52, 58, 64, 0.4);
    color: var(--white);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--white);
}

.btn-accent:hover {
    box-shadow: 0 4px 15px rgba(201, 162, 78, 0.4);
    color: var(--white);
}

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

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

/* İkincil çerçeve (Bootstrap btn-outline-secondary yerine) */
.btn-outline-secondary {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--dark-gray);
}

.btn-outline-secondary:hover {
    background: var(--light-gray);
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-danger {
    background: linear-gradient(135deg, var(--error), #C0392B);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ---- Forms ---- */
.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

.form-group label .required {
    color: var(--error);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(52, 58, 64, 0.1);
}

.form-control::placeholder {
    color: var(--gray);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.form-hint {
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 6px;
}

.form-error {
    font-size: 0.82rem;
    color: var(--error);
    margin-top: 6px;
}

.form-file {
    position: relative;
    overflow: hidden;
}

.form-file input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.form-file-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px dashed var(--light-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.form-file-label:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.form-file-label i {
    font-size: 1.5rem;
}

/* ---- Alerts ---- */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 20px auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.92rem;
    animation: fadeInDown 0.4s ease;
}

.alert-success {
    background: #D4EDDA;
    color: #155724;
    border-left: 4px solid var(--success);
}

.alert-error {
    background: #F8D7DA;
    color: #721C24;
    border-left: 4px solid var(--error);
}

.alert-warning {
    background: #FFF3CD;
    color: #856404;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #D1ECF1;
    color: #0C5460;
    border-left: 4px solid var(--info);
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 20px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(201, 162, 78, 0.1);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.page-header .breadcrumb a {
    color: var(--accent-light);
}

/* ---- Auth Pages (Login/Register) ---- */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 45px 40px;
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.6s ease;
}

.auth-card.wide {
    max-width: 680px;
}

.auth-card h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.auth-card .logo-icon {
    text-align: center;
    display: block;
    font-size: 3rem;
    margin-bottom: 15px;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--primary);
    font-weight: 600;
}

/* ---- Pagination ---- */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination {
    display: flex;
    gap: 6px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: var(--white);
}

/* ---- Donation Bank Info ---- */
.bank-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    margin-bottom: 30px;
}

.bank-info-card h3 {
    color: var(--accent-light);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.bank-detail {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bank-detail:last-child {
    border-bottom: none;
}

.bank-detail .label {
    opacity: 0.8;
    font-size: 0.9rem;
}

.bank-detail .value {
    font-weight: 700;
    font-size: 1rem;
}

/* ---- Event Card ---- */
.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    text-align: center;
    padding: 8px 12px;
    min-width: 60px;
}

.event-date-badge .day {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.event-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ---- Meeting Card ---- */
.meeting-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.meeting-card:hover {
    box-shadow: var(--shadow-hover);
}

.meeting-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.meeting-card .meta {
    display: flex;
    gap: 20px;
    color: var(--gray);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.meeting-card .meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ---- Tables ---- */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.data-table thead {
    background: var(--primary);
}

.data-table th {
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--white);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.9rem;
}

.data-table tbody tr:hover {
    background: rgba(52, 58, 64, 0.03);
}

.data-table .status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

.status-active,
.status-paid,
.status-confirmed {
    background: #D4EDDA;
    color: #155724;
}

.status-pending {
    background: #FFF3CD;
    color: #856404;
}

.status-overdue,
.status-rejected {
    background: #F8D7DA;
    color: #721C24;
}

.status-suspended {
    background: var(--light-gray);
    color: var(--gray);
}

/* ---- Two Column Layout ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.two-col-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* ---- Footer ---- */
.site-footer {
    background: var(--dark-gray);
    color: var(--white);
    position: relative;
}

/* Kompakt tema (canlı footer — altın şerit + yoğunluk) */
.site-footer.site-footer--compact {
    background-color: #4a4a4a;
    color: #fff;
    border-top: 4px solid var(--accent);
    overflow-x: clip;
}

.site-footer.site-footer--compact .footer-main {
    padding: 36px 0 22px;
}

.site-footer.site-footer--compact .footer-col h3 {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 10px;
}

.site-footer.site-footer--compact .footer-site-name {
    color: #fff;
    font-weight: 800;
    font-size: clamp(0.88rem, 2.4vw, 1.12rem);
    line-height: 1.25;
}

.site-footer.site-footer--compact .footer-links a {
    color: rgba(255, 255, 255, 0.88);
}

.site-footer.site-footer--compact .footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.site-footer.site-footer--compact .social-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent);
    margin-right: 0;
}

.site-footer.site-footer--compact .social-btn:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(201, 155, 59, 0.35);
}

.site-footer.site-footer--compact .footer-contact-info p i {
    color: var(--accent);
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 16px;
}

.footer-copyright,
.footer-credit {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.85;
    word-break: break-word;
    max-width: 100%;
}

.footer-credit-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-credit-link:hover {
    text-decoration: underline;
}

.footer-main {
    padding: 50px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr; /* Branding sütununa daha fazla yer aç */
    gap: 28px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    transition: var(--transition);
    text-decoration: none;
}

.footer-logo img {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
    flex-shrink: 0;
    background: var(--white);
    padding: 5px; /* (60-50)/2 = 5px padding */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    display: block;
}

.footer-logo span {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.25;
    max-width: min(220px, 100%);
    letter-spacing: -0.01em;
}

.footer-logo:hover img {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Eski tekil ikon stillerini temizle */
.footer-logo .logo-icon {
    display: none;
}

.footer-desc {
    opacity: 0.8;
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 5px;
}

.footer-col h3 {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 12px;
    position: relative;
    font-weight: 700;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--accent);
    font-weight: 700;
}

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

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

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

.social-btn:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.site-footer.site-footer--compact .footer-bottom {
    padding: 12px 0 16px;
    opacity: 1;
}

/* ---- Scroll Top ---- */
.scroll-top {
    position: fixed;
    bottom: calc(var(--fab-offset-bottom) + var(--fab-banner-extra));
    right: var(--fab-offset-right);
    width: var(--fab-size);
    height: var(--fab-size);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

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

.scroll-top:hover {
    transform: translateY(-3px) scale(1.1);
}

/* ---- Floating contact (mailto) — scroll ile aynı sağ kolon / aynı boyut (--fab-size); zarf sol, metin sağ ---- */
.floating-email {
    position: fixed;
    bottom: calc(var(--fab-offset-bottom) + var(--fab-size) + var(--fab-stack-gap) + var(--fab-banner-extra));
    right: var(--fab-offset-right);
    z-index: 998;
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    height: var(--fab-size);
    width: max-content;
    max-width: var(--fab-size);
    padding: 0;
    border-radius: 999px;
    background: #fff;
    border: 1.5px solid rgba(201, 155, 59, 0.45);
    color: var(--primary);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
    text-decoration: none;
    overflow: hidden;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: max-width 0.32s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.2s ease, transform 0.2s ease;
}

.floating-email > i {
    flex: 0 0 var(--fab-size);
    width: var(--fab-size);
    height: var(--fab-size);
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.floating-email .floating-text {
    display: block;
    flex: 0 0 0;
    min-width: 0;
    max-width: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-width 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.22s ease 0.04s, padding 0.22s ease;
}

.floating-email:hover,
.floating-email:focus-visible {
    max-width: min(240px, calc(100vw - 40px));
    border-color: var(--accent);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(201, 155, 59, 0.15);
    transform: translateY(-2px);
    outline: none;
}

.floating-email:hover .floating-text,
.floating-email:focus-visible .floating-text {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    max-width: 168px;
    min-height: var(--fab-size);
    opacity: 1;
    /* zarf solda, metin sağda — sağ kenara nefes, ikonla arada boşluk */
    padding: 0 14px 0 10px;
}

.floating-email:focus-visible {
    box-shadow: 0 0 0 2px rgba(201, 155, 59, 0.35), 0 10px 28px rgba(15, 23, 42, 0.1);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Utility ---- */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--gray);
}

.text-success {
    color: var(--success);
}

.text-error {
    color: var(--error);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 25px;
}

.mt-5 {
    margin-top: 2.5rem;
}

.p-2 {
    padding: 20px;
}

.p-3 {
    padding: 30px;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-4 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.gap-1 {
    gap: 10px;
}

.gap-2 {
    gap: 20px;
}

.gap-3 {
    gap: 12px;
}

.text-start {
    text-align: left;
}

.hidden {
    display: none !important;
}

/* =====================================================
   YENİ MODÜL STİLLERİ
   ===================================================== */

/* -- Logo (genel; header için .nav-logo img yukarıda) -- */
.logo-img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.logo-text {
    font-size: 0.85rem;
    text-align: left;
    line-height: 1.25;
    max-width: 150px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* -- Duyurular -- */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.announcement-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.announcement-card.pinned {
    border-left: 4px solid var(--accent);
}

.pin-badge,
.member-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.member-badge {
    background: var(--primary);
    right: auto;
    left: 15px;
}

.announcement-content {
    display: flex;
    gap: 20px;
    padding: 25px;
}

.announcement-image {
    flex: 0 0 200px;
}

.announcement-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.announcement-text {
    flex: 1;
}

.announcement-text h3 a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}

.announcement-text h3 a:hover {
    color: var(--primary);
}

.announcement-meta {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* -- Galeri -- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.gallery-album-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-album-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.album-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.gallery-album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-placeholder {
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray);
}

.album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
}

.album-count {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
}

.album-info {
    padding: 15px;
}

.album-info h3 {
    margin: 0 0 5px;
    font-size: 1.1rem;
}

.album-info p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.gallery-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--white);
}

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

.gallery-item-overlay i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-sm);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    padding: 15px;
}

.lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
}

.lightbox-caption {
    color: var(--white);
    margin-top: 10px;
    font-size: 0.9rem;
}

/* -- Yönetim Kurulu -- */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.board-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 20px 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.board-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.board-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    border: 3px solid var(--accent);
}

.board-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gray);
}

.board-info h3 {
    margin: 0 0 5px;
    color: var(--text);
}

.board-title {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.board-info p {
    margin-top: 10px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* -- Üye/Öğrenci Paneli -- */
.member-welcome {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
    padding: 30px 35px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--accent);
}

.avatar-circle {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(201, 162, 78, 0.3);
}

.member-info h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
}

.member-info p {
    margin: 4px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.member-info p i {
    color: var(--accent);
    width: 18px;
}

.member-info .btn-outline {
    color: #ffffff;
    border-color: var(--accent);
    margin-top: 10px;
}

.member-info .btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Panel liste: thumbnail destekli */
.panel-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.panel-list-item:last-child {
    border-bottom: none;
}

.panel-list-thumb {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--light-gray);
}

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

.panel-list-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
}

.panel-list-text {
    flex: 1;
    min-width: 0;
}

.panel-list-text a {
    display: block;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.panel-list-text a:hover {
    color: var(--accent);
}

.panel-list-text small {
    color: #888;
    font-size: 0.8rem;
}

.member-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.member-panel-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
}

.panel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 12px;
}

.panel-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.panel-list li:last-child {
    border-bottom: none;
}

.panel-list li a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.panel-list li a:hover {
    color: var(--primary);
}

.panel-list li small {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 3px;
}

/* -- Stats Grid -- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

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

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
}

.stat-content span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* -- Banner Alanları -- */
.banner-area {
    text-align: center;
    margin: 15px 0;
}

.banner-area img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
}

.banner-item {
    display: inline-block;
    margin: 5px;
}

/* -- İslam Tanıtım -- */
.islam-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
}

.islam-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.islam-topic-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.islam-topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.topic-image {
    height: 180px;
    overflow: hidden;
}

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

.topic-icon {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.islam-topic-card h3 {
    padding: 15px 20px 5px;
    margin: 0;
}

.islam-topic-card p {
    padding: 0 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* -- FAQ -- */
.section-alt {
    background: var(--off-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 25px;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text);
    transition: background 0.3s;
    font-family: inherit;
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-answer {
    max-height: none;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* -- Content Detail -- */
.content-detail {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.detail-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.detail-image {
    margin-bottom: 25px;
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.detail-content {
    line-height: 1.8;
    color: var(--text);
}

.detail-content p {
    margin-bottom: 15px;
}

.detail-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

/* -- Admin Gallery Grid -- */
.gallery-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 15px;
}

.gallery-admin-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.gallery-admin-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.gallery-admin-item .btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.video-thumb {
    background: var(--dark);
    color: var(--white);
    padding: 20px;
    text-align: center;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* -- Mini Table -- */
.mini-table {
    font-size: 0.85rem;
}

.mini-table th,
.mini-table td {
    padding: 8px 10px;
}

/* -- Pagination -- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    font-weight: 500;
}

.page-link:hover,
.page-link.active {
    background: var(--primary);
    color: var(--white);
}

/* -- Empty State -- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.4;
    display: block;
}

/* -- Admin / üye alanı kartı (toplantı detay vb.; admin.css yüklü değilken) -- */
.admin-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--light-gray);
    margin-bottom: 1rem;
    overflow: hidden;
}

/* -- Admin Card Header -- */
.admin-card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-header h3 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* -- Admin Tabs -- */
.admin-tabs .btn {
    border-radius: 20px;
}

/* -- Form Hint -- */
.form-hint {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 5px;
}

/* -- Copy Button (IBAN/SWIFT) -- */
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.78rem;
    font-family: var(--font-body);
    transition: var(--transition);
    margin-left: 8px;
    white-space: nowrap;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.copy-btn.copied {
    background: var(--success);
    border-color: var(--success);
}

/* -- Newsletter Section -- */
.newsletter-section {
    background: var(--accent);
    padding: 32px 0;
    text-align: center;
    color: var(--primary-dark);
}

.newsletter-section .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
}

.newsletter-section h3 {
    color: var(--primary-dark);
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
    margin-bottom: 6px;
}

.newsletter-section p {
    color: var(--primary-dark);
    opacity: 0.9;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
    min-width: 0;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    background: var(--primary-dark);
    color: var(--accent);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: var(--accent);
    opacity: 0.6;
}

.newsletter-form input:focus {
    border-color: #000;
    background: #1a1a1a;
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary-dark);
    color: var(--accent);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #444;
    color: var(--accent-light);
    transform: translateY(-2px);
}

/* -- Search Box (Header) -- */
.nav-search {
    position: relative;
    margin-left: auto;
    margin-right: 10px;
}

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

.nav-search-input {
    width: 0;
    padding: 8px 0;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
    transition: width 0.3s ease, padding 0.3s ease;
}

.nav-search.open .nav-search-input {
    width: 200px;
    padding: 8px 14px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    background: var(--off-white);
}

.nav-search-btn {
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-search-btn:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .nav-search {
        margin: 0;
        padding: 10px 16px;
    }

    .nav-search.open .nav-search-input {
        width: 100%;
    }

    .newsletter-form {
        flex-direction: column;
        padding: 0;
    }

    .phone-birth-grid {
        grid-template-columns: 1fr !important;
    }
}



/* ---- Share Buttons ---- */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.share-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.share-facebook {
    background: #1877F2;
}

.share-twitter {
    background: #000000;
}

.share-whatsapp {
    background: #25D366;
}

.share-email {
    background: var(--gray);
}

.share-print {
    background: var(--primary);
}

/* ---- Prayer Times Bar ---- */
.prayer-times-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 0;
}

.prayer-times-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 16px 0;
}

.prayer-times-title {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.prayer-times-title i {
    font-size: 1.4rem;
    color: var(--accent);
}

.prayer-times-title span {
    font-weight: 700;
    font-size: 1rem;
}

.prayer-times-title small {
    font-size: 0.78rem;
    opacity: 0.7;
}

.prayer-times-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.prayer-time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    min-width: 80px;
    transition: var(--transition);
}

.prayer-time-item:hover {
    background: rgba(255, 255, 255, 0.18);
}

.prayer-name {
    font-size: 0.72rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.prayer-value {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-light);
}

/* ---- KVKK Cookie Banner ---- */
.kvkk-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.97);
    color: var(--white);
    padding: 18px 20px;
    z-index: 9998;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.kvkk-banner p {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.kvkk-banner a {
    color: var(--accent-light);
    text-decoration: underline;
}

.kvkk-banner a:hover {
    color: var(--accent);
}

.kvkk-accept-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.kvkk-accept-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ---- Card Clickable ---- */
.card-clickable {
    cursor: pointer;
}

/* ---- Responsive Prayer Times ---- */
@media (max-width: 768px) {
    .prayer-times-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .prayer-times-list {
        justify-content: center;
    }

    .prayer-time-item {
        padding: 6px 12px;
        min-width: 70px;
    }

    .prayer-name {
        font-size: 0.65rem;
    }

    .prayer-value {
        font-size: 0.92rem;
    }

    .share-buttons {
        justify-content: center;
    }

    .kvkk-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
}

/* ---- Size Hint ---- */
.size-hint {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E8F4FD;
    color: #0C5460;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 5px;
}

.size-hint i {
    font-size: 0.7rem;
}

/* ---- Membership Terms Box ---- */
.membership-terms-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-left: 4px solid var(--primary, #1a5e1a);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.membership-terms-box h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary, #1a5e1a);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-terms-box h3 i {
    font-size: 1.4rem;
}

.copy-btn {
    background: rgba(108, 117, 125, 0.08);
    border: 1px solid rgba(108, 117, 125, 0.2);
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
    color: #6c757d;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
    opacity: 0.7;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.copy-btn:hover {
    background: var(--primary, #1a5e1a);
    color: #fff;
    border-color: var(--primary, #1a5e1a);
    opacity: 1;
    transform: translateY(-1px);
}

.copy-btn.copied {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
    opacity: 1;
}

.terms-content {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
    font-size: 0.88rem;
    line-height: 1.7;
    color: #495057;
}

.terms-content::-webkit-scrollbar {
    width: 5px;
}

.terms-content::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: var(--primary, #1a5e1a);
    border-radius: 4px;
}

.terms-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.terms-content ul li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.terms-content ul li i {
    color: var(--primary, #1a5e1a);
    margin-top: 3px;
    flex-shrink: 0;
}

.bank-details-mini {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    font-size: 0.88rem;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
    transition: background 0.2s ease;
    border-radius: 6px;
    margin-bottom: 2px;
}

.bank-row:hover {
    background: rgba(56, 56, 56, 0.02);
}

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

.bank-row span {
    color: #495057;
    min-width: 115px;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bank-row strong {
    color: #212529;
    text-align: right;
    word-break: break-word;
    flex: 1;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.terms-accept-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.terms-accept-group:hover {
    border-color: var(--primary, #1a5e1a);
    box-shadow: 0 0 0 3px rgba(26, 94, 26, 0.1);
}

.terms-accept-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary, #1a5e1a);
    flex-shrink: 0;
}

.terms-accept-group span {
    font-size: 0.88rem;
    color: #495057;
    font-weight: 500;
}

@media (max-width: 768px) {
    .membership-terms-box {
        padding: 16px;
        margin: 15px 0;
    }

    .membership-terms-box h3 {
        font-size: 1.1rem;
    }

    .bank-row {
        flex-direction: column;
        gap: 2px;
    }

    .bank-row strong {
        text-align: left;
    }
}

/* ---- Modern Contact Page Styles ---- */
.contact-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 80px 0;
    margin-bottom: 0;
    border-bottom: none;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.hero-desc {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.contact-section {
    background: #fdfdfd;
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

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

.contact-card, .info-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover, .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.card-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.card-subtitle {
    color: #777;
    margin-bottom: 35px;
    font-size: 1rem;
}

.modern-contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fbfbfb;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    outline: none;
}

.submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 16px 35px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
    font-size: 1rem;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-list li i {
    width: 50px;
    height: 50px;
    background: rgba(26, 75, 47, 0.05);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info-list li strong {
    display: block;
    font-size: 0.85rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.contact-info-list li p {
    margin: 0;
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

.hours-content {
    line-height: 1.8;
    color: #555;
    font-size: 1rem;
}

/* Map Section */
.map-section-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    margin-top: 20px;
}

.directions-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.banner-text h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 800;
}

.banner-text p {
    margin: 5px 0 0;
    color: #555;
    font-size: 1.05rem;
}

.btn-directions-premium {
    background: var(--primary);
    color: #fff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-directions-premium:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.02);
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.contact-map-full iframe {
    width: 100% !important;
    height: 550px !important;
    border: none;
    display: block;
}

/* Responsiveness */
@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .contact-card, .info-card {
        padding: 30px 20px;
    }

    .modern-contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .directions-banner-overlay {
        position: relative;
        bottom: auto;
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 35px 20px;
        background: #fff;
    }

    .btn-directions-premium {
        width: 100%;
        justify-content: center;
    }
    
    .contact-map-full iframe {
        height: 400px !important;
    }
}