:root {
    --bg-color: #FDFCF8;
    --card-bg: #FFFFFF;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --border-color: rgba(0, 0, 0, 0.05);
    --primary: #B03A2E;
    --primary-dark: #8F2A20;
    --primary-light: #FADBD8;
    --accent-gradient: linear-gradient(135deg, #B03A2E 0%, #E74C3C 100%);
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 15px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.08);
    --radius-lg: 40px;
    --radius-md: 30px;
    --radius-sm: 16px;

    --header-bg: rgba(253, 252, 248, 0.95);
    --nav-mobile-bg: rgba(255, 255, 255, 0.98);
}

body.dark-mode {
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.08);

    --primary: #FF6B6B;
    --primary-dark: #C0392B;
    --primary-light: rgba(255, 107, 107, 0.15);
    --accent-gradient: linear-gradient(135deg, #C0392B 0%, #FF6B6B 100%);

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.5);

    --header-bg: rgba(18, 18, 18, 0.95);
    --nav-mobile-bg: rgba(30, 30, 30, 0.98);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-fluid-custom {
    width: 100%;
    padding: 0 24px;
    margin: 0 auto;
}
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gradient);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(176, 58, 46, 0.3);
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(176, 58, 46, 0.4);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.link-arrow i {
    transition: 0.3s;
    color: var(--primary);
}

.link-arrow:hover {
    gap: 10px;
    color: var(--primary);
}

header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: 0.3s;
}

header.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.logo span {
    color: var(--primary);
}

nav ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

.theme-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-main);
    padding: 8px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    transform: rotate(15deg);
}

.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 100vh;
    padding-top: 140px;
    position: relative;
}

.hero-content {
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 25px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-img-wrapper {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    border: 8px solid var(--card-bg);
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.testimonials-section {
    width: 100%;
    margin: 0 auto 100px;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    height: auto;
    display: flex;
    padding: 0 10px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 35px;
    /* İç boşluğu artırdım */
    border-radius: var(--radius-md);
    /* 30px - İyice yuvarlak */
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.t-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.t-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--card-bg);
    box-shadow: var(--shadow-sm);
}

.t-info h5 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-main);
}

.t-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.t-quote {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
    word-wrap: break-word;
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.3;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 120px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: 0.3s;
}

.service-card:hover::after {
    opacity: 1;
}

.s-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.project-item {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    margin-bottom: 100px;
    align-items: center;
}

.project-item.reverse {
    grid-template-columns: 1fr 1.2fr;
    direction: rtl;
}

.project-item.reverse .project-text {
    direction: ltr;
}

.project-visual {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-md);
    /* 30px - Yuvarlak */
    background-color: var(--border-color);
    box-shadow: var(--shadow-md);
    position: relative;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: 0.5s ease;
}

.project-visual:hover img {
    transform: scale(1.05);
}

.project-category {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.project-text h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.project-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-wrapper {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    /* 40px - Büyük oval */
    padding: 80px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.contact-info p {
    color: var(--text-muted);
}

.mail-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 3px solid var(--primary-light);
    transition: 0.3s;
}

.mail-link:hover {
    border-color: var(--primary);
}

.socials {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.socials a {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    color: var(--text-main);
}

.socials a:hover {
    background: var(--primary);
    color: white;
    transform: rotate(10deg);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 20px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-form button {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    background: var(--accent-gradient);
    color: white;
    width: 100%;
    padding: 20px;
    border: none;
    border-radius: 50px;
    /* Tam yuvarlak buton */
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(176, 58, 46, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(176, 58, 46, 0.5);
}

.form-alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.5s ease-out;
}

.form-alert.success {
    background-color: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.form-alert.error {
    background-color: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.form-alert.warning {
    background-color: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

footer {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .header-inner {
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1002;
        color: var(--text-main);
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(10px);
        z-index: 1001;
        transform: translateX(100%);
        transition: 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        width: 100%;
    }

    nav ul li a {
        font-size: 1.5rem;
        color: var(--text-main);
        display: block;
        padding: 10px;
    }

    nav ul li a:hover {
        background: var(--primary-light);
        color: var(--primary);
    }

    nav ul li a::after {
        display: none;
    }

    .hero {
        flex-direction: column-reverse;
        padding-top: 120px !important;
        text-align: center;
    }

    .hero-content {
        margin: 0;
        text-align: center;
    }

    .hero-visual {
        width: 100%;
        margin-bottom: 40px;
        justify-content: center;
    }

    .hero-img-wrapper {
        margin: 0 auto;
        max-width: 280px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials {
        flex-direction: column;
    }

    .testimonial-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .project-item,
    .project-item.reverse {
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
        padding-bottom: 60px;
        border-bottom: 1px solid var(--border-color);
    }

    .project-visual {
        display: none !important;
    }

    .project-text {
        text-align: left;
        padding: 0;
        margin-bottom: 20px;
    }

    .contact-wrapper {
        display: flex;
        flex-direction: column;
        padding: 30px;
        gap: 40px;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    .swiper-slide {
        padding: 0;
    }
}

.custom-linkedin-card {
    background: var(--card-bg);
    border-radius: var(--radius-md); 
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    position: relative;
    margin-top: 40px; /* Üstten boşluk */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px; 
}

.custom-linkedin-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.linkedin-banner {
    height: 80px;
    background: var(--accent-gradient);
    width: 100%;
}

.linkedin-content {
    padding: 0 25px 30px 25px;
    text-align: center;
    position: relative;
}

.linkedin-img-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: -45px auto 15px; 
}

.linkedin-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--card-bg); 
    background: var(--card-bg);
}

.linkedin-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: #0077b5; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 3px solid var(--card-bg);
}

.custom-linkedin-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 5px;
}

.linkedin-title {
    font-size: 0.9rem;
    color: var(--text-main);
    opacity: 0.8;
    margin-bottom: 8px;
    line-height: 1.4;
}

.linkedin-location {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.linkedin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: 0.3s all;
}

.linkedin-btn:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(176, 58, 46, 0.3); 
    transform: translateY(-2px);
}