/* ═══════════════════════════════════════════
   HERO / PAGE BANNER
═══════════════════════════════════════════ */
.as-hero {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-color: #1a1a1a;
    padding: 210px 0 100px;
    overflow: hidden;
}
@media (max-width: 640px) { .as-hero { padding: 160px 0 80px; } }
@media (min-width: 1200px) { .as-hero { padding: 240px 0 100px; } }

.as-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(20,12,6,0.78) 0%,
        rgba(20,12,6,0.55) 60%,
        rgba(20,12,6,0.72) 100%
    );
}
.as-hero__body {
    position: relative;
    z-index: 1;
}
.as-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.as-hero__tag-line {
    display: block;
    width: 32px;
    height: 2px;
    background: #e20032;
    border-radius: 2px;
}
.as-hero__tag-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(225,219,200,0.75);
}
.as-hero__title {
    font-size: 40px;
    font-weight: 700;
    color: #f7f1e6;
    line-height: 1.08;
    margin: 0 0 16px;
}
@media (min-width: 640px)  { .as-hero__title { font-size: 54px; } }
@media (min-width: 960px)  { .as-hero__title { font-size: 64px; } }
@media (min-width: 1200px) { .as-hero__title { font-size: 72px; } }

.as-hero__sub {
    font-size: 15px;
    color: rgba(247,241,230,0.55);
    font-weight: 300;
    margin: 0 0 32px;
    max-width: 420px;
    line-height: 1.75;
}
.as-hero__crumb {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: rgba(247,241,230,0.38);
}
.as-hero__crumb a {
    color: rgba(247,241,230,0.5);
    text-decoration: none;
    transition: color 0.35s ease-out;
}
.as-hero__crumb a:hover { color: #e1dbc8; }
.as-hero__crumb-dot {
    width: 3px; height: 3px;
    background: rgba(247,241,230,0.3);
    border-radius: 50%;
    display: inline-block;
}

/* ═══════════════════════════════════════════
   MAIN SECTION
═══════════════════════════════════════════ */
.as-section {
    background: #f5efe4;
    padding: 70px 0 100px;
}
@media (max-width: 640px) { .as-section { padding: 50px 0 70px; } }

/* ── SIDEBAR */
.as-sidebar {
    position: sticky;
    top: 100px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(60,35,15,0.10);
}
.as-sidebar__head {
    background: linear-gradient(135deg, #3d3028 0%, #5a4538 100%);
    padding: 26px 28px 22px;
}
.as-sidebar__head-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.as-sidebar__head-line {
    display: block;
    width: 18px;
    height: 2px;
    background: #e20032;
    border-radius: 2px;
}
.as-sidebar__head-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(225,219,200,0.55);
}
.as-sidebar__head-text {
    font-size: 15px;
    font-weight: 700;
    color: #f7f1e6;
    line-height: 1.3;
    margin: 0;
}
.as-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: #fff;
}
.as-sidebar__list li { margin: 0; }
.as-sidebar__list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #786c65;
    text-decoration: none;
    position: relative;
    transition: background 0.35s ease-out, color 0.35s ease-out;
}
.as-sidebar__list a::before {
    content: '';
    display: block;
    width: 3px;
    height: 0;
    background: #e20032;
    border-radius: 0 2px 2px 0;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: height 0.35s ease-out;
}
.as-sidebar__list a:hover { background: #faf7f1; color: #3d3028; }
.as-sidebar__list a:hover::before { height: 60%; }
.as-sidebar__list a.is-active {
    background: #faf7f1;
    color: #3d3028;
    font-weight: 700;
    padding-left: 20px;
}
.as-sidebar__list a.is-active::before {
    height: 100%;
    width: 4px;
}
.as-sidebar__list a .as-sidebar__label { flex: 1; }
.as-sidebar__list a .as-sidebar__arrow {
    color: #d0c5bb;
    display: flex;
    align-items: center;
    transition: color 0.35s ease-out, transform 0.35s ease-out;
}
.as-sidebar__list a .as-sidebar__arrow svg { display: block; }
.as-sidebar__list a:hover .as-sidebar__arrow { color: #e20032; transform: translateX(4px); }
.as-sidebar__list a.is-active .as-sidebar__arrow { color: rgba(255,255,255,0.7); transform: translateX(4px); }

/* ── CONTENT CARD */
.as-content-card {
    background: #fff;
    border-radius: 16px;
    padding: 44px 48px;
    box-shadow: 0 4px 24px rgba(80,55,30,0.07);
    min-height: 400px;
    font-size: 18px;
    line-height: 1.5;
    color: #786c65;
}
@media (max-width: 960px) { .as-content-card { padding: 36px 32px; font-size: 16px; } }
@media (max-width: 640px) { .as-content-card { padding: 24px 18px; border-radius: 12px; font-size: 16px; line-height: 1.75; } }

/* Başlıklar */
.as-content-card h1 {
    font-size: 26px; font-weight: 800;
    color: #786c65; line-height: 1.2;
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0ebe0;
}
.as-content-card h2 {
    font-size: 20px; font-weight: 700;
    color: #786c65; line-height: 1.25;
    margin: 32px 0 12px;
    display: flex; align-items: center; gap: 10px;
}
.as-content-card h2::before {
    content: '';
    display: inline-block;
    width: 4px; height: 18px;
    background: #e20032;
    border-radius: 2px;
    flex-shrink: 0;
}
.as-content-card h3 {
    font-size: 16px; font-weight: 700;
    color: #786c65; line-height: 1.3;
    margin: 24px 0 8px;
}
@media (max-width: 640px) {
    .as-content-card h1 { font-size: 22px; }
    .as-content-card h2 { font-size: 18px; }
    .as-content-card h3 { font-size: 15px; }
}

/* Paragraf */
.as-content-card p {
    font-size: 18px;
    line-height: 1.85;
    color: #786c65;
    margin-bottom: 18px;
}
@media (max-width: 640px) { .as-content-card p { font-size: 14px; line-height: 1.75; } }

/* Liste */
.as-content-card ul,
.as-content-card ol {
    padding-left: 0;
    margin-bottom: 18px;
    list-style: none;
}
.as-content-card ul li,
.as-content-card ol li {
    font-size: 15px;
    line-height: 1.75;
    color: #5a5048;
    margin-bottom: 8px;
    padding-left: 0px;
    position: relative;
}
.as-content-card ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #e20032;
}
.as-content-card ol { counter-reset: as-ol; }
.as-content-card ol li { counter-increment: as-ol; }
.as-content-card ol li::before {
    content: counter(as-ol);
    position: absolute;
    left: 0; top: 2px;
    font-size: 11px; font-weight: 700;
    color: #e20032;
    line-height: 1;
}
@media (max-width: 640px) {
    .as-content-card ul li,
    .as-content-card ol li { font-size: 14px; }
}

/* Link */
.as-content-card a {
    color: #e20032;
    text-decoration: none;
    transition: color 0.35s ease-out;
}
.as-content-card a:hover { color: #b8002a; }

/* Resim */
.as-content-card img {
    max-width: 100%;
    border-radius: 10px;
    margin: 16px 0;
    box-shadow: 0 4px 16px rgba(80,55,30,0.08);
}

/* Tablo */
.as-content-card table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 14px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(80,55,30,0.06);
}
.as-content-card table th {
    background: #3d3028;
    color: #f7f1e6;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    letter-spacing: 0.04em;
}
.as-content-card table td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0ebe0;
    color: #5a5048;
    text-align: left;
}
.as-content-card table tr:last-child td { border-bottom: none; }
.as-content-card table tr:nth-child(even) td { background: #faf7f1; }
.as-content-card table tr:hover td { background: #f5efe4; }
@media (max-width: 640px) {
    .as-content-card table { font-size: 13px; }
    .as-content-card table th,
    .as-content-card table td { padding: 9px 12px; }
}

/* page image */
.as-page-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(80,55,30,0.1);
}
.as-page-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ═══════════════════════════════════════════
   GALERİ
═══════════════════════════════════════════ */
.as-gallery { margin-bottom: 40px; }

.as-gallery__item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0ebe0;
    box-shadow: 0 2px 14px rgba(60,35,15,0.10);
    display: block;
    transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.as-gallery__item:hover {
    box-shadow: 0 8px 32px rgba(60,35,15,0.20);
}
.as-gallery__img {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.as-gallery__item:hover .as-gallery__img { transform: scale(1.09); }

.as-gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(170deg, rgba(20,12,6,0) 45%, rgba(20,12,6,0.62) 100%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 10px;
}
.as-gallery__item:hover .as-gallery__overlay { opacity: 1; }

.as-gallery__zoom {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(226,0,50,0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: scale(0.7);
    transition: transform 0.35s ease-out;
}
.as-gallery__item:hover .as-gallery__zoom { transform: scale(1); }

/* ═══════════════════════════════════════════
   DÖKÜMANLAR
═══════════════════════════════════════════ */
.as-docs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}
.as-docs__item {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ede5d8;
    box-shadow: 0 2px 8px rgba(60,35,15,0.05);
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.as-docs__item:hover {
    box-shadow: 0 6px 28px rgba(60,35,15,0.14);
    border-color: #d8ccc0;
}
.as-docs__icon {
    width: 56px;
    min-height: 56px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e1dbc8;
    flex-shrink: 0;
    align-self: stretch;
    overflow: hidden;
    transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.as-docs__icon::before,
.as-docs__icon::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.as-docs__icon::before {
    background: linear-gradient(135deg, #3d3028 0%, #5a4538 100%);
    opacity: 1;
}
.as-docs__icon::after {
    background: linear-gradient(135deg, #e20032 0%, #b8002a 100%);
    opacity: 0;
}
.as-docs__icon span { position: relative; z-index: 1; }
.as-docs__item:hover .as-docs__icon::before { opacity: 0; }
.as-docs__item:hover .as-docs__icon::after  { opacity: 1; }
.as-docs__item:hover .as-docs__icon {
    color: #fff;
}
.as-docs__body {
    flex: 1;
    padding: 14px 18px;
    border-left: 1px solid #f0ebe0;
}
.as-docs__name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #3d3028;
    line-height: 1.4;
    transition: color 0.35s ease-out;
}
.as-docs__item:hover .as-docs__name { color: #e20032; }
.as-docs__meta {
    display: block;
    font-size: 11px;
    color: #b0a090;
    margin-top: 2px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.as-docs__arrow {
    padding: 0 18px;
    color: #d0c5bb;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: color 0.35s ease-out, transform 0.35s ease-out;
}
.as-docs__item:hover .as-docs__arrow { color: #e20032; transform: translateX(4px); }

/* ═══════════════════════════════════════════
   ACCORDION
═══════════════════════════════════════════ */
.as-accordion {
    margin: 0 0 40px;
    padding: 0;
    list-style: none;
}
.as-accordion > li {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ede5d8;
    box-shadow: 0 2px 8px rgba(60,35,15,0.05);
    transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.as-accordion > li.uk-open {
    box-shadow: 0 6px 24px rgba(60,35,15,0.11);
    border-color: #d8ccc0;
}
.as-accordion > li > .uk-accordion-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 22px;
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    color: #3d3028;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    transition: background 0.35s ease-out, color 0.35s ease-out;
}
.as-accordion > li > .uk-accordion-title::before {
    content: '';
    display: block;
    width: 4px;
    min-height: 20px;
    border-radius: 2px;
    background: #e8e0d3;
    flex-shrink: 0;
    transition: background 0.35s ease-out;
}
.as-accordion > li > .uk-accordion-title .as-acc-icon {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f5efe4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0a090;
    flex-shrink: 0;
    transition: background 0.35s ease-out, color 0.35s ease-out, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hover */
.as-accordion > li > .uk-accordion-title:hover { background: #faf7f1; }
.as-accordion > li > .uk-accordion-title:hover::before { background: #c8bfb5; }
.as-accordion > li > .uk-accordion-title:hover .as-acc-icon { background: #f0e8e0; color: #786c65; }

/* Açık (aktif) */
.as-accordion > li.uk-open > .uk-accordion-title {
    background: #f7f1e6;
    color: #3d3028;
}
.as-accordion > li.uk-open > .uk-accordion-title::before { background: #e20032; }
.as-accordion > li.uk-open > .uk-accordion-title .as-acc-icon {
    background: #e20032;
    color: #fff;
    transform: rotate(180deg);
}

/* UIkit animasyonunu iptal et */
.as-accordion .uk-accordion-content {
    animation: none !important;
    transform: none !important;
}

/* İçerik */
.as-accordion > li > .uk-accordion-content {
    margin: 0;
    padding: 22px 26px 24px;
    background: #fff;
    border-top: 1px solid #f0ebe0;
    font-size: 15px;
    line-height: 1.8;
    color: #5a5048;
}
.as-accordion > li > .uk-accordion-content ul,
.as-accordion > li > .uk-accordion-content ol {
    padding-left: 0;
    margin: 0 0 12px;
    list-style: none;
}
.as-accordion > li > .uk-accordion-content ul li,
.as-accordion > li > .uk-accordion-content ol li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.as-accordion > li > .uk-accordion-content img {
    max-width: 220px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(60,35,15,0.10);
    margin-bottom: 16px;
    display: block;
}
