@font-face {
    font-family: 'Audiowide';
    src: url('../fonts/Audiowide-Regular.woff2') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    background: #fff;      /* ⬅️ BEYAZ */
    color: #111;           /* ⬅️ SİYAH */
    font-family: Arial, Helvetica, sans-serif;
}

/* === SAYFA İSKELETİ === */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    text-align: center;
    padding: 25px 20px;
    background: #fff;      /* ⬅️ BEYAZ */
    border-bottom: 2px solid #caa84a;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.menu {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.menu a {
    color: #111;           /* ⬅️ SİYAH */
    text-decoration: none;
    font-size: 16px;
    padding-bottom: 5px;
}

.menu a:hover {
    color: #caa84a;
    border-bottom: 2px solid #caa84a;
}

/* SLIDER */
.slider {
    position: relative;
    width: 100%;
    max-width: calc(100% - 300px);
    flex: 1;
    height: min(60vh, 450px);
    min-height: 420px;
    margin: 40px auto;
    overflow: hidden;
    background: #fff;      /* ⬅️ BEYAZ */
}

@media (max-height: 800px) {
    .slider {
        height: 50vh;
    }
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;      /* ⬅️ BEYAZ */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* SLIDER OKLARI */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    background: rgba(255, 255, 255, 0.1);  /* ⬅️ yarı saydam beyaz */
    color: #caa84a;

    border: 1.5px solid rgba(201, 162, 39, 0.1);
    font-size: 34px;

    padding: 10px 14px;
    cursor: pointer;
    z-index: 20;

    border-radius: 12px;
    backdrop-filter: blur(6px);            /* ⬅️ cam efekti */
    transition: all 0.25s ease;
}

/* SOL / SAĞ */
.slider-btn.prev { left: 40px; }
.slider-btn.next { right: 40px; }

/* HOVER */
.slider-btn:hover {
    background: rgba(255, 255, 255, 0.85); /* ⬅️ hover’da daha net */
    color: #caa84a;
    border-color: #caa84a;
    transform: translateY(-50%) scale(1.08);
}

/* FOOTER */
.footer {
    margin-top: auto;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 12px 40px;
    border-top: 2px solid #caa84a;
    font-size: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    justify-self: start;
    font-size: 24px;
    font-weight: 600;
}

.footer-center {
    justify-self: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-center a {
    color: #111;           /* ⬅️ SİYAH */
    text-decoration: none;
    font-size: 13px;
}

.footer-center a:hover {
    color: #caa84a;
}

.footer-right {
    justify-self: end;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    text-align: right;
}

/* MOBİL */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
.global-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.alert {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.alert-success {
    background: #e6f6ed;
    color: #1e7e34;
}

.alert-error,
.alert-danger {
    background: #fdecea;
    color: #a71d2a;
}

.alert-warning {
    background: #fff4e5;
    color: #856404;
}

.alert-info {
    background: #e8f4fd;
    color: #0c5460;
}

.footer-right a {
    color: #111;
    text-decoration: none;
    font-size: 13px;
}

.footer-right a:hover {
    color: #caa84a;
}

.footer-menu a {
    font-size: 14px;  /* 13–15 arası iyi */
    letter-spacing: 0.3px;
}
.footer-copy {
    font-size: 12px;  /* 11–13 arası */
    color: #666;
}
.footer-right i {
    font-size: 16px;
}

.logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 42px;
    letter-spacing: 4px;
    text-decoration: none;
    border-bottom: none;
    display: inline-block;
    background: linear-gradient(
        90deg,
        #caa84a,
        #d4af37,
        #caa84a,
        #d4af37,
        #caa84a
    );
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: filter .25s ease;
}
.footer-logo {
    font-family: 'Audiowide', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    text-decoration: none;
    border-bottom: none;
    display: inline-block;
    background: linear-gradient(
        90deg,
        #caa84a,
        #d4af37,
        #caa84a,
        #d4af37,
        #caa84a
    );
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo:hover {
    filter: brightness(1.1);
}
.logout-form {
    display: inline;
}

.logout-link {
    background: none;
    border: none;
    font: inherit;       /* font aynı olsun */
    font-size: 16px;  /* boyut aynı olsun */
    color: #111;      /* renk aynı olsun */
    padding: 0;
    padding-bottom: 5px;
    margin: 0;
    cursor: pointer;
}
.logout-link:hover {
    color: #caa84a;
    border-bottom: 2px solid #caa84a;
}