@import url('https://fonts.googleapis.com/css2?family=Darker+Grotesque:wght@300..900&family=Outfit:wght@100..900&display=swap');

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.5;
    background-color: #f5f7fb;
    font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111827;
}

h1,
h2,
.buglog-page>h1,
.buglog-intro-left h2 {
    font-family: "Darker Grotesque", "Outfit", sans-serif;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

.container {
    width: 1300px;
    margin: 0 auto;
}

header {
    width: 100%;
}

.header {
    width: 100%;
    background-color: #f9fafb;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    transform: translateY(0);
}

body.header-floating .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(148, 163, 184, 0.6);
}

body.header-floating.header-hidden .header {
    transform: translateY(-100%);
}

/* İçerik header fixed olduğunda yukarı kaymasın diye */
body.header-floating .slider {
    margin-top: 80px;
}

.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.header-menu-left {
    display: flex;
    align-items: center;
}

.header-menu-left-img {
    width: 50px;
    height: auto;
    border-radius: 16px;
}

.header-menu-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 32px;
}

.header-menu-right-link a {
    font-size: 16px;
    text-decoration: none;
    color: #111827;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    letter-spacing: 0.04em;
}

.header-menu-right-link a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #489bf4;
    transition: width 0.2s ease;
}

.header-menu-right-link a:hover::after,
.header-menu-right-link a.is-active::after {
    width: 100%;
}

.header-menu-right-link a:hover {
    color: #0f172a;
}

.header-menu-right-link a.is-active {
    color: #0f172a;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #489bf4, #1b3c73);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: #ffffff;
    font-size: 18px;
    gap: 16px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    animation: logo-pulse 1.4s ease-in-out infinite;
}

@keyframes logo-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.14);
    }

    100% {
        transform: scale(1);
    }
}

.loader-spinner {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    animation: loader-spin 1s linear infinite;
}

@keyframes loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.slider {
    width: 100%;
}

.buglog-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 40px;
}

.buglog-slider-img {
    width: 1200px;
    left: 0;
    position: relative;
}

.buglog-slider>h1 {
    color: #ffffff;
    text-align: center;
    position: absolute;
    bottom: 200px;
    font-size: 48px;
    width: 41%;
    line-height: 60px;
}

.buglog {
    width: 100%;
    padding: 40px 0 80px 0;
}

.buglog-page>h1 {
    font-size: 48px;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #1b3c73;
}

.buglog-intro {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.buglog-intro-left {
    flex: 2;
}

.buglog-intro-right {
    flex: 1.3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #489bf4;
    font-weight: 600;
    margin-bottom: 10px;
}

.buglog-intro-left h2 {
    font-size: 32px;
    color: #111827;
    margin-bottom: 16px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 18px;
}

.intro-list {
    margin-bottom: 22px;
}

.intro-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #374151;
    margin-bottom: 8px;
}

.intro-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #489bf4;
    margin-top: 5px;
}

.intro-cta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.primary-btn {
    background: #489bf4;
    color: #ffffff;
    border: 1px solid #489bf4;
    box-shadow: 0 16px 40px rgba(72, 155, 244, 0.45);
}

.primary-btn:hover {
    background: #1b3c73;
    border-color: #1b3c73;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.55);
}

.secondary-btn {
    background: #ffffff;
    color: #1f2933;
    border: 1px solid rgba(148, 163, 184, 0.8);
}

.secondary-btn:hover {
    border-color: #489bf4;
    color: #111827;
}

.metric-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 18px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: #489bf4;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.metric-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.metric-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.about-section {
    width: 100%;
    margin: 40px 0 50px 0;
}

.about-inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 32px 28px 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.about-header h2 {
    font-size: 28px;
    color: #111827;
    margin-bottom: 16px;
}

.about-grid {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.about-text {
    flex: 1.2;
}

.about-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 10px;
}

.about-cards {
    flex: 1.3;
    display: flex;
    gap: 16px;
}

.about-card {
    flex: 1;
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-card h3 {
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: #489bf4;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto 70px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
    background: #ffffff;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.slide.reverse {
    flex-direction: row-reverse;
}

.slide-content {
    flex: 1;
    padding: 0 40px;
}

.slide-content h1 {
    font-size: 32px;
    text-align: center;
    color: #000000;
    line-height: 1.4;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-image img {
    width: 650px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
}

.slider-btn {
    background: rgba(72, 155, 244, 0.9);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: rgba(72, 155, 244, 1);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0 25px 0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dddddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #489bf4;
    transform: scale(1.3);
}

.slide-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(72, 155, 244, 0.9);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    z-index: 10;
}

.buglog-benefits {
    width: 100%;
    margin-top: 10px;
}

.buglog-benefits h2 {
    font-size: 28px;
    text-align: center;
    color: #111827;
    margin-bottom: 24px;
}

.benefit-grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

.benefit-card {
    flex: 1;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card h3 {
    font-size: 18px;
    color: #111827;
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: #489bf4;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.image-modal.open {
    display: flex;
}

.image-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modal-pop 0.25s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
}

.image-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 22px;
    line-height: 32px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

@keyframes modal-pop {
    0% {
        transform: scale(0.94);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.site-footer {
    width: 100%;
    border-top: 1px solid rgba(148, 163, 184, 0.4);
    padding: 18px 0;
    background: #f9fafb;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-logo-text {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.footer-copy {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-top: 30px;
}

.footer-right {
    display: flex;
    gap: 16px;
}

.footer-link {
    font-size: 13px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #111827;
}

.footer-logo {
    width: 50px;
    height: auto;
    border-radius: 20px;
}

body:not(.page-loaded) .header,
body:not(.page-loaded) .slider,
body:not(.page-loaded) .buglog,
body:not(.page-loaded) .site-footer {
    opacity: 0;
    transform: translateY(10px);
}

body.page-loaded .header {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.page-loaded .slider {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.page-loaded .buglog {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

body.page-loaded .site-footer {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.back-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #489bf4;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
    z-index: 1100;
}

.back-to-top:hover {
    background: #1b3c73;
}

body.show-back-to-top .back-to-top {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 95%;
    }

    .header-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 12px 0;
    }

    .header-menu-right {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 16px;
    }

    .header-menu-left-img {
        padding: 8px 0 0 0;
        width: 140px;
    }

    .slider {
        padding-top: 24px;
    }

    .buglog-slider {
        margin-top: 40px;
    }

    .buglog-slider-img {
        width: 100%;
        box-shadow: 0 18px 50px rgba(15, 23, 42, 0.4);
    }

    .buglog-slider>h1 {
        font-size: 28px;
        line-height: 36px;
        width: 80%;
        left: 10%;
        bottom: 90px;
    }

    .buglog-page>h1 {
        font-size: 32px;
        margin-top: 30px;
    }

    .buglog-intro {
        flex-direction: column;
        gap: 20px;
    }

    .about-grid {
        flex-direction: column;
    }

    .about-cards {
        flex-direction: column;
    }

    .benefit-grid {
        flex-direction: column;
    }

    .slide {
        flex-direction: column !important;
        padding: 40px 20px;
    }

    .slide.reverse {
        flex-direction: column !important;
    }

    .slide-content {
        padding: 0;
        margin-bottom: 30px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .slide-image img {
        width: 100%;
        max-width: 400px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .slide-number {
        top: 12px;
        right: 12px;
        font-size: 14px;
        padding: 6px 14px;
    }

    .image-modal-content {
        padding: 10px;
        border-radius: 12px;
    }

    .image-modal-close {
        top: 6px;
        right: 8px;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .back-to-top {
        right: 18px;
        bottom: 18px;
    }
}