/* ============================================================
   ERKIN SOZ — Sprint Minimal Premium (Marsala Edition)
   Full Desktop + Mobile UI • Glass • Blur • Animation
============================================================ */

/* ---------- GLOBAL THEME ---------- */
:root {
    --bg: #E3AFBC;
    --card: #FFFFFF;
    --text: #5D001E;
    --muted: #9A1750;
    --accent: #EE4C7C;
    --accent-dark: #D63F6B;
    --radius: 14px;
    --max-width: 1200px;

    --glass: rgba(255,255,255,0.35);
    --glass-dark: rgba(255,255,255,0.18);
    --blur: blur(14px);

    --font-main: "Inter", system-ui, sans-serif;
}

/* ---------- RESET ---------- */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    transition: all .25s ease;
}
html,body { height:100%; }
body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height:1.55;
}

/* GLOBAL PAGE FADE */
.page {
    opacity:0;
    animation:fadeIn .7s forwards ease;
}
@keyframes fadeIn { to {opacity:1;} }

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 12px;
}
::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.3);
}

/* ============================================================
   LAYOUT
============================================================ */
.container {
    max-width: var(--max-width);
    margin:auto;
    padding: 0 24px;
}

/* ============================================================
   NAVBAR (Glass + Blur)
============================================================ */
.site-header {
    position:sticky;
    top:0;
    z-index:50;
    background: var(--glass);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    border-bottom: 1px solid rgba(255,255,255,0.35);
}

.header-inner {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 24px;
}

.brand a {
    font-size:28px;
    font-weight:800;
    color:var(--text);
    text-decoration:none;
}

/* Desktop nav */
.nav {
    display:flex;
    gap:28px;
}
.nav a {
    padding:8px 12px;
    color:var(--text);
    text-decoration:none;
    border-radius:10px;
    font-weight:600;
}
.nav a:hover {
    background: var(--glass-dark);
}
.nav a.active {
    color:var(--accent);
}

/* Mobile nav */
.burger {
    display:none;
    font-size:30px;
    cursor:pointer;
    color:var(--text);
}

.mobile-menu {
    display:none;
    flex-direction:column;
    background: var(--glass);
    backdrop-filter: var(--blur);
    padding:16px;
}
.mobile-menu.show { display:flex; }

.mobile-menu a {
    padding:12px 0;
    font-size:18px;
    font-weight:600;
    text-decoration:none;
    color:var(--text);
}


/* ============================================================
   HERO SECTION (Glass + Blur)
============================================================ */
.hero {
    height:520px;
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}

.hero-content {
    position:relative;
    color:white;
    z-index:2;
    opacity:0;
    transform:translateY(20px);
    animation:fadeUp .9s forwards ease;
}
@keyframes fadeUp {
    to { opacity:1; transform:translateY(0); }
}

.hero-title {
    font-size:46px;
    font-weight:800;
    letter-spacing:3px;
}
.hero-sub {
    font-size:14px;
    letter-spacing:2px;
    opacity:0.9;
    margin-bottom:20px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    padding:12px 24px;
    border-radius:var(--radius);
    font-weight:700;
    cursor:pointer;
    border:none;
    text-decoration:none;
    display:inline-block;
}

/* Primary */
.btn.primary {
    background:var(--accent);
    color:#fff;
}
.btn.primary:hover {
    transform:translateY(-2px);
    background:var(--accent-dark);
}

/* Secondary */
.btn.secondary {
    background:white;
    border:2px solid var(--accent);
    color:var(--text);
}
.btn.secondary:hover {
    background:var(--accent);
    color:white;
}

/* Glass button */
.btn-glass {
    background:var(--glass);
    backdrop-filter:var(--blur);
    padding:12px 28px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,0.45);
    font-size:16px;
    font-weight:700;
    color:var(--text);
}
.btn-glass:hover {
    background:rgba(255,255,255,0.45);
    transform:translateY(-2px);
}

/* ============================================================
   CARDS
============================================================ */
.card {
    background:var(--card);
    padding:24px;
    border-radius:var(--radius);
    box-shadow:0 8px 24px rgba(0,0,0,0.08);
}
.card:hover {
    transform:translateY(-4px);
    box-shadow:0 14px 28px rgba(0,0,0,0.12);
}

/* ============================================================
   MEDIA GRID
============================================================ */
.media-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}
.media-item {
    border-radius:14px;
    overflow:hidden;
    background:black;
    position:relative;
}
.media-item img,
.media-item video {
    width:100%; height:100%;
    object-fit:cover;
    aspect-ratio:1/1;
}
.media-item:hover {
    transform:scale(1.03);
}

/* ============================================================
   PROFILE PAGE
============================================================ */
.profile-top {
    display:flex;
    gap:38px;
    align-items:center;
    margin-top:40px;
}

.profile-avatar {
    width:160px;
    height:160px;
    border-radius:50%;
    overflow:hidden;
    flex-shrink:0;
    border:6px solid rgba(255,255,255,0.35);
    backdrop-filter:blur(3px);
}

.profile-avatar img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.profile-meta .name {
    font-size:28px;
    font-weight:800;
}
.profile-meta .bio {
    max-width:580px;
    margin-top:10px;
    color:var(--muted);
}

.profile-stats {
    display:flex;
    gap:32px;
    margin-top:12px;
}

.stat .num {
    font-size:20px;
    font-weight:800;
}
.stat .label {
    color:var(--muted);
    font-size:14px;
}

/* Post menu (three dots) */
.post-menu {
    position:absolute;
    top:10px;
    right:12px;
    font-size:28px;
    cursor:pointer;
    color:white;
    text-shadow:0 0 5px black;
    z-index:15;
}
.post-menu-dropdown {
    display:none;
    position:absolute;
    right:0;
    top:32px;
    background:white;
    border-radius:12px;
    overflow:hidden;
    min-width:150px;
    box-shadow:0 8px 24px rgba(0,0,0,0.25);
    z-index:30;
}
.post-menu-dropdown a {
    padding:12px 16px;
    display:block;
    color:var(--text);
    text-decoration:none;
}
.post-menu-dropdown a:hover {
    background:var(--accent-soft);
}
.post-menu.show .post-menu-dropdown { display:block; }


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    margin-top:80px;
    background:#2b2b2b;
    padding:40px 20px;
    text-align:center;
    color:#eee;
    border-top:1px solid rgba(255,255,255,0.08);
}
.site-footer p {
    opacity:0.75;
    margin:5px 0;
}


/* ============================================================
   RESPONSIVE DESIGN
============================================================ */

/* Tablet */
@media(max-width:900px){
    .nav {display:none;}
    .burger {display:block;}

    .profile-top {
        flex-direction:column;
        text-align:center;
    }
}

/* Mobile */
@media(max-width:600px){
    .media-grid {
        grid-template-columns:repeat(2,1fr);
    }

    .profile-avatar {
        width:120px;
        height:120px;
    }

    .hero { height:360px; }
    .hero-title { font-size:32px; }
}
