/*
Theme Name: WP-ITS
Theme URI: https://example.com
Author: WP-ITS
Author URI: https://example.com
Description: Video tube WordPress theme for Its.Porn
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-its
*/

/* CSS Variables - Its.Porn Colors */
:root {
    /* Background Colors */
    --body-bg-main: #000000;
    --body-bg-dark: #211330;
    --surface-dark: #1c1c1c;

    /* Text Colors */
    --body-text: #a1acbc;
    --body-text-white: #ffffff;

    /* Accent Colors - Purple */
    --accent-purple: #7419d3;
    --accent-purple-dark: #211330;

    /* Borders */
    --border-color: #211330;
    --border-color-light: rgba(161, 172, 188, 0.2);
}

/* Reset */
* {
    outline: 0;
    text-decoration: none;
}

*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body, html, div, p, a, ul, li, input, button, form, textarea, span, img, h1, h2, h3 {
    margin: 0;
    padding: 0;
}

/* HTML & Body */
html {
    height: 100%;
    font-size: 10px;
    background: var(--body-bg-main);
    overflow-x: hidden;
}

body {
    font: 400 14px / 1.2 Arial, sans-serif;
    min-height: 100%;
    min-width: 320px;
    position: relative;
    color: var(--body-text);
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    padding: 54px 0 0;
    background: var(--body-bg-main);
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-purple-dark);
}

/* Header */
.site-header {
      background: var(--body-bg-main);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 54px;
}

/* Desktop Header */
.header-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 54px;
    max-width: 1400px;
    margin: 0 auto;
}

.desktop-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.desktop-logo img {
    width: 24px;
    height: 24px;
}

.desktop-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.primary-navigation ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.primary-navigation a {
    color: var(--body-text-light);
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.primary-navigation a:hover,
.primary-navigation .current-cat a {
    color: var(--accent-purple);
}

.search-toggle-btn {
    background: none;
    border: none;
    color: var(--accent-purple);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-toggle-btn:hover {
    color: var(--accent-purple-dark);
}

/* Mobile Header */
.header-mobile {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 54px;
}

.mobile-menu-toggle,
.mobile-search-toggle {
    background: none;
    border: none;
    color: var(--body-text-light);
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-search-toggle {
    color: var(--accent-purple);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-logo img {
    width: 24px;
    height: 24px;
}

.site-logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(to right, var(--accent-purple), var(--body-bg-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-content {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-overlay-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--body-text);
    font-size: 28px;
    cursor: pointer;
}

.search-overlay form {
    display: flex;
    gap: 10px;
}

.search-overlay input[type="search"] {
    flex: 1;
    padding: 15px 20px;
    background: var(--body-bg-light);
    border: 1px solid var(--border-color);
    color: var(--body-text);
    font-size: 16px;
    border-radius: 4px;
}

.search-overlay button {
    padding: 15px 30px;
    background: var(--accent-purple);
    border: none;
    color: var(--body-text-white);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.search-overlay button:hover {
    background: var(--accent-purple-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: var(--body-bg-main);
    z-index: 2001;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 1px solid var(--border-color);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--body-text);
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu nav {
    padding: 20px 0;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--body-text);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.mobile-menu a:hover,
.mobile-menu .current-menu-item a {
    background: var(--surface-gray);
    color: var(--accent-purple);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Search */
.mobile-search {
    position: fixed;
    top: -100%;
    left: 0;
    right: 0;
    background: var(--body-bg-light);
    z-index: 2001;
    padding: 20px;
    transition: top 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.mobile-search.active {
    top: 0;
}

.mobile-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-search-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: none;
    border: none;
    color: var(--body-text);
    font-size: 24px;
    cursor: pointer;
}

.mobile-search form {
    display: flex;
    gap: 10px;
}

.mobile-search input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    background: var(--body-bg-light);
    border: 1px solid var(--border-color);
    color: var(--body-text);
    font-size: 14px;
    border-radius: 4px;
}

.mobile-search button {
    padding: 12px 20px;
    background: var(--accent-purple);
    border: none;
    color: var(--body-text-white);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.mobile-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
}

.mobile-search-overlay.active {
    display: block;
}

/* Content */
.site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 13px;
    color: var(--body-text-light);
}

.breadcrumbs a {
    color: var(--accent-purple);
}

.breadcrumbs a:hover {
    color: var(--accent-purple-dark);
}

.breadcrumb-separator {
    margin: 0 8px;
    color: var(--body-text-light);
}

.breadcrumb-current {
    color: var(--body-text);
}

/* Category/Archive Header */
.category-header,
.archive-header,
.search-results-header {
    margin-bottom: 25px;
}

.category-header h1,
.archive-header h1,
.search-results-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 10px;
}

.category-description,
.archive-description {
    color: var(--body-text-light);
    line-height: 1.5;
}

/* Video Grid - 4 columns */
.block-video {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.video-card {
    width: calc(25% - 11.25px);
    background: var(--body-bg-light);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(137, 43, 236, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: var(--surface-gray);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Single Video Page */
.single-video-content {
    max-width: 1200px;
    margin: 0 auto;
}

.video-player {
    margin-bottom: 20px;
    background: var(--body-bg-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-header {
    margin-bottom: 15px;
}

.video-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--body-text);
    line-height: 1.3;
}

.video-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.video-categories a {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 20px;
    color: var(--body-text-white);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.video-categories a:hover {
    background: var(--accent-purple);
    color: var(--body-text-white);
}

.video-description {
    margin-bottom: 30px;
    padding: 15px;
    background: var(--body-bg-light);
    border-radius: 6px;
    color: var(--body-text);
    line-height: 1.6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.related-videos h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 20px;
}

.related-videos .block-video {
    gap: 12px;
}

.related-videos .video-card {
    width: calc(20% - 9.6px);
}

.related-videos .video-title {
    font-size: 13px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
    width: 100%;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: var(--surface-gray-dark);
    border: 1px solid var(--border-color);
    color: var(--body-text-light);
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--body-text-white);
}

.pagination .current {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--body-text-white);
}

/* Footer */
.site-footer {
    background: var(--body-bg-light);
    border-top: 1px solid var(--border-color);
    padding: 30px 20px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    color: var(--body-text-light);
    line-height: 1.6;
}

.footer-content a {
    color: var(--accent-purple);
}

.footer-content a:hover {
    color: var(--accent-purple-dark);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    font-size: 24px;
    color: var(--body-text);
    margin-bottom: 15px;
}

.no-results p {
    color: var(--body-text-light);
    font-size: 16px;
}
#menu-main-menu {
	flex-wrap:wrap;
}
.site-logo a {
	display:flex;
	align-items:center;
}
