/* =========================================
   OFFCANVAS MENU – FINAL
========================================= */

/* Reset */
.deniz-offcanvas-toggle,
.deniz-offcanvas-close {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font: inherit;
}




button.deniz-offcanvas-toggle:hover,
button.deniz-offcanvas-toggle:focus,
button.deniz-offcanvas-toggle:active,
button.deniz-offcanvas-toggle:visited {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

button.deniz-offcanvas-toggle::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

/* Overlay */
.deniz-offcanvas-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99990;
    display: none;
}

.deniz-offcanvas-overlay.is-active {
    display: block;
}







/* =========================================
   Aufgeklapptes Menü - Farben ändern - Hintergrundfarbe ändern
========================================= */
/* Offcanvas Panel */
.deniz-offcanvas-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: min(320px, 82vw);
    height: 100vh;
    overflow-y: auto;
    padding: 24px 24px 32px;

    color: #fff;
    z-index: 99991;
    transform: translateX(-100%);
    transition: transform 0.3s ease;

    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 22%, rgba(255,255,255,0) 42%),
        linear-gradient(180deg, rgba(18,18,18,0.78) 0%, rgba(6,6,6,0.88) 100%);
    backdrop-filter: blur(8px) saturate(108%);
    -webkit-backdrop-filter: blur(8px) saturate(108%);

border-right: 1px solid rgba(255,255,255,0.08);
box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.025),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.deniz-offcanvas-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        115deg,
        rgba(255,255,255,0.07) 0%,
        rgba(255,255,255,0.022) 10%,
        rgba(255,255,255,0.0) 22%
    );
    opacity: 0.55;
}

.deniz-offcanvas-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow:
        inset 1px 0 0 rgba(255,255,255,0.035),
        inset 0 1px 0 rgba(255,255,255,0.03);
}








.deniz-offcanvas-menu.is-open {
    transform: translateX(0);
}

.deniz-offcanvas-head {
    position: relative;
}

/* Close Button – links oben im Offcanvas */
button.deniz-offcanvas-close {
    all: unset !important;
    position: fixed !important;
    top: 12px !important;
    left: 10px !important;
    right: auto !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 26px !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 10 !important;
}

/* Navigation unter das X schieben (global, Desktop + Mobile) */
.deniz-offcanvas-nav,
.deniz-offcanvas-list {
    margin-top: 30px !important;
}


button.deniz-offcanvas-close:hover,
button.deniz-offcanvas-close:focus,
button.deniz-offcanvas-close:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Navigation */
.deniz-offcanvas-nav ul,
.deniz-offcanvas-list {
    list-style: none;
    margin: 0;
    padding: 0;
}






.deniz-offcanvas-list li a:hover,
.deniz-offcanvas-list li.current-menu-item > a {
    color: #ff8b00;
}

body.deniz-offcanvas-open {
    overflow: hidden;
}







/* =========================================
   ICONS – FINAL (TR – gleiche Luft wie DE)
========================================= */

/* Standard: kein Icon für alle */
.deniz-offcanvas-list > li > a::before {
    content: none;
}

/* Ana Sayfa */
.deniz-offcanvas-list > li:first-child > a {
    display: block !important;
    padding: 14px 0 !important;
    margin-left: 2px !important;
}

/* Alle Links */
.deniz-offcanvas-list li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.2;
}

/* Icons */
.deniz-offcanvas-list .hakkimda-link > a::before,
.deniz-offcanvas-list .spotify-link > a::before,
.deniz-offcanvas-list .instagram-link > a::before,
.deniz-offcanvas-list .letterboxd-link > a::before,
.deniz-offcanvas-list .iletisim-link > a::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 22px 22px;
}

/* =========================================
   ICON-AUSRICHTUNG – NUR UNTERPUNKTE - Icon und Text horizontal perfekt positionieren
========================================= */
.deniz-offcanvas-list .sub-menu .spotify-link > a::before,
.deniz-offcanvas-list .sub-menu .instagram-link > a::before,
.deniz-offcanvas-list .sub-menu .letterboxd-link > a::before {
    position: relative;
    top: 4px;
}

/* Einzelne Icons */

.deniz-offcanvas-list .hakkimda-link > a::before {
    background-image: url("https://denizthe.com/wp-content/uploads/2025/08/user_icon_alpha.png");
    background-size: 22px 22px;
}

.deniz-offcanvas-list .spotify-link > a::before {
    background-image: url("https://denizthe.com/wp-content/uploads/2026/03/icons8-spotify-48.png");
    background-size: 22px 22px;
}

.deniz-offcanvas-list .instagram-link > a::before {
    background-image: url("https://denizthe.com/wp-content/uploads/2026/03/icons8-instagram-weisser-48.png");
    background-size: 22px 22px; /* ← hier individuell anpassen */
}

.deniz-offcanvas-list .letterboxd-link > a::before {
    background-image: url("https://denizthe.com/wp-content/uploads/2026/03/icons8-briefkastend-48.png");
    background-size: 20px 20px;
}

.deniz-offcanvas-list .iletisim-link > a::before {
    background-image: url("https://denizthe.com/wp-content/uploads/2025/08/icons8-nachricht-48.png");
    background-size: 22px 22px;
}









/* =========================================
   DE – Unterpunkte korrekt einrücken
========================================= */
.deniz-offcanvas-list .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 0 4px;
}

.deniz-offcanvas-list .sub-menu li {
    border-bottom: none;
}

.deniz-offcanvas-list .sub-menu li a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    line-height: 1.2;
}




/* Linie zwischen Hauptpunkt und Unterpunkten */
.deniz-offcanvas-list .sub-menu {
    border-top: 1px solid rgba(255,255,255,0.10);
    margin-top: 6px;
    padding-top: 6px;
}



/* Mobile: Menü-Button ausblenden, wenn Offcanvas offen ist */
@media (max-width: 768px) {
    body.deniz-offcanvas-open button.deniz-offcanvas-toggle {
        opacity: 0 !important;
        pointer-events: none !important;
    }
}













/* Hover + aktiver Menüpunkt – robuster für verschiedene WP-Menüs */
.deniz-offcanvas-list li > a {
    transition: transform 0.3s ease, color 0.2s ease;
}

.deniz-offcanvas-list li > a:hover {
    transform: translateX(6px);
    color: #ff8b00 !important;
}

.deniz-offcanvas-list li.current-menu-item > a,
.deniz-offcanvas-list li.current_page_item > a,
.deniz-offcanvas-list li.current-menu-ancestor > a,
.deniz-offcanvas-list li.current_page_parent > a,
.deniz-offcanvas-list li.current-menu-parent > a {
    color: #ff8b00 !important;
    font-weight: 500;
}










/* =========================================
   ANA SAYFA – CLICKABLE LOOK (RECHTS → LINKS)
========================================= */

.deniz-offcanvas-list > li:first-child > a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;

    padding: 14px 0 !important;
    margin-left: 0 !important;
    margin-right: 4px !important;

    font-size: 16px !important;
    font-weight: 500 !important;

    cursor: pointer !important;
    transition: transform 0.25s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Pfeil jetzt LINKS */
.deniz-offcanvas-list > li:first-child > a::before {
    content: "‹";
    font-size: 18px;
    line-height: 1;
    opacity: 0.75;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* alten rechten Pfeil entfernen */
.deniz-offcanvas-list > li:first-child > a::after {
    content: none;
}

/* Hover → nach LINKS */
.deniz-offcanvas-list > li:first-child > a:hover {
    transform: translateX(-4px);
    color: #ff8b00 !important;
}

.deniz-offcanvas-list > li:first-child > a:hover::before {
    transform: translateX(-3px);
    opacity: 1;
}





/* =========================================
   Close-Button (X) - mit Effekt
========================================= */
button.deniz-offcanvas-close {
    opacity: 0.72 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

button.deniz-offcanvas-close:hover {
    opacity: 1 !important;
    transform: scale(1.12) !important;
}










/* =========================================
   Typographie - Helligkei/Lesbarkeit der Text im aufgeklappten Menü wertiger erscheinen lassen
========================================= */
.deniz-offcanvas-menu {
    letter-spacing: 0.2px;
}

.deniz-offcanvas-list li > a {
    text-shadow: 0 0 0 rgba(0,0,0,0);
    transition: transform 0.28s ease, color 0.22s ease, text-shadow 0.22s ease, opacity 0.22s ease;
}

.deniz-offcanvas-list li > a:hover {
    text-shadow: 0 0 10px rgba(255,139,0,0.18);
}

.deniz-offcanvas-list .sub-menu li a {
    opacity: 0.92;
}




/* Linie unter "Hakkımda" entfernen */
.deniz-offcanvas-list > li.hakkimda-link {
    border-bottom: none !important;
}


/* Abstand zwischen horizontaler Linie und Letterboyd */
.deniz-offcanvas-list .sub-menu {
    padding-bottom: 14px;
}


/* Helligkeit der horizontalen Linien ändern */
:root {
    --deniz-line: rgba(255,255,255,0.20);
}

.deniz-offcanvas-list > li:first-child {
    border-bottom: 1px solid var(--deniz-line) !important;
}

.deniz-offcanvas-list .sub-menu {
    border-top: 1px solid var(--deniz-line) !important;
}

.deniz-offcanvas-list > li.menu-item-has-children {
    border-bottom: 1px solid var(--deniz-line) !important;
}

.deniz-offcanvas-list > li:last-child {
    border-bottom: 1px solid var(--deniz-line) !important;
}





/* =========================================
   LINIEN-LOGIK – NUR STRUKTUR, KEINE ZEILEN
========================================= */

:root {
    --deniz-line: rgba(255,255,255,0.20);
}

/* Standard: keine Linien zwischen normalen Hauptpunkten */
.deniz-offcanvas-list > li {
    border-bottom: none !important;
}

/* Keine Linie unter Hakkımda */
.deniz-offcanvas-list > li.hakkimda-link {
    border-bottom: none !important;
}

/* Nur die oberste Linie unter Ana Sayfa */
.deniz-offcanvas-list > li:first-child {
    border-bottom: 1px solid var(--deniz-line) !important;
}

/* Linie beim Übergang zu den Unterpunkten */
.deniz-offcanvas-list .sub-menu {
    border-top: 1px solid var(--deniz-line) !important;
}

/* Abschlusslinie unter dem Block mit Unterpunkten */
.deniz-offcanvas-list > li.menu-item-has-children {
    border-bottom: 1px solid var(--deniz-line) !important;
}

/* Eine einzige Abschlusslinie ganz unten */
.deniz-offcanvas-list > li:last-child {
    border-bottom: 1px solid var(--deniz-line) !important;
}




/* Hauptmenüs innen enger, außen zur Linie luftiger */
.deniz-offcanvas-list > li.hakkimda-link > a {
    padding-top: 18px;
    padding-bottom: 8px;
}

.deniz-offcanvas-list > li.iletisim-link > a {
    padding-top: 8px;
    padding-bottom: 15px;
}








/* =========================
   SEARCH IM OFFCANVAS
========================= */
.deniz-offcanvas-search {
    margin: 25px 0 18px;
    transform: translateX(-6px);
    width: calc(100% + 6px);

    order: 99;
}

.deniz-offcanvas-menu {
    display: flex;
    flex-direction: column;
}

.deniz-offcanvas-search input[type="search"] {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.deniz-offcanvas-search input[type="search"]::placeholder {
    color: rgba(255,255,255,0.42);
}

.deniz-offcanvas-search input[type="search"]:focus {
    outline: none;
    border-color: #ff8b00;
    box-shadow: 0 0 0 1px rgba(255,139,0,0.15);
}




/* =======  MENÜ-Text ganz lesbar machen - ohne abgeschnitten zu sein ========== */
button.deniz-offcanvas-toggle {
    width: auto !important;
    min-width: 60px; /* optional, sorgt für Stabilität */
    padding: 0 8px !important;
    overflow: visible !important;
}












/* =========================================
   HAMBURGER NUR AUF MOBILE
========================================= */

button.deniz-offcanvas-toggle {
    all: unset !important;
    position: fixed !important;
    top: 8px !important;
    left: calc(50% - 540px + 295px) !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    display: none !important;
}

/* Text deaktiviert */
button.deniz-offcanvas-toggle::after {
    content: none !important;
}

/* MOBILE → Hamburger rechts aktiv */
@media (max-width: 600px) {
    button.deniz-offcanvas-toggle {
        display: flex !important;
        align-items: center !important;
        top: calc(10px + env(safe-area-inset-top, 0px)) !important;
        left: auto !important;
        right: 12px !important;
    }

    button.deniz-offcanvas-toggle::before {
        content: "" !important;
        display: inline-block !important;
        width: 27px !important;
        height: 27px !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-size: contain !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='4' width='20' height='2' fill='%23ffffff'/%3E%3Crect x='2' y='11' width='20' height='2' fill='%23ffffff'/%3E%3Crect x='2' y='18' width='20' height='2' fill='%23ffffff'/%3E%3C/svg%3E") !important;
    }

    body.admin-bar button.deniz-offcanvas-toggle {
        top: calc(50px + env(safe-area-inset-top, 0px)) !important;
    }
}


/* =========================================
   OFFCANVAS-MENÜ VON RECHTS
========================================= */

.deniz-offcanvas-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(320px, 82vw);
    height: 100vh;
    overflow-y: auto;
    padding: 24px 24px 32px;

    color: #fff;
    z-index: 99991;

    transform: translateX(100%);
    transition: transform 0.3s ease;

    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 22%, rgba(255,255,255,0) 42%),
        linear-gradient(180deg, rgba(18,18,18,0.78) 0%, rgba(6,6,6,0.88) 100%);
    backdrop-filter: blur(8px) saturate(108%);
    -webkit-backdrop-filter: blur(8px) saturate(108%);

    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: none;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Geöffnet */
.deniz-offcanvas-menu.is-open {
    transform: translateX(0);
}


/* =========================================
   CLOSE-BUTTON RECHTS OBEN
========================================= */

button.deniz-offcanvas-close {
    all: unset !important;
    position: fixed !important;
    top: 12px !important;
    right: 10px !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #ffffff !important;
    font-size: 26px !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 10 !important;
}






/* =========================================
   Header ausblenden (Nur Mobile) - damit Hamburger nicht seltsam allein da steht - horizontale Linie dagegen etwas schwächen!
========================================= */
@media (max-width: 768px) {
    .site-header,
    .builder-header,
    .header-main-inner,
    .header--row-inner {
        background: transparent !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    /* 👉 Stärke der horizontalen Linie hier ändern */
    .header--row-inner {
        border-bottom: 1px solid rgba(255,255,255,0.12) !important;
    }

    .site-content,
    .content-area,
    #content {
        margin-top: -56px;
        padding-top: 115px;
    }

    button.deniz-offcanvas-toggle {
        top: calc(12px + env(safe-area-inset-top, 0px)) !important;
        right: 19px !important;
        left: auto !important;
    }
}