:root {
    --primary: #176b3a;
    --primary-dark: #0f4f2b;
    --primary-light: #eaf7ee;
    --primary-soft: #f4fbf6;

    --white: #ffffff;
    --text: #183127;
    --muted: #66756d;
    --border: rgba(23, 107, 58, 0.12);

    --shadow-sm: 0 6px 20px rgba(15, 79, 43, 0.08);
    --shadow-md: 0 16px 40px rgba(15, 79, 43, 0.14);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container: 1180px;
}

/* Genel sıfırlama */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--white);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* Üst menü */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    box-shadow: 0 3px 18px rgba(15, 79, 43, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-container {
    width: min(var(--container), calc(100% - 40px));
    min-height: 88px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Logo alanı */

.site-brand {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;
    flex-shrink: 0;
}

.site-logo {
    width: 62px;
    height: 62px;

    object-fit: contain;
    border-radius: 50%;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.site-brand:hover .site-logo {
    transform: scale(1.04);
    filter: drop-shadow(0 5px 10px rgba(23, 107, 58, 0.2));
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    color: var(--primary-dark);
    font-size: 1.04rem;
    line-height: 1.25;
    white-space: nowrap;
}

.brand-text small {
    margin-top: 3px;

    color: var(--primary);
    font-size: 0.71rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Ana navigasyon */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 19px;
}

.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 5px;

    min-height: 44px;

    color: var(--text);
    background: transparent;
    border: none;

    font-size: 0.91rem;
    font-weight: 700;
    white-space: nowrap;

    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;

    height: 2px;
    border-radius: 999px;
    background: var(--primary);

    transition: right 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    right: 0;
}

/* Kurumsal açılır menü */

.nav-dropdown {
    position: relative;
}

.dropdown-button {
    padding: 0;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;

    width: 230px;
    padding: 10px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);

    transition:
        opacity 0.22s ease,
        visibility 0.22s ease,
        transform 0.22s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.dropdown-menu::before {
    content: "";

    position: absolute;
    top: -7px;
    left: 50%;

    width: 14px;
    height: 14px;

    background: var(--white);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);

    transform: translateX(-50%) rotate(45deg);
}

.dropdown-menu a {
    position: relative;
    z-index: 1;

    display: block;
    padding: 11px 13px;

    color: var(--text);
    border-radius: var(--radius-sm);

    font-size: 0.9rem;
    font-weight: 700;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        padding-left 0.2s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    color: var(--primary-dark);
    background: var(--primary-light);
    padding-left: 17px;
}

/* UGBS butonu */

.ugbs-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 0 18px;

    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;

    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;

    box-shadow: 0 9px 22px rgba(23, 107, 58, 0.2);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.ugbs-header-button:hover,
.ugbs-header-button:focus-visible {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 13px 27px rgba(15, 79, 43, 0.25);
}

/* Mobil menü butonu */

.mobile-menu-button {
    display: none;

    width: 46px;
    height: 46px;
    padding: 10px;

    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 12px;

    cursor: pointer;
}

.mobile-menu-button span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 5px 0;

    background: var(--primary-dark);
    border-radius: 999px;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* Genel kullanılacak yardımcı sınıflar */

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 86px 0;
}

.section-soft {
    background: var(--primary-soft);
}

.section-title {
    margin-bottom: 18px;

    color: var(--primary-dark);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
}

.section-description {
    max-width: 720px;

    color: var(--muted);
    font-size: 1.03rem;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 24px;

    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;

    font-weight: 800;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.primary-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 24px;

    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--primary);
    border-radius: 12px;

    font-weight: 800;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.secondary-button:hover {
    color: var(--white);
    background: var(--primary);
    transform: translateY(-2px);
}

/* Erişilebilir odak görünümü */

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(23, 107, 58, 0.25);
    outline-offset: 3px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    margin-top: 80px;
    color: #eaf5ee;
    background:
        linear-gradient(
            135deg,
            rgba(6, 53, 30, 0.98),
            rgba(14, 91, 51, 0.98)
        );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.2fr 1fr;
    gap: 42px;
    padding-top: 64px;
    padding-bottom: 52px;
}

.footer-column h2,
.footer-column h3 {
    color: var(--white);
}

.footer-column h2 {
    margin-top: 16px;
    font-size: 1.35rem;
    line-height: 1.3;
}

.footer-column h3 {
    position: relative;
    margin-bottom: 24px;
    padding-bottom: 12px;
    font-size: 1.04rem;
}

.footer-column h3::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 42px;
    height: 3px;

    background: #74bd78;
    border-radius: 999px;
}

.footer-main-logo {
    width: 92px;
    height: 92px;
    padding: 5px;

    object-fit: contain;

    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.footer-about > p {
    margin-top: 4px;
    color: #d5eadc;
    font-weight: 700;
}

.footer-description {
    max-width: 330px;
    margin-top: 18px !important;

    color: #bdd7c6 !important;
    font-size: 0.93rem;
    font-weight: 400 !important;
    line-height: 1.75;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.footer-links a {
    position: relative;

    color: #d5eadc;
    font-size: 0.93rem;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}

.footer-links a::before {
    content: "›";

    position: absolute;
    left: 0;

    color: #83c888;
    opacity: 0;

    transition: opacity 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--white);
    padding-left: 14px;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
    opacity: 1;
}

.footer-contact {
    font-style: normal;
}

.footer-contact p,
.working-hours p {
    margin-bottom: 19px;

    color: #c6dfce;
    font-size: 0.92rem;
    line-height: 1.7;
}

.footer-contact strong,
.working-hours strong {
    display: block;
    margin-bottom: 5px;

    color: var(--white);
    font-size: 0.89rem;
}

.footer-contact a {
    display: block;
    width: fit-content;

    color: #d7ebdd;

    transition: color 0.2s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: var(--white);
}

.footer-official-logos {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 26px;
}

.footer-official-logos img {
    width: 76px;
    height: 76px;
    padding: 4px;

    object-fit: contain;

    background: var(--white);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.22);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-official-logos img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(0, 0, 0, 0.08);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    min-height: 72px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.footer-bottom-content p {
    color: #bdd7c6;
    font-size: 0.79rem;
    line-height: 1.55;
}

.footer-bottom-content p:last-child {
    text-align: right;
}

/* =========================================================
   ANA SAYFA
========================================================= */

.hero-section {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        url("/assets/images/slider.jpg")
        center center / cover
        no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(255, 255, 255, 0.86) 38%,
            rgba(255, 255, 255, 0.34) 68%,
            rgba(0, 0, 0, 0.08) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
    padding-bottom: 90px;
}

.hero-label,
.section-label,
.card-label {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 760px;
    margin-top: 16px;
    margin-bottom: 24px;
    color: var(--text);
    font-size: clamp(3rem, 6vw, 5.4rem);
    line-height: 1.02;
}

.hero-content h1 span {
    display: block;
    color: #56a85b;
}

.hero-description {
    max-width: 600px;
    color: #47594f;
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Ana sayfa kartları */

.homepage-cards-section {
    padding: 34px 0 12px;
    background: var(--white);
}

.homepage-cards-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 20px;
}

.homepage-card {
    min-height: 220px;
    padding: 30px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            var(--primary-light)
        );
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ugbs-card {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.card-icon,
.statistic-icon {
    flex: 0 0 auto;
    font-size: 2.6rem;
    line-height: 1;
}

.card-content h2 {
    margin: 5px 0 12px;
    color: var(--primary-dark);
    font-size: 1.55rem;
    line-height: 1.25;
}

.card-content p,
.statistic-card p {
    color: var(--muted);
}

.card-link {
    display: inline-flex;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 900;
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.card-link:hover {
    color: var(--primary-dark);
    transform: translateX(4px);
}

.statistic-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.statistic-card strong {
    display: block;
    margin: 8px 0 10px;
    color: #4e9b54;
    font-size: 4rem;
    line-height: 1;
}

/* Kur'an kursumuz */

.introduction-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 58px;
    align-items: center;
}

.introduction-content .primary-button {
    margin-top: 28px;
}

.introduction-features {
    display: grid;
    gap: 16px;
}

.introduction-features article {
    padding: 23px;
    background: var(--primary-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.introduction-features h3 {
    margin-bottom: 7px;
    color: var(--primary-dark);
}

.introduction-features p {
    color: var(--muted);
}

/* Haberler */

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 30px;
}

.section-heading-row .section-title {
    margin-bottom: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.news-image-placeholder {
    min-height: 215px;
    display: grid;
    place-items: center;
    color: var(--primary);
    background:
        linear-gradient(
            135deg,
            #dcefe1,
            #f7fbf7
        );
    font-weight: 800;
}

.news-card-content {
    padding: 22px;
}

.news-card-content time {
    color: #809087;
    font-size: 0.82rem;
}

.news-card-content h3 {
    margin: 9px 0 12px;
    color: var(--text);
    font-size: 1.18rem;
    line-height: 1.4;
}

.news-card-content p {
    color: var(--muted);
    font-size: 0.94rem;
}

.news-card-content a {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 900;
}

.animated-counter {
    display: black;
    min-width: 90px;
    font-variant-numeric:
tabular-nums;
}