/* Home-page pilot: one coherent visual language without changing inner pages. */
body.home-preview {
    --home-burgundy: #702038;
    --home-burgundy-deep: #431725;
    --home-cream: #f8f5ef;
    --home-ink: #28242a;
    --home-muted: #655f65;
    --home-gold: #c49a61;
    background: var(--home-cream) !important;
    color: var(--home-ink);
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}
body.home-preview h1, body.home-preview h2, body.home-preview h3,
body.home-preview h4, body.home-preview h5, body.home-preview h6,
body.home-preview .btn { font-family: inherit; }

body.home-preview .modern-navbar {
    min-height: 82px;
    padding: .72rem 0 !important;
    background: var(--home-burgundy-deep) !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 8px 26px rgba(45,20,30,.12) !important;
}
body.home-preview .modern-navbar > .container-fluid { max-width: 1376px; gap: 2rem; }
body.home-preview .modern-navbar .brand-logo { max-width: 180px; max-height: 50px; }
body.home-preview .modern-navbar .navbar-nav { gap: .12rem; }
body.home-preview .modern-navbar .nav-link {
    min-height: 42px;
    padding: .55rem .75rem !important;
    font-size: .9rem !important;
    font-weight: 600;
    color: rgba(255,255,255,.88) !important;
}
body.home-preview .modern-navbar .nav-link i { display: none; }
body.home-preview .modern-navbar .nav-link:hover,
body.home-preview .modern-navbar .nav-link:focus-visible,
body.home-preview .modern-navbar .nav-link[href="/"] { color: #fff !important; background: rgba(255,255,255,.09); }
body.home-preview .modern-navbar .navbar-nav > .nav-item:last-of-type > .nav-link { color: #fff !important; }
body.home-preview .modern-navbar .navbar-nav > .nav-item:nth-last-of-type(2) > .nav-link { padding-inline: 1rem !important; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); }
body.home-preview #floatingTranslateBtn { display: flex !important; align-items: center; justify-content: center; width: 46px; height: 46px; min-width: 0 !important; padding: 0 !important; top: auto !important; bottom: 1rem !important; right: 1rem !important; left: auto !important; transform: none !important; border-radius: 50% !important; opacity: .9 !important; }
body.home-preview #floatingTranslateBtn > div { display: none; }

body.home-preview main.container {
    max-width: 1376px;
    margin-top: 0 !important;
    padding: 0 clamp(1rem, 3vw, 2.25rem) 5rem;
}
body.home-preview main.container > .row,
body.home-preview main.container > [id="egitim-programlari"],
body.home-preview main.container > [id="canli-video-dersler"],
body.home-preview main.container > [id="ogrenci-yorumlari"],
body.home-preview main.container > [id="iletisim"] { scroll-margin-top: 100px; }

.home-preview .home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(240px, .7fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: center;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 4.5vw, 4.5rem);
    margin: 2rem 0 1.25rem;
    border: 1px solid #eadde0;
    border-radius: 28px;
    background: radial-gradient(circle at 90% 0%, #fae9e6 0, transparent 35%), #fff;
    box-shadow: 0 18px 50px rgba(59,31,40,.07);
}
.home-preview .home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--home-burgundy);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.home-preview .home-eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--home-gold); }
.home-preview .home-intro h1 {
    max-width: 720px;
    margin: .75rem 0 1rem;
    padding-top: .15em;
    color: var(--home-ink);
    font-size: clamp(2.65rem, 5.8vw, 5.2rem);
    font-weight: 700;
    letter-spacing: -.065em;
    line-height: 1.24;
}
.home-preview .home-intro h1 em { color: var(--home-burgundy); font-style: normal; }
.home-preview .home-intro p { max-width: 660px; margin: 0 0 1.7rem; color: var(--home-muted); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.75; }
.home-preview .home-intro-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-preview .home-intro .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .75rem 1.3rem; border-radius: 10px !important; }
.home-preview .home-intro .home-btn-primary { color: #fff !important; background: var(--home-burgundy) !important; border: 1px solid var(--home-burgundy) !important; }
.home-preview .home-intro .home-btn-primary:hover { color: #fff !important; background: var(--home-burgundy-deep) !important; }
.home-preview .home-intro .home-btn-secondary { color: var(--home-burgundy) !important; background: #fff !important; border: 1px solid #d9c5ca !important; }
.home-preview .home-intro .home-btn-secondary:hover { background: #fbf3f4 !important; }
.home-preview .home-intro-aside { display: grid; gap: .65rem; padding-left: 1.7rem; border-left: 1px solid #eadde0; }
.home-preview .home-intro-aside span { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; border: 1px solid #eee6e3; border-radius: 12px; background: #fcfaf8; color: #51484d; font-size: .9rem; font-weight: 600; }
.home-preview .home-intro-aside i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; background: #f3e7e9; color: var(--home-burgundy); }

/* Photography stays unobstructed; controls remain visible without becoming another layer. */
.home-preview .home-slider-section,
.home-preview .gallery-slider-section { width: 100%; margin: 1.25rem 0 0 !important; border-radius: 22px; box-shadow: 0 18px 44px rgba(46,23,31,.12); }
.home-preview .home-slider-section .carousel-item.slider-image-only { background: #f2eceb; }
.home-preview .home-slider-section .slider-image-only .slider-bg { object-fit: contain; }
.home-preview .home-slider-section .carousel-control-prev,
.home-preview .home-slider-section .carousel-control-next,
.home-preview .gallery-slider-section .carousel-control-prev,
.home-preview .gallery-slider-section .carousel-control-next {
    width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%;
    background: rgba(67,23,37,.86); box-shadow: 0 4px 14px rgba(23,10,14,.2); backdrop-filter: none;
}
.home-preview .home-slider-section .carousel-control-prev,
.home-preview .gallery-slider-section .carousel-control-prev { left: 16px; }
.home-preview .home-slider-section .carousel-control-next,
.home-preview .gallery-slider-section .carousel-control-next { right: 16px; }
.home-preview .home-slider-section .carousel-indicators,
.home-preview .gallery-slider-section .carousel-indicators { bottom: 7px; }
.home-preview .carousel-indicators [data-bs-target] { width: 7px; height: 7px; border: 0; background: #fff; opacity: .55; }
.home-preview .carousel-indicators .active { opacity: 1; transform: scale(1.15); }

.home-preview .stats-section { margin: 2rem 0 0; padding: 1.15rem 1rem !important; border-radius: 18px; background: #fff !important; border: 1px solid #eadfe0; box-shadow: 0 10px 28px rgba(49,36,30,.05); }
.home-preview .stats-section .row { align-items: center; }
.home-preview .stats-section .stat-item { padding: .5rem; }
.home-preview .stats-section .stat-number { color: var(--home-burgundy) !important; font-size: clamp(1.55rem, 2.6vw, 2.2rem) !important; font-weight: 760; }
.home-preview .stats-section .stat-label { color: var(--home-muted) !important; }
.home-preview .stats-section .row > *:not(:last-child) { border-right: 1px solid #eee7e3; }

.home-preview .home-gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 4.5rem 0 1rem; }
.home-preview .home-gallery-heading h2 { margin: .35rem 0 0; font-size: clamp(1.9rem, 3vw, 2.7rem); letter-spacing: -.045em; }
.home-preview .home-gallery-heading a { color: var(--home-burgundy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.home-preview .home-gallery-heading a:hover { text-decoration: underline; }
.home-preview .gallery-slider-section { margin-top: 0 !important; background: #241a1f; }
.home-preview .gallery-slider-section .carousel-inner,
.home-preview .gallery-slider-section .carousel-item,
.home-preview .gallery-photo-frame { background: #241a1f; }
.home-preview .gallery-photo-frame { aspect-ratio: 1732 / 908; }
.home-preview .gallery-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-preview .gallery-slider-section .carousel-indicators { bottom: 10px !important; }

/* Shared cards and spacing across every home section. */
.home-preview main.container > .features-section,
.home-preview main.container > #canli-video-dersler,
.home-preview main.container > #ogrenci-yorumlari,
.home-preview main.container > #iletisim { margin-top: 2.5rem; padding: 4.5rem 0 !important; background: transparent !important; }
.home-preview main.container > #ogrenci-yorumlari,
.home-preview main.container > #iletisim { border-top: 1px solid #e8dedc; }
.home-preview main.container > .features-section .container,
.home-preview main.container > #canli-video-dersler .container,
.home-preview main.container > #ogrenci-yorumlari .container,
.home-preview main.container > #iletisim .container { max-width: 100%; padding: 0; }
.home-preview main.container h2.display-5,
.home-preview main.container h2.text-purple,
.home-preview main.container #canli-video-dersler h2,
.home-preview main.container #iletisim h2 { color: var(--home-ink) !important; font-size: clamp(2rem, 3.5vw, 3rem) !important; letter-spacing: -.055em; }
.home-preview main.container .lead.text-muted { max-width: 700px; margin-inline: auto; color: var(--home-muted) !important; font-size: 1rem; }
.home-preview main.container .text-purple { color: var(--home-burgundy) !important; }
.home-preview .home-section-heading { margin-bottom: 2rem !important; }
.home-preview .home-section-heading h2,
.home-preview .home-section-heading h3 { margin: .55rem 0 .7rem !important; color: var(--home-ink) !important; font-size: clamp(2rem, 3.5vw, 3rem) !important; font-weight: 750 !important; letter-spacing: -.055em; line-height: 1.16; }
.home-preview .home-section-heading p { max-width: 700px; margin-inline: auto; color: var(--home-muted) !important; }
.home-preview main.container .row.mb-5 { margin-bottom: 2.25rem !important; }
.home-preview main.container .card,
.home-preview main.container .modern-category-card,
.home-preview main.container .feature-card { overflow: hidden; border: 1px solid #e9e0dd !important; border-radius: 17px !important; background: #fff !important; box-shadow: 0 8px 25px rgba(55,31,39,.06) !important; }
.home-preview main.container .card:hover { transform: translateY(-3px) !important; box-shadow: 0 14px 30px rgba(55,31,39,.1) !important; }
.home-preview main.container .card-body { padding: clamp(1.35rem, 2.4vw, 2rem) !important; }
.home-preview main.container .program-card[style] { background: #fff !important; color: var(--home-ink) !important; }
.home-preview main.container .program-card[style] h4,
.home-preview main.container .program-card[style] p,
.home-preview main.container .program-card[style] strong { color: var(--home-ink) !important; }
.home-preview main.container .program-card .card-body,
.home-preview main.container .feature-card .card-body,
.home-preview main.container #iletisim .card-body { text-align: left !important; }
.home-preview main.container .program-card h4 { font-size: 1.42rem; letter-spacing: -.045em; }
.home-preview main.container .program-card p { color: var(--home-muted) !important; }
.home-preview main.container .program-card[style] .feature-list { padding: 1rem; border-radius: 11px; background: #faf6f3; color: #524b4c; }
.home-preview main.container .program-card[style] .feature-list i { color: var(--home-burgundy) !important; }
.home-preview main.container .program-card[style] .card-body > .mb-4 > i { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin: 0 0 1rem !important; border-radius: 16px; background: #f5e9ec; color: var(--home-burgundy) !important; font-size: 1.9rem; }
.home-preview main.container .program-card .btn-light { color: var(--home-burgundy) !important; border: 1px solid #d9c5ca !important; background: #fff !important; }
.home-preview main.container .feature-card .icon-circle,
.home-preview main.container #iletisim .icon-circle,
.home-preview main.container #canli-video-dersler .icon-circle { border-radius: 14px !important; background: #f5e9ec !important; color: var(--home-burgundy) !important; }
.home-preview main.container .feature-card .icon-circle i,
.home-preview main.container #iletisim .icon-circle i,
.home-preview main.container #canli-video-dersler .icon-circle i { color: var(--home-burgundy) !important; }
.home-preview main.container .feature-card p { color: var(--home-muted) !important; }
.home-preview .home-categories { margin-top: 1rem; padding: 3.25rem 0 1rem; border-top: 1px solid #e8dedc; }
.home-preview #home-categories-title { scroll-margin-top: 120px; }
.home-preview .home-category-cover { aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid #eee5e3; background: #f5efec; }
.home-preview .home-category-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-preview .home-category-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.35rem; }
.home-preview .home-category-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: #f5e9ec; color: var(--home-burgundy); font-size: 1.15rem; }
.home-preview .home-course-count { display: inline-flex; align-items: center; padding: .35rem .75rem; border-radius: 999px; background: #f7f1ed; color: #655960; font-size: .74rem; font-weight: 800; white-space: nowrap; }
.home-preview main.container .modern-category-card .category-title { margin: 0 0 .75rem !important; color: var(--home-ink) !important; font-size: 1.27rem; font-weight: 750; letter-spacing: -.045em; line-height: 1.3; text-transform: none; }
.home-preview main.container .modern-category-card .category-description { margin: 0 0 1.5rem; color: var(--home-muted) !important; font-size: .9rem; line-height: 1.65; }
.home-preview .home-category-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid #eee5e3; color: var(--home-burgundy) !important; font-size: .86rem; font-weight: 800; text-decoration: none; }
.home-preview .home-category-link:hover { color: var(--home-burgundy-deep) !important; }
.home-preview main.container .btn-modern-purple,
.home-preview main.container .btn-outline-modern { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; border-radius: 10px !important; }
.home-preview main.container #canli-video-dersler .card-body { padding: clamp(1.5rem, 3vw, 2.5rem) !important; }
.home-preview main.container #canli-video-dersler li { color: #514d4e; }
.home-preview main.container #canli-video-dersler .text-success { color: var(--home-burgundy) !important; }
.home-preview main.container #canli-video-dersler .badge { border-radius: 7px; background: #f5e9ec !important; color: var(--home-burgundy) !important; font-size: .72rem !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.home-preview main.container .features-section > .container > .row.mt-5 .btn[style] { border-radius: 10px !important; }
.home-preview main.container .features-section > .container > .row.mt-5 .btn[style]:first-child { background: var(--home-burgundy) !important; color: #fff !important; border: 1px solid var(--home-burgundy) !important; }
.home-preview main.container .features-section > .container > .row.mt-5 .btn[style]:last-child { background: #fff !important; color: var(--home-burgundy) !important; border: 1px solid #d9c5ca !important; }
.home-preview main.container .bg-light.rounded-3,
.home-preview main.container .bg-white.rounded-3 { border: 1px solid #e9e0dd; border-radius: 16px !important; background: #fff !important; box-shadow: 0 8px 22px rgba(55,31,39,.05) !important; }
.home-preview main.container .cta-section { padding: clamp(2.5rem, 6vw, 5rem) 1.5rem !important; border-radius: 22px; background: var(--home-burgundy-deep) !important; }
.home-preview main.container .cta-section h2,
.home-preview main.container .cta-section p { color: #fff !important; }
.home-preview main.container .cta-section .btn { color: var(--home-burgundy-deep) !important; background: #f3d6a5 !important; border: 1px solid #f3d6a5 !important; }
.home-preview main.container #iletisim .card .btn { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; white-space: normal; overflow-wrap: anywhere; padding: .65rem .85rem; border: 1px solid #dcc9cc !important; color: var(--home-burgundy) !important; background: #fff !important; }
.home-preview main.container #iletisim .card .btn:hover { background: #f9f0f2 !important; }
.home-preview main.container #iletisim .card .icon-circle { margin-bottom: 1rem; }
.home-preview main.container #iletisim .card h5 { margin-bottom: .6rem !important; font-size: 1.2rem; }
.home-preview main.container #iletisim .card p { min-height: 4.5rem; }

body.home-preview .modern-footer {
    margin-top: 0 !important;
    padding: 4.25rem 0 2rem !important;
    background: var(--home-burgundy-deep) !important;
    border-top: 3px solid var(--home-gold);
}
body.home-preview .modern-footer .footer-content { max-width: 1376px; }
body.home-preview .modern-footer .footer-content > .row:first-child { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1.6fr); gap: clamp(1rem, 2vw, 2rem); }
body.home-preview .modern-footer .footer-content > .row:first-child > [class*="col-"] { width: auto; max-width: none; padding: 0; }
body.home-preview .modern-footer .brand-logo { max-width: 185px !important; max-height: 54px !important; }
body.home-preview .modern-footer .row > [class*="col-"] { min-width: 0; }
body.home-preview .modern-footer h6 { color: #f2d8b1 !important; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.home-preview .modern-footer h6 i { display: none; }
body.home-preview .modern-footer p,
body.home-preview .modern-footer a { color: rgba(255,255,255,.77) !important; text-shadow: none !important; }
body.home-preview .modern-footer a:hover { color: #fff !important; }
body.home-preview .modern-footer .whatsapp-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: #fff !important; font-size: 1.6rem !important; }
body.home-preview .modern-footer .partner-wordmark { color: rgba(255,255,255,.65); }
body.home-preview .modern-footer .contact-info p { overflow-wrap: anywhere; }
body.home-preview .modern-footer .text-warning { color: #e5bf87 !important; }

@media (max-width: 1199.98px) {
    body.home-preview .modern-navbar .navbar-collapse { padding-top: 1rem; }
    body.home-preview .modern-navbar .navbar-nav { align-items: stretch; }
    body.home-preview .modern-navbar .nav-link { justify-content: flex-start; }
    body.home-preview .modern-footer .footer-content > .row:first-child { grid-template-columns: repeat(2, minmax(0,1fr)); }
    body.home-preview .modern-footer .footer-content > .row:first-child > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    body.home-preview main.container { padding: 0 1rem 3rem; }
    .home-preview .home-intro { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 1rem; padding: 2.1rem 1.35rem; border-radius: 20px; }
    .home-preview .home-intro h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
    .home-preview .home-intro-aside { grid-template-columns: 1fr; padding: 0; border: 0; }
    .home-preview .home-intro-aside span { padding: .65rem .8rem; }
    .home-preview .home-slider-section,
    .home-preview .gallery-slider-section { margin-top: 1rem !important; border-radius: 14px; }
    .home-preview .home-slider-section .carousel-control-prev,
    .home-preview .home-slider-section .carousel-control-next,
    .home-preview .gallery-slider-section .carousel-control-prev,
    .home-preview .gallery-slider-section .carousel-control-next { width: 36px; height: 36px; }
    .home-preview .home-slider-section .carousel-control-prev,
    .home-preview .gallery-slider-section .carousel-control-prev { left: 8px; }
    .home-preview .home-slider-section .carousel-control-next,
    .home-preview .gallery-slider-section .carousel-control-next { right: 8px; }
    .home-preview .stats-section { margin-top: 1.25rem; }
    .home-preview .stats-section .row > *:nth-child(2) { border-right: 0; }
    .home-preview .stats-section .stat-item { padding: .9rem .25rem; }
    .home-preview .home-gallery-heading { margin-top: 3.25rem; }
    .home-preview main.container > .features-section,
    .home-preview main.container > #canli-video-dersler,
    .home-preview main.container > #ogrenci-yorumlari,
    .home-preview main.container > #iletisim { margin-top: 1.5rem; padding: 3rem 0 !important; }
    .home-preview .home-categories { padding: 3rem 0 .5rem; }
    .home-preview .home-section-heading h2,
    .home-preview .home-section-heading h3 { letter-spacing: -.035em; }
    .home-preview main.container .card-body { padding: 1.35rem !important; }
    body.home-preview .modern-footer { padding: 3rem 0 1.5rem !important; }
    body.home-preview .modern-footer { padding-bottom: 5rem !important; }
    body.home-preview .modern-footer .footer-content > .row:first-child { grid-template-columns: 1fr; gap: 1.25rem; }
    body.home-preview .modern-footer .footer-content > .row:first-child > :first-child { grid-column: auto; }
}
@media (max-width: 420px) {
    .home-preview .home-intro-actions .btn { width: 100%; }
    .home-preview .home-gallery-heading { align-items: flex-start; flex-direction: column; }
    .home-preview main.container #iletisim .card .btn { font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) {
    .home-preview .card, .home-preview .btn { transition: none !important; }
}
