
:root {
    --bg: #e3e5e8;
    --text: #000;
    --card: rgba(255,255,255,0.18);
    --primary: #3b82f6;
}

/* DARK THEME */
body.dark {
    --bg: #121212;
    --text: #f1f1f1;
    --card: rgba(255,255,255,0.08);
    --primary: #6ee7b7;
}
body.dark .presence-row {
    background: rgba(255, 255, 255, 0.05);
}
body.dark .discord-presence-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.12);

    box-shadow:
        0 14px 35px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -2px 8px rgba(0,0,0,0.35);
}

@font-face {
    font-family: 'ComicCustom';
    src: url('fonts/ComicSansMS.ttf') format('truetype');
}
body {
    margin: 0;
    background: var(--bg);
    font-family: "Comic Sans MS", sans-serif;
    color: var(--text);
}

/* SADECE ANA SAYFA */
.home-page .logo {
    position: static;
    display: block;
    width: fit-content;
    margin: 20px auto;
}

.home-page .logo img {
    height: 180px;
}

/* LOGO */
.logo {
position: absolute;
top: 2px;
left: 5px;
width: fit-content;
display: inline-block;
   width: fit-content;
height: fit-content;
}

.logo img {
height: 110px;
}

/* MENÜ */
.top-menu, .bottom-menu {
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
margin: 20px 0;
}

/* BUTON */
.btn {
background: #2e6b4f;
color: white;
padding: 12px 22px;
border-radius: 10px;
text-decoration: none;
}

/* SOSYAL */
.social {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 20px;
}

.yt {
background: red;
}

.dc {
background: #5865f2;
}

/* ÇİZGİ */
.line {
width: 80%;
height: 1px;
background: #999;
margin: 20px auto;
}

/* CONTENT */
.content {
width: 80%;
margin: auto;
}

/* HERO */
.hero {
display: flex;
gap: 40px;
align-items: center;
margin: 60px 0;
}

.big-box {
width: 400px;
height: 250px;
border: 1px dotted #585555;
}

.hero-text h1 {
color: #2e6b4f;
}

/* KARTLAR */
.cards {
display: flex;
gap: 20px;
}

.card {
flex: 1;
text-align: center;
}

.box {
height: 150px;
border: 1px dotted #585555;
margin-bottom: 10px;
}

.page-title {
text-align: center;
margin: 40px 0 50px 0;
}

.page-title h1 {
margin: 0;
color: #2e6b4f;
font-size: 40px;
}

.project-section {
margin-bottom: 65px;
}

.project-section h2 {
margin-bottom: 25px;
color: #2e6b4f;
text-align: left;
font-size: 30px;
}

.project-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 25px;
}

.project-card {
display: block;
background: rgba(255, 255, 255, 0.18);
backdrop-filter: blur(2px);
padding: 16px;
border-radius: 18px;
text-align: center;
text-decoration: none;
color: inherit;
border: 2px solid rgba(46, 107, 79, 0.2);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

/* ✅ DÜZELTİLMİŞ FOTO SİSTEMİ */
.project-image {
width: 100%;
aspect-ratio: 1 / 1;
overflow: hidden;
border-radius: 12px;
margin-bottom: 15px;
}

.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.project-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.28);
box-shadow: 0 14px 24px rgba(0, 0, 0, 0.12);
}

.project-card h3 {
margin: 10px 0 8px 0;
color: #2e6b4f;
font-size: 24px;
}

.project-card p {
margin: 0 0 10px 0;
color: #333;
font-size: 18px;
line-height: 1.4;
}

.project-meta {
display: block;
color: #4c5a53;
font-size: 16px;
}

/* BOŞ KARTLAR */
.project-card.empty {
position: relative;
background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
border: 2px dashed rgba(70, 70, 70, 0.35);
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
opacity: 0.85;
pointer-events: none;
}

.project-card.empty:hover {
transform: none;
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}

.empty-image {
display: flex;
align-items: center;
justify-content: center;
background:
linear-gradient(135deg, rgba(255,255,255,0.08), rgba(0,0,0,0.03)),
repeating-linear-gradient(
45deg,
rgba(0,0,0,0.03),
rgba(0,0,0,0.03) 12px,
rgba(255,255,255,0.03) 12px,
rgba(255,255,255,0.03) 24px
);
border: 2px dashed rgba(90, 90, 90, 0.45);
}

.empty-image span {
font-size: 64px;
color: rgba(70, 70, 70, 0.45);
text-shadow: 0 2px 4px rgba(255,255,255,0.35);
}

.project-card.empty h3 {
color: #666;
letter-spacing: 2px;
}

.project-card.empty p,
.project-card.empty .project-meta {
color: #777;
}

@media (max-width: 1100px) {
.project-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 650px) {
.project-grid {
grid-template-columns: 1fr;
}
}
/* EKİBİMİZ KARTLARI */
.team-card {
display: block;
background: rgba(255, 255, 255, 0.18);
backdrop-filter: blur(2px);
padding: 16px;
border-radius: 18px;
text-align: center;
color: inherit;
border: 2px solid rgba(46, 107, 79, 0.2);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.team-card h3 {
margin: 10px 0 8px 0;
color: #2e6b4f;
font-size: 24px;
}

.team-card p {
margin: 0 0 10px 0;
color: #333;
font-size: 18px;
line-height: 1.4;
}

.team-card.empty {
position: relative;
background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
border: 2px dashed rgba(70, 70, 70, 0.35);
box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
opacity: 0.85;
pointer-events: none;
}

.team-card.empty h3,
.team-card.empty p {
color: #777;
}
.hero-text img {
    width: 100%;
    max-width: 620px;
    height: auto;
    border-radius: 14px;
    display: block;
    margin-bottom: 20px;
}
.big-box,
.box {
    overflow: hidden;
    border-radius: 10px;
}

.big-box img,
.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.box {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
     object-position: top;
}
.discord-stats {
    margin: 30px auto;
    width: fit-content;
}
.discord-presence-wrapper {
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.discord-presence-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    border-radius: 18px;
    padding: 22px 26px;

    border: 1px solid rgba(255,255,255,0.25);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.25),
        inset 0 -2px 8px rgba(0,0,0,0.08);

    position: relative;
    overflow: hidden;
}

.discord-presence-card h3 {
    margin: 0 0 18px 0;
    color: #2e6b4f;
    font-size: 26px;
}

.presence-row {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 12px;
    padding: 12px 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 10px;

    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);

    gap: 8px;
}

.presence-row:last-child {
    margin-bottom: 0;
}

.presence-row .label {
    flex: 1;
    text-align: left;
    font-weight: bold;
}

.presence-row .count {
    font-weight: bold;
    color: #222;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.6s infinite;
}

.online .dot {
    background: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.6);
}

.offline .dot {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.45);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.18);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.reklam-alani {
  width: 728px;
  height: 90px;
  margin: 20px auto;
  overflow: hidden;
  text-align: center;
}

@media (max-width: 768px) {
  .reklam-alani {
    width: 100%;
    max-width: 728px;
    transform: scale(0.85);
    transform-origin: top center;
    height: 90px;
  }
}
    
.cards .box {
    aspect-ratio: 1 / 1;
    height: auto;
}

.cards .box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.cards .card:nth-child(2) .box img {
    object-fit: contain;
    background: #111;
}

a {
    color: inherit;
    text-decoration: none;
}

/* MOBİL UYUMLULUK */
@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        font-size: 16px;
    }

    .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin-top: 15px;
    }

    .logo img {
        height: 90px;
    }

    .top-menu,
    .bottom-menu {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
        margin: 15px 0;
    }

    .btn {
        padding: 10px 14px;
        font-size: 15px;
    }

    .social {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .content {
        width: 92%;
    }

    .hero {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        margin: 35px 0;
    }

    .big-box {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .hero-text img {
        max-width: 100%;
    }

    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .page-title {
        margin: 30px 0;
    }

    .page-title h1 {
        font-size: 30px;
    }

    .project-section h2 {
        text-align: center;
        font-size: 25px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card h3,
    .team-card h3 {
        font-size: 21px;
    }

    .project-card p,
    .team-card p {
        font-size: 16px;
    }

    .project-meta {
        font-size: 14px;
    }

    .discord-presence-card {
        width: 90%;
        min-width: unset;
        padding: 18px;
    }

    .discord-presence-card h3 {
        font-size: 22px;
    }

    .presence-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
    }
    .reklam-alani {
        width: 100%;
        max-width: 100%;
        transform: scale(0.8);
        transform-origin: top center;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        font-family: 'ComicCustom', "Comic Sans MS", sans-serif;
        line-height: 1.5;
    }

    .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin: 15px 0;
    }

    .top-menu,
    .bottom-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 0 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .big-box {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .box {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .content {
        width: 92%;
    }
}
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}
.footer-links {
    text-align: center;
    margin: 20px 0;
}

.footer-links a {
    color: blue;
    text-decoration: underline;
    margin: 0 3px;
    display: inline-block;
}
.theme-switch {
    position: relative;
    width: 55px;
    height: 30px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

/* aktif (dark) */
input:checked + .slider {
  background-color: #2e6b4f;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.top-menu {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 30px;
    box-sizing: border-box;
}
.menu-left {
    display: flex;
    gap: 15px;
    align-items: center;
}
.theme-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    box-sizing: border-box;
}

.slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    z-index: 2;
}

/* ikonlar */
.icon {
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

.sun { opacity: 1; }
.moon { opacity: 1; }

/* dark aktifken */
input:checked + .slider {
    background: #2e6b4f;
}

input:checked + .slider:before {
    transform: translateX(30px);
}
.presence-row .label,
.presence-row .count {
    color: var(--text);
}
.discord-presence-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;

    background: linear-gradient(
        135deg,
        rgba(46, 107, 79, 0.25),
        transparent,
        rgba(0,0,0,0.15)
    );

    z-index: -1;
}
body.dark .project-card p,
body.dark .team-card p,
body.dark .project-meta {
    color: #ddd;
}
body.dark .project-card h3,
body.dark .team-card h3 {
    color: #6ee7b7;
}
body.dark .project-card,
body.dark .team-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.donation-box {
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(46, 107, 79, 0.2);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

body.dark .donation-box {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
body.dark p {
    color: #ddd !important;
}

body.dark .donation-box div {
    color: #eee;
}