@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/roboto-condensed/cyrillic-ext-19-7DRs5.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/roboto-condensed/cyrillic-19a7DRs5.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/roboto-condensed/greek-ext-1967DRs5.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/roboto-condensed/greek-19G7DRs5.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(/assets/fonts/roboto-condensed/vietnamese-1927DRs5.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url(/assets/fonts/roboto-condensed/latin-ext-19y7DRs5.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300 800;
  font-display: optional;
  src: url(/assets/fonts/roboto-condensed/latin-8-19K7DQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* Proje genel stil iyilestirmeleri */
:root {
    --site-font: 'Roboto Condensed', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-family: var(--site-font);
}

/* Temel Arapça RTL: layout bozmadan metin yönü */
html[dir='rtl'] body {
    direction: rtl;
    text-align: right;
}

html[dir='rtl'] .prose {
    text-align: right;
}

body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li,
label,
button,
input,
select,
textarea,
table {
    font-family: var(--site-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-weight: 400;
    line-height: 1.7;
}

button {
    font-weight: 700;
}

#site-header.header-scrolled {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #eab308; /* Tailwind yellow-500 */
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

section {
    position: relative;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(18px);
    animation: fadeInUp 1s ease forwards;
}

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

.reveal-section {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* İletişim Sayfası Özel Stilleri */
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}
.text-yellow-vurgu {
    color: #eab308;
}
.bg-yellow-vurgu {
    background-color: #eab308;
}
.bg-yellow-vurgu-10 {
    background-color: rgba(234, 179, 8, 0.1);
}

/* WhatsApp Premium Butonu Stilleri */
.whatsapp-premium-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    font-family: var(--site-font);
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-premium-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.whatsapp-premium-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media (max-width: 640px) {
    .whatsapp-premium-btn {
        bottom: 16px;
        right: 16px;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .whatsapp-premium-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* Sertifikalar — büyük belge önizleme */
.cert-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-preview {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    cursor: zoom-in;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    aspect-ratio: 3 / 4;
    min-height: 420px;
    padding: 0;
}

.cert-preview:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.cert-preview-image,
.cert-preview-pdf {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    background: #fff;
    pointer-events: none;
}

.cert-preview-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.95rem;
    cursor: default;
}

.cert-preview-zoom {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.cert-preview:hover .cert-preview-zoom {
    opacity: 1;
}

.cert-card-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.25rem;
}

.cert-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0f172a;
}

.cert-card-desc {
    margin-top: 0.35rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.cert-download-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.65rem;
    color: #475569;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.cert-download-btn:hover {
    border-color: #2563eb;
    background: #eff6ff;
    color: #1d4ed8;
}

.cert-lightbox {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cert-lightbox.hidden {
    display: none;
}

.cert-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
}

.cert-lightbox-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(960px, 100%);
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.cert-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cert-lightbox-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.cert-lightbox-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-lightbox-download {
    font-size: 0.875rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.cert-lightbox-download:hover {
    color: #1d4ed8;
}

.cert-lightbox-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 0.65rem;
    background: transparent;
    color: #475569;
    cursor: pointer;
}

.cert-lightbox-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cert-lightbox-body {
    flex: 1;
    min-height: 0;
    background: #f1f5f9;
}

.cert-lightbox-body iframe,
.cert-lightbox-body img {
    display: block;
    width: 100%;
    height: min(78vh, 900px);
    border: 0;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 640px) {
    .cert-preview {
        min-height: 360px;
    }

    .cert-lightbox {
        padding: 0.5rem;
    }

    .cert-lightbox-body iframe,
    .cert-lightbox-body img {
        height: min(70vh, 720px);
    }
}
