/*
Theme Name: WP-OCTOBER
Theme URI: 
Author: 
Author URI: 
Description: Modern responsive video tube theme with Bootstrap
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-october
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/* Import Bootstrap */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #000000;
    padding: 15px 0;
    border-bottom: 1px solid #fff;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 48px;
    height: 48px;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, #ff8c00, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.site-title a {
    background: linear-gradient(to right, #ff8c00, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search Form */
.search-form-wrapper {
    flex: 1;
    max-width: 600px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    width: 100%;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ffffff;
    background-color: #000000;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #ff8c00;
}

.search-form button {
    padding: 10px 20px;
    background-color: #ff8c00;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-family: 'Roboto Condensed', sans-serif;
    transition: all 0.3s ease;
}

.search-form button:hover {
    background-color: #e67e00;
    color: #000000;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
}

.mobile-search-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Navigation Menu - Desktop: 5 columns */
.main-navigation {
    text-align: center;
}

.main-navigation ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 0;
    padding: 0;
    margin: 0;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 12px 20px;
    background-color: transparent;
    color: #ffffff;
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item a {
    text-decoration: underline;
    text-decoration-color: #ffffff;
    text-underline-offset: 4px;
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #1a1a1a;
    padding: 15px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #ff8c00;
}

.breadcrumbs a:hover {
    color: #ffffff;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #ffffff;
}

.breadcrumb-current {
    color: #ffffff;
}

/* Main Content */
.site-content {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

/* Video Grid - Desktop: 3 columns */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Video Card */
.video-card {
    background-color: #1a1a1a;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.video-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card-content {
    padding: 15px;
}

.video-card-title {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.video-card-title a {
    color: #ffffff;
}

.video-card-title a:hover {
    color: #ff8c00;
}

/* Single Post */
.single-post-content {
    max-width: 1200px;
    margin: 0 auto;
}

.single-post-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.single-post-video {
    margin-bottom: 20px;
    width: 100%;
}

.single-post-categories {
    margin-bottom: 20px;
}

.post-category {
    display: inline-block;
    padding: 8px 15px;
    background-color: #ff8c00;
    color: #ffffff;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.post-category:hover {
    background-color: #e67e00;
    color: #000000;
}

.single-post-description {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Related Videos - Desktop: 3 columns */
.related-videos {
    margin-top: 40px;
}

.related-videos-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.related-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid #ffffff;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: #ffffff;
    color: #000000;
}

/* Footer */
.site-footer {
    background-color: #000000;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 30px 0;
    margin-top: 40px;
    color: #ffffff;
}

.footer-content {
    text-align: center;
}

/* Category Header */
.category-header {
    margin-bottom: 30px;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.category-description {
    color: #cccccc;
    line-height: 1.6;
}

/* Hide Share Buttons and Unwanted Elements */
.sharedaddy,
.sd-sharing,
.addtoany_share_save_container,
.sharing-buttons,
.share-buttons,
.social-share,
.post-share,
.entry-share,
.share-post,
.jp-relatedposts,
.yarpp-related,
.related-posts:not(.related-videos),
.post-tags,
.entry-meta,
.post-meta,
.entry-footer,
.post-footer:not(.site-footer),
.author-box,
.author-info,
.post-author,
.comment-form,
.comments-area,
#comments,
.single-post-content .excerpt,
.single-post-content .post-excerpt {
    display: none !important;
}

/* Hide default WordPress sharing */
.post-share-buttons,
.post-sharing,
.jetpack-sharing-buttons,
.sd-content,
.sharedaddy,
[class*="share"],
[id*="share"],
[class*="social"] {
    display: none !important;
}

/* Responsive Design - Tablet */
@media (max-width: 992px) {
    .video-grid,
    .related-videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-navigation ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .video-grid,
    .related-videos-grid {
        grid-template-columns: 1fr;
    }
    
    .single-post-title {
        font-size: 24px;
    }
    
    .related-videos-title,
    .category-title {
        font-size: 20px;
    }
}
