@import url('https://fonts.googleapis.com/css2?family=Delius&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Delius', sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    padding: 20px;
    background-color: #fff;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: #8B4513;
    flex-grow: 1;
    text-align: center;
    font-family: 'Delius', sans-serif;
}

h1 a {
    text-decoration: none;
    color: #8B4513;
}

@media (min-width: 600px) {
    h1 {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
}

.menu-button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #8B4513;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    margin: auto 0;
}

/* Menü Paneli */
.menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.menu.open {
    right: 0;
}

/* Kapatma Butonu */
.close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: #8B4513;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Menü Öğesi */
.menu a {
    display: block;
    text-decoration: none;
    color: #8B4513;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    margin-top: 50px;
}

.menu a:hover {
    background: #8B4513;
    color: white;
}

/* Menü Dışına Tıklayınca Kapatma */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

.menu-overlay.open {
    display: block;
}

/* Section ve Card Tasarımı */
.section {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.white {
    background-color: white;
}

.brown {
    background-color: #8B4513;
    color: white;
}

.card {
    max-width: 600px;
    width: 100%;
    padding: 20px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.card img,
.card video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
}

.card iframe {
    width: 100%;
    height: auto;
    /* İçinde bulunduğu div kadar geniş olacak */
    object-fit: contain;
    /* Taşma olmaması için */
    border-radius: 10px;
    /* Diğer kartlarla uyum için köşe yuvarlatma */
}


/* Buton Tasarımı */
button {
    margin-top: 20px;
    padding: 12px 25px;
    font-size: 1.1rem;
    background-color: #8B4513;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 200px;
}

button:hover {
    background-color: #A0522D;
}

/* Responsive Tasarım */
@media (min-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .card {
        max-width: 800px;
    }

    button {
        font-size: 1.2rem;
    }

    .card iframe {
        min-height: 300px;
    }
}

@media (min-width: 1024px) {
    main {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 80%;
    }

    .card {
        max-width: 900px;
    }

    button {
        font-size: 1.3rem;
    }

    .card iframe {
        min-height: 400px;
    }
}

footer {
    width: 100%;
    background-color: #8B4513;
    color: white;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.9rem;
    /* Mobil için biraz küçültüldü */
    position: relative;
    bottom: 0;
    left: 0;
}

@media (min-width: 768px) {
    footer {
        font-size: 1rem;
        /* Tablet için biraz daha büyütüldü */
    }
}

@media (min-width: 1024px) {
    footer {
        font-size: 1.2rem;
        /* Büyük ekranlar için ideal boyut */
    }
}