/*
Theme Name: Cyberguard
Theme URI: http://demo.bravisthemes.com/cyberguard
Author: Bravis-Themes
Author URI: https://themeforest.net/user/bravis-themes
Description: Cyberguard is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Version: 1.0.1
Tested up to: 6.5
Requires PHP: 7.4
License: ThemeForest
License URI: https://themeforest.net/licenses
Text Domain: Cyberguard
Tags: Blog, E-Commerce, Portfolio, Grid Layout, One Column, Two Columns, Three Columns, Four Columns, Left Sidebar, Right Sidebar, Custom Background, Custom Colors, Custom Header, Custom Logo, custom-menu, Editor Style, Featured Image Header, Featured Images, flexible-header, Footer Widgets, Full Width Template, microformats, Post Formats, Sticky Post, Theme Options, threaded-comments, translation-ready, Block Editor Styles, Wide Blocks
Copyright (c) 2025 Bravis-Themes. All rights reserved.
This theme is licensed under the GPL-2.0+ license.
*/

.space-split-slider {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  min-height: 640px;
  background: #09090d;
  padding: 20px;
  border-radius: 28px;
  box-sizing: border-box;
}

/* Barras */
.space-left-bars,
.space-right-bars {
  display: flex;
  gap: 16px;
}

.space-bar-item {
  width: 110px;
  min-width: 110px;
  border-radius: 40px;
  background: linear-gradient(180deg, #002D44 0%, #007AA8 100%);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 28px 10px;
  box-sizing: border-box;
}

.space-bar-item:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.space-bar-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.space-bar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  z-index: 2;
}

.space-bar-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.1;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Slide */
.space-main-slide {
  position: relative;
  flex: 1;
  border-radius: 40px;
  overflow: hidden;
  min-height: 600px;
  background: #0a0d12;
}

.space-slide-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 0.6s ease;
}

/* Progresso */
.space-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(255,255,255,0.25);
  z-index: 10;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

.space-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #002D44 0%, #007AA8 100%);
  border-radius: 0 0 0 40px;
}

.space-progress-fill.animate {
  animation: fillProgress 6s linear forwards;
}

@keyframes fillProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Responsivo */
@media (max-width: 1200px) {
  .space-bar-item {
    width: 90px;
    min-width: 90px;
  }
}

@media (max-width: 767px) {
  .space-split-slider {
    flex-direction: column;
    min-height: auto;
    gap: 12px;
    padding: 12px;
  }

  .space-left-bars,
  .space-right-bars {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .space-left-bars {
    order: 1;
  }

  .space-main-slide {
    order: 2;
    width: 100%;
    height: 360px;
    min-height: 360px;
    border-radius: 34px;
  }

  .space-right-bars {
    order: 3;
  }

  .space-bar-item {
    width: 100%;
    min-width: 100%;
    height: 54px;
    border-radius: 999px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
  }

  .space-bar-icon {
    width: 24px;
    height: 24px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .space-bar-title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 13px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  .space-slide-image {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0a0d12;
  }

  .space-progress-line {
    height: 5px;
    border-radius: 0 0 34px 34px;
  }
}

@media (max-width: 480px) {
  .space-main-slide {
    height: 320px;
    min-height: 320px;
  }

  .space-bar-title {
    font-size: 12px;
  }
}