@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&amp;family=Inter:wght@300;400;500;600&amp;display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");

html {
    background-color: #0f172a;
    color: #94a3b8;
    font-family: "Space Grotesk", "Fira Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

body {
    margin: 0;
}

html.aydinlik {
    background-color: rgb(241, 245, 249);
    color: rgb(100, 116, 139);
}

.tema-btn .aydinlik {
    display: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1 {
    color: white;
}

h1.aydinlik {
    color: black;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0;
    background-color: #132347;
    color: #94a3b8;
}

html.aydinlik header {
    background-color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
}

.navbar_sol {
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.navbar_sol * {
    padding: 0 2px;
}

.navbar_orta {
    display: flex;
}

.navbar_orta a {
    color: inherit;
    display: inline-block;
    padding: 0 20px;
    transition: all 0.3s ease 0s;
}

.navbar_orta a:hover {
    color: blue;
}

.tema-btn {
    border: none;
    background: none;
    color: #94a3b8;
    padding-right: 10px;
    font-size: 14px;
    cursor: pointer;
}

.instagram {
    padding: 9px 25px;
    background-color: rgba(15, 75, 195, 1);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.instagram:hover {
    background-color: rgba(15, 75, 195, 0.6);
}

h2 {
    color: white;
}

h2.aydinlik {
    color: black;
}

hr {
    width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

main .bolum {
    width: 60%;
    padding-top: 122px;
    padding-bottom: 122px;
    display: grid;
    align-items: center;
}

footer {
    background-color: #020617;
    display: flex;
    justify-content: center;
}

footer.aydinlik {
    background-color: white;
}
footer.aydinlik a:hover {
    color: blue;
}
footer.aydinlik h2, footer.aydinlik h4 {
    color: black;
}

footer .fa-heart {
    color: red;
}

.footer {
    width: 80%;
}

.footer .ana {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

footer .ana div {
    flex-grow: 1;
    min-width: 25%;

}

footer .ana .sol .baslik {
    display: flex;
    align-items: center;
}

footer .ana .orta {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: start;
}

footer .ana .orta .baglantilar {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.footer .baslik {
    color: white;
}

.footer .sol baslik {
    display: flex;
    align-items: center;
}

.footer .sol * {
    padding: 0 2px;
}

.footer .sol h2 {
    display: inline;
}

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

.etkinlik-karti {
    height: 450px;
    background-color: #1e293b;
    border-radius: 15px;
    border: 1px solid #334155;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 0 0 300px;
}

.etkinlik-karti img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.kart-icerik {
    padding: 20px;
    flex-grow: 1;
}

.kart-icerik h3 {
    color: white;
    margin-top: 0;
    margin-bottom: 10px;
}

.kart-icerik p {
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.etkinlik-karti a {
    display: block;
    text-align: center;
    padding: 12px;
    margin: 0 20px 20px 20px;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-mavi {
    background-color: rgba(15, 75, 195, 1);
}

.btn-mavi:hover {
    background-color: rgba(15, 75, 195, 0.6);
    cursor: pointer;
}

.btn-devam {
    background-color: #0d9488;
    cursor: pointer;
}

.btn-pasif {
    background-color: #475569;
    cursor: not-allowed;
}

.kart-konteyner {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none; /* IE ve Edge için */
    scrollbar-width: none; /* Firefox için */
}

.kart-konteyner::-webkit-scrollbar { 
    display: none; 
}

.ust .sag button {
    padding: 9px 25px;
    background-color: rgba(15, 75, 195, 1);
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.ust .sag button:hover {
    background-color: rgba(15, 75, 195, 0.6);
}

.slider-alani {
    position: relative;
    width: 100%;
}

.kaydir-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    border: none;
    background-color: rgba(15, 75, 195, 1);
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sol-kaydir {
    left: -60px;
}

#sag-kaydir {
    right: -60px;
}

.ust {
    margin-bottom: 30px;
    margin-top: 30px;
}

.etkinlikler {
    min-width: 0;
    width: 100%;
}

.etkinlik-karti.aydinlik {
    background-color: white;
    border: 1px solid #cbd5e1;
}
.etkinlik-karti.aydinlik .kart-icerik h3 {
    color: black;
}
.etkinlik-karti.aydinlik .kart-icerik p {
    color: #475569;
}
.popup-perde {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0,0.7);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}
.popup-kutu {
    background-color: #1e293b;
    padding: 40px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    text-align: center;
    color: white;
}
.popup-kutu .fa-times {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #94a3b8;
    cursor: pointer;
}
.popup-kutu .fa-times:hover {
    color: white;
}
.popup-kutu.aydinlik .fa-times:hover {
    color: #0f172a;
}
.popup-kutu.aydinlik {
    background-color: white;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}
.popup-galeri {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.popup-galeri img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16/9;
}
