/* styles.css */

/* Genel Stil Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Genel renk ve temel stiller */
:root {
    --delay: 100ms;

    --primary-color: #0ea4c5;
    --dark-navy: #00082c;
    --text-grey: #4a5568;
    --bg-light: #f8fafc;
    --text-main: #334155;

    --txt-cl: #6276A3;
    --cl-root: #2B3957;
    --cl-side: #CFE2F3;
    /* #1e88e5 #2c3e50 #d7e6d8 #2e6a45 #5c86fa #1e07ae #6276A3 #47587D #2ca8a8 #45818E*/
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Kodchasan', sans-serif;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    background: radial-gradient(circle at center, #ddd 0%, #fff 100%);
    background-attachment: fixed;
    color: var(--dark-navy);
    line-height: 1.6;
    font-size: 16px;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Bölümler */
section {
    padding: 20px;
    margin: 20px;
    max-width: 100%;
    list-style: square;
    list-style-position: inside;
    flex: 1;
}

section h2 {
    color: var(--dark-navy);
    padding-top: 20px;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* ----------------------------- Navbar ----------------------------- */
header {
    background: linear-gradient(to right, var(--dark-navy), var(--primary-color));
    color: var(--txt-cl);
    padding: 0;
    margin: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-radius: 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 auto;
    position: relative;
    margin: 0 auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 10px;
    font-size: 18px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    font-size: clamp(14px, 1.5vw, 18px);
    padding: 0 10px;
}

.navbar a:hover {
    text-decoration: underline;
    color: var(--dark-navy);
}

.logo {
    height: 80px;
    max-height: 90px;
    width: auto;
    display: block;
    background: none;
    padding: 0;
    margin: 0;
    border: none;
    filter: invert(1) brightness(2) drop-shadow(0 0 20px #0073e6);
}

.logo-box {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.logo-text span {
    display: block;
    justify-content: space-between;
    line-height: 1;
    font-size: 1.5rem;
    padding: 1px 1px;
    font-weight: normal;
    color: white;
    text-shadow:
        0 0 7px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(0, 115, 230, 0.4),
        0 0 50px rgba(0, 115, 230, 0.3),
        0 0 70px rgba(0, 115, 230, 0.2);
    /*0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #0073e6,
        0 0 80px #0073e6,
        0 0 120px #0073e6;*/
}

.logo-box:hover {
    opacity: 0.8;
}

/* Mobil Menü */
.menu-toggle {
    display: none;
}

/* ----------------------------- Ana Sayfa ----------------------------- */
.home {
    background-color: linear-gradient(to right, var(--dark-navy), var(--primary-color));
    background: url('../images/arkaplan.jpg') no-repeat center center fixed;
    background-size: cover;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    gap: 0;
    position: relative;
    overflow: hidden;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 5px 5px 15px 0px rgba(0, 0, 0, 0.5);
}

.home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    inset: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.home-content {
    position: absolute;
    z-index: 2;
    color: white;
    max-width: 80%;
    padding: 20px;
    padding-top: 0;
    margin-top: 0;
    gap: 0;
}

.home-content h1 {
    font-size: 2.5em;
    font-weight: 500;
    margin: 0;
    padding: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.home-content p {
    margin-top: 20px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-size: 1.2em;
}

.project-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    pointer-events: auto;
    flex-wrap: wrap;
}

.grid-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-width: 300px;
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    background-color: transparent;

}

.grid-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-navy);
    border-color: var(--dark-navy);
}

.project-buttons:hover .grid-btn {
    opacity: 0.85;
    filter: grayscale(1);
    transform: scale(0.99);
}

.project-buttons .grid-btn:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.01);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/**/
.hero {
    text-align: center;
    padding: 0;
}

.hero p {
    text-align: left;
    padding-left: 15%;
}

.grid-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
    margin-top: 50px;
    padding: 0 20px;
}

/* - Projeler Grid - */
/* Yatay kaydırma konteyneri */
.project-scroller {
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    margin-top: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    left: 0;
}

.project-scroller .grid-card {
    width: fit-content;
    scroll-snap-align: start;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.project-scroller:active {
    cursor: grabbing;
}

.project-scroller::-webkit-scrollbar {
    display: none;
}

.project-scroller .card {
    overflow: hidden;
    flex-shrink: 0;
    max-width: 80%;
    width: 600px;
    padding: 0px;
}

.project-scroller .card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    cursor: pointer;
    padding: 10px;
    border-radius: 12px;
}

.project-scroller:active img {
    cursor: grabbing;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-scroller .card:hover img {
    transform: scale(1.1);
}

.item-overlay {
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: var(--delay);
}

.item-overlay h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.item-overlay p {
    font-size: 0.95rem;
    margin: 10px 0 15px 0;
    flex-grow: 1;
}

.project-scroller .card:hover .item-overlay {
    transform: translateY(0);
}

/* Hizmetler Grid Yapısı */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-top-color: var(--primary);
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.service-card .icon-box {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--dark-navy);
    margin-bottom: 15px;
    font-size: 1.25rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.6;
}

/* - EKİBİMİZ SAYFASI  */
.card {
    background-color: #ffffff99;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--txt-cl);
    flex-direction: column;
    display: flex;
}

.card:nth-child(n+2) {
    animation-delay: 100ms;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
    color: var(--cl-root);
    margin-top: 0;
    font-size: 1.3rem;
}

.card p {
    color: var(--txt-cl);
    font-size: 0.95rem;
    margin-top: 5px;
    margin-bottom: 15px;
}

.card img {
    border-radius: 12px;
    cursor: pointer;
}

/* ========================================================================= */
/* 1. SOSYAL MEDYA İKONLARI (Kare Butonlar: Whatsapp, Instagram, Share)      */
/* ========================================================================= */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.icon-box {
    height: 55px;
    width: 55px;
    background: var(--dark-navy);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    border: 1px solid rgba(0, 115, 230, 0.3);
}

.icon-box i {
    color: var(--cl-side);
    transition: all 0.2s ease;
}

.icon-box:hover {
    background: var(--primary-color);
    box-shadow: 0 0 20px var(--dark-navy);
    transform: translateY(-5px);
    border-color: var(--dark-navy);
}

.icon-box:hover i {
    color: var(--dark-navy);
}

.social-links--blog {
    justify-content: left;
    padding-left: 60px;
    gap: 30px;
}

/*  İLETİŞİM LİSTESİ      */
.social-links--contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px;
    margin-bottom: 0;
    gap: 5px;
}

.contact-link {
    display: flex;
    align-items: center;
    line-height: 1.2;
    gap: 15px;
    text-decoration: none;
    color: var(--dark-navy);
    padding: 8px 0;
    transition: all 0.3s ease;
}

.contact-link .contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    font-size: 24px;
    color: var(--primary-color);
    border: 2px solid var(--dark-navy);
    border-radius: 50%;
    transition: color 0.3s ease, border-color 0.3s ease, font-size 0.3s ease, transform 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
    font-size: larger;
    letter-spacing: 0.001em;
}

.contact-link:hover .contact-icon {
    color: var(--dark-navy);
    font-size: 30px;
}

/* QR */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 20px;
    width: 325px;
    text-align: center;
    animation: pop 0.2s ease;
}

@keyframes pop {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal .card {
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.actions {
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.action {
    flex: 1 1 0%;
    padding: 10px;
    border-radius: 15px;
    border: none;
    background: #f3f3f3;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

/* ---------------- PROJECT GALLERY MODAL ---------------- */
.gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.gallery-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-content img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.gallery-content button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 40px;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
}

.gallery-content button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.gallery-content button:first-child {
    left: -60px;
}

.gallery-content button:last-child {
    right: -60px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* =============================== MAP =============================== */
.map-section {
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
    position: relative;
}

/* ----------------------------- Footer ----------------------------- */
footer {
    background: linear-gradient(to right, var(--dark-navy), var(--primary-color));
    color: var(--dark-navy);
    text-align: right;
    padding: 1px 20px 1px 5px;
    font-size: 0.95rem;
    margin-top: auto;
    flex-shrink: 0;
}

/* --- CTA BUTON STİLLERİ -------- */
.cta-button {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-button a {
    display: inline-block;
    background-color: var(--dark-navy);
    color: var(--cl-side);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    cursor: help;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.cta-button a:hover {
    background-color: var(--cl-root);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* -------------- SCROLL TO TOP BUTON ---------------- */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--cl-root);
    color: var(--cl-side);
    cursor: pointer;
    padding: 20px;
    border-radius: 25%;
    font-size: 24px;
    line-height: 0;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
}

#scrollToTopBtn::after {
    content: "↑";
    font-weight: bold;
}

#scrollToTopBtn:hover {
    opacity: 1;
    transform: scale(1.05);
}

.floating-cta {
    position: fixed;
    bottom: 75px;
    right: 20px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(200px);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out, visibility 0.3s;
}

body.scrolled-down .floating-cta {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

body.scrolled-down .floating-cta:hover {
    transform: translateY(0) scale(1.2);
}

.floating-cta.whatsapp {
    background-color: #25D366;
    bottom: 140px;
}

.floating-cta.phone {
    background-color: var(--primary-color);
}

/* ---------------- PRELOADER STİLLERİ ------------------- */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ---------------- YIRTIK KAĞIT / DALGA DIVIDER --------------------- */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    opacity: 0.8;
}

.wave-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    filter: brightness(1.1);
    clip-path: polygon(0% 40%, 5% 60%, 10% 45%, 15% 65%, 20% 50%, 25% 70%, 30% 55%, 35% 75%, 40% 60%, 45% 78%, 50% 62%, 55% 80%, 60% 65%, 65% 82%, 70% 68%, 75% 85%, 80% 70%, 85% 88%, 90% 72%, 95% 90%, 100% 75%, 100% 100%, 0% 100%);
}

.wave-divider::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.15);
    filter: blur(6px);
}

/* ------------------- METİN GRADİENT -------------------- */
.gradient-text {
    background: linear-gradient(90deg, var(--cl-root) 0%, var(--txt-cl) 50%, var(--cl-root) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text:hover {
    -webkit-text-fill-color: var(--cl-root);
    background: none;
    -webkit-background-clip: initial;
}

/*  ANİMASYON TEMEL SINIFLARI  */
.animate-fade-down {
    opacity: 0;
    transform: translateY(-25px);
    transition: all 1.2s ease;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(35px);
    transition: all 1.2s ease;
}

.animate-zoom-title {
    opacity: 0;
    transform: scale(0.85);
    transition: all 1s cubic-bezier(.25, .8, .25, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESİM KARŞILAŞTIRMA KAYDIRICISI  */
.slider-container {
    position: relative;
    max-width: 100%;
    width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    border: 3px solid var(--cl-root);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    aspect-ratio: 16 / 9;
}

.slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.img-overlay img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    max-width: none;
    user-select: none;
    pointer-events: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: white;
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.slider-button {
    width: 40px;
    height: 35px;
    line-height: 35px;
    background: white;
    border-radius: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    color: var(--cl-root);
    user-select: none;
    font-size: 20px;
}

/* BLOG */
.blog-post {
    max-width: 100%;
    width: 100vw;
    margin: 0;
    margin-top: 40px;
    padding: 30px;
    background-color: #f7f7f7;
    color: var(--dark-navy);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    font-family: 'Roboto', Arial, sans-serif;
}

.blog-post h3 {
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    font-family: 'Lora', serif;
}

.blog-post h4 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 10px;
    border-left: 4px solid #007BFF;
    padding-left: 10px;
    font-family: 'Lora', serif;
}

.blog-post p {
    line-height: 1.7;
    text-align: start;
    margin-bottom: 15px;
}

.blog-post ul {
    list-style: disc;
    margin: 15px 0 15px 40px;
}

.blog-post .result-box {
    padding: 15px;
    border-left: 5px solid var(--dark-navy);
    background-color: #e6f7ff;
    margin: 20px 0;
}

.blog-post .result-box h4 {
    border-left: none;
}

.article-meta {
    text-align: center;
    color: #777;
    font-size: 0.7rem;
    margin-bottom: 15px;
    padding-bottom: 0;
    border-bottom: 1px solid #eee;
    gap: 0;
}

.hidden-content {
    display: none;
    overflow: hidden;
}

.hidden-content.more {
    display: block;
}

.read-more-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0b8cb0;
}

/* Sosyal Paylaşım Butonları */
.share-buttons {
    margin-top: 40px;
    border-top: 1px dashed #ddd;
    text-align: center;
}

.share-buttons h4 {
    color: #444;
    border: none;
}

.share-icon {
    display: inline-block;
    margin: 0 8px;
    font-size: 1.5rem;
    color: #007BFF;
    transition: transform 0.2s;
}

.share-icon:hover {
    transform: scale(1.1);
    color: #0056b3;
}

/* İçerik Görseli (Kapak) */
.article-image {
    margin-bottom: 30px;
    text-align: center;
}

.main-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-image figcaption {
    margin-top: 10px;
    font-style: italic;
    color: #999;
    font-size: 0.85rem;
}

/* =============================== RESPONSİVE TASARIM =============================== */
@media (max-width: 850px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .navbar ul.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        background: linear-gradient(to right, var(--dark-navy), var(--primary-color));
        width: 100%;
        max-width: 100vw;
        top: 100%;
        left: 0;
        padding: 0;
        margin: 0;
        gap: 0;
        z-index: 1000;
        backdrop-filter: blur(10px);
    }

    .navbar ul.active li {
        padding: 12px 0;
        text-align: center;
    }

    .navbar li {
        text-align: center;
        padding: 10px 0;
        background-color: linear-gradient(to right, var(--dark-navy), var(--primary-color));
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        padding: 1px 10px;
        color: var(--dark-navy);
        transition: transform 0.3s ease;
    }

    .menu-toggle::before {
        content: "☰";
    }

    .navbar ul.active+.menu-toggle {
        transform: rotate(90deg);
    }

    .navbar ul.active+.menu-toggle::before {
        content: "✖";
    }

    .logo {
        max-height: 80px;
    }

    section {
        padding: 15px;
        margin: 15px;
    }

    .hero {
        padding: 15px;
    }

    .hero p {
        padding-left: 4%;
    }

    .home {
        background-attachment: scroll;
        align-items: flex-start;
        padding-top: 100px;
    }

    .home-content {
        max-width: 90%;
        padding: 0;
    }

    .home-content h1 {
        font-size: 2em;
        font-weight: 300;
        margin-bottom: 5px;
    }

    .home-content p {
        line-height: 1.5;
        font-size: 1.1em;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .animate-fade-down,
    .animate-slide-up {
        transition-duration: 0.8s;
    }

    .wave-divider {
        height: 16px;
    }

    .social-links--contact {
        padding-left: 0;
    }

    .grid-card {
        grid-template-columns: 1fr;
        padding: 0;
        gap: 20px;
    }

    .cta-button {
        flex-direction: column;
        gap: 10px;
    }

    .project-scroller .card {
        width: 350px;
        max-width: 90%;
    }

    .project-scroller .card img {
        height: 300px;
    }

    .project-scroller .grid-card:first-child {
        padding-left: 8px;
    }

    .project-scroller .grid-card:last-child {
        padding-right: 8px;
    }

    .gallery-content button:first-child {
        left: 10px;
        font-size: 30px;
    }

    .gallery-content button:last-child {
        right: 10px;
        font-size: 30px;
    }

    .floating-cta {
        width: 45px;
        height: 45px;
        right: 12px;
    }

    .floating-cta.whatsapp {
        bottom: 128px;
    }

    #scrollToTopBtn {
        right: 10px;
    }

    .blog-post {
        margin-top: 30px;
    }

    .blog-post h3 {
        font-size: 24px;
    }

    .blog-post p {
        line-height: 1.6;
        font-size: 16px;
    }
}