/*
Theme Name: Episkeves Theme
Author: GSpy
Author URI: https://gspy.gr
Version: 1.0
*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Inter',sans-serif;
}

body{
    background:#F4F6F9;
}

.hero{
    background:#0f172a;
    min-height:680px;
    position:relative;
    overflow:hidden;
}
.header-bar{
    width:100%;
    background:#0f172a;
    position:relative;
}

.header-container{
    width:1400px;
    max-width:95%;
    margin:0 auto;
    position:relative;
}
.container{
    width:1400px;
    max-width:95%;
    margin:auto;
}

.logo{
    color:white;
    font-size:36px;
    font-weight:800;
    display: block;
    text-decoration: none;
}

.logo span{
    color:#b21e1f;
}

nav{
    display:flex;
    gap:40px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:500;
}

.auth{
    display:flex;
    gap:15px;
}

.btn-outline{
    border:1px solid rgba(255,255,255,.2);
    color:white;
    padding:12px 28px;
    border-radius:12px;
    text-decoration:none;
}

.btn-primary{
    background:#b21e1f;
    color:white;
    padding:12px 28px;
    border-radius:12px;
    text-decoration:none;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:50px;
    padding-top:40px;
}

.hero-left h1{
    color:white;
    font-size:40px;
    line-height:1.05;
    font-weight:800;
}

.hero-left h1 span{
    color:#b21e1f;
}

.hero-left p{
    color:#d6d6e6;
    font-size:20px;
    line-height:1.6;
    margin-top:30px;
    max-width:700px;
}

.tabs{
    display:flex;
    gap:50px;
    margin-top:40px;
    color:white;
}

.tabs .active{
    color:#fff;
    border-bottom:3px solid #b21e1f;
    padding-bottom:15px;
}

.search-box{
    background:white;
    border-radius:18px;
    margin-top:25px;
    padding:20px;
    display:flex;
    gap:15px;
}

.search-box input{
    flex:1;
    border:none;
    font-size:18px;
    outline:none;
}

.search-box button{
    background:#b21e1f;
    color:white;
    border:none;
    padding:18px 35px;
    border-radius:12px;
    font-size:16px;
    cursor:pointer;
}

.tags{
    margin-top:25px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.tags span{
    border:1px solid rgba(255,255,255,.2);
    color:white;
    padding:10px 18px;
    border-radius:30px;
}

.hero-right{
    position:relative;
	text-align:center;
}

.main-image{
    width:90%;
    border-radius:20px;

}

.video-card{
    position:absolute;
    top:113px;
    right:-20px;
    width:420px;
    background:#14162e;
    color:white;
    padding:25px;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.3);
}

.play{
    width:80px;
    height:80px;
    border-radius:50%;
    background:#b21e1f;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    margin-top:15px;
}

.map-card{
    position:absolute;
    bottom:-80px;
    right:0;
    width:420px;
    background:white;
    border-radius:20px;
    padding:25px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.map{
    height:220px;
    border-radius:15px;
    background:#ececec;
    margin-bottom:15px;
}

.pro-card{
    background:white;
    border-radius:15px;
    padding:15px;
    border:1px solid #eee;
}

.pro-card h4{
    margin-bottom:5px;
}

.rating{
    color:#f59e0b;
}

/* -------------------- */
/* Sections */
/* -------------------- */

section{
    padding:20px 0;
}

.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    font-size:38px;
    color:#111827;
    margin-bottom:15px;
}

.section-header p{
    color:#64748b;
    font-size:18px;
}

/* -------------------- */
/* Categories */
/* -------------------- */

.categories{
    background:#F4F6F9;
}

.categories-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.category{

    position:relative;
    overflow:hidden;
    border-radius:22px;
    height:310px;
    cursor:pointer;
    transition:.3s;

}

.category:hover{

    transform:translateY(-8px);

}

.category img{

    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;

}

.category:hover img{

    transform:scale(1.08);

}

.category::after{

    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(15,23,42,.52),
        rgba(15,23,42,.15),
        transparent
    );

}

.category-info{

    position:absolute;
    left:30px;
    bottom:25px;
    z-index:5;
    color:white;

}

.category-info h3{

    font-size:22px;
    margin-bottom:8px;

}

.category-info span{
	font-size:12px;
    opacity:.9;

}

/*--------------*/

/* --------------------------- */
/* Latest Videos */
/* --------------------------- */

.latest-videos{

    background:#fff;
    padding:90px 0;

}

.video-header{

    display:flex;
    justify-content:space-between;
    align-items:end;
    margin-bottom:45px;

}

.video-header h2{

    font-size:38px;
    color:#111827;

}

.video-header p{

    color:#64748b;
    margin-top:10px;

}

.video-header a{

    color:#B21E1F;
    text-decoration:none;
    font-weight:600;

}

.video-list{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:28px;

}

.video{

    background:white;
    border-radius:18px;
    overflow:hidden;
    transition:.25s;
    cursor:pointer;
    border:1px solid #ECECEC;

}

.video:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.08);

}

.video-thumb{

    position:relative;
    height:220px;

}

.video-thumb img{

    width:100%;
    height:100%;
    object-fit:cover;

}

.video-thumb::after{

    content:'▶';

    position:absolute;
    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    width:70px;
    height:70px;

    border-radius:50%;

    background:rgba(178,30,31,.92);

    color:white;

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:26px;

}

.duration{

    position:absolute;

    right:15px;
    bottom:15px;

    background:rgba(0,0,0,.8);

    color:white;

    padding:6px 10px;

    border-radius:8px;

    font-size:13px;

}

.video-body{

    padding:22px;

}

.video-body h3{

    font-size:20px;
    color:#111827;
    margin-bottom:10px;
    text-decoration: none;

}

.video-meta{

    display:flex;
    justify-content:space-between;

    color:#64748b;
    font-size:15px;

}

.level{

    color:#B21E1F;
    font-weight:600;

}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:90px;
    position:relative;
}

.burger{

    display:none;
    background:none;
    border:none;
    color:white;
    font-size:34px;
    cursor:pointer;

}

.menu{

    display:flex;
    align-items:center;
    gap:40px;

}

/* ========================= */
/* TABLET */
/* ========================= */
@media (max-width:1100px){

.container{
    max-width:92%;
}

header{
    padding:25px 0;
    gap:20px;
    flex-wrap:wrap;
}

nav{
    gap:20px;
    flex-wrap:wrap;
}

.hero-content{
    grid-template-columns:1fr;
    gap:50px;
}

.main-image{
    width:75%;
    display:block;
    margin:auto;
}

.categories-grid{
    grid-template-columns:repeat(2,1fr);
}

.video-list{
    grid-template-columns:repeat(2,1fr);
}
section{
    padding:70px 0;
}
}

/* ========================= */
/* MOBILE */
/* ========================= */
@media (max-width:768px){

.hero{
    min-height:auto;
    padding-bottom:50px;
}

.logo{

    font-size:32px;

}

/* ---------- Hero ---------- */

.hero-content{

    grid-template-columns:1fr;
    gap:40px;

}

.hero-left{

    text-align:left;

}

.hero-left h1{

    font-size:42px;

}

.hero-left p{

    font-size:18px;
    margin:24px 0;
    max-width:100%;

}

/* ---------- Tabs ---------- */

.tabs{

    display:flex;
    gap:0;
    margin-top:35px;

}

.tabs div{

    flex:1;
    text-align:center;
    padding-bottom:14px;
    font-size:15px;

}

/* ---------- Search ---------- */

.search-box{

    flex-direction:column;
    padding:15px;

}

.search-box button{

    width:100%;

}

/* ---------- Tags ---------- */

.tags{

    justify-content:flex-start;

}

/* ---------- Hero Image ---------- */

.main-image{

    width:100%;
    margin-top:20px;

}

/* ---------- Categories ---------- */

.section-header h2{

    font-size:30px;

}

.section-header p{

    font-size:16px;

}

.categories-grid{

    grid-template-columns:1fr;

}

.category{

    height:250px;

}

/* ---------- Latest Videos ---------- */

.video-header{

    flex-direction:column;
    align-items:flex-start;
    gap:12px;

}

.video-list{

    grid-template-columns:1fr;

}

.video-thumb{

    height:220px;

}

section{
    padding:10px 0;
}

header{

    height:80px;
    position:relative;

}

.burger{

    display:block;
    z-index:1001;

}

.menu{

    position:fixed;

    top:0;
    right:-100%;

    width:300px;
    height:100vh;

    background:#0f172a;

    display:flex;
    flex-direction:column;

    justify-content:flex-start;

    padding:110px 35px;

    gap:40px;

    transition:.35s;

    z-index:1000;

}

.menu.open{

    right:0;

}

nav{

    display:flex;
    flex-direction:column;
    gap:25px;

}

nav a{

    font-size:18px;

}

.auth{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.auth a{

    text-align:center;

}

}

/* ========================= */
/* VERY SMALL PHONES */
/* ========================= */
@media (max-width:430px){

.logo{

    font-size:28px;

}

.hero-left h1{

    font-size:34px;
    line-height:1.15;

}

.hero-left p{

    font-size:17px;

}

nav{

    gap:14px;
    font-size:15px;

}

.tags{

    gap:8px;

}

.tags span{

    font-size:13px;
    padding:8px 14px;

}

.category{

    height:220px;

}

section{
    padding:10px 0;
}
}

/* =========================
   FOOTER
========================= */

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 0 30px;
    margin-top: 80px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.footer-logo span {
    color: #b21e1f;
}

.footer-copy {
    font-size: 13px;
    color: #64748b;
}

/* Mobile */
@media (max-width: 768px) {

    .site-footer {
        padding: 40px 0 25px;
        margin-top: 60px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-top: 25px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-copy {
        font-size: 12px;
        line-height: 1.6;
    }
}

.video-category-archive{
    padding:70px 0 90px;
}

.video-category-archive .category-description{
    margin-top:12px;
    max-width:800px;
    color:#64748b;
    font-size:16px;
    line-height:1.6;
}

.video-category-archive .video-list{
    margin-top:45px;
}

.video-category-archive .video > a{
    display:block;
    color:inherit;
    text-decoration:none;
}

.video-load-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:50px;
}

.video-load-more{
    padding:14px 28px;
    border:0;
    border-radius:10px;
    background:#B21E1F;
    color:#fff;
    font-family:'Inter',sans-serif;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;
}

.video-load-more:hover{
    background:#991b1b;
}

.video-load-more:disabled{
    opacity:.6;
    cursor:default;
}

.breadcrumbs{
    background:#fff;
    border-bottom:1px solid #e5e7eb;
    padding:16px 0;
}

.breadcrumbs .container{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
}

.breadcrumbs a{
    color:#64748b;
    text-decoration:none;
}

.breadcrumbs a:hover{
    color:#B21E1F;
}

.breadcrumbs span{
    color:#94a3b8;
}

.breadcrumbs span:last-child{
    color:#111827;
    font-weight:500;
}
.single-video-page{
    padding:70px 0 90px;
}

.single-video{
    max-width:1100px;
    margin:0 auto;
}

.single-video-player{
    position:relative;
    width:100%;
    aspect-ratio:16 / 9;
    background:#0f172a;
    border-radius:18px;
    overflow:hidden;
}

.single-video-player iframe{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:block;
    border:0;
}

.single-video-image{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.single-video-play{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:80px;
    height:80px;
    border-radius:50%;
    background:rgba(178,30,31,.95);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    padding-left:4px;
}

.single-video-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:40px;
}

.single-video-content{
    padding:30px 0 0;
}

.single-video-content h1{
    font-size:36px;
    line-height:1.2;
    color:#111827;
    margin-bottom:18px;
}

.single-video-meta{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    color:#64748b;
    font-size:15px;
}

.single-video-meta a{
    color:#B21E1F;
    text-decoration:none;
    font-weight:600;
}

.single-video-meta .level{
    color:#B21E1F;
    font-weight:600;
}

.single-video-description{
    margin-top:35px;
    color:#475569;
    font-size:17px;
    line-height:1.8;
}

.single-video-description p{
    margin-bottom:18px;
}

.related-videos{
    margin-top:80px;
}

/* ==============================
   MOBILE
   ============================== */

@media(max-width:768px){

    .single-video-page{
        padding:40px 0 60px;
    }

    .single-video{
        max-width:100%;
    }

    .single-video-player{
        border-radius:12px;
    }

    .single-video-player iframe{
        width:100%;
        height:100%;
    }

    .single-video-content h1{
        font-size:28px;
    }

    .single-video-play{
        width:60px;
        height:60px;
        font-size:24px;
    }

}

/* ==============================
   SMALL MOBILE
   ============================== */

@media(max-width:430px){

    .single-video-player{
        border-radius:8px;
    }

}

/* ==============================
   MEGA MENU
   ============================== */

.has-mega-menu{
    position:static;
}

.mega-menu-trigger{
    display:flex;
    align-items:center;
    gap:6px;
}

.mega-arrow{
    font-size:14px;
    transition:.2s;
}

.has-mega-menu:hover .mega-arrow{
    transform:rotate(180deg);
}

.mega-menu{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    width:100%;

    background:#fff;

    border-top:1px solid #e5e7eb;
    box-shadow:0 20px 40px rgba(0,0,0,.15);

    z-index:9999;

    opacity:0;
    visibility:hidden;
    transform:translateY(-5px);

    transition:opacity .2s ease,
               transform .2s ease,
               visibility .2s ease;
}

.has-mega-menu:hover .mega-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.mega-menu-inner{
    width:1400px;
    max-width:95%;
    margin:0 auto;

    padding:35px 0 40px;

    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:35px;
}

.mega-column{
    min-width:0;
}

.mega-title{
    display:block;

    margin-bottom:14px;

    color:#0f172a;
    text-decoration:none;

    font-size:17px;
    font-weight:700;
}

.mega-title:hover{
    color:#B21E1F;
}

.mega-subcategories{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.mega-subcategories a{
    display:block;

    color:#64748b;
    text-decoration:none;

    font-size:14px;
    line-height:1.5;
}

.mega-subcategories a:hover{
    color:#B21E1F;
}

/* TABLET */

@media(max-width:1100px){

    .mega-menu-inner{
        grid-template-columns:repeat(3, 1fr);
        gap:28px;
    }

}

/* MOBILE */

@media(max-width:768px){

    .menu{
        position:fixed;
        top:0;
        right:-100%;
        width:300px;
        height:100vh;

		overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;

        background:#0f172a;

        display:flex;
        flex-direction:column;
        justify-content:flex-start;

        padding:110px 35px;
        gap:40px;

        transition:right .35s ease;

        z-index:1000;
    }

    .menu.open{
        right:0;
    }

    .mega-menu{
        display:none;
        position:static;
        width:100%;
        background:transparent;
        box-shadow:none;
        border:0;
        opacity:1;
        visibility:visible;
        transform:none;
    }

    .has-mega-menu.open .mega-menu{
        display:block;
    }

    .mega-menu-inner{
        width:100%;
        max-width:none;
        display:block;
        padding:15px 0 0;
    }

    .mega-column{
        margin-bottom:20px;
    }

    .mega-title{
        font-size:16px;
				color:#B21E1F;
    }

    .mega-subcategories{
        padding-left:15px;
    }

    .mega-subcategories a{
        font-size:14px;

    }

}
.video a,
.video a:hover,
.video a:visited {
    text-decoration: none;
}