body {
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}
/* Mobil Menü Butonu Büyütme */
.menu-button {
    font-size: 28px;
    padding: 14px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}
.menu-button:hover {
    transform: scale(1.3);
    background: rgba(0, 0, 0, 0.2);
}
.menu-open .menu {
    transform: translateX(0);
}
.menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}
.bg-opacity-50 {
    background-color: rgba(255, 255, 255, 0.5);
}
.bg-solid {
    background-color: rgba(255, 255, 255, 1);
}
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
c
.marquee {
    display: inline-block;
    min-width: 100%; /* Yazının kaymasını tam sağla */
    animation: marquee-scroll 15s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 
                inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}


.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 2rem;
    width: calc(100% - 2rem);
    margin: 0 auto;
}
.arrow {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    transition: top 0.5s ease-in-out;
    cursor: pointer;
}


/* Home Section'daki Image için Boyut Düzenleme */
#home img {
    
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    #home img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    }
    @media (max-width: 768px) {
    #home img {
        max-width: 30%;
    }
    }

/* PC için sol ve sağ sütun arasına separator */
.separator {
width: 2px;
height: 80%;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
display: none;
transition: background 0.3s ease-in-out;
}
.separator:hover {
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3));
}
@media (min-width: 768px) {
.separator {
    display: block;
}
}
#wordCloud {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}

.word {
    position: absolute;
    font-size: calc(1rem + 1.5vw);
    font-weight: bold;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 
                 0 0 20px rgba(255, 255, 255, 0.6);
    opacity: 0.3;
    animation: moveWords 7s infinite alternate ease-in-out, glow 4s infinite alternate ease-in-out;
}

@keyframes moveWords {
0% {
    transform: translateY(0) translateX(0);
}
50% {
    transform: translateY(-30px) translateX(30px);
}
100% {
    transform: translateY(30px) translateX(-30px);
}
}

@keyframes glow {
0% {
    opacity: 1.2;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}
50% {
    opacity: 0.5;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
}
100% {
    opacity: 0.2;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
}
}

 /* Background & Section Styling */
    /* Background & Section Styling */
    .bg-dark-gradient {
        background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    }

    /* Service Card Styling */
    .service-card {
        position: relative;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        padding: 30px;
        text-align: center;
        overflow: hidden;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        align-items: center;  /* yatayda ortalar */
        justify-content: center; /* dikeyde ortalar */
    }

    .service-card i {
        font-size: 2.5rem;
        color: #fff;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 1rem;
        opacity: 0.7;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    }

    /* Animated Service Background */
    .service-bg {
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 80%);
        transform: rotate(45deg);
        transition: opacity 0.5s ease;
        opacity: 0;
    }

    .service-card:hover .service-bg {
        opacity: 1;
    }
.service-icon {
    width: 75px;
    height: 75px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
}

    /* Mouse Glow Effect */
#mouse-glow {
    position: fixed;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 10%, transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    opacity: 0;
    filter: blur(15px);
}

 /* Sidebar Position (Top Menu'nun altına yerleştirildi) */
 #sidebar {
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    top: 10px; /* Top Menü ile temas etmesin diye ayarlandı */
    height: calc(100% - 25px);
    z-index: 100;
}

/* Sidebar Açıldığında Glow Efekti */
#sidebar.active {
    animation: glowEffect 1s ease-in-out;
}

@keyframes glowEffect {
    0% { box-shadow: -5px 0 10px rgba(0, 255, 255, 0.1); }
    100% { box-shadow: -5px 0 20px rgba(0, 255, 255, 0.3); }
}

/* Sidebar Butonları */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 12px;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.sidebar-link i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

/* Hover Efekti */
.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(8px);
}

.sidebar-link:hover i {
    transform: scale(1.1);
}

/* Kapatma Butonu */
.close-icon {
    transition: transform 0.3s ease, color 0.3s ease;
}

.close-icon:hover {
    transform: rotate(90deg);
    color: red;
}
@keyframes neon-glow {
    0% { box-shadow: 0 0 8px rgba(0, 255, 255, 0.3), inset 0 0 8px rgba(0, 255, 255, 0.15); }
    50% { box-shadow: 0 0 25px rgba(0, 255, 255, 0.6), inset 0 0 12px rgba(0, 255, 255, 0.2); }
    100% { box-shadow: 0 0 8px rgba(0, 255, 255, 0.3), inset 0 0 8px rgba(0, 255, 255, 0.15); }
}

#sidebar.active {
    animation: neon-glow 2s infinite alternate ease-in-out;
}

/* About Cards */
.about-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}


.about-image {
    max-width: 60%; /* Masaüstünde %60 genişlik */
}
@media (max-width: 1024px) {
    .about-image {
        max-width: 80%; /* Tabletlerde biraz daha büyük */
    }
}
@media (max-width: 768px) {
    .about-image {
        max-width: 100%; /* Mobilde tam ekran genişlik */
    }
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

.wave {
    position: absolute;
    width: 100%;
    height: auto;
    animation: waveMove 8s infinite alternate ease-in-out;
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-10px); }
}

/* CTA Button */
.cta-button {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    padding: 12px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    border-radius: 50px;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 15px rgba(255, 100, 50, 0.6);
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(32, 32, 32, 0.9) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    padding: 50px 0;
}

/* Background Animation */
#testimonial-bg-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 10%, transparent 60%);
    filter: blur(40px);
    animation: glowAnimation 6s infinite alternate ease-in-out;
}

/* Glowing Background Effect */
@keyframes glowAnimation {
    0% { transform: translateY(0px); opacity: 0.2; }
    100% { transform: translateY(10px); opacity: 0.4; }
}

/* Compact & Modern Testimonial Card */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 120px; /* Reduced height for compact look */
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Hover Effect */
.testimonial-card:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Testimonial Image */
.testimonial-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 6px;
}

/* Swiper Styles */
.swiper-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}

/* Marquee Scrolling Effect */
.marquee-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
}

/* Swiper Auto-Scroll */
.swiper-wrapper {
    display: flex;
    animation: marquee-scroll 15s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        height: auto;
        width: 180px;
        padding: 0.8rem;
    }

    .testimonial-img {
        width: 35px;
        height: 35px;
    }
}

/* Genel Portfolio Alanı */
#portfolio {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 10%, rgba(32, 32, 32, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

/* Proje Kartları */
.portfolio-project {
    position: absolute;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.1s linear;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.portfolio-project span {
    font-size: 1rem;
    color: white;
}

/* Pop-Up Penceresi */
#portfolio-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: none;
    z-index: 1000;
}

.popup-content {
    position: relative;
}

#popup-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

#popup-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: black;
}

#popup-desc {
    font-size: 1rem;
    color: black;
    opacity: 0.8;
}

/* Pop-Up Kapatma Butonu */
.close-popup {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
    transition: 0.3s;
}

.close-popup:hover {
    color: red;
}