/* ============================================================================
   Togo theme overrides — loaded AFTER the cloned Togo style.css on every main
   site page (the Togo design is now the primary site at /). Keeps
   public/theme/ vendored and untouched while adapting the theme to Alp
   İnşaat's real logo, longer Turkish copy, and section rhythm.
   (Filename kept as v2-overrides.css to avoid re-linking every page.)
   ========================================================================== */

/* --- Real Alp İnşaat logo in the fixed sidebar. The stock theme renders a
   text wordmark (.logo h1); we swapped in the brand SVG, so size it here —
   the theme only sized an <img> for the mobile top bar, not the sidebar. --- */
.togo-fixed-sidebar .logo img {
    width: 168px;
    max-width: 78%;
    height: auto;
}

/* --- Spacing utilities the theme never shipped but the v2 markup uses.
   Without these, pt-40/pb-40 resolved to nothing and adjacent project
   sections collapsed against each other (no gap before "TAMAMLANAN"). --- */
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }
.pt-60 { padding-top: 60px; }
.pb-60 { padding-bottom: 60px; }
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }

/* --- Project thumbnail captions ---------------------------------------------
   Stock Togo hides the caption at bottom:-60px and only slides it fully into
   view on hover — fine for its short one-line English titles, but it clips our
   two-line Turkish project names in the resting state. Pin the caption to the
   bottom of the image and lay a dark gradient behind it so the text is always
   fully visible and legible over any photo. --- */
.projects .item .con {
    position: absolute;
    bottom: 0;
    padding: 20px 22px 18px;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.60) 55%,
        rgba(0, 0, 0, 0) 100%);
}
/* Caption is already at bottom:0; neutralise the theme's hover slide. */
.projects .item:hover .con {
    bottom: 0;
}
.projects .item .con .category {
    margin-bottom: 6px;
    letter-spacing: 3px;
    font-size: 12px;
}
.projects .item .con h5 {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 0;
}
/* Don't over-darken on hover — the caption is permanent now, keep it readable. */
.projects .item:hover img {
    -webkit-filter: brightness(72%);
    filter: brightness(72%);
}

/* --- Home hero (kenburns) restyled to match the /alternative design language:
   elegant Playfair Display serif, sentence case (not Oswald all-caps), a gold
   eyebrow, and a deeper image overlay (set via data-overlay-dark="6" in the HTML).
   Scoped to the hero only, so section headings elsewhere keep their Togo look.
   Playfair is self-hosted (same files the /alternative pages use). --- */
@font-face {
    font-family: "Playfair Display";
    src: url("/fonts/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Playfair Display";
    src: url("/fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 400 800;
    font-style: italic;
    font-display: swap;
}
.kenburns-inner .caption h4 {
    color: #c5a47e;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 8px;
}

/* --- Home "Öne Çıkan" carousel: force a uniform image height so the three
   project columns line up. The covers have different aspect ratios (16:9 vs
   4:3), which otherwise leaves the cards at mismatched heights. --- */
.projects .owl-carousel .item .position-re {
    height: 300px;
}
.projects .owl-carousel .item .position-re img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================================
   Site-wide type system — adopt the /alternative pairing:
   Playfair Display (display) + Hanken Grotesk (body/UI), both self-hosted.
   The Togo theme hard-codes 'Oswald' (titles/UI), 'Didact Gothic' (body) and
   'Fira Sans' (nav); we alias all three to Hanken Grotesk so every existing
   rule picks it up, then promote the display titles to Playfair below.
   The Google Fonts <link> for Oswald/Didact was removed from the page heads.
   (Playfair @font-face is defined above, with the hero overrides.)
   ========================================================================== */
@font-face {
    font-family: "Hanken Grotesk";
    src: url("/fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Didact Gothic";
    src: url("/fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Oswald";
    src: url("/fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Fira Sans";
    src: url("/fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: "Barlow";
    src: url("/fonts/HankenGrotesk-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ============================================================================
   Readability & Contrast Improvements
   ========================================================================== */
body {
    font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
    background-color: #0c0c0b;
    color: #bbb4a8; /* Warm grey body text for higher contrast than theme's #999 */
    font-size: 16px;
    line-height: 1.8;
}
p {
    color: #bbb4a8;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}
a {
    color: inherit;
    transition: color 0.2s ease;
}
a:hover {
    color: #c9a27c;
}

/* Navigation Link visibility */
.togo-menu-fixed > ul > li > a {
    color: #9a948a !important;
    font-weight: 400; /* slightly heavier for legibility */
}
.togo-menu-fixed > ul > li > a:hover,
.togo-menu-fixed > ul > li.current-menu > a {
    color: #c9a27c !important;
}

/* Telif hakkı */
.togo-menu-copyright p {
    color: #8b847a;
    font-size: 13px;
}

/* Completed projects list in projeler.html */
.alp-register p {
    color: #bbb4a8;
    font-size: 15px;
}
.alp-register .meta {
    color: #c9a27c;
    font-weight: 500;
}
/* Force contrast for very faint footer description */
.projects p[style*="color:#777"],
.projects p[style*="color: #777"] {
    color: #9a9a9a !important;
}

/* ============================================================================
   Font Switcher Styles
   ========================================================================== */
.font-switcher-item {
    margin-top: 30px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: none !important;
    padding-top: 20px !important;
    padding-bottom: 0 !important;
}
.font-switcher-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.font-switcher-label {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b847a;
    font-weight: 600;
}
.font-switcher-select {
    background-color: #1a1917;
    color: #bbb4a8;
    border: 1px solid #3d3b37;
    padding: 8px 12px;
    font-size: 13px;
    font-family: 'Hanken Grotesk', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    outline: none;
    transition: all 0.2s ease;
}
.font-switcher-select:hover, 
.font-switcher-select:focus {
    border-color: #c9a27c;
    color: #f3efe7;
}

/* ============================================================================
   Font Configurations (New Font / Default vs Old Font)
   ========================================================================== */

/* --- DEFAULT & NEW FONT SYSTEM (Clean Sans-Serif Corporate Look) --- */
.new-font .title,
.new-font .projects .item .con h5,
.new-font .services .item .con h5,
.new-font .alp-ongoing h5,
.new-font .alp-register h5,
.new-font .alp-feature-title,
.new-font .numb,
.new-font .testimonials p,
.new-font .kenburns-inner .caption h1,
/* Fallbacks if class is not set yet */
html:not(.old-font) .title,
html:not(.old-font) .projects .item .con h5,
html:not(.old-font) .services .item .con h5,
html:not(.old-font) .alp-ongoing h5,
html:not(.old-font) .alp-register h5,
html:not(.old-font) .alp-feature-title,
html:not(.old-font) .numb,
html:not(.old-font) .testimonials p,
html:not(.old-font) .kenburns-inner .caption h1 {
    font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
    letter-spacing: 0.5px;
}

/* Equal-height service cards: Bootstrap rows are flex, so each .col-md-4
   already stretches to the tallest card in its row — stretch the inner .item
   box (and its <a>) to fill that height so every box in a row matches. */
.services .item {
    height: 100%;
}
.services .item > a {
    display: block;
    height: 100%;
}

/* Vertically center the About image: the Bootstrap flex row already stretches
   this column to the text column's height, so centering its child aligns the
   photo to the middle of the copy. */
.about .image {
    display: flex;
    align-items: center;
}

/* New Font H1 Hero Title */
.new-font .kenburns-inner .caption h1,
html:not(.old-font) .kenburns-inner .caption h1 {
    font-weight: 800;
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -1px;
    text-transform: none;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

/* New Font Section Titles */
.new-font .title,
html:not(.old-font) .title {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 34px;
    letter-spacing: 2px;
    word-spacing: normal;
    color: #f3efe7;
}

/* New Font Card Titles */
.new-font .projects .item .con h5,
.new-font .services .item .con h5,
.new-font .alp-ongoing h5,
.new-font .alp-register h5,
.new-font .alp-feature-title,
html:not(.old-font) .projects .item .con h5,
html:not(.old-font) .services .item .con h5,
html:not(.old-font) .alp-ongoing h5,
html:not(.old-font) .alp-register h5,
html:not(.old-font) .alp-feature-title {
    font-weight: 600;
    text-transform: none;
    color: #f3efe7;
}

/* New Font Testimonial Quote */
.new-font .testimonials p,
html:not(.old-font) .testimonials p {
    font-style: normal;
    font-weight: 400;
    font-size: 19px;
    line-height: 1.7;
    color: #bbb4a8;
}

/* New Font Large Numbers */
.new-font .numb,
html:not(.old-font) .numb {
    font-weight: 800;
    letter-spacing: -1px;
}

/* Mobile responsive font sizes for New Font */
@media screen and (max-width: 767px) {
    .new-font .kenburns-inner .caption h1,
    html:not(.old-font) .kenburns-inner .caption h1 {
        font-size: 34px;
    }
    .new-font .title,
    html:not(.old-font) .title {
        font-size: 26px;
    }
}


/* --- PREVIOUS FONT SYSTEM (Playfair Display Serif Look) --- */
.old-font .title,
.old-font .projects .item .con h5,
.old-font .services .item .con h5,
.old-font .alp-ongoing h5,
.old-font .alp-register h5,
.old-font .alp-feature-title,
.old-font .numb,
.old-font .testimonials p,
.old-font .kenburns-inner .caption h1 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}

.old-font .title {
    word-spacing: normal;
    letter-spacing: 0;
}

.old-font .kenburns-inner .caption h1 {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    text-transform: none;
    letter-spacing: -0.5px;
    font-weight: 600;
    font-size: 62px;
    line-height: 1.12;
}

@media screen and (max-width: 767px) {
    .old-font .kenburns-inner .caption h1 {
        font-size: 38px;
    }
}

.old-font .testimonials p {
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-style: italic;
}

/* ============================================================================
   Portfolio V2 page style rules and Project Cards definitions.
   Moved from inline style block in projeler-v2.html.
   ========================================================================== */



.alp-tabs-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.alp-tabs {
    display: inline-flex;
    background: rgba(27, 27, 27, 0.7);
    border: 1px solid rgba(42, 42, 42, 0.8);
    padding: 6px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 10;
}
/* Sliding "glider" pill — the gold indicator that animates behind the
   active tab instead of each button carrying its own background. Positioned
   by JS (left/width track the active button). */
.alp-tab-glider {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 0;
    border-radius: 30px;
    background: #c5a47e;
    box-shadow: 0 4px 16px rgba(197, 164, 126, 0.4);
    z-index: 0;
    pointer-events: none;
}
.alp-tabs.glider-ready .alp-tab-glider {
    transition: left 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.alp-tab-btn {
    position: relative;
    z-index: 1;
    background: transparent;
    color: #9a9a9a;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    /* Only color transitions on the button now — the gold fill is the glider.
       (Avoiding `transition: all` also prevents the first-hover white-border
       flash, where border-color briefly interpolated toward currentColor.) */
    transition: color 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    outline: none !important;
    border: 1px solid transparent;
    font-family: "Hanken Grotesk", sans-serif;
}
.alp-tab-btn:hover {
    color: #fff;
    /* neutralize Togo's base `button:hover` (grey bg + border) leaking in */
    background-color: transparent;
    border: 1px solid transparent;
}
.alp-tab-btn.active {
    color: #0c0c0b;
    font-weight: 600;
}
.alp-tab-btn.active:hover {
    color: #0c0c0b;
}

/* ---- Filter (FLIP) animation for the project grid ---------------------- */
.project-card-col.is-hidden {
    display: none !important;
}
/* leaving cards fade + shrink in place before the grid collapses */
.project-card-col.is-leaving {
    transition: opacity 0.26s ease, transform 0.26s ease;
    opacity: 0;
    transform: scale(0.94) translateY(8px);
    pointer-events: none;
}
/* INVERT step: hold the card at its old spot with no transition */
.project-card-col.is-flipping {
    transition: none !important;
    will-change: transform;
    position: relative;
    z-index: 2;
}
/* PLAY step: glide from the inverted offset back to its real position */
.project-card-col.is-playing {
    transition: transform 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}
/* entering cards start dimmed + nudged down, then ease into place */
.project-card-col {
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card-col.is-entering {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
}
/* section headers hidden in a single filtered view */
.alp-section-header.hdr-hidden {
    display: none !important;
}

.alp-project-card {
    background: #1b1b1b;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.alp-project-card:hover {
    border-color: #c5a47e;
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.alp-project-img {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0c0c0b;
    flex-shrink: 0;
}
.alp-project-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}
.alp-project-card:hover .alp-project-img img {
    transform: scale(1.08);
    filter: brightness(80%);
}
.alp-project-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(197, 164, 126, 0.9);
    color: #0c0c0b;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.alp-project-badge i.ti-pulse {
    font-size: 8px;
    animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}
.alp-project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px 18px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to top,
        rgba(12, 12, 11, 0.98) 0%,
        rgba(12, 12, 11, 0.75) 60%,
        rgba(12, 12, 11, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.alp-project-loc {
    color: #c5a47e;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
    font-family: "Hanken Grotesk", sans-serif;
}
.alp-project-title {
    color: #fff;
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
    font-family: "Hanken Grotesk", sans-serif;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Placeholder states: disable click behavior and overlay effects */
.alp-project-card.has-placeholder a.alp-project-img-link {
    cursor: default;
    pointer-events: none;
}
.alp-project-card.has-placeholder:hover .alp-project-img img {
    transform: none;
    filter: none;
}
.alp-project-card.has-placeholder .alp-project-overlay-badge {
    display: none !important;
}

.alp-project-img-link {
    display: block;
    width: 100%;
    height: 100%;
}
.alp-project-overlay-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(12, 12, 11, 0.8);
    border: 1px solid rgba(197, 164, 126, 0.3);
    color: #c5a47e;
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}

.alp-lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.alp-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.alp-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.alp-lightbox-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 40px;
}
.alp-lightbox-image-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.alp-lightbox.active .alp-lightbox-image-wrapper {
    transform: scale(1);
}
.alp-lightbox-img {
    max-width: 100%;
    max-height: calc(90vh - 140px);
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.alp-lightbox-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    font-family: "Hanken Grotesk", sans-serif;
}
.alp-lightbox-title {
    font-size: 13px;
    color: #c5a47e;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}
.alp-lightbox-counter {
    color: #a5a5a5;
    font-size: 13px;
    font-weight: 500;
}
.alp-lightbox-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    padding-bottom: 4px;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.alp-lightbox-close:hover {
    background: #c5a47e;
    border-color: #c5a47e;
    color: #0c0c0b;
    transform: rotate(90deg);
}
.alp-lightbox-prev, .alp-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.alp-lightbox-prev { left: 40px; }
.alp-lightbox-next { right: 40px; }
.alp-lightbox-prev:hover, .alp-lightbox-next:hover {
    background: #c5a47e;
    border-color: #c5a47e;
    color: #0c0c0b;
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.4);
}

.alp-lightbox-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    max-width: 100%;
    overflow-x: auto;
    padding: 6px 4px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 164, 126, 0.4) transparent;
}
/* Style the scrollbar for Chrome/Webkit */
.alp-lightbox-thumbnails::-webkit-scrollbar {
    height: 5px;
}
.alp-lightbox-thumbnails::-webkit-scrollbar-track {
    background: transparent;
}
.alp-lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(197, 164, 126, 0.35);
    border-radius: 10px;
}
.alp-lightbox-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.45;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    flex-shrink: 0;
}
.alp-lightbox-thumb:hover {
    opacity: 0.85;
}
.alp-lightbox-thumb.active {
    opacity: 1;
    border-color: #c5a47e;
    box-shadow: 0 0 10px rgba(197, 164, 126, 0.5);
    transform: scale(1.05);
}

body.is-tab-all .alp-section-header {
    display: none !important;
}

/* --- Mobile Responsive Optimizations --------------------------------------- */

@media screen and (max-width: 767px) {
    /* Header & Section Spacing */
    .projects-header {
        padding-top: 60px !important;
        padding-bottom: 10px !important;
    }
    .projects {
        padding-top: 20px !important;
        padding-bottom: 60px !important;
    }
    .project-card-col {
        margin-bottom: 30px !important;
    }
    
    /* Lightbox controls on mobile */
    .alp-lightbox-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
        font-size: 20px;
        padding-bottom: 2px;
    }
    .alp-lightbox-prev, .alp-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .alp-lightbox-prev { left: 15px; }
    .alp-lightbox-next { right: 15px; }
}

@media screen and (max-width: 575px) {
    /* Tab Buttons scaling for narrow screens */
    .alp-tab-btn {
        padding: 8px 14px;
        font-size: 11px;
        letter-spacing: 1px;
    }
    .alp-tabs-wrapper {
        margin-bottom: 15px;
        margin-top: 25px !important;
    }
    
    /* Lightbox thumb previews scaling */
    .alp-lightbox-thumb {
        width: 50px;
        height: 38px;
    }
    .alp-lightbox-thumbnails {
        gap: 8px;
        margin-top: 12px;
        padding-bottom: 6px;
    }
    .alp-lightbox-bottom {
        margin-top: 15px;
    }
    .alp-lightbox-title {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .alp-lightbox-counter {
        font-size: 11px;
    }
}

/* ============================================================================
   Anasayfa v2 overrides — scoped under body.homepage-v2
   ========================================================================== */

/* Gold Glow / Light Beam Effect emanating from the top-left corner and spreading softly across the entire page */
body.homepage-v2::before {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at 0 0, rgba(201, 162, 124, 0.14) 0%, rgba(201, 162, 124, 0.06) 35%, rgba(201, 162, 124, 0.01) 70%, rgba(0, 0, 0, 0) 100%) !important;
    pointer-events: none !important;
    z-index: 100; /* Overlays softly over elements to unify the sidebar and main canvas */
}

/* Volumetric Diagonal Light Beam (Işık Süzmesi) */
body.homepage-v2::after {
    content: "" !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 250px !important;
    height: 200vh !important;
    background: linear-gradient(to right, 
        transparent 0%, 
        rgba(201, 162, 124, 0.09) 30%, 
        rgba(201, 162, 124, 0.14) 50%, 
        rgba(201, 162, 124, 0.05) 70%, 
        transparent 100%) !important;
    transform: rotate(35deg) translate(-80px, -100px) !important;
    transform-origin: 0 0 !important;
    filter: blur(55px) !important;
    pointer-events: none !important;
    z-index: 99;
    animation: beam-sway 24s ease-in-out infinite alternate !important;
}

@keyframes beam-sway {
    0% {
        opacity: 0.85;
        transform: rotate(33deg) translate(-85px, -110px) !important;
    }
    50% {
        opacity: 1.05;
        transform: rotate(37deg) translate(-75px, -90px) !important;
    }
    100% {
        opacity: 0.85;
        transform: rotate(33deg) translate(-85px, -110px) !important;
    }
}

/* 3D Prominent Logo Styles for the Sidebar */
body.homepage-v2 .togo-fixed-sidebar .logo {
    perspective: 450px !important;
    display: block !important;
    text-align: center !important;
    padding: 20px 10px !important;
    margin-bottom: 40px !important; /* more breathing room below */
}

body.homepage-v2 .togo-fixed-sidebar .logo a {
    display: inline-block !important;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    transform-style: preserve-3d !important;
    width: 254px !important; /* increased size by 30% */
    max-width: 90% !important;
}

body.homepage-v2 .togo-fixed-sidebar .logo a:hover {
    transform: rotateY(18deg) rotateX(-8deg) translateZ(20px) scale(1.04) !important;
}

body.homepage-v2 .togo-fixed-sidebar .logo img {
    width: 100% !important;
    max-width: 100% !important; /* Override global max-width: 78% constraint */
    height: auto !important;
    display: block !important;
    filter:
            drop-shadow(1px 1px 0px #8a6c4f)
            drop-shadow(2px 2px 0px #705439)
            drop-shadow(3px 3px 1px #573e25)
            drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.75)) !important;
    transition: filter 0.4s ease !important;
}

body.homepage-v2 .togo-fixed-sidebar .logo a:hover img {
    /* Larger shadow offset and blur to simulate the logo lifting off the wall */
    filter: 
        drop-shadow(0.5px 0.5px 0px #8a6c4f) 
        drop-shadow(3px 5px 8px rgba(0, 0, 0, 0.80)) !important;
}


/* Homepage V2 Slider Title and Subtitle styling */
/* Homepage V2 Slider Title and Subtitle styling */
body.homepage-v2 .hero-frame {
    position: relative !important;
    display: inline-block !important;
    padding: 35px 60px !important; /* Shrunk padding */
    max-width: 920px !important;
    width: 100% !important;
    /* Smooth radial gradient: dark (65%) in the center, fading to transparent quicker (70%) */
    background: radial-gradient(circle, rgba(12, 12, 11, 0.65) 0%, rgba(12, 12, 11, 0.40) 35%, rgba(12, 12, 11, 0) 70%) !important;
    margin: 0 auto !important;
}

body.homepage-v2 .hero-bg-logo {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 260px !important;
    height: auto !important;
    opacity: 0.055 !important; /* Subtle logo watermark */
    pointer-events: none !important;
    z-index: 0 !important;
}

body.homepage-v2 .hero-bg-logo svg {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

body.homepage-v2 .hero-line {
    width: 140px !important;
    height: 1px !important;
    background-color: #c5a47e !important;
    margin: 0 auto !important;
    opacity: 0.85 !important;
}

body.homepage-v2 .hero-line-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 220px !important;
    background-color: transparent !important;
    height: auto !important;
    margin: 0 auto 15px !important;
}

body.homepage-v2 .hero-line-top .line-left,
body.homepage-v2 .hero-line-top .line-right {
    flex: 1 !important;
    height: 1px !important;
    background-color: #c5a47e !important;
    opacity: 0.85 !important;
}

body.homepage-v2 .hero-line-top .logo-icon {
    display: inline-block !important;
    width: 20px !important;
    height: 20px !important;
    color: #c5a47e !important;
    margin: 0 12px !important;
    opacity: 0.9 !important;
}

body.homepage-v2 .hero-line-top .logo-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

body.homepage-v2 .hero-line-bottom {
    margin-top: 20px !important; /* Reduced space */
    margin-bottom: 0 !important; /* Reset since it is the last element in the frame */
}

body.homepage-v2 .hero-btn-container {
    max-width: 920px !important;
    width: 100% !important;
    margin: 0 auto !important;
    text-align: center !important; /* Centered */
    padding: 0 60px !important; /* Match horizontal padding of .hero-frame */
    box-sizing: border-box !important;
}

body.homepage-v2 .kenburns-inner .caption .hero-btn-container .btn {
    margin-top: 25px !important; /* Position cleanly below the dark vignette frame */
}

body.homepage-v2 .kenburns-inner .caption h1 {
    font-size: 38px !important; /* Reduced tagline size */
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.5px !important;
    text-transform: none !important;
    color: #ffffff !important;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 1px 5px rgba(0, 0, 0, 0.95) !important;
    margin-top: 12px !important; /* Reduced space below subtitle */
    margin-bottom: 0 !important;
}

.old-font body.homepage-v2 .kenburns-inner .caption h1 {
    font-family: "Playfair Display", Georgia, serif !important;
}

.new-font body.homepage-v2 .kenburns-inner .caption h1,
html:not(.old-font) body.homepage-v2 .kenburns-inner .caption h1 {
    font-family: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

body.homepage-v2 .kenburns-inner .caption h4 {
    font-family: "Hanken Grotesk", sans-serif !important;
    color: #dbbb95 !important;
    font-size: 14px !important; /* Slightly smaller subtitle */
    font-weight: 700 !important;
    letter-spacing: 10px !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
}

@media screen and (max-width: 767px) {
    body.homepage-v2 .hero-frame {
        padding: 25px 15px !important;
    }
    body.homepage-v2 .hero-bg-logo {
        width: 180px !important;
    }
    body.homepage-v2 .hero-line {
        width: 100px !important;
    }
    body.homepage-v2 .hero-line-top {
        width: 160px !important;
        margin-bottom: 10px !important;
    }
    body.homepage-v2 .hero-line-top .logo-icon {
        width: 16px !important;
        height: 16px !important;
        margin: 0 8px !important;
    }
    body.homepage-v2 .hero-line-bottom {
        margin-top: 15px !important;
        margin-bottom: 0 !important;
    }
    body.homepage-v2 .hero-btn-container {
        padding: 0 15px !important;
        text-align: center !important;
    }
    body.homepage-v2 .kenburns-inner .caption .hero-btn-container .btn {
        margin-top: 20px !important;
    }
    body.homepage-v2 .kenburns-inner .caption h1 {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin-top: 8px !important;
    }
    body.homepage-v2 .kenburns-inner .caption h4 {
        font-size: 12px !important;
        letter-spacing: 6px !important;
    }
}

/* Remove background grid lines globally from all pages */
.content-lines-wrapper {
    display: none !important;
}
