/* === RESET & GENEL === */
* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    margin: 0;
    background: #f8f8f8;
    color: #222;
    line-height: 1.5;
}

/* === CONTAINER === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

/* === HEADER === */
header {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* === LOGO === */
.logo {
    margin: 0;
    font-weight: 700;
    font-size: 1.5em;
    letter-spacing: 0.03em;
}

/* === NAV === */
nav {
    display: flex;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #444;
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95em;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

nav a:hover {
    color: #000;
    border-bottom-color: #000;
    transform: translateY(-2px);
}

/* === HUB BUTTON === */
.hub-btn {
    margin-left: 26px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid #000;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    color: #000;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hub-btn:hover {
    background: #000;
    color: #fff;
    transform: scale(1.04);
}

/* === PAGE FADE === */
body {
    opacity: 0;
    animation: bodyFade .6s ease forwards;
}

@keyframes bodyFade {
    to { opacity: 1; }
}

/* === HERO ANIMATIONS === */
.hero-title {
    opacity: 0;
    transform: translateX(-35px);
    animation: heroSlide 1.1s ease forwards;
}

.hero-subtitle {
    margin-top: -6px;
    font-size: 1.4em;
    font-weight: 500;
    color: #444;
    opacity: 0;
    transform: translateX(35px);
    animation: heroSlide2 1.1s ease forwards;
    animation-delay: .35s;
}

@keyframes heroSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroSlide2 {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* === CARDS === */
.card {
    background: #fff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-bottom: 18px;
    animation: fadeUp .6s ease forwards;
    transform: translateY(15px);
    opacity: 0;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === MAIN === */
main {
    padding: 24px 0 40px;
    min-height: 70vh;
}

.section {
    max-width: 900px;
    margin: 40px auto 0;
}

/* === HERO === */
.hero {
    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    margin-top: 24px;
}

.hero h1 {
    font-size: 2.2em;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero p {
    max-width: 650px;
    margin: 0 auto;
    color: #555;
    font-size: 1.02em;
}

.hero-actions {
    margin-top: 28px;
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .2s ease, transform .1s ease, box-shadow .2s ease;
}

.btn:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}

/* === FORM === */
.form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95em;
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 1em;
    background: #fafafa;
}

.input:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

/* === FLASH === */
.flash-wrap {
    max-width: 900px;
    margin: 18px auto 0;
}

.flash {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.flash-success {
    background: #e5f7ec;
    color: #176b3f;
    border: 1px solid #b9e5c8;
}

/* === FOOTER === */
footer {
    background: #ffffff;
    padding: 20px 0;
    margin-top: 10px;
    color: #777;
    font-size: 0.9em;
    border-top: 1px solid #eee;
    text-align: center;
}

/* ================================================= */
/* ================== MOBILE ======================= */
/* ================================================= */

@media (max-width: 700px) {

    .header-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
    }

    nav a {
        margin-left: 0;
        padding: 8px 10px;
        border-bottom: none;
    }

    .hub-btn {
        margin-left: 0;
        width: 100%;
        max-width: 320px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 12px 16px;
        transform: none;
    }

    .hub-btn:hover {
        transform: none;
    }

    .hero {
        padding: 40px 16px;
        border-radius: 14px;
    }

    .hero h1 {
        font-size: 1.8em;
        line-height: 1.25em;
    }

    .section {
        margin-top: 30px;
    }

    .card {
        padding: 18px;
        border-radius: 12px;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 14px;
        border-radius: 12px;
    }
}
