/* assets/css/designs/default.css */
.design-default {
    --primary-color: #00b4db;
    --secondary-color: #ff7e5f;
    --gradient: linear-gradient(180deg, #4facfe 0%, #70e1f5 100%);
    --dark-color: #084e7a;
    --background: #f0f4f8;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-color: #333;
    --text-light: #8995a3;
    --shadow: 0 30px 60px rgba(0, 90, 150, 0.25);
    --radius: 30px;
}

.design-default * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.design-default body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background);
    color: var(--text-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.design-default header {
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.design-default .logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.design-default .logo span {
    color: var(--secondary-color);
}

/* HERO С ОБЛАКАМИ И САМОЛЕТИКАМИ */
.design-default .hero {
    background: var(--gradient);
    height: 550px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    color: white;
    text-align: center;
}

/* Облачная нижняя граница hero */
.design-default .hero::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 60px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23f0f4f8" d="M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z"></path></svg>');
    background-size: 1200px 120px;
    background-repeat: repeat-x;
    z-index: 2;
    filter: drop-shadow(0 5px 10px rgba(0, 90, 150, 0.1));
}

.design-default .hero h1 {
    font-size: 3rem;
    font-weight: 800;
    z-index: 5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}

.design-default .hero p {
    font-size: 1.2rem;
    z-index: 5;
    opacity: 0.95;
    font-weight: 500;
    margin-top: 10px;
}

/* ОБЛАКА (ТОЛЬКО ДЛЯ DEFAULT) */
.design-default .cloud {
    position: absolute;
    background: #fff;
    border-radius: 100px;
    opacity: 0.7;
    filter: blur(8px);
    z-index: 1;
}

.design-default .cloud::after,
.design-default .cloud::before {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.design-default .c1 {
    width: 120px;
    height: 40px;
    top: 15%;
    left: -20%;
    animation: floatDefault 28s linear infinite;
}

.design-default .c1::after {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 20px;
}

.design-default .c1::before {
    width: 70px;
    height: 70px;
    top: -35px;
    right: 20px;
}

.design-default .c2 {
    width: 160px;
    height: 55px;
    top: 35%;
    left: -30%;
    animation: floatDefault 38s linear infinite reverse;
    opacity: 0.5;
}

.design-default .c2::after {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 25px;
}

.design-default .c2::before {
    width: 80px;
    height: 80px;
    top: -40px;
    right: 25px;
}

/* САМОЛЕТИКИ (ТОЛЬКО ДЛЯ DEFAULT) */
.design-default .paper-plane-container {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.design-default .paper-plane-svg {
    width: 100%;
    fill: white;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

.design-default .p1 {
    width: 70px;
    top: 70%;
    left: -10%;
    animation: paperFlyUp1 20s linear infinite;
}

.design-default .p2 {
    width: 50px;
    top: 60%;
    left: 5%;
    opacity: 0.8;
    animation: paperFlyUp2 25s linear infinite;
    animation-delay: 3s;
}

.design-default .p3 {
    width: 35px;
    top: 80%;
    left: 20%;
    opacity: 0.6;
    animation: paperFlyUp3 18s linear infinite;
    animation-delay: 7s;
}

/* ЗАГОЛОВОК НАД ФОРМОЙ ПОИСКА */
.design-default .search-title {
    text-align: center;
    margin-bottom: 30px; /* Уменьшено с 40px */
    margin-top: -15px; /* Добавлено для поднятия */
}

.design-default .search-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.design-default .search-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.design-default .search-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* КОНТЕНТ - ПРИПОДНИМАЕМ ВСЮ ЭТУ СЕКЦИЮ */
.design-default .main-content {
    position: relative;
    z-index: 10;
    margin-top: -300px; /* Увеличено с -250px на -280px (поднято на 30px) */
    padding-bottom: 60px;
    flex: 1;
}

.design-default .search-card {
    max-width: 1100px;
    margin: 0 auto 60px;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    padding: 45px 40px; /* Уменьшено с 50px 40px */
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.7);
    position: relative;
    z-index: 15;
}

.design-default .results-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.design-default .results-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.design-default .results-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.design-default .results-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.design-default .seo-section {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 50px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    color: #555;
    line-height: 1.8;
}

.design-default .seo-section h2 {
    color: var(--dark-color);
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.design-default .seo-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

.design-default .seo-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ФУТЕР */
.design-default .site-footer {
    background: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    line-height: 1.6;
    position: relative;
    margin-top: auto;
}

.design-default .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.design-default .footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 40px;
}

.design-default .footer-logo {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.design-default .footer-logo span {
    color: var(--secondary-color);
}

.design-default .disclaimer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.design-default .disclaimer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.design-default .footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* КРАСИВОЕ СОГЛАСИЕ НА КУКИ */
.design-default .cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: rgba(26, 37, 47, 0.98);
    color: white;
    padding: 25px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 2000;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 2px solid rgba(0, 180, 219, 0.3);
    max-width: 1000px;
    width: 90%;
    backdrop-filter: blur(20px);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s;
}

.design-default .cookie-consent.show {
    transform: translateX(-50%) translateY(0);
}

.design-default .cookie-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.design-default .cookie-text a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.design-default .cookie-text a:hover {
    color: white;
    text-decoration: underline;
}

.design-default .cookie-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.3);
}

.design-default .cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.4);
}

/* КНОПКА ВОЗВРАТА НАВЕРХ */
.design-default .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.3);
    transition: all 0.3s ease;
}

.design-default .back-to-top:hover {
    background: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.4);
}

.design-default .back-to-top.show {
    display: flex;
}

/* АНИМАЦИИ ТОЛЬКО ДЛЯ DEFAULT */
@keyframes floatDefault {
    from { transform: translateX(0); }
    to { transform: translateX(120vw); }
}

@keyframes paperFlyUp1 {
    0% { transform: translate(0, 0) rotate(15deg); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(120vw, -70vh) rotate(30deg); }
}

@keyframes paperFlyUp2 {
    0% { transform: translate(0, 0) rotate(20deg); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translate(100vw, -90vh) rotate(35deg); }
}

@keyframes paperFlyUp3 {
    0% { transform: translate(0, 0) rotate(25deg); opacity: 0; }
    10% { opacity: 0.6; }
    100% { transform: translate(80vw, -100vh) rotate(40deg); }
}

/* PLACEHOLDERS */
.design-default .search-placeholder {
    padding: 40px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.design-default .results-placeholder {
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .design-default .hero {
        height: 450px;
        padding-top: 80px;
    }
    
    .design-default .hero h1 {
        font-size: 2rem;
    }
    
    .design-default .main-content {
        margin-top: -230px; /* Увеличено с -180px на -200px */
    }
    
    .design-default .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .design-default .cookie-consent {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        width: 95%;
        gap: 15px;
    }
    
    .design-default .cookie-btn {
        width: 100%;
    }
    
    .design-default .back-to-top {
        bottom: 20px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Адаптация облачной границы для мобильных */
    .design-default .hero::after {
        height: 40px;
        bottom: -15px;
        background-size: 800px 80px;
    }
    
    /* Настройки для облаков на мобильных */
    .design-default .c1 {
        width: 100px;
        height: 35px;
        top: 10%;
    }
    
    .design-default .c2 {
        width: 130px;
        height: 45px;
        top: 30%;
    }
    
    /* Настройки для самолетиков на мобильных */
    .design-default .p1 {
        width: 50px;
        top: 60%;
    }
    
    .design-default .p2 {
        width: 40px;
        top: 50%;
    }
    
    .design-default .p3 {
        width: 30px;
        top: 70%;
    }
}