
/* Root Variables & Reset */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #1a1a1a;
    --text-color: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --background-dark: #1a1a1a;
    --background-light: #2a2a2a;
    --shadow-color: rgba(46, 204, 113, 0.2);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container & Section Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection Style */
::selection {
    background: var(--primary-color);
    color: var(--background-dark);
}

/* Focus Styles */
:focus {
    outline: none;
}

:focus-visible {
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(46, 204, 113, 0.1);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Responsive Header */
@media (max-width: 992px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .header-content {
        padding: 20px;
    }
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
    margin-bottom: 50px;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Typing Effect */
.typing-container {
    height: 30px;
    margin: 20px 0;
}

.typing-text {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 24px;
    background: var(--primary-color);
    margin-left: 5px;
    animation: blink 0.7s infinite;
}

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

/* Hero Cards */
.hero-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.card p {
    color: var(--text-secondary);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--background-dark);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 50px auto 0;
    }
}

/* Services Section Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateX(100%);
}

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

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    display: block; /* Eklendi */
}

.section-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block; /* Eklendi */
}

.title-bar {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    margin-bottom: 20px; /* Eklendi */
    display: block; /* Eklendi */
}

.section-description {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Responsive Design for Services */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }
}







/* Skills Section Styles */
.skills-container {
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.skill-category {
    background: var(--background-light);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.1);
}

.category-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(46, 204, 113, 0.1);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.skill-progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: progress-shine 2s infinite;
}

@keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skills-container {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 25px;
    }

    .category-title {
        font-size: 1.3rem;
    }

    .skill-name {
        font-size: 1rem;
    }
}






/* ============================= */
/* Portfolio Section Styles */
/* ============================= */

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================= */
/* Categories */
/* ============================= */

.portfolio-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 12px 24px;
    border: none;
    background: var(--background-light);
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
}

/* ============================= */
/* Portfolio Cards */
/* ============================= */

.portfolio-item {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 15px;
    transition: 0.3s;
}

/* ilk açılış bug fix */
.portfolio-item.hide {
    display: none !important;
}

.portfolio-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: var(--background-light);
}

/* ============================= */
/* Image */
/* ============================= */

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ============================= */
/* Overlay */
/* ============================= */

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 204, 113, 0.9);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    transform: translateY(100%);
    transition: 0.3s;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.card-overlay h3 {
    color: var(--background-dark);
    font-size: 1.4rem;
}

/* ============================= */
/* Responsive */
/* ============================= */

@media (max-width: 992px) {
    .portfolio-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-gallery {
        grid-template-columns: 1fr;
    }
}

/* ============================= */
/* LIGHTBOX (Mimari slider) */
/* ============================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 45px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.prev { left: 30px; }
.next { right: 30px; }


.portfolio-item.websites .card-overlay {
    display: none !important;
}

.portfolio-item.websites .portfolio-card:hover img {
    transform: none !important;
}

.portfolio-item.websites .portfolio-card {
    cursor: pointer;
}

.portfolio-item.architecture .card-overlay{
    display:none !important;
}

.portfolio-item.architecture .portfolio-card:hover img{
    transform:none !important;
}
.portfolio-item.architecture .portfolio-card{
    cursor:pointer;
}
/* Contact Section Styles */

#contact {
    position: relative;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

#contact .section-header {
    visibility: visible !important;
    opacity: 1 !important;
}


.contact-container {
    width: 100%;
    padding: 20px 0;
}

/* Contact card optimization */

.contact-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.contact-card.loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.contact-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.contact-card:not(.loaded) {
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.loaded {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--background-light);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(46, 204, 113, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.1);
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

/* Platform specific colors */
.linkedin .card-icon { color: #0077B5; }
.instagram .card-icon { color: #E4405F; }
.email .card-icon { color: var(--primary-color); }
.r10-card .card-icon {
    color: var(--primary-color);
}

.r10-card .card-icon .r10 {
    font-size: 2rem;
    font-weight: 700;
}

.contact-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 12px;
}

.card-badge {
    background: rgba(46, 204, 113, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Contact Info */
.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .contact-card {
        min-height: 200px;
    }
    
    .contact-info .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    background: var(--background-dark);
    padding-top: 100px;
    margin-top: 100px;
    overflow: hidden;
    z-index: 1;
}

/* Wave Animation */
.footer-waves {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 60px;
    animation: wave-animation 10s linear infinite;
}

.wave1 {
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.3;
    z-index: 3;
    animation-delay: 0s;
}

.wave2 {
    background: linear-gradient(-45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.5;
    z-index: 2;
    animation-delay: -5s;
}

.wave3 {
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.2;
    z-index: 1;
    animation-delay: -2s;
}

@keyframes wave-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Brand Section */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Footer Social Links */
.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    color: var(--background-dark);
}

/* Footer Sections */
.footer-section h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul li a {
        justify-content: center;
    }
}
/* Floating Social Media Buttons */
.floating-socials {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Toggle Button */
.social-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--background-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    z-index: 2;
}

.social-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* Social Links Container */
.social-links {
    position: absolute;
    right: 60px;
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.social-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Individual Social Links */
.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--background-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Social Link Hover Effects */
.social-link:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-5px);
}

/* Platform Specific Styles */
.social-link.instagram:hover {
    background: #E4405F;
    color: white;
}

.social-link.facebook:hover {
    background: #1877F2;
    color: white;
}

.social-link.linkedin:hover {
    background: #0A66C2;
    color: white;
}

/* R10 Special Style */
.r10 {
    font-weight: bold;
    font-size: 0.9rem;
}

/* Animation for Toggle Button */
.social-toggle.active {
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-socials {
        bottom: 20px;
        right: 20px;
    }

    .social-toggle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .social-links {
        right: 50px;
    }
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .floating-socials {
        bottom: 15px;
        right: 15px;
    }

    .social-links {
        right: 45px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .social-link:active {
        transform: scale(0.95);
    }
}

/* Print Styles */
@media print {
    .floating-socials {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .social-toggle,
    .social-link {
        border: 2px solid var(--background-dark);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .social-toggle,
    .social-link {
        transition: none;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: var(--background-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9997;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

/* Visible State */
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hidden State */
.back-to-top:not(.visible) {
    transform: translateY(20px);
}

/* Hover Effects */
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* Icon Animation */
.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Active State */
.back-to-top:active {
    transform: scale(0.95);
}

/* Focus State */
.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 85px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Mobile Optimization */
@media (max-width: 480px) {
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimization */
@media (hover: none) {
    .back-to-top:active {
        transform: scale(0.95);
    }
    
    .back-to-top:hover {
        transform: none;
    }
}

/* Print Styles */
@media print {
    .back-to-top {
        display: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .back-to-top {
        border: 2px solid var(--background-dark);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .back-to-top {
        transition: opacity 0.3s ease;
    }
    
    .back-to-top:hover {
        transform: none;
    }
    
    .back-to-top i {
        transition: none;
    }
}

/* Safe Area Insets for Modern Mobile Devices */
@supports (padding: max(0px)) {
    .back-to-top {
        bottom: max(100px, env(safe-area-inset-bottom) + 100px);
        right: max(30px, env(safe-area-inset-right) + 30px);
    }
}

/* Global Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    }
}

/* Hover Effects */
.hover-effect {
    transition: var(--transition);
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
}

/* Text Gradient Effect */
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effect */
.glow-effect {
    position: relative;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-color);
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
    opacity: 0.3;
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.5s ease-out;
    pointer-events: none;
}

.ripple-effect:active::after {
    transform: scale(2);
    opacity: 0;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    z-index: 10001;
    transition: width 0.1s ease;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* AOS Custom Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Transitions */
.transition-fade {
    transition: all 0.3s ease;
}

.transition-transform {
    transition: transform 0.3s ease;
}

.transition-shadow {
    transition: box-shadow 0.3s ease;
}

/* Utility Classes for Animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-float,
    .animate-pulse {
        animation: none !important;
    }
    
    .hover-effect:hover {
        transform: none;
    }
}

/* High Performance Animations */
@media (any-pointer: fine) {
    .transform-gpu {
        transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }
}

/* Global Responsive Settings */
@media screen and (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    /* Header Adjustments */
    .header-content {
        padding: 20px 30px;
    }

    /* Grid Adjustments */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* Portfolio Adjustments */
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Typography */
    h1 {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    h2 {
        font-size: clamp(1.8rem, 3vw, 2.5rem);
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--background-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Sections Spacing */
    .section {
        padding: 80px 0;
    }

    /* Grid Layouts */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Portfolio Adjustments */
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    /* Typography */
    h1 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    /* Grid Layouts */
    .services-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    /* Portfolio Adjustments */

    /* Floating Elements */
    .floating-socials,
    .back-to-top {
        transform: scale(0.9);
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social,
    .footer-logo {
        justify-content: center;
    }

    /* Category Buttons */
    .category-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }

   /* CTA Buton Düzeni (4'lü Set) */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap; /* Sığmazsa alt satıra geçer */
}

.cta-buttons .btn {
    padding: 12px 25px;
    min-width: 170px; /* Butonların genişliğini eşitledik */
    justify-content: center;
    font-size: 0.95rem;
    border-radius: 50px;
}

/* Mobil için 2x2 düzeni */
@media (max-width: 768px) {
    .cta-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
        min-width: unset;
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

    /* Cards */
    .card {
        padding: 20px;
    }

    /* Portfolio Adjustments */

    /* Floating Elements Positioning */
    .floating-socials {
        bottom: 15px;
        right: 15px;
    }
    .back-to-top {
        bottom: 80px;
        right: 15px;
    }
}

/* Device Specific Optimizations */
@media (hover: none) {
    .hover-effect {
        transition: none;
    }

    .nav-link:active,
    .btn:active,
    .card:active {
        transform: scale(0.98);
    }
}

/* High-DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .nav-menu {
        padding: 20px 0;
        overflow-y: auto;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0;
    }
}

/* Print Styles */
@media print {
    .floating-socials,
    .back-to-top,
    .nav-menu {
        display: none !important;
    }

    .section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* Safe Areas for Modern Devices */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(15px, env(safe-area-inset-left));
        padding-right: max(15px, env(safe-area-inset-right));
    }
}

/* Arka planı sabitleme */
#particles-js {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--background-dark);
}

.header,
.hero-section,
.section,
.footer {
    position: relative;
    z-index: 1;
}

/* Başlık yanındaki yuvarlak resim kutusu */
.inline-profile-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    width: 150px; /* Boyutu buradan büyütebilirsin */
    height: 150px;
    margin-left: 15px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
    transform: translateY(-5px);
}

.inline-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tüm bölümleri şeffaf yap ki arka plan görünsün */
.section, .hero-section {
    background: transparent !important;
}