/* ===== TARAYICI RESET ===== */
/* Tüm HTML elemanlarının varsayılan boşluklarını sıfırlar */
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== GENEL SAYFA AYARLARI ===== */
body {
    font-family: Arial, sans-serif; 
    background-image: url("images/gok.jpg");
    background-size: cover;
    background-position: center;

/* ===== ANA GÖVDE (3 SÜTUNLU GRID) ===== */
main {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 20px;
    padding: 40px;
}

/* ===== YAN SÜTUNLAR VE ORTA SECTION ===== */
aside, section {
    background-color: rgba(73, 69, 116, 0.423);
    padding: 45px;
/* ===== GÜNÜN KUTULARI (GENEL) ===== */
.daily-box {
    background: linear-gradient(
        145deg,
        rgba(85, 72, 112, 0.65),
        rgba(52, 44, 70, 0.65)
    );
    padding: 18px;
    border-radius: 18px;
    font-size: 13px;
    color: #f3edff;

    box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

/* BAŞLIK */
.daily-box h4 {
    margin-bottom: 12px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

}
/* ===== ÜST BAR (HEADER) ===== */
header {
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 20px 20px;
    background-image: url("images/ust-bar.jpg");
    background-size:cover;
    background-position:center
}

/* ===== MENÜ (NAVBAR) ===== */
nav {
    display:flex;
    justify-content: center;
    gap: 90px;
    background-color: #7a5c80;
    padding: 10px;

}

/* ===== MENÜ LİNKLERİ ===== */
nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* ===== ORTA ALANDAKİ KARTLARIN DÜZENİ ===== */
.content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ===== KART HOVER (FARE ÜZERİNE GELİNCE) ===== */
.card:hover {
    transform: translateY(-4px);
}
.card {
    display: block;
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    box-shadow: 0 8px 20px rgba(122, 35, 35, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}

.card-body {
    padding: 16px;
}

.card-category {
    font-size: 12px;
    font-weight: bold;
    color: #b00020;
    letter-spacing: 1px;
}

.card-title {
    font-size: 18px;
    margin: 8px 0;
}

.card-text {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
.card {
    width: 320px;
    position: relative;
}
.img-closed {
    position: relative;
    z-index: 1;
}

.img-open {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.card:hover .img-open {
    opacity: 1;
}

.card:hover .img-closed {
    opacity: 0;
}
.card {
    height: 220px;
    position: relative;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ORTA ALAN / KARTLAR ===== */
.content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== CARD (KÜTÜPHANE) ===== */
.card {
    width: 100%;
    height: 220px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.2);
}
.card-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 3;
}

.card-text h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.card-text p {
    font-size: 13px;
    line-height: 1.4;
}
.card {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.img-closed {
    opacity: 1;
    z-index: 1;
}

.img-open {
    opacity: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
}

.card:hover .img-open {
    opacity: 1;
}

.card:hover .img-closed {
    opacity: 0;
}

.card-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    z-index: 3;
}
}
#noteInput {
    width: 100%;
    max-width: 600px;
    min-height: 90px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid #ddd;
    font-size: 15px;
    outline: none;
    resize: none;
    background: #fffdf9;
    box-shadow: inset 2 2px 6px rgba(0,0,0,0.08);
}
/* ===== ASIDE PANEL ===== */
.side-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* "Bİr not birak"ŞERİT */
.note-strip {
    background: linear-gradient(135deg, #6a5b7b, #544062);
    color: white;
    padding: 12px 18px;
    border-radius: 40px;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;

    font-size: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    transition: background 0.3s ease, transform 0.2s ease;
}

.note-strip:hover {
    background: linear-gradient(135deg, #7b6a8f, #5f4a70);
    transform: translateY(-1px);
}

.note-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
}

.note-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}
/* ===== AÇILAN NOT PANELİ (SLIDE) ===== */
.note-panel {
    background: rgba(51, 51, 56, 0.6);
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);

    max-height: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateY(-6px);

    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}

.note-panel.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}
}

/* TEXTAREA */
.note-panel textarea {
    width: 100%;
    height: 80px;
    border-radius: 10px;
}

/* BUTONLAR */
.note-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.note-buttons button,
.note-buttons a {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    background: #603b9f;
    color: rgb(207, 207, 207);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

/* ===== SON NOTLAR ===== */
.latest-wrap h4 {
    margin: 18px 0 12px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e7dff2;
    opacity: 0.85;
}

.latest-notes div {
    background: linear-gradient(
        180deg,
        #fffdf6 0%,
        #f3ecd2 100%
    );
    padding: 14px 14px 16px;
    border-radius: 12px;
    margin-bottom: 12px;

    font-size: 13px;
    line-height: 1.5;
    color: #3e3a2f;

    box-shadow:
        0 6px 14px rgba(0,0,0,0.18),
        inset 0 0 0 1px rgba(0,0,0,0.05);

    position: relative;
}
/* CARD BLOĞU */
.card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* DIŞARI TAŞAN BAŞLIK – DERGİ STİLİ */
.card-label {
    position: absolute;
    top: -14px;
    left: -2px;

    padding: 4px 10px;

    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: rgba(240, 232, 255, 0.9);

    background: linear-gradient(
        90deg,
        rgba(120, 92, 168, 0.95),
        rgba(78, 60, 112, 0.95)
    );

    border-radius: 4px 12px 12px 4px;

    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
    z-index: 5;
}
.weekly-aside {
    padding: 16px;
    overflow: visible;
}

.weekly-aside h3 {
    margin-bottom: 20px;
    font-size: 16px;
}

.weekly-board {
    margin-bottom: 30px;
    padding: 16px;

    min-height: 120px; /* yükseklik hissi */
    display: flex;
    flex-direction: column;
    gap: 10px;

    background: rgba(240, 235, 220, 0.9);
    color: #2f2a22;

    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);

    transform-origin: top center;
    animation: swing 5s ease-in-out infinite;
}
.weekly-board h4 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}
.weekly-board h4 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}
/* ======================
   MOBİL UYUMLULUK
====================== */
@media (max-width: 900px) {

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    main {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .content {
        grid-template-columns: 1fr;
    }

    aside,
    section {
        padding: 20px;
    }

    .card {
        height: 200px;
    }
}
.wall-bg {
    background-image: url("../images/gok.jpg");
    background-size: cover;
    background-position: center;
}
.wall-grid {
    background-image: url("../images/pano.jpg");
    background-size: cover;
    border-radius: 16px;
}
