/* ============================================================
   Home Page Layout
   ============================================================ */

/* ------------------------------------------------------------
   Hero Slider (Full Screen - NEF Inspired)
------------------------------------------------------------ */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    color: #ffffff;
    background: #000000;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    max-height: 940px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity 900ms ease, visibility 900ms ease, transform 1600ms ease;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.65) 100%);
    mix-blend-mode: multiply;
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05);
}

.hero-media::selection {
    background: transparent;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.hero-slide .hero-overlay {
    transition: opacity 600ms ease;
}

.hero-slide.active .hero-overlay {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    width: 100%;
    height: 100%;
    padding: clamp(80px, 12vh, 160px) clamp(24px, 6vw, 120px);
    pointer-events: none;
}

.hero-content-inner {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: min(720px, 68vw);
}

.hero-content-inner > * {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 700ms ease, transform 700ms ease;
}

/* Hero content boşsa gizle */
.hero-content:empty,
.hero-content .container:empty,
.hero-content .hero-content-inner:empty {
    display: none;
}

.hero-slide.active .hero-content-inner > * {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-slide.active .hero-content-inner > *:nth-child(2) {
    transition-delay: 120ms;
}

.hero-slide.active .hero-content-inner > *:nth-child(3) {
    transition-delay: 220ms;
}

.hero-slide.active .hero-content-inner > *:nth-child(4) {
    transition-delay: 320ms;
}

.hero-content--top-left {
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-content--center-left {
    align-items: center;
    justify-content: flex-start;
}

.hero-content--bottom-left {
    align-items: flex-end;
    justify-content: flex-start;
}

.hero-content--top-right {
    align-items: flex-start;
    justify-content: flex-end;
}

.hero-content--center-right {
    align-items: center;
    justify-content: flex-end;
}

.hero-content--bottom-right {
    align-items: flex-end;
    justify-content: flex-end;
}

.hero-content--center {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content--center .hero-content-inner,
.hero-content--center-right .hero-content-inner,
.hero-content--top-right .hero-content-inner,
.hero-content--bottom-right .hero-content-inner {
    text-align: right;
    align-items: flex-end;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 82px);
    line-height: 1.05;
    color: #ffffff;
    text-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.hero-description {
    max-width: 640px;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    padding: 16px 34px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.6px;
    color: #0f0f0f;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(255, 230, 163, 0.92) 100%);
    box-shadow: 0 25px 40px rgba(212, 175, 55, 0.30);
}

.hero-cta i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.35);
}

.hero-cta:hover i {
    transform: translateX(6px);
}

.hero-slider-nav {
    position: absolute;
    bottom: clamp(32px, 6vh, 70px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 10;
    pointer-events: auto;
}

.hero-nav-prev,
.hero-nav-next {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.hero-nav-prev:hover,
.hero-nav-next:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.55);
    transform: translateY(-2px);
}


@media (max-width: 1024px) {
    .hero-slider {
        min-height: 640px;
    }

    .hero-slider-nav {
        bottom: clamp(24px, 6vh, 60px);
        left: clamp(24px, 6vw, 80px);
        transform: none;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 100vh;
        min-height: 560px;
    }

    .hero-content {
        padding: 120px 24px 100px;
        align-items: flex-end;
    }

    .hero-content-inner {
        max-width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content--center .hero-content-inner,
    .hero-content--center-right .hero-content-inner,
    .hero-content--top-right .hero-content-inner,
    .hero-content--bottom-right .hero-content-inner {
        align-items: flex-start;
        text-align: left;
    }

    .hero-title {
        font-size: clamp(36px, 9vw, 56px);
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-slider-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        min-height: 520px;
    }

    .hero-content {
        padding: 110px 20px 80px;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    .hero-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .hero-pagination-bullet.active {
        width: 28px;
    }
}

.home-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */
.home-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f1eb 45%, #ffffff 100%);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: stretch;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
}

.home-hero__eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.85);
}

.home-hero__title {
    font-size: clamp(48px, 6vw, 78px);
    font-family: var(--font-heading);
    line-height: 1.05;
    color: var(--color-primary);
}

.home-hero__description {
    font-size: 18px;
    line-height: 1.8;
    color: #6f6558;
    max-width: 90%;
    min-height: 72px;
}

.home-hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.6px;
    background: linear-gradient(135deg, #d4af37 0%, #f5d97c 100%);
    color: #181818;
    text-decoration: none;
    box-shadow: 0 18px 32px rgba(212, 175, 55, 0.26);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-hero__cta--ghost {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--color-primary);
    box-shadow: none;
}

.home-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(212, 175, 55, 0.32);
}

.home-hero__cta--ghost:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.home-hero__nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.home-hero__nav-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.home-hero__nav-item:last-child {
    border-bottom: none;
}

.home-hero__nav-item.is-active,
.home-hero__nav-item:hover {
    color: var(--color-accent);
}

.home-hero__nav-index {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.3);
}

.home-hero__nav-text strong {
    display: block;
    font-size: 22px;
    font-family: var(--font-heading);
}

.home-hero__nav-text span {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.45);
}

.home-hero__preview {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    min-height: 520px;
    box-shadow: 0 45px 90px rgba(0, 0, 0, 0.22);
}

.home-hero__preview-media {
    width: 100%;
    height: 100%;
}

.home-hero__preview-media img,
.home-hero__preview-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.home-hero__preview-media img.is-active,
.home-hero__preview-media video.is-active {
    display: block;
}

.home-hero__preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* ------------------------------------------------------------
   About
------------------------------------------------------------ */
.home-about {
    padding: 110px 0 90px;
    background: #ffffff;
}

.home-about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: center;
}

.home-about__content h2 {
    font-size: clamp(36px, 5vw, 58px);
    margin-bottom: 20px;
}

.home-about__content p {
    font-size: 18px;
    line-height: 1.8;
    color: #6f6558;
}

.home-about__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 36px 0;
}

.home-about__highlight {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-about__highlight .counter {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent);
}

.home-about__highlight small {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(0, 0, 0, 0.5);
}

.home-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}

.home-about__cta:hover {
    background: rgba(212, 175, 55, 0.2);
}

.home-about__media {
    position: relative;
}

.home-about__image {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.home-about__image-secondary {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 50%;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

/* ------------------------------------------------------------
   Insights / Statistics
------------------------------------------------------------ */
.home-insights {
    padding: 100px 0;
    background: linear-gradient(120deg, #0f0f0f 0%, #1f1f1f 100%);
    color: #ffffff;
}

.home-insights__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.home-insight {
    padding: 36px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    box-shadow: 0 30px 55px rgba(0, 0, 0, 0.25);
}

.home-insight__value {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.home-insight h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.home-insight p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ------------------------------------------------------------
   Services
------------------------------------------------------------ */
.home-services {
    padding: 110px 0;
    background: #ffffff;
}

.home-services__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
}

.home-services__header h2 {
    font-size: clamp(36px, 5vw, 56px);
}

.home-services__header p {
    max-width: 460px;
    color: rgba(0, 0, 0, 0.55);
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.home-services__card {
    position: relative;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient(160deg, #f8f9fb 0%, #ffffff 80%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-services__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.12);
}

.home-services__index {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 18px;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.25);
}

.home-services__card h3 {
    font-size: 24px;
    margin: 0;
}

.home-services__card p {
    color: rgba(0, 0, 0, 0.55);
    margin: 0;
}

.home-services__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-primary);
}

/* ------------------------------------------------------------
   Testimonials
------------------------------------------------------------ */
.home-testimonials {
    padding: 110px 0;
    background: linear-gradient(135deg, #f9f7f2 0%, #ffffff 100%);
}

.home-testimonials__grid {
    display: grid;
    grid-template-columns: minmax(0, 240px) 1fr;
    gap: 60px;
}

.home-testimonials__body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 32px;
    align-items: stretch;
}

.home-testimonials__list {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.home-testimonials__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

.home-testimonials__item:last-child {
    border-bottom: none;
}

.home-testimonials__item i {
    transition: transform 0.3s ease;
}

.home-testimonials__item.is-active,
.home-testimonials__item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-primary);
}

.home-testimonials__item.is-active i,
.home-testimonials__item:hover i {
    transform: translateX(6px);
}

.home-testimonials__preview {
    position: relative;
    padding: 48px;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.home-testimonials__quote {
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.6;
    color: #544c43;
}

.home-testimonials__author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.home-testimonials__author img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.home-testimonials__author span {
    display: block;
    color: rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------
   CTA
------------------------------------------------------------ */
.home-cta {
    padding: 110px 0;
}

.home-cta__inner {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    background: linear-gradient(135deg, #141414 0%, #232323 100%);
    min-height: 320px;
}

.home-cta__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.home-cta__inner[style*="background-image"]::before {
    background: rgba(0, 0, 0, 0.55);
}

.home-cta__overlay {
    display: none;
}

.home-cta__content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
    padding: 60px 24px;
}

.home-cta__content h2 {
    font-size: clamp(32px, 4.5vw, 52px);
}

.home-cta__content p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-end;
}

.home-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease, transform 0.3s ease;
}

.home-cta__button:hover {
    background: rgba(255, 255, 255, 0.24);
    transform: translateY(-2px);
}

.home-cta__button--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------------------
   Responsiveness
------------------------------------------------------------ */
@media (max-width: 1200px) {
    .home-hero__grid {
        gap: 40px;
    }

    .home-testimonials__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-testimonials__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 90px 0 70px;
    }

    .home-hero__nav-item {
        grid-template-columns: 50px 1fr;
    }

    .home-about__image-secondary {
        display: none;
    }

    .home-services__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-cta__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home-cta__actions {
        justify-content: center;
    }
}
