/* ----------------------------- */
/* Global Reset */
/* ----------------------------- */
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

/* ----------------------------- */
/* Color Palette */
/* ----------------------------- */
:root{
    --bg-color: #FAF9F7;
    --text-color: #9E8C98;
    --main-color: #B79A9A;
    --second-color: #4A3F46;

    --card-bg: #FFFFFF;
    --card-soft: #F1EFF5;

    --h1-font: 4.6rem;
    --h2-font: 3rem;
    --p-font: 1.05rem;

    --radius: 12px;
    --transition: .3s ease;
}

/* ----------------------------- */
/* Body */
/* ----------------------------- */
body{
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* ----------------------------- */
/* Header */
/* ----------------------------- */
header{
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 12%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

header.sticky{
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 10px 12%;
}

.navbar{
    display: flex;
    gap: 12px;
}

.navbar a{
    padding: 10px 22px;
    color: var(--text-color);
    border-radius: var(--radius);
    transition: var(--transition);
}
.navbar a.active{
    background: var(--main-color);
    color: #fff;
}


.navbar a:hover{
    background: var(--main-color);
    color: #fff;
}

#menu-icon{
    display: none;
    font-size: 34px;
    cursor: pointer;
}

/* ----------------------------- */
/* Sections */
/* ----------------------------- */
section{
    padding: 150px 12% 90px;
}

/* ----------------------------- */
/* Home */
/* ----------------------------- */
.home{
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.back-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.home-text h1{
    font-size: var(--h1-font);
    font-weight: 800;
}

.home-text h4{
    
    margin-bottom: 10px;
}

.home-text h3{
    margin-bottom: 30px;
    font-weight: 600;
}

span{
    color: var(--h1-font);
}

/* Button */
.btn{
    padding: 14px 36px;
    background: var(--main-color);
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover{
    background: var(--second-color);
    transform: translateY(-3px);
}

/* ----------------------------- */
/* About */
/* ----------------------------- */
.about{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 3rem;
}
.about-text{
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.about-text p{
    color: var(--second-color);
    
}

.about-text .btn{
    align-self: flex-start;
    margin-top: 1rem;
}

.about-img img{
    max-width: 420px;
    border-radius: var(--radius);
}

/* ----------------------------- */
/* Shared Card Style */
/* ----------------------------- */
.box,
.skill-box{
    background: var(--card-soft);
    padding: 32px 36px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.box:hover,
.skill-box:hover{
    transform: translateY(-4px);
    background: var(--main-color);
    color: #fff;
}


/* ----------------------------- */
/* Text Spacing */
/* ----------------------------- */
.box h3,
.skill-box h3{
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--second-color);
}

.box h4{
    margin-bottom: 1rem;
}

.box p{
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--second-color);
}

.box:hover h3,
.box:hover h4,
.box:hover p,
.skill-box:hover h3{
    color: #fff;
}

/* ----------------------------- */
/* Grid Layouts */
/* ----------------------------- */
.services-content,
.skills-content,
.portfolio-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 3rem;
    margin-top: 3.5rem;
}

/* ----------------------------- */
/* Skills */
/* ----------------------------- */
.skills .box{
    text-align: center;
    font-weight: 600;
}
.skills .box img,
.tech_img{
    display: none;
}

/* ----------------------------- */
/* Experience */
/* ----------------------------- */
.experience .box img{
    display: none;
}

.experience-content{
    margin-bottom: 3rem;
}

/* ----------------------------- */
/* Portfolio / Projects */
/* ----------------------------- */
.portfolio .row{
    background: var(--card-bg);
    border-left: 4px solid var(--main-color);
    padding: 32px 36px;
    border-radius: var(--radius);
    transition: var(--transition);
}


.portfolio .row img{
    display: none;
}


.portfolio .row:hover{
    transform: translateY(-4px);
    border-left-color: var(--second-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

    

.portfolio .row a{
    color: inherit;
}

/* ----------------------------- */
/* Achievements */
/* ----------------------------- */
.achievement .row img{
    display: none;
}

.achievement .row{
    background: var(--card-bg);
    padding: 32px 36px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.achievement .row:hover{
    transform: translateY(-4px);
    
    box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

/* ----------------------------- */
/* Contact */
/* ----------------------------- */
.contact{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 3rem;
}
.contact-text{
    display: flex;
    flex-direction: column;
    
    justify-content: center;
}
.contact-text{
    display: flex;
    flex-direction: column;
    justify-content: center;    
}
.contact-list{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-list p{
    color: var(--second-color);
    line-height: 1.6;
}
.contact-list .btn{
    width: fit-content;
}
.contact-icons{
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.contact-icons a{
    display: inline-flex;
}
.contact-icons i{
    width: 40px;
    height: 40px;
    background: var(--card-soft);
    color: var(--main-color);
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.contact-icons i:hover{
    background: var(--main-color);
    color: #fff;
    
}


/* ----------------------------- */
/* Footer */
/* ----------------------------- */
.last-text p{
    text-align: center;
    padding: 20px;
    color: var(--second-color);
}

/* ----------------------------- */
/* Back to Top */
/* ----------------------------- */
.top i{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--main-color);
    color: #fff;
    padding: 10px;
    border-radius: var(--radius);
}

/* ----------------------------- */
/* Responsive */
/* ----------------------------- */
@media (max-width: 970px){
    :root{
        --h1-font: 3.8rem;
        --h2-font: 2.6rem;
    }

    .about,
    .contact{
        grid-template-columns: 1fr;
    }
    .contact-text{
        align-items: center;
        text-align: center;
    }
    .contact-icons{
        justify-content: center;
    }
    .contact-list .btn{
        margin: 0 auto;
    }
    
}

@media (max-width: 830px){
    #menu-icon{
        display: block;
    }

    .navbar{
        position: absolute;
        top: -500px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff;
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: 0 8px 25px rgba(0,0,0,0.07);
        transition: var(--transition);
    }

    .navbar.active{
        top: 100%;
    }
}

@media (max-width: 600px){
    section{
        padding: 120px 8% 60px;
    }

    .box,
    .row{
        padding: 24px;
    }
}


.skills-content{
    max-width: 1100px;      /* diğer bölümlerle aynı his */
    margin: 3.5rem auto 0;  /* 🔑 SAYFA ORTASI */
    align-items: stretch;
}
.skills .box{
    width: 100%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.Tcontainer{
    max-width: 1100px;
    margin: 0 auto;
}
.skills .main-text{
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.experience .main-text{
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.skills .box:hover h3{
    color: #fff;
}
.achievement .row a{
    color: inherit;
}
