
/* Custom scrollbar hide for modern browsers */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 20px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
.cookie-banner p {
    margin: 0;
    flex: 1;
    text-align: left;
}
.cookie-banner button {
    background-color: #f1c40f;
    color: #333;
    border: none;
    padding: 10px 20px;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.cookie-banner button:hover {
    background-color: #d4ac0d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
}

/* ===== НАВИГАЦИЯ ===== */
nav.bg-gray-800 {
    background: linear-gradient(135deg, #1e1e2f, #2d2d44);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

nav .text-white {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== HERO СЕКЦИЯ ===== */
.bg-gradient-to-r.from-purple-500.to-blue-500 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
}

.bg-gradient-to-r.from-purple-500.to-blue-500 h1 {
    font-size: 2.5rem;
    font-weight: 800;
    animation: fadeInUp 0.6s ease;
}

.bg-gradient-to-r.from-purple-500.to-blue-500 p {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.bg-gradient-to-r.from-purple-500.to-blue-500 button {
    animation: fadeInUp 0.6s ease 0.2s both;
    transition: all 0.3s ease;
}

.bg-gradient-to-r.from-purple-500.to-blue-500 button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===== КАРТОЧКИ ПРЕИМУЩЕСТВ ===== */
.bg-gray-100.py-10 {
    background: #f3f4f6;
}

.bg-white.p-6.rounded-lg.shadow-lg {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

.bg-white.p-6.rounded-lg.shadow-lg:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
}

.bg-white.p-6.rounded-lg.shadow-lg i {
    transition: transform 0.3s ease;
}

.bg-white.p-6.rounded-lg.shadow-lg:hover i {
    transform: scale(1.1);
}

/* ===== УСЛУГИ ===== */
.py-20.bg-gray-100 {
    background: white;
}

/* ===== О НАС ===== */
#about img {
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.02);
}

/* ===== СЕКЦИЯ С КАРТОЙ ===== */
section[style*="height:60vh"] {
    background: #f3f4f6;
}

section[style*="height:60vh"] iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

section[style*="height:60vh"] h2 {
    color: #1f2937;
    font-weight: 800;
}

/* ===== СЛАЙДЕР ОТЗЫВОВ ===== */
.overflow-x-scroll {
    scroll-behavior: smooth;
    padding-bottom: 20px;
}

.overflow-x-scroll > div {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overflow-x-scroll > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Кнопки навигации слайдера */
.bg-gray-800.text-white.p-2.rounded-l,
.bg-gray-800.text-white.p-2.rounded-r {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: opacity 0.3s ease;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
}

.bg-gray-800.text-white.p-2.rounded-l:hover,
.bg-gray-800.text-white.p-2.rounded-r:hover {
    opacity: 0.8;
}

/* ===== КОНТАКТНАЯ ФОРМА ===== */
.bg-blue-100.p-8 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.bg-blue-100.p-8 h2 {
    color: white;
}

.bg-blue-100.p-8 label {
    color: white;
    font-weight: 500;
}

.bg-blue-100.p-8 input,
.bg-blue-100.p-8 textarea {
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 10px;
}

.bg-blue-100.p-8 input:focus,
.bg-blue-100.p-8 textarea:focus {
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.5);
}

.bg-blue-100.p-8 button {
    background: white;
    color: #667eea;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.bg-blue-100.p-8 button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== ФУТЕР ===== */
footer.bg-gray-800 {
    background: linear-gradient(135deg, #1e1e2f, #2d2d44);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #a78bfa !important;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
#popup .bg-white {
    border-radius: 20px;
    animation: fadeIn 0.3s ease;
}

#popup .bg-white h2 {
    color: #667eea;
}

#popup button[type="submit"] {
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: all 0.3s ease;
}

#popup button[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

#thank-modal .bg-white {
    border-radius: 20px;
}

#thank-modal button {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .bg-gradient-to-r.from-purple-500.to-blue-500 h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .bg-gradient-to-r.from-purple-500.to-blue-500 p {
        text-align: center;
    }
    
    .bg-gradient-to-r.from-purple-500.to-blue-500 button {
        display: block;
        margin: 0 auto;
    }
    
    .bg-gradient-to-r.from-purple-500.to-blue-500 img {
        margin-top: 30px;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner p {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .cookie-banner button {
        margin-left: 0;
    }
    
    section[style*="height:60vh"] {
        flex-direction: column;
        min-height: auto;
    }
    
    section[style*="height:60vh"] > div {
        width: 100%;
        min-height: 300px;
    }
    
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-4 {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .bg-gradient-to-r.from-purple-500.to-blue-500 h1 {
        font-size: 1.4rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-4xl {
        font-size: 1.8rem;
    }
}



/* Custom scrollbar hide for modern browsers */
    .scrollbar-hide::-webkit-scrollbar {
        display: none;
    }


.cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.8);
            color: #fff;
            padding: 15px 20px;
            box-sizing: border-box;
            text-align: center;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .cookie-banner p {
            margin: 0;
            flex: 1;
            text-align: left;
        }
        .cookie-banner button {
            background-color: #f1c40f;
            color: #333;
            border: none;
            padding: 10px 20px;
            margin-left: 20px;
            cursor: pointer;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }
        .cookie-banner button:hover {
            background-color: #d4ac0d;
        }
* {
    background-size: cover;
    background-position: center center;
}
body {
	margin: 0px;
}
