/*
Theme Name: Reboot Child
Theme URI: https://wpshop.ru/themes/reboot
Author: WPShop.biz
Author URI: http://wpshop.biz/
Template: reboot
Version: 1.0.0
*/

/* Below you can add your CSS styles */
/* Ниже Вы можете добавить свои CSS стили */


.image-hover-block {
  /* Делаем блок полностью адаптивным */
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Соотношение 16:9 (9/16=0.5625) - измените под свои нужды */
  position: relative;
  overflow: hidden;
}

.image-hover-block::before {
  content: '';
  position: absolute;
	
    border-radius: 25px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('http://metod-marketing.ru/wp-content/uploads/2025/10/1760788457.png');
  background-size: cover;
  background-position: center;
  transition: background-image 0.3s ease;
}

.image-hover-block:hover::before {
  background-image: url('http://metod-marketing.ru/wp-content/uploads/2025/10/1760788604.png');
}






.panel-rounded {
    background-color: #000000;
    color: #ffffff;
    padding: 30px ;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.panel-rounded:nth-child(4n+1):hover {
    background-color: #F2695A;
    color: #000000;
}

.panel-rounded:nth-child(4n+2):hover {
    background-color: #CCFF00;
    color: #000000;
}

.panel-rounded:nth-child(4n+3):hover {
    background-color: #7F41E0;
    color: #000000;
}

.panel-rounded:nth-child(4n+4):hover {
    background-color: #5DC2BA;
    color: #000000;
}




.spoiler-box {
	background: #000;
	border-left: 100px solid      #f2f3f5!important;
	color: #fff;
	margin-bottom: -10px;
}
.spoiler-box :hover {
    background-color: #5DC2BA;
    color: #000000;
}
.spoiler-box__body {
	background: #000;
}

.otstup {
    margin-top: -100px;   
    margin-right: 0px;  
    margin-bottom: 0px; 
    margin-left: 0px;   
}

.otstup2 {
    margin-top: -17px;   
    margin-right: 0px;  
    margin-bottom: 0px; 
    margin-left: 0px;
    position: relative;
    padding: 0;
}

.otstup2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-top: 6px solid #FB6F24; /* увеличена толщина до 6px */
    border-left: 6px solid #FB6F24; /* увеличена толщина до 6px */
    transition: all 0.3s ease;
    pointer-events: none;
}

.otstup2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-bottom: 6px solid #FB6F24; /* увеличена толщина до 6px */
    border-right: 6px solid #FB6F24; /* увеличена толщина до 6px */
    transition: all 0.3s ease;
    pointer-events: none;
}

.otstup2:hover::before,
.otstup2:hover::after {
    opacity: 0;
}


 .otstup3 {
    margin-top: -17px;   
    margin-right: 0px;  
    margin-bottom: 0px; 
    margin-left: 0px;   
}





.plashkaglavnaya {
	  margin-top: -55px;
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.plashkaglavnaya:hover {
    background-color: #5DC2BA;
    color: #000000;
}

/* Главная - баннер на весь экран */
.wpshop-premium-banner {
    background: linear-gradient(135deg, #F07454 0%, #FA6450 100%);
    color: white;
    padding: 50px 30px;
    text-align: center;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.wpshop-premium-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    border-radius: 20px;
}

.wpshop-banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 40px;
}

.wpshop-premium-banner h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.wpshop-premium-banner p {
    font-size: 1.5em;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wpshop-stats {
    background: rgba(255,255,255,0.2);
    padding: 20px 35px;
    border-radius: 50px;
    display: inline-block;
    font-size: 1.3em;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    margin-top: 20px;
}

.wpshop-stats strong {
    font-size: 1.5em;
    color: #ffd700;
    margin: 0 5px;
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
    .wpshop-premium-banner {
        border-radius: 15px;
        padding: 40px 25px;
    }
    
    .wpshop-premium-banner h1 {
        font-size: 2.8em;
    }
    
    .wpshop-premium-banner p {
        font-size: 1.3em;
    }
    
    .wpshop-banner-content {
        padding: 30px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .wpshop-premium-banner {
        padding: 30px 20px;
        height: 100vh;
        min-height: 100vh;
        border-radius: 12px;
    }
    
    .wpshop-premium-banner h1 {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    
    .wpshop-premium-banner p {
        font-size: 1.1em;
        margin-bottom: 25px;
    }
    
    .wpshop-stats {
        padding: 15px 25px;
        font-size: 1.1em;
    }
    
    .wpshop-stats strong {
        font-size: 1.3em;
    }
    
    .wpshop-banner-content {
        padding: 20px;
    }
}

/* Адаптивность для маленьких мобильных */
@media (max-width: 480px) {
    .wpshop-premium-banner {
        padding: 20px 15px;
        border-radius: 10px;
    }
    
    .wpshop-premium-banner h1 {
        font-size: 1.8em;
    }
    
    .wpshop-premium-banner p {
        font-size: 1em;
    }
    
    .wpshop-stats {
        padding: 12px 20px;
        font-size: 1em;
    }
    
    .wpshop-banner-content {
        padding: 15px;
    }
}

/* Блоки с анимацией качания */
.block_glavnaya,
.block_green,
.block_orange {
    padding: 25px;
    border-radius: 35px;
    transition: box-shadow 0.3s ease;
}

.block_glavnaya {
    background-color: #5094FA;
}

.block_green {
    background-color: #D7DB13;
}

.block_orange {
    background-color: #DB8E1D;
}

/* Запуск анимации при наведении */
.block_glavnaya:hover,
.block_green:hover,
.block_orange:hover {
    animation: sway 1.8s ease-in-out 1;
    box-shadow: 0 8px 20px rgba(80, 148, 250, 0.4);
}

@keyframes sway {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(12px, -8px) rotate(3deg);
    }
    50% {
        transform: translate(-10px, 6px) rotate(-2.5deg);
    }
    75% {
        transform: translate(6px, -4px) rotate(1.5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.block_uslugi {
    background-color: #2559C6;
    color: #FFFFFF;
    border: none;
    padding: 15px 30px;
    font-size: px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s ease;
    font-family: Arial, sans-serif;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border-radius: 0;
}

.block_uslugi:active {
    transform: scale(0.89);
}

.block_uslugi:hover {
    opacity: 0.9;
}

/* Кнопка с анимацией */
.boton {
    position: relative;
    display: grid;
    place-items: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    font-size: 2rem;
    background: linear-gradient(#54CF61, #1a9930, #54CF61);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: .15s linear all;
    box-shadow: 0 4px 15px rgba(26, 153, 48, 0.4);
}

.boton:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(26, 153, 48, 0.6);
}

.boton:active {
    transform: scale(0.95);
}

.boton::before {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #fff;
    opacity: .5;
    animation: destello 1.1s linear infinite;
}

@keyframes destello {
    to {
        opacity: 0;
        height: 10rem;
        width: 10rem;
        background: transparent;
    }
}

.element {
    background-color: #5094FA;
    border-radius: 25px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.element:hover {
    transform: scale(1.25);
}

.plashka {
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}

.plashka:nth-child(4n+1):hover {
    background-color: #F2695A;
    color: #000000;
}

.plashka:nth-child(4n+2):hover {
    background-color: #CCFF00;
    color: #000000;
}

.plashka:nth-child(4n+3):hover {
    background-color: #7F41E0;
    color: #000000;
}

.plashka:nth-child(4n+4):hover {
    background-color: #5DC2BA;
    color: #000000;
}




h1 {color: #d3331e;}