/* ============================================================
   BERRUNC PORTFOLIO — MAIN STYLESHEET
   ------------------------------------------------------------
   00. Design Tokens (variables)
   01. Reset & Base
   02. Helpers
   03. Header / Navigation
   04. Hero Section
   05. Buttons
   06. Hero Visual (person, glow, tech badges)
   07. Section Shell & Titles
   08. About Section
   09. Resume Section
   10. Skills Section
   11. Contact Section
   12. Footer
   ------------------------------------------------------------
   Responsive rules live in: assets/css/responsive.css
   ============================================================ */


/* ============================================================
   00. DESIGN TOKENS
   ============================================================ */
:root {
    /* Colors — brand */
    --color-accent: #FF3366;
    --color-accent-soft: rgba(255, 51, 102, 0.08);
    --color-accent-line: rgba(255, 51, 102, 0.2);
    --color-accent-hover: rgba(255, 51, 102, 0.4);

    /* Colors — surfaces */
    --color-bg: #000000;
    --color-section: #0F0F17;
    --color-section-alt: #09090E;
    --color-card: #0E0E13;
    --color-card-dark: #0c0c0c;
    --color-footer: #08080D;

    /* Colors — text */
    --color-text: #ffffff;
    --color-muted: #bdbdbd;

    /* Colors — lines & fills */
    --color-border: #212126;
    --color-border-soft: rgba(255, 255, 255, 0.08);
    --color-border-faint: rgba(255, 255, 255, 0.12);
    --color-fill-faint: rgba(255, 255, 255, 0.02);
    --color-fill-input: rgba(255, 255, 255, 0.04);
    --color-track: #1e293b;
    --color-glass: rgba(15, 15, 15, 0.75);
    --color-header-glass: rgba(8, 8, 8, 0.7);

    /* Typography */
    --font-display: 'Big Shoulders', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Motion */
    --transition-fast: 0.3s ease;
    --transition-slow: 0.4s ease;

    /* Layout */
    --header-offset: 90px;
    --container-md: 1290px;
    --container-lg: 1500px;
}


/* ============================================================
   01. RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: var(--header-offset);
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Fixed background texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: var(--color-bg);
    background-image: url('../img/indir.png');
    background-size: 1630px 916px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* ============================================================
   02. HELPERS
   ============================================================ */
.text-center {
    text-align: center;
}


/* ============================================================
   03. HEADER / NAVIGATION
   ============================================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-slow);
}

header.scrolled {
    background-color: var(--color-header-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 900;
    color: var(--color-accent);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-link {
    position: relative;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger button — hidden on desktop, shown in responsive.css */
.nav-toggle {
    display: none;
}


/* ============================================================
   04. HERO SECTION
   ============================================================ */
.hero {
    min-height: 100vh;
    padding: 76px 8% 0;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left {
    width: 48%;
}

.right {
    width: 48%;
    height: calc(100vh - 76px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.tag::before {
    content: "";
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
}

.left h1 {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 150px);
    line-height: 0.9;
    font-weight: 900;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.hero-name .ryan {
    display: block;
    color: var(--color-text);
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
}

.hero-name .nova {
    display: block;
    color: var(--color-accent);
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-tagline {
    max-width: 480px;
    font-size: 18px;
    line-height: 32px;
    color: var(--color-muted);
}

.hero-cta-row {
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}


/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn-cc {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-accent);
    color: var(--color-text);
    padding: 15px 28px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-fast);
}

.btn-trasp {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-accent);
}

.btn-trasp:hover {
    background-color: var(--color-accent);
    color: var(--color-text);
}

.btn-quote:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}


/* ============================================================
   06. HERO VISUAL
   ============================================================ */
.hero-person-main {
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-person-glow {
    width: clamp(400px, 42vw, 700px);
    aspect-ratio: 1;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background-color: var(--color-accent);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    pointer-events: none;
}

/* Görselin kutusuyla birebir örtüşen çerçeve.
   Badge'ler bu kutuya göre konumlandığı için her ekranda
   silüetin boş kalan bölgelerinde durur. */
.hero-person-frame {
    /* Yükseklikten türeyen genişlik, kapsayıcıyı asla taşmaz */
    width: min(100%, clamp(420px, 90vh, 880px) * 1121 / 1402);
    aspect-ratio: 1121 / 1402;
    position: relative;
    z-index: 2;
}

.heroImgPerson {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* --- Tech badges --- */
.tech-badge {
    position: absolute;
    z-index: 10;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: var(--color-glass);
    border: 1px solid var(--color-accent-line);
    border-radius: 10px;
    backdrop-filter: blur(4px);
    color: var(--color-text);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.45), 0 0 20px rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.tech-badge:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.35);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 26px rgba(255, 255, 255, 0.3);
}

.tech-badge img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* Konumlar .hero-person-frame'e (görsel kutusu) göredir.
   Silüet yukarıdan aşağı genişlediği için badge'ler de
   aşağı indikçe dışa açılır — omuz hattını takip eden bir yay.
   Sol ve sağ dikey ritmi kasten farklı, karşılıklı hizalanmasınlar. */

/* Sol yay */
.tech-badge.html {
    top: 3%;
    left: 9%;
}

.tech-badge.css {
    top: 28%;
    left: 2%;
}

.tech-badge.cplus {
    top: 50%;
    left: -2%;
}

/* Sağ yay */
.tech-badge.csharp {
    top: 4%;
    right: 12%;
}

.tech-badge.python {
    top: 25%;
    right: 4%;
}

.tech-badge.sql {
    top: 47%;
    right: -3%;
}


/* ============================================================
   07. SECTION SHELL & TITLES
   ============================================================ */
.section {
    position: relative;
    z-index: 1;
    background-color: var(--color-section);
    padding: 40px;
}

.sec-clss {
    position: relative;
    z-index: 1;
    background-color: var(--color-section-alt);
    padding: 60px;
    text-align: center;
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    text-align: center;
    margin-bottom: 15px;
}

.big-title {
    font-family: var(--font-display);
    font-size: 90px;
    line-height: 90px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.big-title .besalti {
    color: var(--color-text);
}


/* ============================================================
   08. ABOUT SECTION
   ============================================================ */
.about-row {
    max-width: var(--container-lg);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-info {
    flex: 1;
    width: 100%;
}

.about-bio {
    font-size: 22px;
    line-height: 37px;
    color: var(--color-muted);
    margin-bottom: 30px;
}

.about-bio strong {
    color: var(--color-text);
    font-weight: 500;
}

.about-skills {
    max-width: 540px;
    margin: 0 auto 30px;
    font-size: 22px;
    line-height: 37px;
    color: var(--color-muted);
    text-align: center;
}

/* --- Personal details list --- */
.about-mel-datils {
    display: flex;
    gap: 30px;
}

.about-mel-datils ul {
    flex: 1;
    list-style: none;
}

.about-mel-datils ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-muted);
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 15px;
}

.about-mel-datils ul li:last-child {
    margin-bottom: 0;
}

/* --- Stat cards --- */
.about-right {
    margin: 30px 0;
    display: flex;
    gap: 20px;
}

.about-card {
    flex: 1;
    padding: 25px;
    background-color: var(--color-fill-faint);
    border: 2px solid var(--color-border-soft);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: var(--transition-slow);
}

.about-card:hover {
    border-color: var(--color-accent-hover);
}

.about-card h2 {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.about-card h3 {
    color: var(--color-text);
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- Buttons --- */
.about-buton-main {
    justify-content: center;
}


/* ============================================================
   09. RESUME SECTION
   ============================================================ */
.resume-grid {
    max-width: var(--container-lg);
    margin: 50px auto 0;
    display: flex;
    gap: 30px;
}

.resume-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.resume-col-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text);
}

.resume-card {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    padding: 30px;
    transition: var(--transition-fast);
}

.resume-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.resume-year {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.resume-title {
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 4px;
}

.resume-place {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 12px;
    transition: var(--transition-fast);
}

.resume-card:hover .resume-place {
    color: var(--color-accent);
}

.resume-desc {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-muted);
    margin-bottom: 18px;
}

.resume-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.resume-tags span {
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-muted);
    border: 1px solid var(--color-border-faint);
    border-radius: 6px;
}


/* ============================================================
   10. SKILLS SECTION
   ============================================================ */
.skills-grid {
    max-width: var(--container-lg);
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

.skill-card {
    flex: 1;
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    padding: 40px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-item:last-child {
    margin-bottom: 0;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 10px;
}

.skill-info span:last-child {
    color: var(--color-accent);
    font-weight: 600;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--color-track);
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 10px;
}


/* ============================================================
   11. CONTACT SECTION
   ============================================================ */
#contact {
    position: relative;
    overflow: hidden;
}

.contact-title {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--color-text);
}

.contact-title .besalti {
    color: var(--color-accent);
}

.contact-row {
    max-width: var(--container-md);
    margin: 60px auto 0;
    display: flex;
    gap: 24px;
}

/* --- Form --- */
.contact-form-main {
    flex: 7;
    padding: 45px;
    background-color: var(--color-card-dark);
    border: 2px solid var(--color-border-soft);
}

.contact-form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
}

.contact-input {
    flex: 1 1 40%;
    position: relative;
    margin-bottom: 30px;
}

.contact-input.full {
    flex-basis: 100%;
}

.contact-input input,
.contact-input textarea {
    width: 100%;
    height: 60px;
    background-color: var(--color-fill-input);
    border: 1px solid transparent;
    outline: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    transition: var(--transition-slow);
}

.contact-input input {
    padding: 12px 25px 12px 45px;
}

.contact-input textarea {
    height: 180px;
    padding: 22px 25px 0;
    resize: none;
}

.contact-input input:focus,
.contact-input textarea:focus {
    border-color: var(--color-accent);
}

.contact-input input::placeholder,
.contact-input textarea::placeholder {
    color: var(--color-muted);
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    color: var(--color-accent);
    font-size: 20px;
}

.input-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contact-send {
    width: 100%;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-body);
}

/* --- Info panel --- */
.contact-info-main {
    flex: 5;
    padding: 45px;
    background-color: var(--color-card-dark);
    border: 2px solid var(--color-border-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 35px;
    margin-bottom: 35px;
    border-bottom: 1px solid var(--color-border-soft);
}

.contact-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    background-color: var(--color-accent-soft);
    border: 1px solid var(--color-accent-line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 28px;
    transition: var(--transition-slow);
}

.contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: var(--transition-slow);
}

.contact-info-card:hover .contact-icon {
    background-color: var(--color-accent);
    color: var(--color-text);
    transform: rotate(8deg) scale(1.08);
}

.contact-info-card:hover .contact-icon img {
    filter: brightness(0) invert(1);
}

.contact-info-card span {
    display: block;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.contact-info-card a,
.contact-info-card p {
    color: var(--color-text);
    font-size: 22px;
    transition: var(--transition-slow);
}

.contact-info-card a:hover {
    color: var(--color-accent);
}

/* --- Social --- */
.contact-social {
    display: flex;
    gap: 10px;
}

/* Discord kopyalama butonu da aynı görünümü paylaşır */
.contact-social a,
.contact-social button {
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    font-size: 18px;
    transition: var(--transition-slow);
}

.contact-social button {
    padding: 0;
    background-color: transparent;
    font-family: inherit;
    cursor: pointer;
}

.contact-social a img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: var(--transition-slow);
}

.contact-social a:hover,
.contact-social button:hover {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-6px) rotate(8deg);
}

.contact-social a:hover img {
    filter: brightness(0);
}

/* Nick kopyalandığında kısa süreli onay durumu */
.contact-social button.copied {
    background-color: var(--color-accent);
    color: var(--color-bg);
    transform: none;
}


/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
    background-color: var(--color-footer);
    padding: 40px 8%;
    border-top: 1px solid var(--color-track);
    color: var(--color-muted);
    font-size: 15px;
    text-align: center;
}

.footer-yazi {
    color: var(--color-accent);
}
