body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --ana-renk: #2c3e50;
    --vurgu-renk: #e74c3c;
    --arka-plan: #ecf0f1;
    --yazi-renk: #34495e;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-icerik {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding-right: 30px;
    width: 30%;
}

.nav-icerik i {
    font-size: 20px;
    color: var(--ana-renk);
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}



.nav-items a {
    font-size: 17px;
    font-weight: 600;
    color: var(--yazi-renk);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-items a:hover {
    color: var(--vurgu-renk);
    transform: translateY(-2px);
}

.nav-items .dropdown-toggle {
    color: var(--yazi-renk) !important;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--ana-renk);
    cursor: pointer;
    border: 3px solid var(--ana-renk);
    padding: 10px 10px;
    font-weight: 900;
}

#iletisim-btn {
    border: 3px solid var(--ana-renk);
    background-color: var(--ana-renk);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}



.ana-bolum {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--arka-plan);
    min-height: 90vh;
    padding-top: 50px;
}

.anaIcerik {
    background-color: var(--arka-plan);
    padding-left: 50px;
    padding-right: 0px;
    text-align: center;
    width: 50%;
}

.metinKismi {
    width: 100%;
    margin-top: -150px;
}

.anasayfa-hakkımda {
    font-size: 22px;
    color: var(--yazi-renk);
    margin-top: 20px;
    line-height: 1.6;
    text-align: left;
}

.basliklar {
    color: var(--ana-renk);
    margin-bottom: 20px;
    padding-left: 0px;
    text-align: left;
    margin-bottom: 40px;

}

.basliklar h1 {
    margin: 0;
    font-size: 120px;
    font-weight: 900;
    display: block;
    width: 100%;
    line-height: 120px;
    white-space: nowrap;
}

#isim {
    color: var(--vurgu-renk);
    width: 100%;
    white-space: nowrap;
}


.anaIcerikbuton {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: left;
}

.anaIcerikbuton button {
    margin-top: 20px;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
}

.projeButon {
    background-color: var(--yazi-renk);
    color: white;
    border: 2px solid var(--yazi-renk);
    transition: transform 0.3s ease, background-color 0.5s ease, color 0.5s ease;
}

.projeButon a {
    text-decoration: none;
    color: white;
}

.projeButon:hover {
    background-color: var(--arka-plan);
    color: var(--yazi-renk);
    transform: translateY(-5px);
}

.iletisimButon {
    background-color: transparent;
    border: 2px solid var(--yazi-renk);
    transition: transform 0.3s ease, background-color 0.5s ease, color 0.5s ease;
}

.iletisimButon a {
    text-decoration: none;
    color: var(--yazi-renk);
}

.iletisimButon:hover {
    background-color: var(--yazi-renk);
    color: white;
    transform: translateY(-5px);
}

.kodEkrani {
    background-color: black;
    font-size: 30px;
    width: 40%;
    padding-left: 40px;
    padding-bottom: 40px;
    padding-right: 40px;
    margin-left: 60px;
    margin-top: -110px;
    border-radius: 10px;
    font-weight: bold;
}

.kodUst {
    margin-bottom: 20px;
}

.kodUst button {
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 10px;
}

.kodUst button:nth-child(1) {
    background-color: red;
}

.kodUst button:nth-child(2) {
    background-color: yellow;
}

.kodUst button:nth-child(3) {
    background-color: green;
}

.kodIcerik {
    color: white;
    font-family: 'Courier New', Courier, monospace;
}

.sari {
    color: #DFC766;
}

.red {
    color: #CD3F45;
}

.purple {
    color: #9C71BF;
}

.cyan {
    color: #55B5DB;
}

.green {
    color: green;
}

.projeler {
    padding-top: 0px;
    background-color: var(--arka-plan);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.projeTum {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 100px;
    padding-top: 50px;
}

.projelerBaslik {
    color: var(--ana-renk);
    text-align: center;
    margin-bottom: 50px;

}

.projelerBaslik h1 {
    margin: 0;
    font-size: 80px;
    font-weight: 700;
    display: block;
    width: 100%;
    line-height: 80px;
    white-space: nowrap;
}

.proje {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 320px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;

}

.proje:hover {
    transform: translateY(-10px);
}

.proje i {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: orangered;
}

#c1 {
    background-color: cornflowerblue;
}

#c2 {
    background-color: mediumseagreen;
}

.projeMetin {
    font-size: 16px;
    color: var(--yazi-renk);
    margin-bottom: 15px;
    text-align: left;
}

.projeMetin h3 {
    margin: 0;
    margin-bottom: 10px;
    color: var(--ana-renk);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projeMetin p {
    margin: 0;
    margin-bottom: 20px;
}

.proje span {
    color: white;
    border: 1px solid lightslategray;
    background-color: lightslategray;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.Hakkimda {
    padding: 100px 5%;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.hakkimdaMetin {
    flex: 1;
    max-width: 600px;
    text-align: left;
    padding-left: 0;
}

.hakkimdaMetin h1 {
    font-size: 5rem;
    font-weight: bold;
    color: var(--ana-renk);
    margin-bottom: 25px;
    line-height: 1.2;

}

.hakkimdaMetin p {
    font-size: 1.5rem;
    color: var(--yazi-renk);
    line-height: 1.8;
    margin: 0;
}

.resim-alani-hakkimda {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}

.kodEkrani2 {
    background-color: black;
    font-size: 30px;
    width: 40%;
    padding-left: 40px;
    padding-bottom: 40px;
    padding-right: 40px;
    margin-left: 60px;
    margin-top: 0px;
    border-radius: 10px;
    font-weight: bold;
}

.teknoloji-bandi {
    display: inline-block;
    animation: kayma 20s linear infinite;
}

@keyframes kayma {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tekno-item {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    margin: 0 30px;
}


.iletisim-bolumu {
    margin-top: 80px;
    padding: 80px 20px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.iletisim-baslik-container {
    text-align: center;
    margin-bottom: 50px;
}

.section-baslik {
    font-size: 36px;
    color: var(--ana-renk);
    font-weight: bold;
    margin-bottom: 10px;
}

.alt-cizgi {
    width: 60px;
    height: 4px;
    background-color: var(--vurgu-renk);
    margin: 0 auto;
    border-radius: 2px;
}

.iletisim-kutu {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex-wrap: wrap;
}

.iletisim-sol {
    flex: 1;
    background-color: var(--ana-renk);
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
}

.iletisim-sol h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.iletisim-sol .aciklama {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 30px;
}

.detay-satir {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
}

.detay-satir i {
    color: var(--vurgu-renk);
    font-size: 18px;
    width: 20px;
}

.sosyal-medya-footer p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #cbd5e1;
}

.iletisim-sol .ikonlar {
    display: flex;
    gap: 15px;
}

.iletisim-sol .ikonlar a {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.iletisim-sol .ikonlar a:hover {
    transform: translateY(-3px);
    color: var(--vurgu-renk);
}

.iletisim-sag {
    flex: 1.5;
    padding: 40px;
    background-color: white;
}

.form-satir-ikili {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-grubu {
    width: 100%;
    margin-bottom: 20px;
}

.input-grubu label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.input-grubu input,
.input-grubu textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.input-grubu input::placeholder,
.input-grubu textarea::placeholder {
    color: #777 !important;
    opacity: 1;
}

.input-grubu input:focus,
.input-grubu textarea:focus {
    border-color: var(--ana-renk);
}

.input-grubu textarea {
    resize: vertical;
}

.gonder-buton {
    background-color: var(--ana-renk);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-weight: bold;
}

.gonder-buton:hover {
    background-color: #1a252f;
}


.footer-metin {
    text-align: center;
    padding: 20px;
    background-color: var(--ana-renk);
    color: white;
}

.yan-menu {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 20px;
    padding: 15px;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 10px 10px 0;
    z-index: 1000;
}

.yan-link {
    font-size: 24px;
    color: var(--ana-renk);
    transition: transform 0.3s ease;
}

.yan-link:hover {
    transform: translateX(5px);
    color: var(--vurgu-renk);
}