/* TEMA: PAPİRÜS / FONKSİYONELLİK: ORİJİNAL MENÜLER */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Crimson+Pro:wght@400;500;700&display=swap');

:root {
    --papyrus-bg-color-light: #fdf5e6;
    --papyrus-bg-color-dark: #eee0c8;
    --text-primary-color: #3e2723;
    --text-secondary-color: #6d4c41;
    --border-color: #a1887f;
    --accent-color: #795548;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --active-bg-color: #d7ccc8;
}

body {
    font-family: 'Crimson Pro', serif;
    background-color: var(--papyrus-bg-color-light);
    color: var(--text-primary-color);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    background-attachment: fixed;
    margin: 0;
    padding: 25px;
    min-height: 100vh;
}

.page-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; }
.header { width: 100%; text-align: center; }
.header h1 { font-family: 'Cinzel Decorative', cursive; font-size: 3.8em; font-weight: 700; color: var(--accent-color); margin-bottom: 5px; }
.header p { font-size: 1.2em; color: var(--text-secondary-color); margin-top: 0; }

.desktop-nav { background-color: rgba(253, 245, 230, 0.8); backdrop-filter: blur(5px); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 2px 5px var(--shadow-color); padding: 10px 15px; margin-top: 25px; }
.desktop-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.desktop-nav ul li a { text-decoration: none; color: var(--accent-color); font-weight: 700; font-family: 'Cinzel Decorative', cursive; font-size: 1.1em; padding: 10px 18px; border-radius: 6px; display: block; transition: all 0.3s ease; }
.desktop-nav ul li a:hover { background-color: var(--active-bg-color); }

/* --- ORİJİNAL MENÜLERİN YENİ TEMAYA UYGUN STİLLERİ --- */

/* Sandviç Menü (Sağdan kayan) */
.mobile-nav-toggle { display: none; font-size: 2.5em; color: var(--accent-color); cursor: pointer; z-index: 1001; position: fixed; top: 25px; right: 25px; }
.mobile-nav { background-color: var(--papyrus-bg-color-dark); border-left: 1px solid var(--border-color); position: fixed; top: 0; right: -100%; width: 280px; height: 100%; box-shadow: -5px 0 20px rgba(0,0,0,0.1); z-index: 1000; transition: right 0.4s ease-in-out; padding-top: 80px; overflow-y: auto; }
.mobile-nav.active { right: 0; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav ul li a { display: block; padding: 15px 25px; font-size: 1.2em; color: var(--text-secondary-color); text-decoration: none; font-weight: 700; border-bottom: 1px solid var(--border-color); }
.mobile-nav .mobile-dropdown a { padding-left: 40px; font-size: 1.1em; color: var(--text-primary-color); }

/* Sağ Üst Yüzen Menü (Grid) */
.floating-menu-container { position: fixed; top: 25px; right: 90px; z-index: 1002; }
#float-menu-toggle { width: 50px; height: 50px; background: var(--text-secondary-color); color: white; border: none; border-radius: 50%; font-size: 1.5em; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; }
#float-menu-toggle:hover { transform: scale(1.1) rotate(15deg); }
#float-menu-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 300px; max-height: 70vh; overflow-y: auto; background-color: var(--papyrus-bg-color-light); border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); padding: 15px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s ease; }
#float-menu-panel.show { opacity: 1; visibility: visible; transform: translateY(0); }
#float-menu-links h3 { font-family: 'Cinzel Decorative', cursive; font-size: 1.1em; color: var(--accent-color); border-bottom: 2px solid var(--papyrus-bg-color-dark); padding-bottom: 8px; margin-top: 10px; margin-bottom: 10px; }
#float-menu-links a { display: block; padding: 10px 12px; text-decoration: none; color: var(--text-primary-color); border-radius: 8px; font-weight: 700; transition: background-color 0.2s; }
#float-menu-links a:hover { background-color: var(--active-bg-color); }

/* Sol Üst Anasayfa Butonu */
.home-button { position: fixed; top: 25px; left: 25px; z-index: 1002; width: 50px; height: 50px; background: var(--accent-color); color: white; border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; text-decoration: none; }
.home-button i { font-size: 1.5em; }
.home-button:hover { transform: scale(1.1) rotate(-10deg); }

/* Kartlar */
.container { max-width: 1100px; width: 100%; text-align: center; margin-top: 30px; }
.intro { font-size: 1.15em; line-height: 1.7; background-color: rgba(253, 245, 230, 0.7); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.card-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background-color: var(--papyrus-bg-color-dark); border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 2px 5px var(--shadow-color); border-left: 5px solid var(--accent-color); padding: 20px; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 6px 15px var(--shadow-color); }
.card .icon { font-size: 3.5em; line-height: 1; color: var(--accent-color); }
.card h2 { font-family: 'Cinzel Decorative', cursive; font-size: 1.6em; margin: 15px 0 10px 0; color: var(--text-primary-color); }
.card p { font-size: 1em; line-height: 1.6; margin-bottom: 0; color: var(--text-secondary-color); }
.card-sub-links { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; margin: 0; padding: 0; list-style: none; }
.card-sub-links.show { max-height: 250px; margin-top: 15px; }
.card-sub-links a { background-color: var(--papyrus-bg-color-light); border: 1px solid var(--border-color); display: block; padding: 12px; margin-top: 8px; border-radius: 10px; text-decoration: none; color: var(--accent-color); font-weight: bold; transition: background-color 0.2s; }
.card-sub-links a:hover { background-color: var(--active-bg-color); }

footer { margin-top: auto; padding: 30px; font-size: 0.9em; color: var(--text-secondary-color); text-align: center; }

@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .mobile-nav-toggle { display: block; }
    .header h1 { font-size: 2.8em; }
    body { padding: 15px; }
    .floating-menu-container { right: 85px; }
}
