/* Genel Stiller */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: relative;
}

header h1 {
    margin: 0;
}

header a {
    color: white;
    text-decoration: none;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #ff69b4;
}

/* Sayfa içeriklerini esnek yaparak footer'ı sayfanın en altına çekmek */
main {
    flex: 1;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    margin-top: auto;
}

footer p {
    margin: 0;
}

/* Anasayfa için Stiller */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 20px;
}

.video-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    width: 550px;
    cursor: pointer;
}

.video-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.video-item h3 {
    margin: 10px 0;
    font-size: 18px;
    color: #333;
}

/* Video Sayfası için Stiller */
.video-page {
    text-align: center;
    padding: 20px;
    background-color: white;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.video-info h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.video-container {
    position: relative;
    padding-top: 56.25%;
    margin-bottom: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}

.back-button {
    display: inline-block;
    background-color: #ff69b4;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
}

.back-button:hover {
    background-color: #ff4176;
}

/* +18 Yaş Onay Kutusu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.confirmation-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    z-index: 3000;
}

.confirmation-box h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.confirmation-box p {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.confirmation-box button {
    background: #ff69b4;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.confirmation-box button:hover {
    background: #ff4176;
}
