/**
 * Объединенные стили сайта
 * Исправлены конфликты и добавлена поддержка мобильных устройств
 

 * CMS Engine "ShopUnna"
 * © <?= date('01/10/2025') ?> Алик. All rights reserved.
 * Licensed for personal and commercial use only with permission.
 * Contact: https://shop.unna.biz
 */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00D4FF;
    --secondary-blue: #0096FF;
    --dark-bg: #0A1628;
    --darker-bg: #050D1A;
    --gold: #FFD700;
    --white: #FFFFFF;
    --light-blue: #4DBBFF;
    --primary-color: #00D4FF;
    --secondary-color: #0096FF;
}


body {
  font-family: 'Georgia', serif;
  background: linear-gradient(135deg, #FDB3B3 0%, #E9D6D6 50%, #9D283E 100%);

  color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* ==================== HEADER ==================== */

header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: #bd00a0;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(146, 20, 20, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    height: 80px;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo-image img {
    width: 70px;
    height: 70px;
    max-height: 70px; 
    margin-top: 5px;
    /* background: url('/assets/img/logos.png') center/contain no-repeat;*/
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 212, 255, 1)) drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
        transform: scale(1.05);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.9;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--gold));
    transition: width 0.3s ease;
}

nav a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

nav a:hover::after {
    width: 100%;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 80px;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #0D1B35 100%);
    overflow: hidden;
    margin: 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 5px;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/img/ld222.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5c2 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(212, 175, 55, 0.6);
}

h1, h1 {
  font-size: 2.2rem;
  color: #000;
  text-shadow: 0 0 2px rgba(255, 0, 239, 0.8), 0 0 4px rgba(255, 0, 0, 0.6), 0 0 6px rgba(0, 212, 255, 0.4);
}

.text-primary {
    --bs-text-opacity: 1;
    font-size: 1.7rem;
    color: #000;
    text-shadow: 0 0 2px rgba(0, 212, 255, 0.8), 0 0 4px rgba(0, 212, 255, 0.6), 0 0 6px rgba(0, 212, 255, 0.4);
}

/* ==================== BUTTONS ==================== */
.cta-button {
    display: inline-block;
    padding: 1.3rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-blue), #989451);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.6);
}

/* Bootstrap кнопки */
/* Оранжевый градиент (как в твоём примере) */
.grad-orange {
    background: linear-gradient(to right, #f54e1c, #ff9900) !important;
    color: #fff !important;
    border: none !important;
}

/* Синий градиент */
.grad-blue {
    background: linear-gradient(to right, #0d6efd, #3a86ff) !important;
    color: #fff !important;
    border: none !important;
}

/* Зеленый градиент */
.grad-green {
    background: linear-gradient(to right, #198754, #4ade80) !important;
    color: #fff !important;
    border: none !important;
}

/* Красный градиент */
.grad-red {
    background: linear-gradient(to right, #dc3545, #ff6b6b) !important;
    color: #fff !important;
    border: none !important;
}

/* Фиолетовый градиент */
.grad-purple {
    background: linear-gradient(to right, #6f42c1, #b26bff) !important;
    color: #fff !important;
    border: none !important;
}


.btn {
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 2px;
    /* КРИТИЧНО: Убираем pointer-events и добавляем touch-action */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    background-color: #810e75;
}

.btn:hover {
  color: var(--bs-btn-hover-color);
    background-color: #810e75f7;
    border-color: #c82187;
}

.btn-primary {
  background: linear-gradient(135deg, #FF00FB, #2D072C);
    background-color: rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
  background-color: rgba(0, 0, 0, 0);
  border: none;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
}

.btn-outline-primary {
  --bs-btn-color: #f1dfef;
  --bs-btn-border-color: #900d82;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b60e0e;
  --bs-btn-hover-border-color: #fd0d0d;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #fd0d0d;
  --bs-btn-active-border-color: #fd0db6;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #690e52;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #8d0d6d;
  --bs-gradient: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}


/* ИСПРАВЛЕНИЕ: Убираем конфликты для ссылок-кнопок */
a.btn {
  display: inline-block;
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  background-color: #d238ab;
}

a.btn:active {
    transform: scale(0.98);
}

/* ==================== SECTIONS ==================== */
section {
    padding: 10px 5%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  background: linear-gradient(105deg, #410707 0%, #4A0F0F 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  letter-spacing: 2px;
}



.section-title a {
    text-decoration:none;
    }

.my-5 {
    margin-top: 6rem !important;
    margin-bottom: 3rem !important;
    color: #000;
    /*background-color: #7fbdea;*/
    border: 2px solid rgba(211, 244, 251, 0.4);
    border-radius: 10px;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.my-55 {
    margin-top: 6rem !important;
    margin-bottom: 3rem !important;
    background-color: rgba(239, 241, 244, 0.5);
    color: #000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(211, 244, 251, 0.4);
    border-radius: 10px;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 3rem !important;
}


.prod {
  background-color: #f7eded;
  margin: 5px;
  padding: 10px;
}


.card-body {
  background-color: #f7eded;
  padding: 15px;
}
/* ==================== PROGRAMS GRID ==================== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.program-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(108, 128, 159, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    padding: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
}

.program-card h3 {
    font-size: 1.8rem;
    color: #083f4a;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.program-card p {
    color: #000;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ==================== CARDS ==================== */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 2px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 400px;
    object-fit: cover;
}

/* ==================== CONTENT BLOCKS ==================== */
.content-block {
  background: linear-gradient(135deg, rgb(72, 25, 25) 0%, rgba(172, 193, 223, 0.6) 100%);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(33, 59, 12, 0.2);
  border-radius: 30px;
  padding: 1rem;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.content-block::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.content-block h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-weight: 600;
}

.content-list {
    list-style: none;
    padding: 0;
}

.content-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: rgb(255, 191, 39);
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}

.content-list li:hover {
    padding-left: 40px;
    color: var(--primary-blue);
}

.content-list li:last-child {
    border-bottom: none;
}

/* ==================== CONTACT FORM ==================== */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.03) 0%, rgba(10, 22, 40, 0.9) 100%);
    border-radius: 30px;
    padding: 1rem;
    margin: 4rem auto;
    max-width: auto;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    background: rgba(0, 212, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}


.blog-program-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(231, 198, 198, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(211, 244, 251, 0.4);
  border-radius: 10px;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
/* ==================== FOOTER ==================== */
footer {
    background: rgba(5, 13, 26, 0.9);
    backdrop-filter: blur(20px);
    padding: 2px;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 5rem;
    color: #fff;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    margin: 0.5rem 0;
}


.bg-success {
  --bs-bg-opacity: 1;
  background-color: rgb(135, 25, 102) !important;
}
.alert-info {
  --bs-alert-color: var(--bs-info-text-emphasis);
  --bs-alert-bg: #fccff1;
  --bs-alert-border-color: #f99e9e;
  --bs-alert-link-color: var(--bs-info-text-emphasis);
}

.blog-program-card {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(159, 108, 108, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(211, 244, 251, 0.4);
  border-radius: 10px;
  padding: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* ==================== BURGER MENU ==================== */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 2000;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    
    .bg-success {
  --bs-bg-opacity: 1;
  background-color: rgb(247, 18, 18) !important;
}


.btn:hover {
  color: var(--bs-btn-hover-color);
  background-color: #731515;
  border-color: #6c1414;
}
    .h1, h1 {
        font-size: 1.7rem;
    }
    
    .text-primary {
        font-size: 1.3rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .hero::after {
        background-image: url('/assets/img/ld1.jpg');
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    nav ul {
        display: none;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-block,
    .contact-section {
        padding: 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(5, 13, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1500;
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .nav-list li a {
        font-size: 1.5rem;
    }
    
    .program-card p {
        line-height: 1;
        font-size: 1rem;
    }
    
    h5 {
        font-size: 1.1rem;
        font-weight: bold;
    }
    
    .contact-section {
        padding: 5px;
    }
    
    /* КРИТИЧНО: Мобильные кнопки */
    .btn {
        width: 100%;
        margin-bottom: 10px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn-lg {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    
    .btn-outline-primary {
  --bs-btn-color: #058b26;
  --bs-btn-border-color: #0d9021;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #33b60e;
  --bs-btn-hover-border-color: #4dfd0d;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #4dfd0d;
  --bs-btn-active-border-color: #2bfd0d;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #11690e;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #238d0d;
  --bs-gradient: none;
}
    
    
    
    /* Убираем flex для кнопок на мобильных */
    .d-flex.flex-wrap.gap-2 {
        display: block !important;
    }
    
    .flex-fill {
        width: 100% !important;
        flex: none !important;
    }
    
    .my-5 {
    margin-top: 6rem !important;
    margin-bottom: 3rem !important;
    color: #000;
    /*background-color: #7fbdea;*/
    border: 2px solid rgba(211, 244, 251, 0.4);
    border-radius: 10px;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}
.section-title a {
    text-decoration:none;
    }
    
    
    /* Основной контейнер блока после оплаты */
.alert-success {
    background-color: #cdffdc; /* мягкий жёлтый */
    color: #044285; /* тёмно-жёлтый текст */
    border-radius: 12px;
    padding: 2.5rem 1.5rem; /* соответствует p-5 */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 20px auto;
}

/* Заголовок */
.alert-success h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #044285;
}


.alert-success strong{
    font-size: 1.2rem;
    margin: 0.5rem 0;
    line-height: 1;
    color: #044285;
}
/* Абзацы */
.alert-success p {
    font-size: 0.8rem;
    margin: 0.5rem 0;
    line-height: 1;
    color: #044285;
}

/* Картинка внутри блока */
.alert-success img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    display: inline-block;
}

/* Ссылки и кнопки */
.alert-success a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff; /* тёмный текст */
    background-color: #095d07; /* жёлтая кнопка */
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.alert-success a:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}



}