:root {
    --purple: #9d82ff;
    --purple-hr: #7f60e4;
    --paper: #f7f4ed;
    --blue: #168cff;
    --blue-light: #55b7ff;
    --deep-blue: #07111f;
    --orange: #ff7a30;
    --orange-light: #ffb45a;
    --cyan: #35d0c2;
    --yellow: #ffd166;
    --black: #121218e6;
    --light-light: #d6d6d6;
    --container: 1150px;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #07111f;
    background-image: radial-gradient(circle at 10% 20%, rgba(30, 144, 255, 0.10) 0%, transparent 40%), radial-gradient(circle at 90% 80%, rgba(255, 145, 55, 0.07) 0%, transparent 40%);
    overflow-x: hidden;
}

.bold-text {
    font-weight: bold;
}

.fs-46 {
    font-size: 46px;
}

.fs-34 {
    font-size: 34px;
}

.fs-24 {
    font-size: 24px;
}

.fs-20 {
    font-size: 20px;
}

.fs-18 {
    font-size: 18px;
}

.fs-14 {
    font-size: 14px;
}

.fs-12 {
    font-size: 12px;
}

.p-14 {
    padding: 14px;
}

.pl-30 {
    padding-left: 30px;
}

.pr-30 {
    padding-right: 30px;
}

.pl-10 {
    padding-left: 10px;
}

.pr-10 {
    padding-right: 10px;
}

.pt-5 {
    padding-top: 5px !important;
}

.pt-10 {
    padding-top: 10px;
}

.pt-20 {
    padding-top: 20px;
}

.pt-30 {
    padding-top: 30px;
}

.ml-30 {
    margin-left: 30px;
}

.ml-14 {
    margin-left: 14px;
}

.m-14 {
    margin: 14px;
}

.my-14 {
    margin: 14px 0px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-50 {
    margin: 50px 0px;
}

.purple {
    color: #9d82ff;
    text-shadow: 0 0 20px rgba(127, 96, 228, 0.3);
}

.white {
    color: white;
}

.light {
    color: #c0c6cc;
}

.black {
    color: var(--black);
}

.text-justify {
    text-align: justify;
}

.text-exp {
    text-align: left;
}

.span-heigth-40 {
    height: auto;
    min-height: 40px;
}

.d-flex-ortalama {
    display: flex;
    align-items: center;
    justify-content: center;
}

.d-flex-iki-uca-itme {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.d-flex-about-teck {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.d-flex-alt-alta-dizme {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.d-flex-card {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.hr-line {
    height: 3px !important;
    width: 50px;
    opacity: 1;
    margin: 8px 0;
    background: linear-gradient(90deg, #168cff, #35d0c2);
    border: none;
    border-radius: 2px;
}

.vertical-hr-line {
    height: 20px !important;
    width: 2px;
    opacity: 1;
    background: var(--orange);
}

/* cv-page CSS */

.cv-page {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.blue-outline-button {
    border-radius: 8px;
    background: rgba(127, 96, 228, 0.05);
    border: #7f60e4 solid 1px;
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-color: var(--blue);
    background: rgba(22,140,255,.07);
}

    .blue-outline-button:hover {
        background: #7f60e4;
        color: white;
        box-shadow: 0 0 20px rgba(127, 96, 228, 0.5);
        transform: translateY(-2px);
        background: var(--blue);
        border-color: var(--blue);
        box-shadow: 0 14px 30px rgba(22,140,255,.25);
    }


.orange-outline-button {
    border-radius: 8px;
    background: rgba(127, 96, 228, 0.05);
    border: #7f60e4 solid 1px;
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-color: var(--orange);
    background: rgba(22,140,255,.07);
}

    .orange-outline-button:hover {
        background: #7f60e4;
        color: white;
        box-shadow: 0 0 20px rgba(127, 96, 228, 0.5);
        transform: translateY(-2px);
        background: var(--orange);
        border-color: var(--orange);
        box-shadow: 0 14px 30px rgba(22,140,255,.25);
    }

/* header-summary CSS */

.header-summary {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.w-info {
    width: 80%;
    line-height: 1.6;
}

/* header-code CSS */

.header-code {
    display: flex;
    flex-direction: column;
    width: 50%;
}

/* skill-cards CSS */

.skill-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: var(--bs-light);
    border: 1px solid rgba(127, 96, 228, 0.2);
    border-color: rgba(22,140,255,.18);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 15px;
    transition: transform 0.3s ease;
}

    .skill-cards:hover {
        border-color: rgba(30, 144, 255, 0.4);
    }

.small-box {
    width: 25%;
    transition: transform 0.3s ease;
}

    .small-box:nth-child(1) .box-image {
        filter: hue-rotate(245deg) saturate(1.3);
    }

    .small-box:nth-child(2) .box-image {
        filter: hue-rotate(85deg) saturate(1.4);
    }

    .small-box:nth-child(3) .box-image {
        filter: hue-rotate(290deg) saturate(1.3);
    }

    .small-box:nth-child(4) .box-image {
        filter: hue-rotate(150deg) saturate(1.3);
    }

    .small-box:hover {
        transform: translateY(-3px);
    }

.box-image {
    width: 20%;
    filter: drop-shadow(0 0 8px rgba(127, 96, 228, 0.3));
}

/* about-me CSS */

.about-me {
    width: 35%;
}

.tech-stack {
    width: 65%;
}

.tech-stack-part {
    margin-right: 2px;
    transition: transform 0.2s ease;
}

    .tech-stack-part:hover {
        transform: translateY(-3px);
    }

.tech-stack-img {
    width: 30%;
    padding: 10px;
    margin: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(183, 183, 183, 0.12);
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .tech-stack-img:hover {
        border-color: var(--blue);
        box-shadow: 0 0 15px rgba(22,140,255,.2);
        background: rgba(22,140,255,.05);
    }

.tech-header {
    width: 15%;
}

.tech-part {
    width: 85%;
}

/* experience CSS */

.experience {
    width: 100%;
}

.experience-year {
    width: 20%;
    font-weight: 600;
}

.experience-company {
    width: 30%;
    border-left: 2px solid var(--orange-light);
    padding-left: 30px;
    transition: border-color 0.3s ease;
}

    .experience-company:hover {
        border-color: #53c3d1;
    }

.experience-text {
    width: 50%;
}

/* class part */

.vscode {
    height: 330px;
    display: flex;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(127, 96, 228, 0.25);
    border-color: rgba(22, 140, 255, .18);
}

    .vscode::before {
        background: #ff8a3d;
    }

.shadow {
    box-shadow: 0 .5rem 1rem rgb(121 221 175 / 15%) !important;
}
/* Sidebar */

.sidebar {
    width: 260px;
    background: #18181b;
    color: #a1a1aa;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.explorer-title {
    padding: 20px;
    letter-spacing: 1px;
    font-weight: bold;
    font-size: 11px;
    color: #71717a;
}

.folder,
.file {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

    .file.active {
        background: rgba(85,183, 255, 0.15);
        color: white;
        border-left: 3px solid var(--blue);
    }

/* Editor */

.editor {
    flex: 1;
    background: #121215;
    overflow: hidden;
}

.tabs {
    height: 40px;
    background: #18181b;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab {
    background: #121215;
    color: white;
    padding: 10px 20px;
    border-top: 2px solid #7f60e4;
}

.code-area {
    padding: 20px;
    color: #d4d4d4;
    overflow-x: auto;
}

.line {
    white-space: pre;
}

.number {
    color: #52525b;
    display: inline-block;
    width: 40px;
    user-select: none;
}

.keyword {
    color: #9d82ff;
}

.class {
    color: #53c3d1;
}

.method {
    color: #facc15;
}

.string {
    color: #34d399;
}

.purple {
    color: var(--purple);
}

.blue {
    color: #53c3d1;
}

.orange {
    color: var(--orange);
}

.yellow {
    color: #facc15;
}

.green {
    color: #34d399;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background: #9d82ff;
    margin-left: 2px;
    animation: blink .8s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* get-in-touch CSS */

.get-in-touch {
    display: flex;
    flex-direction: column;
    width: 50%;
}

/* contact CSS */
.contact-icon {
    width: 4%;
    filter: drop-shadow(0 0 5px rgba(85, 183, 255, 0.3));
}

.contact {
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    gap: 10px 0;
}

.contact-card {
    padding: .5rem !important;
}

.contact .d-flex-card {
    background: rgba(25, 22, 38, 0.4);
    border: 1px solid rgba(127, 96, 228, 0.15);
    border-radius: 10px;
    padding: 10px 15px !important;
    transition: all 0.3s ease;
}

    .contact .d-flex-card:hover {
        border-color: rgba(127, 96, 228, 0.5);
        background: rgba(25, 22, 38, 0.8);
        transform: translateX(4px);
    }


/* footer CSS */
.cv-footer {
    width: 100%;
    background: var(--bs-gray-800);
    border-radius: 15px;
}

.footer-box {
    min-height: 150px;
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 35px 55px;
}

.footer-decoration {
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    opacity: .95;
}

    .footer-decoration.left {
        left: -45px;
        top: -45px;
        background: var(--orange);
    }

    .footer-decoration.right {
        right: -40px;
        bottom: -50px;
        background: var(--purple);
    }

.footer-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    flex-shrink: 0;
}

.footer-content {
    position: relative;
    z-index: 3;
    flex: 1;
}

    .footer-content h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 5px;
    }

    .footer-content p {
        color: #b8c8dc;
        font-size: 13px;
    }

.footer-button {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--navy);
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}


/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ========================================== */

@media (max-width: 1200px) {
    .d-flex-about-teck {
        display: flex;
        flex-direction: column;
        width: 100%;
        flex-wrap: wrap;
    }

    .about-me {
        width: 100%;
    }

    .tech-stack {
        width: 100%;
    }
}

/* 1. Büyük Tablet / Küçük Dizüstü (1024px ve altı) */
@media (max-width: 1024px) {
    .sidebar {
        width: 130px;
        font-size: 11px;
    }

    .box-image {
        width: 25%;
    }

    .contact-icon {
        width: 4%;
    }

    .pr-30 {
        padding-right: 15px;
    }

    .pl-30 {
        padding-left: 15px;
    }

    .pt-30 {
        padding-top: 20px;
    }

    .mt-50 {
        margin: 40px 0px;
    }

    .fs-34 {
        font-size: 26px;
    }

    .fs-14 {
        font-size: 12px;
    }

    .tech-header {
        width: 22%;
    }

    .tech-part {
        width: 78%;
    }
}

/* 2. Tablet Dikey / Orta Boy Ekranlar (768px - 1024px arası) */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-summary {
        width: 45%;
    }

    .header-code {
        width: 55%;
    }

    .text-exp {
        text-align: left;
        width: 90%;
    }

    .get-in-touch {
        width: 60%;
    }
}

/* 3. Telefonlar ve Küçük Tabletler (768px ve altı) */
@media (max-width: 768px) {
    .d-flex-iki-uca-itme {
        display: flex;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }

    .cv-page {
        padding: 0 10px;
    }

        .cv-page > div,
        .header-summary,
        .header-code {
            width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

    .header-code {
        margin-top: 35px;
    }

    /* VS Code Alanı Mobilde/Tablette Sıkışmasın */
    .vscode {
        height: 280px;
        width: 100%;
    }

    .explorer-title {
        padding: 12px 10px;
        font-size: 10px;
    }

    .folder, .file {
        padding: 8px 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .box-image {
        width: 28px;
    }

    /* Teknoloji Alanı Düzenlemesi */
    .tech-header {
        width: 100% !important;
        display: block;
    }

    .tech-part {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }

    .tech-stack-img {
        width: 36px;
        padding: 6px;
        margin: 4px;
    }

    /* Deneyim Bilgileri Alt Alta Akışa Geçar */
    .experience-year,
    .experience-company,
    .experience-text {
        width: 100% !important;
        padding-left: 0 !important;
        border-left: none !important;
        margin-top: 5px;
    }

    .experience > div {
        flex-direction: column;
        border-bottom: 1px solid rgba(127, 96, 228, 0.2);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    /* Butonlar Tam Genişlik Kullanıma Uygunlaşır */
    .get-in-touch {
        width: 100%;
        align-items: flex-start;
    }

    .contact {
        width: 100%;
    }

    .w-25 {
        width: 100% !important;
    }

    /* İletişim Bilgileri */
    .contact > div {
        width: 100% !important;
        margin-bottom: 10px;
    }

    .contact-icon {
        width: 22px;
        margin-right: 12px;
    }

    .fs-46 {
        font-size: 32px;
    }

    .fs-34 {
        font-size: 24px;
    }

    .mt-50 {
        margin: 20px 0px;
    }

    .contact-card {
        padding: 0 !important;
    }

    .footer-box {
        flex-direction: column;
        text-align: center;
        padding: 45px 25px;
    }
}

/* Küçük Telefonlar (480px ve altı) */
@media (max-width: 480px) {
    .navbar-header span:nth-child(3) {
        display: none; /* Çok küçük ekranda 'Mine Güldaş' adını logo yanından gizleyip temiz bırakabilir */
    }

    .small-box {
        width: 50%; /* Çok dar ekranlarda istatistikleri alt alta tekli dizebilir */
    }

    .w-info {
        width: 100%;
        text-align: justify;
    }

    .header-code {
        display: none;
    }

    .span-heigth-40 {
        text-align: center;
    }

    .text-exp {
        text-align: justify;
        width: 100%;
    }
}

/* Bootstrap Container Genişlik Optimizasyonları */
@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 650px;
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 900px;
    }
}

@media (min-width: 992px) {
    .container-lg, .container-md, .container-sm, .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1150px;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}
