/* General Styles */
body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: white;
    font-family: 'Arial', sans-serif;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar */
.sidebar {
    width: 200px;
    background-color: #333;
    height: 100vh;
    padding-top: 20px;
    position: fixed;
    left: 0;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;    margin-top: 60px;

}

.sidebar ul li {
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.7s ease;
}

.sidebar ul li:hover {
    background-color: #f8b400;
    color: #333;
}

/* Main Content */
.main-content {
    margin-left: 200px; /* Sidebar genişliği kadar yer aç */
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #333;
    padding: 20px;
    display: flex;
    justify-content: center; /* Arama çubuğunu ortala */
    align-items: center;
    position: relative;
}

header h1 {
    color: #f8b400;
    font-size: 36px;
    text-transform: uppercase;
    margin: 0;
    position: absolute; /* Arama çubuğunu ortalayabilmek için başlığı sabit bir konuma koy */
    left: 20px; /* Başlık sol üstte sabit kalacak */
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%; /* Arama çubuğunu genişlet */
    margin-left: 85px;
}

.search-bar input {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    width: 100%; /* Arama kutusunu tamamen doldur */
    background-color: #444;
    color: white;
    outline: none;
    padding-left: 20px;
    transition: background-color 0.3s ease;
}

.search-bar input::placeholder {
    color: #ccc;
}

.search-bar input:focus {
    background-color: #555; /* Odaklandığında arka planı koyulaştır */
}

.search-bar button {
    padding: 10px 20px;
    background-color: #f8b400;
    border: none;
    cursor: pointer;
    border-radius: 25px;
    margin-left: -50px; /* Butonu biraz sola kaydır */
    z-index: 1;
    transition: background-color 0.3s ease;
}

.search-bar button i {
    font-size: 18px;
}

.search-bar button:hover {
    background-color: #ff007f;
}

/* Main Video Area */
.content {
    flex: 1;
    display: flex;
    padding: 40px;
}

.main-video-area {
    width: 65%;
    margin-right: 20px;
}

.video-box {
    width: 100%;
    height: 400px;
    background-color: #3a3a3a;
    position: relative;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon {
    font-size: 50px;
    color: white;
    cursor: pointer;
}

.video-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 24px;
}

/* Like and Comment Section */
.interactions {
    margin-top: 20px;
}

.like-comment {
    display: flex;
    gap: 10px;
}

.like-btn, .dislike-btn {
    padding: 10px 20px;
    background-color: #333;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.like-btn:hover, .dislike-btn:hover {
    background-color: #ff007f;
    color: white;
}

.comments-section {
    margin-top: 20px;
}

.comments-section h3 {
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #333;
    color: white;
}

.submit-comment {
    padding: 10px 20px;
    background-color: #f8b400;
    border: none;
    color: #333;
    font-size: 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 5px;
}

#comment-list .comment {
    background-color: #3a3a3a;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    color: white;
}

/* Related Videos Section */
.related-videos {
    width: 30%;
}

.related-videos h3 {
    margin-bottom: 20px;
    color: #f8b400;
}

.video-thumbnail {
    background-color: #3a3a3a;
    height: 100px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ccc;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.video-thumbnail:hover {
    background-color: #c3b2b8;
    color: #333;
}

/* Footer */
footer {
    background-color: #333;
    padding: 10px;
    text-align: center;
    color: #f8b400;
    width: 100%;
}
