/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

/* Smooth Transitions */
* {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

a {
    transition: all 0.4s ease;
    text-decoration: none;
}

/* Page Transition Effect */
main {
    opacity: 0;
    transform: translateY(20px);
    animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Blocks */
.content-block {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(135, 206, 250, 0.1);
    margin-bottom: 30px;
    border: 1px solid #e3f2fd;
}

.text-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.08);
    margin-bottom: 25px;
    border-left: 4px solid #87CEEB;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(135, 206, 250, 0.2);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.3);
}

.btn-primary {
    background-color: #87CEEB;
    color: #2c3e50;
}

.btn-primary:hover {
    background-color: #5DADE2;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: #87CEEB;
    border: 2px solid #87CEEB;
}

.btn-secondary:hover {
    background-color: #87CEEB;
    color: #2c3e50;
}

.btn-outline {
    background-color: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-outline:hover {
    background-color: #2c3e50;
    color: white;
}

/* Header - компактный */
.top-header {
    background-color: #f8f9fa;
    color: #2c3e50;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 40px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.company-tagline {
    font-size: 0.85rem;
    color: #2c3e50;
    font-weight: 500;
    white-space: nowrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.contact-item i {
    color: #87CEEB;
    font-size: 14px;
}

.contact-item a {
    color: #87CEEB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #5DADE2;
}

.header-buttons {
    flex-shrink: 0;
}

.header-buttons .btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Navigation */
.navbar {
    background-color: white;
    box-shadow: 0 4px 20px rgba(135, 206, 250, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-radius: 0 0 20px 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h2 {
    color: #87CEEB;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 1.2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 20px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #87CEEB;
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 10px 30px rgba(135, 206, 250, 0.2);
    border-radius: 15px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 15px 0;
    border: 1px solid #e9ecef;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    padding: 12px 20px;
    display: block;
    color: #2c3e50;
    border-radius: 0;
    background: transparent;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #87CEEB;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    background-color: #e3f2fd;
    color: #2c3e50;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    border-radius: 0 0 50px 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #2c3e50;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: #5a6c7d;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.15);
    transition: transform 0.4s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat h3 {
    font-size: 2.8rem;
    color: #87CEEB;
    margin-bottom: 8px;
}

.stat p {
    font-size: 0.95rem;
    margin: 0;
    color: #5a6c7d;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(135, 206, 250, 0.2);
    transition: transform 0.4s ease;
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #ffffff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-features {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    flex: 1;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(135, 206, 250, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: #87CEEB;
    margin-bottom: 15px;
}

.about-image img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(135, 206, 250, 0.15);
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(135, 206, 250, 0.2);
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 35px;
}

.service-content h3 {
    margin-bottom: 18px;
    color: #2c3e50;
}

.service-content p {
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.7;
}

/* Gallery Preview */
.gallery-preview {
    padding: 100px 0;
    background-color: #ffffff;
}

/* Gallery Grid - только 3 элемента */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 280px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.text-center {
    text-align: center;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 15px;
    animation: slideIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #87CEEB;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50%) scale(0.8); }
    to { transform: translateY(-50%) scale(1); }
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 90%;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #87CEEB;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(135, 206, 250, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-nav:hover {
    background-color: #87CEEB;
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-image-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    text-align: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.modal-info {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    min-width: 300px;
}

.modal-info h3 {
    margin-bottom: 8px;
    color: white;
    font-size: 1.5rem;
}

.modal-info p {
    margin: 0;
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
}

/* Page Header */
.page-header {
    background-color: #e3f2fd;
    color: #2c3e50;
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.page-header p {
    font-size: 1.3rem;
    color: #5a6c7d;
}

/* Services Detail */
.services-detail {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.service-section {
    margin-bottom: 80px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
    margin-bottom: 40px;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse > * {
    direction: ltr;
}

.service-text {
    padding: 20px;
}

.service-text ul, .service-text ol {
    margin: 25px 0;
    padding-left: 25px;
}

.service-text li {
    margin-bottom: 12px;
    color: #5a6c7d;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.service-features .feature {
    text-align: left;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 20px;
}

.service-features .feature i {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.service-benefits {
    margin-top: 25px;
}

.benefit {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.benefit:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.benefit i {
    color: #87CEEB;
    margin-right: 12px;
    font-size: 1.3rem;
}

.commercial-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 25px;
}

/* CTA Section - изменен цвет фона */
.cta-section {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0;
    text-align: center;
    border-radius: 50px;
    margin: 50px 0;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
}

.cta-section .btn-primary {
    background-color: #87CEEB;
    color: #2c3e50;
}

.cta-section .btn-primary:hover {
    background-color: #5DADE2;
    color: white;
}

/* Projects Gallery */
.projects-gallery {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    background-color: white;
    border: 2px solid #87CEEB;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #87CEEB;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #87CEEB;
    color: white;
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.project-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
    background: white;
}

.project-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(135, 206, 250, 0.2);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
    color: white;
    padding: 25px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-item:hover .project-overlay {
    transform: translateY(0);
}

.project-info h3 {
    margin-bottom: 8px;
    color: white;
}

.project-info p {
    margin: 0;
    color: rgba(255,255,255,0.8);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.testimonial {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(135, 206, 250, 0.15);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 25px;
    color: #5a6c7d;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.testimonial-author span {
    color: #87CEEB;
    font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87CEEB;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(135, 206, 250, 0.1);
}

.contact-details {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

/* Contact Info Vertical - исправлено */
.contact-info-vertical {
    margin-bottom: 35px;
}

.contact-item-vertical {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item-vertical:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.contact-item-vertical i {
    color: #87CEEB;
    font-size: 1.3rem;
    margin-right: 18px;
    margin-top: 8px;
}

.contact-item-vertical h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.contact-item-vertical p {
    margin: 0;
    color: #5a6c7d;
}

.contact-item-vertical a {
    color: #87CEEB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-vertical a:hover {
    color: #5DADE2;
    text-decoration: underline;
}

.business-hours {
    background-color: #e3f2fd;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 35px;
}

.business-hours h3 {
    margin-bottom: 18px;
    color: #2c3e50;
}

.business-hours p {
    margin-bottom: 12px;
    color: #5a6c7d;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-container {
    margin-top: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.map-container h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

/* Privacy Policy */
.privacy-content {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.privacy-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.privacy-text h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.privacy-text h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.privacy-text ul {
    margin: 20px 0;
    padding-left: 30px;
}

.privacy-text li {
    margin-bottom: 10px;
    color: #5a6c7d;
}

.privacy-text a {
    color: #87CEEB;
    text-decoration: none;
}

.privacy-text a:hover {
    text-decoration: underline;
}

.privacy-text .contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.blog-section .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.blog-grid {
    display: grid;
    gap: 50px;
}

.blog-post {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(135, 206, 250, 0.2);
}

.blog-image {
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 35px;
}

.blog-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
}

.blog-meta .category {
    background-color: #87CEEB;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-meta .date {
    color: #5a6c7d;
    font-size: 0.95rem;
}

.blog-content h2 {
    margin-bottom: 18px;
    color: #2c3e50;
}

.blog-content p {
    color: #5a6c7d;
    margin-bottom: 25px;
    line-height: 1.7;
}

.read-more {
    color: #87CEEB;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #5DADE2;
    text-decoration: underline;
}

/* Blog Post Content */
.blog-post-content {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.post-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.post-main {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 50px;
}

.post-content h2 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 20px;
}

.post-content h3 {
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

.post-content p {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 20px;
}

.post-content ul, .post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    color: #5a6c7d;
    margin-bottom: 10px;
    line-height: 1.6;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background-color: #87CEEB;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background-color: #f8f9fa;
}

.post-navigation {
    padding: 40px 50px;
    border-top: 1px solid #e9ecef;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.share-buttons h4 {
    margin: 0;
    color: #2c3e50;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.facebook {
    background-color: #4267b2;
    color: white;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.related-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.related-post:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.related-post img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.related-content h4 {
    margin-bottom: 8px;
}

.related-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.related-content h4 a:hover {
    color: #87CEEB;
}

.related-content .date {
    color: #5a6c7d;
    font-size: 0.85rem;
}

.breadcrumb {
    margin-bottom: 20px;
    color: #5a6c7d;
}

.breadcrumb a {
    color: #87CEEB;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.post-meta .category {
    background-color: #87CEEB;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-meta .date {
    color: #5a6c7d;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.sidebar-widget {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.sidebar-widget h3 {
    margin-bottom: 25px;
    color: #2c3e50;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: #5a6c7d;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.category-list a:hover {
    color: #87CEEB;
}

.category-list span {
    color: #999;
    font-size: 0.9rem;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: #87CEEB;
}

.recent-posts span {
    color: #5a6c7d;
    font-size: 0.9rem;
}

/* CTA Widget - изменить цвет фона */
.cta-widget {
    background-color: #2c3e50;
    color: white;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255,255,255,0.9);
}

.cta-widget .btn-primary {
    background-color: #87CEEB;
    color: #2c3e50;
}

.cta-widget .btn-primary:hover {
    background-color: #5DADE2;
    color: white;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 80px 0 30px;
    border-radius: 50px 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    margin-bottom: 25px;
    color: #87CEEB;
}

.footer-section p {
    margin-bottom: 12px;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #87CEEB;
}

.footer-section i {
    color: #87CEEB;
    margin-right: 10px;
}

.cta-button {
    margin-top: 25px;
}

.phone-cta {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 12px;
}

.phone-cta a {
    color: #87CEEB;
    text-decoration: none;
}

.footer-section p a {
    color: #87CEEB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #5DADE2;
}

.phone-cta a:hover {
    color: #5DADE2;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 25px;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom a {
    color: #87CEEB;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 60px;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(135, 206, 250, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
        width: 80%;
        text-align: center;
    }

    .nav-menu a {
        width: 100%;
        padding: 15px;
        border-radius: 15px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 10px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        min-height: auto;
        padding: 5px 0;
    }

    .header-info {
        flex-direction: column;
        gap: 5px;
    }

    .contact-item {
        font-size: 11px;
    }

    .company-tagline {
        font-size: 0.75rem;
        text-align: center;
    }

    .header-buttons .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-info {
        flex-direction: column;
        gap: 10px;
    }

    .contact-item {
        font-size: 12px;
    }

    .company-tagline {
        font-size: 0.8rem;
        text-align: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .stat {
        min-width: 120px;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-features {
        flex-direction: column;
        gap: 20px;
    }

    .service-content {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form-section,
    .contact-details {
        padding: 30px;
    }

    .blog-section .container {
        grid-template-columns: 1fr;
    }

    .post-container {
        grid-template-columns: 1fr;
    }

    .post-content {
        padding: 30px;
    }

    .post-navigation {
        padding: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .cta-content h2 {
        font-size: 2.2rem;
    }

    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .modal-prev {
        left: 15px;
    }

    .modal-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat {
        padding: 15px;
        min-width: 100px;
    }

    .stat h3 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .filter-buttons {
        justify-content: center;
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .service-card,
    .project-item,
    .testimonial,
    .blog-post {
        margin: 0 10px;
    }

    .contact-item-vertical {
        flex-direction: column;
        text-align: center;
    }

    .contact-item-vertical i {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contact-item {
        font-size: 11px;
    }

    .company-tagline {
        font-size: 0.75rem;
    }

    .content-block,
    .text-content {
        padding: 20px;
        margin-bottom: 20px;
    }

    .post-content {
        padding: 20px;
    }

    .sidebar-widget {
        padding: 25px;
    }

    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .modal-info {
        bottom: -100px;
        min-width: 200px;
        padding: 12px 15px;
    }

    .modal-info h3 {
        font-size: 1.2rem;
    }

    .modal-info p {
        font-size: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Status Messages */
.status-message {
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
    font-weight: 600;
    animation: slideInDown 0.3s ease;
}

.status-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.status-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Back to Top Button - светло-синяя */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #87CEEB;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(135, 206, 250, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(135, 206, 250, 0.4);
    background-color: #5DADE2;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Enhanced focus styles for accessibility */
*:focus {
    outline: 3px solid rgba(135, 206, 250, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .back-to-top,
    .lightbox,
    .project-modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}

// Исправить кнопки модального окна - сделать их идеально круглыми
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(135, 206, 250, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.modal-nav:hover {
    background-color: #87CEEB;
    transform: translateY(-50%) scale(1.1);
}

// Изменить макет контактной страницы - форма уже, блок с данными шире
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form-section {
    background: white;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

.contact-details {
    background: white;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(135, 206, 250, 0.1);
}

// Мобильная версия кнопок модального окна
@media (max-width: 768px) {
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .modal-prev {
        left: 15px;
    }

    .modal-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .modal-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }
}

/* Status Notifications */
.status-notification {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    animation: slideInDown 0.5s ease;
}

.status-notification.status-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-left: 5px solid #155724;
}

.status-notification.status-error {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    border-left: 5px solid #721c24;
}

.status-content {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: white;
    font-weight: 500;
    position: relative;
}

.status-content i:first-child {
    font-size: 1.5rem;
    margin-right: 15px;
    opacity: 0.9;
}

.status-content span {
    flex: 1;
    line-height: 1.5;
}

.status-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.status-close:hover {
    opacity: 1;
    background-color: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

@keyframes slideInDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile responsive for notifications */
@media (max-width: 768px) {
    .status-content {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .status-content i:first-child {
        font-size: 1.3rem;
        margin-right: 12px;
    }
}
