:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --primary-color: #000000;
    --text-light: #666666;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Sora', sans-serif !important;
    background-color: #fff;
    color: #000;
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

/* ===========================================
   MOBILE-FIRST TYPOGRAPHY SYSTEM
   =========================================== */

/* Mobile Base Typography */
@media (max-width: 768px) {
    /* Root font size for mobile */
    html {
        font-size: 14px;
    }
    
    body {
        line-height: 1.7;
        letter-spacing: 0.01em;
    }
    
    /* Mobile Hero Section */
    .hero {
        min-height: 60vh;
        flex-direction: column;
        text-align: center;
        padding: 4rem 1.5rem 2rem 1.5rem;
        gap: 2rem;
    }
    
    .hero-content {
        order: 2;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-image {
        order: 1;
        max-width: 180px;
        margin: 0 auto;
    }
    
    /* Mobile Typography Scale */
    .hero-title h2 {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        line-height: 1.3;
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
    }
    
    .hero-title h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
        line-height: 1.4;
        margin-bottom: 1.5rem;
        letter-spacing: 0.01em;
    }
    
    .hero-text p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.7;
        margin-bottom: 1.5rem;
        letter-spacing: 0.01em;
    }
    
    /* Section Titles */
    .about h2,
    .experience h2,
    .projects h2,
    .contact h2 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
        margin-bottom: 2rem;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }
    
    /* Content Typography */
    .about-content p,
    .timeline-content-left p,
    .timeline-content-right p,
    .project-content p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.7;
        margin-bottom: 1.2rem;
        letter-spacing: 0.01em;
    }
    
    /* Headings */
    .timeline-content-left h3,
    .timeline-content-right h3,
    .project-content h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        line-height: 1.3;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }
    
    /* List Items */
    .experience-list li,
    .project-tech span {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        line-height: 1.6;
        margin-bottom: 0.8rem;
        letter-spacing: 0.01em;
    }
    
    /* Contact Info */
    .info-content h4 {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .info-content p {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        line-height: 1.6;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-bottom-shape {
    position: absolute;
    bottom: -65px;
    left: 0;
    width: 100%;
    z-index: 0;
    display: block;
}

.hero-bottom-shape img {
    width: 100%;
    height: auto;
    transform: rotateX(180deg);
}
.contact-top-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: block;
}

.contact-top-shape img {
    width: 100%;
    height: auto;
    transform: rotateX(180deg);
}

.contact-bottom-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: block;
}

.contact-bottom-shape img {
    width: 100%;
    height: auto;
    transform: rotateX(180deg);
}

.experience-top-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    display: block;
}

.experience-top-shape img {
    width: 100%;
    height: auto;
    transform: rotateX(180deg);
}

.experience-bottom-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    display: block;
}

.experience-bottom-shape img {
    width: 100%;
    height: auto;
    transform: rotateX(180deg);
}

.hero-top-shape {
    position: absolute;
    width: 100%;
    z-index: 0;
    /* Z-index artırıldı */
    display: block;
}

.hero-top-shape img {
    display: block;
    transform: rotateX(180deg);
    width: 100%;
    position: absolute;
    top: -29px;
    height: auto;
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 600px;
    width: 100%;
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    animation: slideFromLeft 1s ease-out;
}

.hero-title {
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: left;
}

.hero-title h3 {
    font-size: 20px;
    font-weight: 500;
    color: #666666;
}

.hero-title h2 {
    font-size: 50px;
    font-weight: 800;
    color: #000;
}

.hero-text {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    margin-top: 40px;
    color: #666666;
}

.social-icons {
    position: absolute;
    left: -74px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 5rem;
    z-index: 10;
}

@media (max-width: 1200px) {
    .social-icons {
        left: -30px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .social-icons {
        position: static !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        flex-direction: row !important;
        justify-content: center !important;
        margin: 2rem 0 !important;
        gap: 1.5rem !important;
    }
}

.social-icons a {
    color: #000;
    font-size: 1.5rem;
}

.social-icons a svg {
    width: 43px;
    height: 43px;
    fill: #000;
    transition: all 0.3s ease;

}

.social-icons a svg:hover {
    fill: #666;
    stroke-width: 1px;
}

.social-icons a:hover {
    color: #000;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 40%;
    max-width: 500px;
    min-width: 300px;
    animation: slideFromRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    height: auto;
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.3s ease;
}

.hero-image .hero-php svg {
    animation: float 4s ease-in-out infinite;
}

.hero-image .hero-css svg {
    animation: float 4s ease-in-out infinite;
}

.hero-image .hero-js svg {
    animation: float 6s ease-in-out infinite;
}

.hero-image .hero-react svg {
    animation: float 5s ease-in-out infinite;
}


.hero-php {
    position: absolute;
    top: 350px;
    bottom: 0;
    left: 10px;
}

.hero-php svg {
    width: 100px;
    height: 100px;
}

.hero-js {
    position: absolute;
    top: 300px;
    left: 400px;
}

.hero-css svg {
    width: 80px;
    height:80px;
}

.hero-css {
    position: absolute;
    top: 125px;
    left: 325px;
}

.hero-js svg {
    width: 150px;
    height: 150px;
}

.hero-react {
    position: absolute;
    top: 160px;
    bottom: 0;
    left: 85px;
}

.hero-react svg {
    width: 150px;
    height: 150px;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    
    .hero {
        flex-direction: column;
        padding: 1rem 5% 1rem;
        gap: 1rem;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        min-width: auto;
    }

    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .hero-title {
        text-align: center;
    }

    .hero-title h2 {
        font-size: 2rem;
        text-align: center;
    }

    .hero-title h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-text {
        font-size: 14px;
        text-align: center;
        margin-top: 10px;
    }

    .typing-text {
        font-size: 20px;
        text-align: center;
        margin: 0.5rem 0;
        display: block;
    }

    .hero-bottom-shape {
        top: 338px;
    }

    .about {
        padding: 6rem 2rem 1.3rem 2rem !important;
    }

    .about-img {
        animation: none !important;
    }

    .about-img img {
        width: 235px !important;
        position: absolute;
        top: -129px;
        left: 53px;
    }

    .about-right h3 {
        font-size: 28px !important;
        display: flex !important;
        justify-content: center;
        margin-top: 60px;
    }

    .about-right p {
        font-size: 13px !important;
    }

    .hero-top-shape img {
        top: -8px !important;
    }

    .hero-php,
    .hero-css,
    .hero-js,
    .hero-react {
        display: none;
    }

    .experience{
        padding: 3rem 5% !important;
    }
    .experience-top-shape {
        top: -8px;
    }
    .timeline-content-left p, .timeline-content-right p{
        font-size: 13px !important;
    }
    
    .timeline-item::after {
        left: 1px;
    }
    .timeline-item:nth-child(even)::after {
        left: 1px !important;
    }
    .projects {
        padding: 2rem 5% !important;
    }
    .projects-list {
        margin-top: 2rem !important;
    }
    .project-content p{
        font-size: 13px !important;
    }
    .contact-bottom-shape{
     top: -7px;   
    }
    
}

@media (max-width: 576px) {
    .hero {
        padding: 1rem 5% 1rem;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0.5rem;
    }

    .hero-image {
        max-width: 250px;
        width: 100%;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    .hero-text {
        font-size: 13px;
        margin-top: 8px;
    }

    .typing-text {
        font-size: 18px;
        text-align: center;
        margin: 0.5rem 0;
        display: block;
    }
    
    .timeline-item {
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .company-logo,
    .company-logo-right {
        width: 50px;
        height: 50px;
    }

    .hero-title h2 {
        font-size: 1.8rem;
    }

    .hero-title h3 {
        font-size: 1.1rem;
    }


}

@media (max-width: 430px) {
    .hero {
        padding: 1rem 5% 1rem;
        min-height: 100vh;
        justify-content: flex-start;
    }

    .hero-content {
        padding: 0.5rem;
        order: 2;
    }

    .hero-image {
        max-width: 200px;
        width: 100%;
        margin: 0 auto;
        order: 1;
        position: relative;
        top: auto;
        right: auto;
    }

    .hero-image img {
        width: 100%;
        max-width: 100%;
    }

    .hero-title h2 {
        font-size: 1.6rem;
    }

    .hero-title h3 {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 13px;
        margin-top: 8px;
    }


}


.typing-text {
    font-size: 26px;
    text-align: left;
    color: #666666;
    margin: 0.5rem 0;
    display: block;
}


/* About Section */
.about {
    padding: 5rem 10%;
    background-color: #f5f5f5;
    height: auto;
}

/* ===========================================
   MOBILE SPACING SYSTEM
   =========================================== */

@media (max-width: 768px) {
    /* Mobile Section Spacing */
    .about {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .experience {
        padding: 3rem 0 !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .experience h2 {
        padding: 0 1.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .skills-container {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .projects {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact {
        padding: 3rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile Content Spacing */
    .about-content {
        gap: 2rem;
    }
    
    .about-content p {
        margin-bottom: 1.5rem;
    }
    
    .about-content h3 {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Timeline Spacing */
    .timeline {
        margin: 2rem 0;
    }
    
    .timeline-item {
        margin-bottom: 3rem;
    }
    
    .timeline-content-left,
    .timeline-content-right {
        padding: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Mobile Project Spacing */
    .project-item {
        margin-bottom: 3rem;
        gap: 2rem;
    }
    
    .project-content {
        padding: 1.5rem 0;
    }
    
    .project-content h3 {
        margin-bottom: 1rem;
    }
    
    .project-content p {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Contact Spacing */
    .contact-content {
        gap: 2rem;
    }
    
    .contact-info {
        margin-bottom: 2rem;
    }
    
    .info-item {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000;
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5rem;
}

.about-img {
    position: relative;
    z-index: 1;
    width: 70%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite, slideFromLeft 1s ease-out;
}

.about-img img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.about-right {
    padding: 2rem;
}

.about-right h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
    position: relative;
    display: inline-block;
}

.about-right p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
    font-size: 1.5rem;
    color: #000;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.2rem;
}

.info-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

@media (max-width: 767px) {
    .about-info {
        grid-template-columns: 1fr;
    }
}

.skills {
    background-color: #fff;
}

.skills-container {
    padding: 5rem 10%;
}

/* Mobile Skills Optimization */
@media (max-width: 768px) {
    .skills-container {
        padding: 2rem 3%;
    }
}

.skills-columns {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.skill-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 70px;
}

.skill-content {
    height: 150px;
    width: 150px;
    border: 2px solid #000;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 23px;
    flex-direction: column;
    transition: all 0.3s ease;

}

.skill-content:hover {
    background: #000;
}

.skill-content:hover h4 {
    color: #fff;
}

.css-img svg {
    width: 50px !important;
    height: 50px !important;
}

.php-img svg {
    width: 50px !important;
    height: 50px !important;
}

.wordpress-img svg {
    stroke-width: 0px !important;
}

.skill-content a {
    display: inline-block;
    padding: 10px;
}

.skill-content a svg {
    width: 40px;
    height: 40px;
    fill: #000;
    stroke: #000;
    cursor: pointer;
    stroke-width: 1px;
    transition: all 0.3s ease;
}

.skill-content:hover a svg {
    fill: #fff;
    stroke: #000;
    stroke-width: 1px;

}

.skill-content h4 {
    font-size: 16px;
    font-weight: 500;
}

.skills-title {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 40px;
}

.skills-title h3 {
    font-size: 40px;
    font-weight: 700;
    color: #000;
}


/* Experience Section */
.experience {
    padding: 6rem 9%;
    position: relative;
    background: #f5f5f5;
}

/* Mobile Experience Optimization */
@media (max-width: 768px) {
    .experience {
        padding: 2rem 3%;
    }
}

.experience h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #000;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: #000;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    visibility: hidden;
}


.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item.show {
    visibility: visible;
    animation: slideIn 0.6s forwards;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(even).show {
    animation: slideInRight 0.6s forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-content-left,
.timeline-content-right {
    padding: 40px 30px 20px 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    margin-top: 25px;
}

.company-logo {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.company-logo .default-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 24px;
}

.company-logo-right {
    position: absolute;
    top: -25px;
    right: -21px;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.company-logo-right:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.company-logo-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.company-logo-right .default-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-size: 24px;
}


.work-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    gap: 15px;
    align-items: center;
}

.work-details i {
    color: #000;
}

.work-period,
.work-type {
    display: flex;
    align-items: center;
    gap: 5px;
}

.timeline-content-left:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}



.timeline-content-left h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 20px;
    color: #000;
}

.timeline-content-left p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

.timeline-content-right:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


.timeline-content-right h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 20px;
    color: #000;
}

.timeline-content-right p {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    right: -12.5px;
    z-index: 1;
    border: 4px solid #fff;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    right: -25px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    animation: ripple 2s infinite;
    z-index: 0;
}

.timeline-item:nth-child(even)::before {
    left: -12.5px;
}

.timeline-item:nth-child(even)::after {
    left: -25px;
}

.experience-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.experience-links a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.timeline-content:hover .experience-links a {
    background: #fff;
    color: #000;
}

.experience-links a:hover {
    background: #fff;
    color: #000;
}


.experience-links-right {
    display: flex;
    gap: 1rem;
    justify-content: end;
    margin-top: 1rem;
}

.experience-links-right a {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.timeline-content:hover .experience-links-right a {
    background: #fff;
    color: #000;
}

.experience-links-right a:hover {
    background: #fff;
    color: #000;
}

.experience-links-right a:hover i {
    color: #000;
}

/* ===========================================
   MOBILE EXPERIENCE SECTION - CLEAN LAYOUT
   =========================================== */

@media screen and (max-width: 767px) {
    /* Reset timeline for mobile */
    .timeline {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .timeline::after {
        display: none;
    }
    
    .timeline-item {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0;
        left: 0 !important;
        right: 0 !important;
    }
    
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }
    
    .timeline-item:nth-child(even) {
        left: 0 !important;
    }
    
    .timeline-item.show {
        animation: none;
    }
    
    /* Company logos */
    .company-logo,
    .company-logo-right {
        position: absolute;
        top: -15px;
        left: 15px;
        width: 40px;
        height: 40px;
        z-index: 2;
    }
    
    .company-logo img,
    .company-logo-right img {
        padding: 3px;
    }
    
    /* Timeline content - clean mobile layout */
    .timeline-content-left,
    .timeline-content-right {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
        background: #fff;
        border: 2px solid #000;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        left: 0 !important;
        right: 0 !important;
    }
    
    .timeline-content-left h3,
    .timeline-content-right h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        line-height: 1.4;
        margin-bottom: 1rem;
        letter-spacing: -0.01em;
    }
    
    .timeline-content-left p,
    .timeline-content-right p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.7;
        margin-bottom: 1rem;
        letter-spacing: 0.01em;
    }
    
    .experience-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    
    .experience-list li {
        font-size: clamp(0.85rem, 2.2vw, 0.95rem);
        line-height: 1.7;
        margin-bottom: 0.8rem;
        letter-spacing: 0.01em;
        padding-left: 1rem;
        position: relative;
    }
    
    .experience-list li::before {
        content: "•";
        color: #000;
        font-weight: bold;
        position: absolute;
        left: 0;
    }
    
    /* Company and Position Styling */
    .exp-company {
        font-weight: 600;
        color: #000;
        display: block;
        margin-bottom: 0.3rem;
    }
    
    .exp-pos {
        font-weight: 500;
        color: #666;
        display: block;
        margin-bottom: 1rem;
    }
}

    @keyframes slideInMobile {
        0% {
            opacity: 0;
            transform: translateX(-50px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@keyframes ripple {
    0% {
        transform: translateY(-50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translateY(-50%) scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: translateY(-50%) scale(2);
        opacity: 0;
    }
}

/* Contact Section */
.contact-section{
    position: relative;
    z-index: 1;
}
.contact {
    padding: 11rem 6rem 6rem 6rem;
    background: #ffffff;
    width: 100%;
    max-width: 100%;
}

/* Mobile Contact Optimization */
@media (max-width: 768px) {
    .contact {
        padding: 2rem 3%;
    }
}

.contact h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
}

.contact-info {
    padding: 0 50px;
}

.contact-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 3rem;
}

.contact-info .info-item {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #000;
}

.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #000;
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.contact-form button {
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.form-buttons {
    display: flex;
    justify-content: space-between;

}

.social-links {
    position: relative;
    display: flex;
    gap: 26px;
    margin-left: -16px;
    z-index: 10;
}

.social-links a {
    color: #000;
    border: 2px solid black;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    font-size: 1.5rem;
    transition: all 0.3s ease;

}

.social-links a svg {
    width: 43px;
    height: 43px;
    fill: black;
    transition: all 0.3s ease;

}

.social-links a:hover svg {
    fill: #fff;
    stroke-width: 1px;
}

.social-links a:hover {
    background: black;
}

@media (max-width: 767px) {
    .contact {
        padding: 4rem 5%;
    }

    .contact h2 {
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        background: #fff;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 2px solid #000;
    }

    .contact-info .info-item {
        display: flex;
        align-items: center;
        margin-bottom: 1.5rem;
        padding: 1rem;
        border-radius: 10px;
        background: #f8f8f8;
        border: 1px solid #eee;
    }

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

    .contact-info .info-item i {
        font-size: 1.5rem;
        color: #000;
        margin-right: 1rem;
        min-width: 30px;
        text-align: center;
    }

    .contact-info .info-item p {
        margin: 0;
        font-size: 0.95rem;
        color: #666;
    }

    .contact-form {
        background: #fff;
        padding: 2rem;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        border: 2px solid #000;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        color: #000;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem 1rem;
        border: 2px solid #000;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #000;
        box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

    .form-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-buttons button {
        padding: 0.8rem 1.5rem;
        border: 2px solid #000;
        border-radius: 8px;
        background: #000;
        color: #fff;
        font-weight: 500;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .form-buttons button:hover {
        background: #fff;
        color: #000;
    }

    .social-links {
        margin-top: 2rem;
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-links a {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f8f8f8;
        border: 2px solid #000;
        transition: all 0.3s ease;
    }

    .social-links a:hover {
        background: #000;
    }

    .social-links a:hover svg {
        fill: #fff;
    }

    .social-links a svg {
        width: 20px;
        height: 20px;
        fill: #000;
    }

}

@media (max-width: 576px) {
    .contact {
        padding: 3rem 5%;
    }

    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info .info-item {
        padding: 0.8rem;
    }

    .contact-info .info-item i {
        font-size: 1.2rem;
    }

    .contact-info .info-item p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .form-buttons button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }

    .social-links a {
        width: 40px;
        height: 40px;
    }

    .social-links a svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 430px) {
    .contact {
        padding: 2.5rem 4%;
    }

    .typing-text {
        font-size: 15px;
        text-align: center;
        margin: 0.5rem 0;
        display: block;
    }
    .social-icons{
        margin-top: 20px;
    }

    .contact h2 {
        font-size: 1.6rem;
    }
    
    .timeline-item {
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .company-logo,
    .company-logo-right {
        width: 50px;
        height: 50px;
    }

    .contact-info,
    .contact-form {
        padding: 1.2rem;
    }

    .contact-info .info-item {
        padding: 0.7rem;
    }

    .contact-info .info-item i {
        font-size: 1.1rem;
        margin-right: 0.8rem;
    }

    .contact-info .info-item p {
        font-size: 0.85rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .form-buttons button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .social-links a {
        width: 50px;
        height: 50px;
    }

    .social-links a svg {
        width: 25px;
        height: 25px;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 10px;
    background-color: #000;
    color: #fff;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 6rem 5% 2rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }
}

.projects {
    padding: 6rem 0;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Mobile Projects Optimization */
@media (max-width: 768px) {
    .projects {
        padding: 2rem 3%;
        max-width: 100%;
    }
}



.projects h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #000;
}


.projects-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    margin-top: 4rem;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-item.reverse {
    direction: rtl;
}

.project-item.reverse .project-content {
    direction: ltr;
}

.project-image {
    position: relative;
    border-radius: 10px;
    border: 2px solid black;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    display: flex;
}

.project-image img {
    width: 100%;
    max-width: 565px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-image:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000;
}


.project-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}


.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.project-tech span {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #000;
    transition: all 0.3s ease;
}


.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-links a {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.project-links a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

.photos{
    padding: 6rem 5%;
    background: #fff;
}

/* Photos Header */
.photos-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Kategori Seçici */
.category-selector {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    background: #ffffff;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: 0;
}

.category-btn i,
.category-btn span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.category-btn:hover::before {
    left: 0;
}

.category-btn:hover i,
.category-btn:hover span {
    color: #ffffff;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.category-btn.active::before {
    left: 0;
}

.category-btn.active i,
.category-btn.active span {
    color: #ffffff;
}

.photos-title {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin: 0 0 2rem 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.photos-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.instagram-link {
    color: #E4405F;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.instagram-link:hover {
    color: #C13584;
    text-decoration: none;
}

.instagram-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(135deg, #E4405F, #C13584);
    transition: width 0.3s ease;
}

.instagram-link:hover::after {
    width: 100%;
}

/* Photos Grid Container */
.photos-grid-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Instagram Posts Responsive */
.instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 2rem auto !important;
}

/* 3'lü Grid Layout */
.row-cols-3 {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    margin: 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.row-cols-3 .col {
    width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

/* Instagram kartları için daha geniş alan */
.row-cols-3 .instagram-media {
    width: 100% !important;
    max-width: 450px !important;
    margin: 0 auto !important;
    transform: none !important;
    min-width: 350px !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

/* Instagram kartları hover efekti */
.row-cols-3 .instagram-media:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25) !important;
}

/* Instagram iframe içeriği için oval köşeler */
.row-cols-3 .instagram-media iframe {
    border-radius: 25px !important;
    overflow: hidden !important;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 32px;
    margin: 0 0 15px;
    color: #333;
}

.empty-state p {
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .row-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .row-cols-3 .col {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 768px) {
    .row-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .row-cols-3 .instagram-media {
        max-width: 350px !important;
        min-width: 280px !important;
    }
    
    .photos-title {
        font-size: 36px !important;
        margin-top: 80px !important;
        padding-top: 20px !important;
    }
    
    .photos-subtitle {
        font-size: 16px !important;
    }
    
    .photos-header {
        margin-bottom: 3rem !important;
        padding: 0 20px !important;
    }
    
    .photos {
        padding-top: 2rem !important;
    }
}

@media (max-width: 576px) {
    .photos {
        padding: 4rem 3% !important;
        padding-top: 2rem !important;
    }
    
    .photos-title {
        font-size: 32px !important;
        margin-top: 80px !important;
        padding-top: 20px !important;
    }
    
    .photos-subtitle {
        font-size: 15px !important;
    }
    
    .row-cols-3 .instagram-media {
        max-width: 320px !important;
        min-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .photos {
        padding: 3rem 2% !important;
        padding-top: 2rem !important;
    }
    
    .photos-title {
        font-size: 28px !important;
        margin-top: 80px !important;
        padding-top: 20px !important;
    }
    
    .photos-subtitle {
        font-size: 14px !important;
    }
    
    .row-cols-3 .instagram-media {
        max-width: 100% !important;
        min-width: 250px !important;
    }
    
    .category-selector {
        gap: 10px;
        margin-bottom: 2rem;
    }
    
    .category-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .category-btn i {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .photos {
        padding: 4rem 3%;
    }
    
    .photo_text h2 {
        font-size: 32px;
        margin-bottom: 2rem;
    }
    
    .photo_text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .row-cols-3 .col {
        max-width: 100% !important;
        margin: 0 auto 1.5rem auto !important;
    }
    
    .instagram-media {
        min-width: 280px !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .photos {
        padding: 3rem 2%;
    }
    
    .photo_text h2 {
        font-size: 28px;
    }
    
    .photo_text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-item.reverse {
        direction: ltr;
    }

    .projects-list {
        gap: 4rem;
    }

    .project-content {
        padding: 1rem 0;
    }
}

/* Responsive Tasarım */
@media (max-width: 1200px) {

    .about,
    .experience,
    .projects {
        padding: 5rem 5%;
    }

    .hero {
        padding: 0 5%;
    }

    .project-image img {
        width: 100%;
    }
}

@media (max-width: 991px) {
  
    .about-img,
    .about-right {
        width: 100%;
    }


    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-item.reverse {
        direction: ltr;
    }

    .project-content {
        padding: 1rem 0;
        text-align: center;
    }

    .project-tech {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero {
        flex-direction: column;
        padding: 0.5rem 5% 0.5rem;
        text-align: center;
        min-height: auto;
    }

    .hero-content {
        text-align: left;
        margin: 0;
        padding: 5px;
    }

    .hero-title h2 {
        font-size: 40px;
    }

    .social-icons {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        justify-content: center !important;
        gap: 20px !important;
        flex-direction: row !important;
        margin: 2rem auto 0 auto !important;
        display: flex !important;
    }

    .social-icons a svg {
        width: 35px !important;
        height: 35px !important;
    }
    .about-content{
        flex-direction: column;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .skills-container {
        padding: 2rem 5% !important;
    }
    .skills-columns {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 80px 20px !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }

    .skills-title h3 {
        font-size: 28px !important;
    }

    .skill-row {
        display: contents !important;
    }

    .skill-content {
        height: 150px !important;
        width: 150px !important;
        border-radius: 5px !important;
        padding: 20px !important;
        gap: 15px !important;
        margin: 0 auto !important;
    }

    /* Mobile timeline reset */
    .timeline {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .timeline::after {
        display: none;
    }
    
    .timeline-item {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0;
        left: 0 !important;
        right: 0 !important;
    }
    
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }
    
    .timeline-item:nth-child(even) {
        left: 0 !important;
    }
    
    .timeline-content-left,
    .timeline-content-right {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
        background: #fff;
        border: 2px solid #000;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        left: 0 !important;
        right: 0 !important;
    }

    .company-logo-right {
        left: -25px;
        right: auto;
    }

    .experience-links-right {
        justify-content: start;
    }
}

@media (max-width: 576px) {
    .hero-title h2 {
        font-size: 32px;
    }

    .hero-title h3 {
        font-size: 18px;
    }

    .about h2,
    .experience h2,
    .projects h2 {
        font-size: 32px;
    }

    .info-item {
        padding: 0.7rem;
    }

    .info-item i {
        font-size: 1.2rem;
    }

    .info-content h4 {
        font-size: 0.9rem;
    }

    .info-content p {
        font-size: 0.8rem;
    }

    .timeline-content-left,
    .timeline-content-right {
        padding: 20px 15px 15px 15px;
        margin-top: 15px;
        margin-left: 0;
    }

    .timeline-content-left h3,
    .timeline-content-right h3 {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .work-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .project-content h3 {
        font-size: 1.5rem;
    }

    .project-tech span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 430px) {
    .hero-title h2 {
        font-size: 28px;
    }

    .about h2,
    .experience h2,
    .projects h2 {
        font-size: 28px;
    }
    .projects h2{
        margin: 0;
    }

    .timeline-item {
        padding-left: 100px;
        padding-right: 15px;
        margin-bottom: 2rem;
    }

    .company-logo,
    .company-logo-right {
        width: 70px;
        height: 70px;
        top: -30px;
    }
    
    .company-logo {
        left: -35px;
    }
    
    .company-logo-right {
        right: -35px;
    }
    
    .company-logo img,
    .company-logo-right img {
        padding: 8px;
    }

    .timeline-content-left,
    .timeline-content-right {
        padding: 25px 15px 15px 15px;
        margin-bottom: 1rem;
        margin-top: 20px;
        margin-left: 0;
    }

    .timeline-content-left h3,
    .timeline-content-right h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        margin-top: 15px;
    }

    .timeline-content-left p,
    .timeline-content-right p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Büyük Ekranlar (1920px ve üzeri) */
@media (min-width: 1920px) {


    .hero-title h2 {
        font-size: 3rem;
    }

    .hero-title h3 {
        font-size: 1.5rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }

    .about-content,
    .skills-container,
    .projects-list,
    .contact-content {
        max-width: 1600px;
        margin: 0 auto;
    }

    .project-image img {
        max-height: 500px;
    }
}
@media (min-width:1365px) and (max-width:1439px) {
    .hero-bottom-shape{
        bottom: -45px !important;
    }
    .contact-bottom-shape{
        top: -2px !important;
    }
    .hero-top-shape img{
        top: -23px !important;
    }
    .social-links {
        gap: 10px !important;
    }
}
@media (min-width:1279px) and (max-width:1365px) {
    .hero-bottom-shape{
        bottom: -42px !important;
    }
    .contact-bottom-shape{
        top: -2px !important;
    }
    .hero-top-shape img{
        top: -22px !important;
    }
    .experience-top-shape{
        top: -3px !important;
    }
    .social-links{
        gap: 14px !important;
    }
}

/* Orta-Büyük Ekranlar (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero-bottom-shape{
        bottom: -50px !important;
    }
    .hero-title h2 {
        font-size: 3rem;
    }

    .about-content,
    .skills-container,
    .projects-list,
    .contact-content {
        max-width: 1300px;
        margin: 0 auto;
    }

    .project-image img {
        max-height: 450px;
    }
}

/* Laptop Ekranları (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {

    .hero-title h2 {
        font-size: 3rem;
    }

    .about-content,
    .skills-container,
    .projects-list,
    .contact-content {
        max-width: 1140px;
        margin: 0 auto;
    }

    .project-image img {
        max-height: 400px;
    }

    .skill-content {
        padding: 2rem;
    }
}

/* Küçük Laptop ve Büyük Tablet Ekranları (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {

    .hero-title h2 {
        font-size: 2.8rem;
    }

    .about-content,
    .skills-container,
    .projects-list,
    .contact-content {
        max-width: 960px;
        margin: 0 auto;
        }

    .project-image img {
        max-height: 350px;
    }

    .skill-content {
        padding: 1.8rem;
    }

    .info-item {
        padding: 1.5rem;
    }
}
@media (min-width: 820px) and (max-width: 991px) {
    .contact{
        padding: 6rem 3rem 5rem 3rem !important;
    }
    .hero-text {
        padding-right: 60px;
    }

}

/* Tablet Ekranları (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        width: 100%;
    }
    .col-md-7{
        width: 55.333333% !important;
    }
    .hero {
        flex-direction: column;
        padding: 10rem 6rem 0rem 5rem;
        text-align: center;
        min-height: auto;
    }
    .about{
        position: relative;
        padding: 3rem 0rem 3rem 0rem;
    }
    .about-content{
        gap: 2rem;
    }
    .contact{
        padding: 6rem 6rem 5rem 3rem;
    }
    .contact-info{
        padding: 0;
    }
    .hero-php,
    .hero-css,
    .hero-js,
    .hero-react {
        display: none;
    }
    .hero-bottom-shape {
        top: -3px;
        height: 30px;

    }
    .skill-row{
        gap: 20px
    }

    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    .social-icons {
        gap: 4rem;
    }
    .hero-top-shape img{
        top: -15px;
    }

    .hero-image {
        max-width: 350px;
        position: absolute;
        top: 65px;
        right: -35px;
    }
    .contact-form button{
        margin-right: 30px;
        font-size: 14px;
    }
    .social-links{
        gap: 16px;
    }
    .form-buttons {
        height: 70px;
    }
    .skills-container {
        padding: 3rem 3%;
    }
    .projects {
        padding: 3rem 3%;
    }

    .hero-title h2 {
        font-size: 2.5rem;
    }

    .project-image img {
        max-height: 300px;
    }

    .info-item {
        padding: 1.2rem;
    }
}
@media (max-width:374px) {
    .hero-image {
        right: -57px;
    }
    .social-icons {
        gap: 25px;
    }
    .about-img img {
        left: 35px;
    }
}
@media (min-width: 409px)and (max-width: 767px) {
    .about-img img {
        left: 73px !important; 
    }
}

@media (min-width:375px)and (max-width: 409px) {
    .hero-bottom-shape {
        top: 337px;
    }
    .hero-top-shape img {
        top: -6px !important;
    }
}
@media (max-width:330px) {
    .hero-image {
        right: -57px;
        top: 41px;
        max-width: 222px;
    }
    .social-icons {
        gap: 18px;
    }
    .about-img img {
        left: 18p;
    }
    .hero-top-shape img {
        top: -6px !important;
    }
    .hero-bottom-shape {
        top: 356px;
    }
    .contact-bottom-shape {
        top: -8px;
    }
}

/* File Upload Styles */
.file-upload-group {
    margin-bottom: 20px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 60px;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
}

.file-upload-label:hover {
    border-color: #000;
    background-color: #f9f9f9;
}

.file-upload-label svg {
    margin-right: 12px;
    color: #666;
    flex-shrink: 0;
}

.file-upload-text {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
}

.file-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 10px;
}

.file-name {
    color: #333;
    font-size: 16px;
    font-weight: 400;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-file:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* File size validation */
.file-upload-label.error {
    border-color: #dc3545;
    background-color: #f8d7da;
}

.file-upload-label.error .file-upload-text {
    color: #dc3545;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.theme-toggle:active {
    transform: translateY(-1px);
}

/* CSS Variables for Theme */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --secondary-text: #666666;
    --accent-color: #667eea;
    --card-bg: #f8f9fa;
    --border-color: #e9ecef;
}

/* Dark Mode Styles */
[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --secondary-text: #b0b0b0;
    --accent-color: #667eea;
    --card-bg: #1a1a1a;
    --border-color: #333333;
}

/* Base styles with CSS variables */
body {
    background: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    background: var(--bg-color);
    transition: background 0.3s ease;
}

[data-theme="dark"] body {
    background: var(--bg-color);
    color: var(--text-color);
}

[data-theme="dark"] .container {
    background: var(--bg-color);
}

/* Card styles with CSS variables */
.card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.card h3 {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.card p {
    color: var(--secondary-text);
    transition: color 0.3s ease;
}

[data-theme="dark"] .card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .card h3 {
    color: var(--text-color);
}

[data-theme="dark"] .card p {
    color: var(--secondary-text);
}

[data-theme="dark"] .info-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .info-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .info-item p {
    color: var(--secondary-text);
}

[data-theme="dark"] .experience-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .experience-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .experience-item p {
    color: var(--secondary-text);
}

[data-theme="dark"] .project-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .project-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .project-item p {
    color: var(--secondary-text);
}

[data-theme="dark"] .skill-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .skill-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .skill-item p {
    color: var(--secondary-text);
}

[data-theme="dark"] .contact-form {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .contact-form h3 {
    color: var(--text-color);
}

[data-theme="dark"] .contact-form label {
    color: var(--text-color);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: var(--bg-color);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
    color: var(--secondary-text);
}

[data-theme="dark"] .btn {
    background: var(--accent-color);
    color: white;
}

[data-theme="dark"] .btn:hover {
    background: #5a6fd8;
}

[data-theme="dark"] .social-icons a {
    color: var(--text-color);
}

[data-theme="dark"] .social-icons a:hover {
    color: var(--accent-color);
}

[data-theme="dark"] .photo-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .photo-item h3 {
    color: var(--text-color);
}

[data-theme="dark"] .photo-item p {
    color: var(--secondary-text);
}

[data-theme="dark"] .photo-item a {
    color: var(--accent-color);
}

[data-theme="dark"] .photo-item a:hover {
    color: #5a6fd8;
}

[data-theme="dark"] footer {
    background: var(--card-bg);
    color: var(--secondary-text);
}

[data-theme="dark"] footer p {
    color: var(--secondary-text);
}

/* Light Mode Styles */
[data-theme="light"] {
    --bg-color: #ffffff;
    --text-color: #333333;
    --secondary-text: #666666;
    --accent-color: #667eea;
    --card-bg: #f8f9fa;
    --border-color: #e9ecef;
}

[data-theme="light"] body {
    background: var(--bg-color);
    color: var(--text-color);
}

[data-theme="light"] .container {
    background: var(--bg-color);
}

[data-theme="light"] .card {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="light"] .card h3 {
    color: var(--text-color);
}

[data-theme="light"] .card p {
    color: var(--secondary-text);
}

[data-theme="light"] .info-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .info-item h3 {
    color: var(--text-color);
}

[data-theme="light"] .info-item p {
    color: var(--secondary-text);
}

[data-theme="light"] .experience-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .experience-item h3 {
    color: var(--text-color);
}

[data-theme="light"] .experience-item p {
    color: var(--secondary-text);
}

[data-theme="light"] .project-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .project-item h3 {
    color: var(--text-color);
}

[data-theme="light"] .project-item p {
    color: var(--secondary-text);
}

[data-theme="light"] .skill-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .skill-item h3 {
    color: var(--text-color);
}

[data-theme="light"] .skill-item p {
    color: var(--secondary-text);
}

[data-theme="light"] .contact-form {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .contact-form h3 {
    color: var(--text-color);
}

[data-theme="light"] .contact-form label {
    color: var(--text-color);
}

[data-theme="light"] .contact-form input,
[data-theme="light"] .contact-form textarea {
    background: var(--bg-color);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="light"] .contact-form input::placeholder,
[data-theme="light"] .contact-form textarea::placeholder {
    color: var(--secondary-text);
}

[data-theme="light"] .btn {
    background: var(--accent-color);
    color: white;
}

[data-theme="light"] .btn:hover {
    background: #5a6fd8;
}

[data-theme="light"] .social-icons a {
    color: var(--text-color);
}

[data-theme="light"] .social-icons a:hover {
    color: var(--accent-color);
}

[data-theme="light"] .photo-item {
    background: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="light"] .photo-item h3 {
    color: var(--text-color);
}

[data-theme="light"] .photo-item p {
    color: var(--secondary-text);
}

[data-theme="light"] .photo-item a {
    color: var(--accent-color);
}

[data-theme="light"] .photo-item a:hover {
    color: #5a6fd8;
}

[data-theme="light"] footer {
    background: var(--card-bg);
    color: var(--secondary-text);
}

[data-theme="light"] footer p {
    color: var(--secondary-text);
}

/* Notification Styles */
.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-close {
    background: none;
    border: none;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    margin-left: auto;
}

.notification-close:hover {
    background: var(--border-color);
    color: var(--text-color);
}

/* Notification Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Photos Section */
.photos-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.photos-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.photos-section .section-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin: 0 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.photos-section .section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.photos-section .instagram-link {
    color: #4FC3F7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.photos-section .instagram-link:hover {
    color: #29B6F6;
    text-shadow: 0 0 10px rgba(79, 195, 247, 0.5);
}

.photos-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.photo-preview-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 400px;
    width: 100%;
}

.photo-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.photo-preview-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-info {
    display: flex;
    align-items: center;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
}

.profile-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.profile-details p {
    margin: 2px 0 0;
    font-size: 14px;
    color: #666;
}

.view-profile-btn {
    background: #0095f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.view-profile-btn:hover {
    background: #0081d1;
    transform: translateY(-1px);
}

.photo-preview-content {
    padding: 40px 20px;
    text-align: center;
    background: #f8f9fa;
}

.instagram-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: #666;
}

.instagram-placeholder i {
    font-size: 48px;
    color: #E4405F;
}

.instagram-placeholder p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.photos-cta {
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Photos Grid Styles */
.photos-grid-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.photo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.photo-wrapper blockquote {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transform: scale(1) !important;
    transform-origin: center !important;
}

.photo-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    object-fit: cover !important;
}


/* Instagram embed özel stilleri */
.photo-wrapper .instagram-media {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: block !important;
    position: relative !important;
}

.photo-wrapper .instagram-media > div {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    padding: 0 !important;
}

.photo-wrapper .instagram-media a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    text-decoration: none !important;
}

/* Instagram iframe düzeltmeleri */
.photo-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 20px !important;
    display: block !important;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.empty-state p {
    font-size: 16px;
    color: #666;
}

/* Category Selector */
.category-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.category-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #666;
}

.category-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.category-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.category-btn i {
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .photos-grid-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .photos-grid {
        gap: 15px;
    }
}

@media (max-width: 1024px) {
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .photos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .photos-grid-container {
        padding: 0 15px;
    }
    
    .category-selector {
        gap: 8px;
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }
    
    .photo-item {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .photo-wrapper {
        border-radius: 8px;
    }
    
    .photo-wrapper blockquote {
        border-radius: 8px !important;
    }
    
    .photo-wrapper iframe {
        border-radius: 8px !important;
    }
    
    /* Hero section mobile optimization */
    .hero {
        padding: 20px 15px;
        min-height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin: 15px 0;
    }
    
    /* Button optimization */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .photos-grid {
        gap: 15px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .category-btn span {
        display: none;
    }
    
    .empty-state {
        padding: 60px 15px;
    }
    
    .empty-state h3 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
}

/* Animation for category switching */
.photo-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.photo-item.fade-out {
    opacity: 0;
    transform: translateY(20px);
}

.photo-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================
   BACK TO TOP BUTTON
   =========================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Back to Top */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* ===========================================
   MOBILE IMAGE OPTIMIZATION
   =========================================== */

@media (max-width: 768px) {
    /* Hero Image */
    .hero-image img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* About Image */
    .about-img img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Project Images */
    .project-image img {
        max-width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Company Logos */
    .company-logo img,
    .company-logo-right img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
    }
    
    /* Skill Icons */
    .skill-content svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Contact Icons */
    .info-item i {
        font-size: 1.2rem;
    }
    
    /* Lazy Loading Optimization */
    img[loading="lazy"] {
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    img[loading="lazy"].loaded {
        opacity: 1;
    }
}

/* Mobile-First Performance Optimizations */
@media (max-width: 768px) {
    /* Disable heavy animations on mobile */
    .hero-php,
    .hero-css,
    .hero-js,
    .hero-react {
        animation: none !important;
    }
    
    /* Optimize transitions */
    * {
        transition: none !important;
        animation-duration: 0.1s !important;
    }
    
    /* Reduce box shadows for performance */
    .timeline-content-left,
    .timeline-content-right,
    .project-content,
    .skill-content {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Optimize hover effects */
    .timeline-content-left:hover,
    .timeline-content-right:hover,
    .project-content:hover,
    .skill-content:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
}

@media (max-width: 768px) {
    .photos-section .section-title {
        font-size: 36px;
    }
    
    .photo-preview-card {
        max-width: 100%;
    }
    
    .photo-preview-header {
        padding: 15px;
    }
    
    .profile-avatar {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}