/* =====================================================================
Template Name: SmilaBus - Liquid Glass Design (iOS Style)
Author: Jaroslaw Gogulov
======================================================================
*/

/* ======================================
1. Common CSS & Liquid Glass Base
========================================= */
:root {
    --primary-color: #007aff; /* iOS Blue */
    --primary-hover: #0063d1;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Roboto', sans-serif;
    /* Єдиний темний градієнт для всього сайту */
    background: linear-gradient(135deg, #141415 0%, #1c252c 100%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

a {
    text-decoration: none !important;
    outline: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #ffffff;
}

/* --- LIQUID GLASS UTILITIES --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4);
}

/* ======================================
2. Buttons 
========================================= */
.btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border-radius: 50px;
    box-shadow: none !important;
    outline: none !important;
}

.btn-custom {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3) !important;
}

.btn-custom:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.5) !important;
}

.btn-outline-custom {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.btn-outline-custom:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/*==========================================
 3. Main Menu / Navbar
===========================================*/
.navbar-custom {
    position: absolute;
    z-index: 9998;
    width: 100%;
    padding: 20px 0px !important;
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.5s ease-in-out;
}

.navbar-custom .logo {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Гамбургер меню */
.menu-btn-open {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
}

/* Оверлей меню (Скло) */
.menu-lightbox {
    position: fixed;
    top: 0; right: 0; left: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 12, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: none;
}

.menu-lightbox .menu-nav {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    list-style: none;
    text-align: center;
    padding: 0;
}

.menu-lightbox .menu-nav li {
    margin-bottom: 25px;
}

.menu-lightbox .menu-nav li a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.menu-lightbox .menu-nav li a:hover {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    display: inline-block;
}

/* Кнопка закриття меню */
.menu-btn-close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 30px;
    height: 30px;
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.menu-btn-close:hover { opacity: 1; }
.menu-btn-close span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    top: 50%;
}
.menu-btn-close .line1 { transform: rotate(45deg); }
.menu-btn-close .line2 { transform: rotate(-45deg); }

/*======================================
4. Sections Base (Removing old templates colors)
========================================*/
/* Робимо всі секції прозорими, щоб працював глобальний градієнт body */
.section, .screenshot-area {
    padding: 100px 0;
    background: transparent !important; 
}

/*==================================
5. Forms & Inputs (Glass Style)
====================================*/
.form-custom .form-control {
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 10px 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-custom .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-custom .form-control:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.2);
}

.form-custom textarea.form-control {
    height: 150px;
    resize: none;
}

/*==================================
6. Social Links (Glass Style)
====================================*/
.social-links-area a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.social-links-area a i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.social-links-area a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.4);
}

/*==================================
7. Carousel / Sliders Adjustments
====================================*/
.kc-wrap {
    padding: 30px 0;
}
.kc-item img {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

/*==================================
8. Preloader
====================================*/
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #141415;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
#loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
