/* ===== Yiğit Yüksel – Shared Styles ===== */
:root {
    --bg: #0f0f0f;
    --bg-light: #1a1a1a;
    --text: #e8e4dc;
    --text-muted: #a39e94;
    --gold: #9c7a4a;
    --gold-hover: #b8925e;
    --white: #ffffff;
    --border: rgba(156, 122, 74, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-weight: 300;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Language fade */
.lang-tr, .lang-en {
    transition: opacity 0.25s ease;
}

.lang-hidden {
    display: none !important;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.35rem;
    color: var(--gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.lang-switch {
    display: flex;
    gap: 0.4rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
}

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text);
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 80vh;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
    border-bottom: 1px solid var(--border);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/_DSC2686.jpg');
    background-size: cover;
    background-position: center top;
    opacity: 0.18;
    filter: grayscale(40%) contrast(1.05);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15,15,15,0.55) 0%,
        rgba(15,15,15,0.75) 50%,
        rgba(15,15,15,0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    color: var(--white);
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 300;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ===== BIO ===== */
.bio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.bio-text p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
}

.bio-image img {
    width: 100%;
    border: 1px solid var(--border);
    filter: grayscale(20%);
}

/* ===== WORKS ===== */
.category-block {
    margin-bottom: 3.5rem;
}

.category-block h3 {
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.work-list {
    list-style: none;
}

.work-list li {
    margin-bottom: 1.1rem;
}

.work-list a {
    color: var(--text);
    transition: color 0.2s;
    font-size: 1.05rem;
}

.work-list a:hover {
    color: var(--gold);
}

.work-list .ensemble {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

/* ===== MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-light);
    border: 1px solid var(--border);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--gold);
}

.modal h2 {
    font-size: 1.7rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    text-align: left;
}

.modal-meta {
    margin-bottom: 1.5rem;
}

.modal-meta p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.modal-meta strong {
    color: var(--gold);
    font-weight: 500;
}

.modal-notes {
    margin: 1.8rem 0;
    padding: 1.4rem;
    background: var(--bg);
    border-left: 3px solid var(--gold);
}

.modal-notes h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.modal-notes p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.modal .btn-primary {
    margin-top: 1.2rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.75rem 1.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'Inter', sans-serif;
    margin-top: 1.5rem;
}

.btn-primary:hover {
    background: var(--gold);
    color: var(--bg);
}

/* ===== FORM ===== */
.form-section {
    max-width: 620px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group label .req {
    color: var(--gold);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.parts-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
}

.parts-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 0.55rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.parts-options input {
    width: auto;
    margin: 0;
}

.parts-options label:has(input:checked),
.parts-options label:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.warning-box {
    background: rgba(156, 122, 74, 0.12);
    border: 1px solid var(--gold);
    padding: 1rem 1.2rem;
    margin: 1.5rem 0;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-align: center;
    color: var(--gold);
    font-weight: 500;
}

#selectionBox {
    display: none;
}

/* ===== CONTACT ===== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text);
    transition: color 0.25s;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-link i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .bio-grid { grid-template-columns: 1fr; }
    .hero { height: 60vh; }
    .parts-options { flex-direction: column; }
}

/* Work in Progress badge */
.badge-wip {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    vertical-align: middle;
    font-style: normal;
}

/* Disabled Get Score button on WIP pages */
.btn-primary:disabled,
.btn-primary[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== UTILITY CLASSES (replacing former inline styles) ===== */
.section--top {
    margin-top: 60px;
}

.intro-text {
    text-align: center;
    max-width: 700px;
}

.intro-lead {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.back-link {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.notes-spaced {
    margin-top: 2rem;
}

.work-meta-note {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.work-meta-note--italic {
    font-size: 0.95rem;
    font-style: italic;
    margin-top: 0.8rem;
}

.lyric-block {
    white-space: pre-line;
    color: var(--text-muted);
    font-style: italic;
}

.lyric-block--spaced {
    margin-top: 1.2rem;
    font-style: normal;
}

.attribution {
    margin-top: 0.8rem;
    color: var(--text-muted);
}

.sub-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 1.4rem 0 0.8rem;
}

.sub-label--first {
    margin-top: 0;
}