/**
 * Sapanca Gazetesi
 * Software developed by ArpSoft
 * Copyright © 2026 ArpSoft. All rights reserved.
 * Developer: Murat Arapoğlu
 */
.static-page--lake .static-page__layout .static-page__shell { width:100%; }
.lake-page-content { display:block; }
.lake-page-content > .lake-widget,
.lake-page-content > .lake-static-image { margin:28px 0; }

.lake-static-image {
    display:block;
    width:100%;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--surface-soft);
    box-shadow:var(--shadow-soft);
}
.lake-static-image img { display:block; width:100%; height:auto; aspect-ratio:16/7; object-fit:cover; }
.lake-static-image--placeholder {
    min-height:250px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:30px;
    color:var(--muted);
    text-align:center;
}
.lake-static-image--placeholder i { font-size:42px; color:var(--sky); }
.lake-static-image--placeholder strong { color:var(--text); font-size:18px; }

.lake-widget {
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--surface);
    box-shadow:var(--shadow-soft);
}
.lake-widget__header {
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:11px 16px;
    background:var(--navy);
    color:var(--white);
}
.lake-widget__header > div { display:flex; min-width:0; align-items:center; gap:9px; }
.lake-widget__header i { flex:0 0 auto; font-size:20px; }
.lake-widget__header h2 { margin:0; color:var(--white); font-size:17px; font-weight:900; line-height:1.2; }
.lake-widget__body { padding:20px; }

.lake-month-select { flex:0 0 auto; margin:0; }
.lake-month-select select {
    min-width:150px;
    height:34px;
    padding:0 34px 0 11px;
    border:1px solid rgba(255,255,255,.24);
    border-radius:7px;
    background:#fff;
    color:#17172b;
    font-size:13px;
    font-weight:800;
    outline:none;
}
.lake-chart-meta { display:flex; justify-content:space-between; gap:15px; margin:0 0 12px; color:var(--muted); font-size:12px; font-weight:700; }
.lake-chart-canvas-wrap { position:relative; width:100%; min-height:360px; }
.lake-chart-canvas-wrap canvas { display:block; width:100%; height:360px; }
.lake-chart-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:18px; margin-top:14px; }
.lake-chart-legend span { display:inline-flex; align-items:center; gap:7px; color:var(--text); font-size:13px; font-weight:800; }
.lake-chart-legend i { width:22px; height:3px; border-radius:99px; background:currentColor; }
.lake-chart-tooltip {
    position:absolute;
    z-index:3;
    min-width:145px;
    padding:9px 11px;
    border:1px solid var(--line);
    border-radius:8px;
    background:var(--surface);
    box-shadow:var(--shadow-floating);
    color:var(--text);
    pointer-events:none;
    font-size:12px;
    line-height:1.55;
}
.lake-chart-tooltip strong { display:block; margin-bottom:3px; }
.lake-chart-tooltip span { display:block; white-space:nowrap; }

.lake-level-widget .lake-widget__body { padding:24px 24px 20px; }
.lake-gauge { display:flex; flex-direction:column; align-items:center; text-align:center; }
.lake-gauge__scale {
    position:relative;
    width:min(100%,420px);
    aspect-ratio:2/1;
    overflow:hidden;
    background:conic-gradient(from 270deg at 50% 100%, #ff4b55 0deg 30deg, #f67875 30deg 60deg, #ffc85a 60deg 90deg, #f4e84e 90deg 120deg, #54bfaa 120deg 150deg, #55a7dc 150deg 180deg, transparent 180deg 360deg);
    border-radius:420px 420px 0 0;
}
.lake-gauge__inner {
    position:absolute;
    left:11%;
    right:11%;
    bottom:-1px;
    height:78%;
    border-radius:360px 360px 0 0;
    background:var(--surface);
}
.lake-gauge__needle {
    position:absolute;
    z-index:2;
    left:50%;
    bottom:0;
    width:5px;
    height:73%;
    transform-origin:50% 100%;
    transform:translateX(-50%) rotate(-90deg);
    transition:transform .55s ease;
}
.lake-gauge__needle::before { content:""; position:absolute; left:50%; top:0; width:12px; height:82%; transform:translateX(-50%); background:#17181c; clip-path:polygon(50% 0,100% 100%,0 100%); }
.lake-gauge__needle span { position:absolute; left:50%; bottom:-7px; width:16px; height:16px; transform:translateX(-50%); border-radius:50%; background:#17181c; }
.lake-gauge__min,.lake-gauge__mid,.lake-gauge__max { position:absolute; z-index:3; bottom:5px; color:var(--text); font-size:12px; font-weight:800; }
.lake-gauge__min { left:4%; }
.lake-gauge__mid { left:50%; bottom:auto; top:8%; transform:translateX(-50%); }
.lake-gauge__max { right:4%; }
.lake-gauge__value { margin-top:14px; color:var(--sky); font-size:54px; font-weight:500; line-height:1; letter-spacing:-2px; }
.lake-gauge__unit { margin-top:3px; color:var(--muted); font-size:13px; font-weight:700; }
.lake-gauge time { margin-top:10px; color:var(--blue); font-size:22px; font-weight:800; }
.lake-widget-empty { display:flex; align-items:center; justify-content:center; gap:8px; min-height:150px; color:var(--muted); text-align:center; }



.lake-level-widget--sidebar { overflow:hidden; }
.lake-level-widget__link { display:block; padding:18px 18px 16px !important; color:inherit; text-decoration:none; }
.lake-level-widget__link:hover { color:inherit; }
.lake-gauge--sidebar .lake-gauge__scale { width:min(100%,240px); }
.lake-gauge--sidebar .lake-gauge__value { margin-top:8px; font-size:38px; letter-spacing:-1px; }
.lake-gauge--sidebar .lake-gauge__unit { font-size:11px; }
.lake-gauge--sidebar time { margin-top:6px; font-size:16px; }

[data-site-theme="dark"] .lake-month-select select { border-color:var(--line); background:var(--surface); color:var(--text); }
[data-site-theme="dark"] .lake-gauge__needle::before,
[data-site-theme="dark"] .lake-gauge__needle span { background:#f2f2f2; }

@media (max-width:720px) {
    .static-page--lake .static-page__layout .static-page__shell { width:100%; padding:18px 14px 28px; }
    .lake-widget__header { align-items:flex-start; flex-direction:column; }
    .lake-month-select, .lake-month-select select { width:100%; }
    .lake-widget__body { padding:14px; }
    .lake-chart-meta { flex-direction:column; gap:3px; }
    .lake-chart-canvas-wrap { min-height:300px; }
    .lake-chart-canvas-wrap canvas { height:300px; }
    .lake-chart-legend { gap:10px 14px; }
    .lake-gauge__value { font-size:44px; }
    .lake-gauge time { font-size:19px; }
    .lake-static-image img { aspect-ratio:16/9; }
}
