/* ==========================================================================
   FAALİYET DETAY PAGE STYLE (LUXURY OVERLAY CARD EDITORIAL LAYOUT)
   ========================================================================== */

.faaliyet-detay-page-wrapper {
    background-color: #FFFFFF;
    min-height: 85vh;
    position: relative;
}

/* ==========================================================================
   1. IMMERSIVE BACKDROP HERO SECTION
   ========================================================================== */
.faaliyet-hero-backdrop {
    height: 60vh;
    min-height: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1;
}

.faaliyet-backdrop-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.faaliyet-backdrop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    animation: zoomOutHero 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomOutHero {
    to {
        transform: scale(1.0);
    }
}

.faaliyet-backdrop-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 62, 75, 0.55) 0%, rgba(17, 37, 44, 0.85) 100%);
    z-index: 2;
}

.faaliyet-hero-container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    padding-top: 7.5rem;
    /* Clear sticky header */
    padding-bottom: 12vh;
    /* Space for the overlapping card */
}

/* Back Link (Light version overlaying the background image) */
.faaliyet-hero-container .back-nav-wrapper {
    margin-bottom: auto;
    margin-top: 1rem;
}

.back-to-grid-light {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-grid-light .back-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-grid-light:hover {
    color: var(--color-accent);
}

.back-to-grid-light:hover .back-arrow {
    transform: translateX(-5px);
}

/* Title Box overlaying the backdrop */
.faaliyet-hero-title-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.faaliyet-badge-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.faaliyet-tag-badge-light {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    text-transform: uppercase;
    border: 1px solid rgba(191, 162, 118, 0.5);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    background: rgba(17, 37, 44, 0.3);
}

.faaliyet-type-badge-light {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
}

.faaliyet-name-heading-light {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.8vw, 3.4rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.25;
    margin: 0.5rem 0 0 0;
    width: 100%;
}

.faaliyet-title-line-light {
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin-top: 1.5rem;
}

/* ==========================================================================
   2. FLOATING CONTENT CARD SECTION (3REM COMPLIANT)
   ========================================================================== */
.faaliyet-content-section {
    background-color: #FFFFFF;
    position: relative;
    z-index: 10;
    padding-bottom: 3rem;
    /* Exactly 3rem padding bottom */
}

.faaliyet-content-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Overlapping Luxury Card */
.faaliyet-floating-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    border: 1px solid rgba(191, 162, 118, 0.16);
    box-shadow: 0 35px 85px rgba(17, 37, 44, 0.08);
    margin-top: -10vh;
    /* Floating overlap effect */
    padding: 3.5rem 4rem;
    position: relative;
    box-sizing: border-box;
}

/* Asymmetrical Grid inside Card */
.faaliyet-card-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
    /* Exactly 3rem column spacing */
    align-items: start;
}

.faaliyet-narrative-col {
    display: flex;
    flex-direction: column;
}

.faaliyet-biography-narrative {
    padding-top: 0;
}

.faaliyet-desc-text {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--color-text-muted);
    line-height: 1.85;
    margin: 0;
    text-align: justify;
}

/* Archive Gallery Section inside the card */
.project-gallery-section {
    margin-top: 2rem;
    border-top: 1px solid rgba(191, 162, 118, 0.2);
    padding-top: 2rem;
    box-sizing: border-box;
}

.project-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1.25rem 0;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-gallery-grid .gallery-item {
    display: block;
    text-decoration: none;
}

.gallery-img-inner {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(40, 86, 101, 0.08);
    box-shadow: 0 5px 15px rgba(17, 37, 44, 0.03);
}

.gallery-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-inner:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(17, 37, 44, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.gallery-img-inner:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(191, 162, 118, 0.3);
}

.gallery-zoom-icon svg {
    width: 14px;
    height: 14px;
}

/* Lightbox trigger button at narrative end */
.faaliyet-zoom-action {
    margin-top: 2rem;
}

.activity-lightbox-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(191, 162, 118, 0.35);
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
}

.activity-lightbox-btn svg {
    width: 14px;
    height: 14px;
}

.activity-lightbox-btn:hover {
    background-color: var(--color-primary);
    color: #FFFFFF;
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

/* Sidebar Styling inside Card */
.faaliyet-sidebar-col {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(40, 86, 101, 0.05);
    border-radius: 8px;
    padding: 2.25rem 2rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin: 0 0 1.5rem 0;
    border-bottom: 1px solid rgba(40, 86, 101, 0.08);
    padding-bottom: 0.75rem;
}

.editorial-timeline {
    position: relative;
    padding-left: 1.5rem;
}

.editorial-timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 1px;
    background-color: rgba(40, 86, 101, 0.1);
}

.timeline-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.timeline-content {
    display: flex;
    flex-direction: column;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}

.timeline-desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.faaliyet-editorial-signature {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(40, 86, 101, 0.1);
}

.signature-line {
    width: 60px;
    height: 1px;
    background-color: var(--color-accent);
    margin-bottom: 1rem;
}

.signature-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 14px;
    color: var(--color-primary);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   3. OTHER ACTIVITIES SECTION (BOTTOM CARD SHOWCASE - 3REM COMPLIANT)
   ========================================================================== */
.faaliyet-others-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(40, 86, 101, 0.05);
    padding: 3rem 0;
    /* Exactly 3rem padding */
    position: relative;
    z-index: 2;
}

.faaliyet-others-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 4rem;
}

.others-header-block {
    text-align: center;
    margin-bottom: 2.5rem;
}

.others-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    display: block;
    margin-bottom: 0.75rem;
}

.others-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
    margin: 0;
}

.others-title-line {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: 1rem auto 0 auto;
}

/* Grid layout for activities bottom section */
.others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.other-card-wrapper {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(40, 86, 101, 0.06);
    box-shadow: 0 10px 40px rgba(17, 37, 44, 0.03);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.other-card-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
}

.other-card-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: var(--color-primary-deep);
}

.other-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 37, 44, 0) 50%, rgba(17, 37, 44, 0.45) 100%);
    opacity: 0.85;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-family: var(--font-body);
    font-size: 8px;
    font-weight: 700;
    color: #FFFFFF;
    background: rgba(17, 37, 44, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.other-card-content {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.other-card-tag {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.other-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 1rem 0;
    line-height: 1.35;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-card-desc {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.other-card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-card-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Hover Animations */
.other-card-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(17, 37, 44, 0.06);
    border-color: rgba(191, 162, 118, 0.25);
}

.other-card-wrapper:hover .other-card-img {
    transform: scale(1.04);
}

.other-card-wrapper:hover .other-card-title {
    color: var(--color-accent);
}

.other-card-wrapper:hover .other-card-btn {
    color: var(--color-accent);
}

.other-card-wrapper:hover .other-card-btn svg {
    transform: translateX(4px);
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
@media (max-width: 1200px) {

    .faaliyet-hero-container,
    .faaliyet-content-container,
    .faaliyet-others-container {
        padding: 0 2rem;
    }

    .faaliyet-floating-card {
        padding: 3rem;
    }
}

@media (max-width: 992px) {
    .faaliyet-hero-backdrop {
        height: 50vh;
        min-height: 380px;
    }

    .faaliyet-hero-container {
        padding-top: 7.5rem;
        padding-bottom: 8vh;
    }

    .faaliyet-floating-card {
        margin-top: -6vh;
        padding: 2.5rem 2rem;
    }

    .faaliyet-card-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        /* Gap is kept under 3rem */
    }

    .faaliyet-sidebar-col {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .others-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .faaliyet-badge-group {
        margin-top: 2rem;
    }


    .faaliyet-hero-backdrop {
        height: 40vh;
        min-height: 280px;
    }

    .faaliyet-hero-container,
    .faaliyet-content-container,
    .faaliyet-others-container {
        padding: 0 1.5rem !important;
    }

    .faaliyet-hero-container {
        padding-top: 6.5rem;
        padding-bottom: 4vh;
    }

    .faaliyet-floating-card {
        margin-top: -3vh;
        padding: 2rem 1.5rem;
    }

    .faaliyet-desc-text {
        text-align: left !important;
    }

    .others-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .others-header-block {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .faaliyet-hero-backdrop {
        height: 35vh;
        min-height: 240px;
    }

    .faaliyet-badge-group {
        margin-bottom: 0.75rem;
    }
}