body {
    font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
    font-size: 16px;
}

.nav-link {
    color: #1b0e0e;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: #f3e7e8;
    color: #994d51;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #994d51;
    color: white;
}

.btn-primary:hover {
    background-color: #7a3a3e;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f3e7e8;
    color: #1b0e0e;
    border: 2px solid #994d51;
}

.btn-secondary:hover {
    background-color: #994d51;
    color: white;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #994d51;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #7a3a3e;
    transform: translateY(-2px);
}

.scroll-smooth {
    scroll-behavior: smooth;
}

/* Logo styles */
.logo {
    height: 2.5rem;
}

@media (min-width: 768px) {
    .logo {
        height: 4rem;
    }
}

/* Mobile menu button visibility */
nav.desktop {
    display: none !important;
}

@media (max-width: 767px) {
    #mobile-menu-btn {
        display: block !important;
    }
}

@media (min-width: 768px) {
    #mobile-menu-btn {
        display: none !important;
    }
    
    nav.desktop {
        display: block !important;
    }
}

.menu-wrapper {
    position: relative;
    z-index: -1;
}

/* Анимация для мобильного меню */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-25%);
    transition: opacity 0.3s ease, transform .3s ease, visibility .3s ease;
}

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

/* Стили для мобильного слайдера */
.mobile-slider {
    display: none;
}

@media (max-width: 768px) {
    .mobile-slider {
        display: block;
        position: relative;
        overflow: hidden;
        width: 100%;
    }
    
    .desktop-grid {
        display: none;
    }
    
    .slider-container {
        display: flex;
        transition: transform 0.5s ease;
        width: 300%; /* 3 slides * 100% */
    }
    
    .slider-item {
        width: 33.333%; /* 100% / 3 slides */
        flex-shrink: 0;
        padding: 0 8px; /* Reduced padding to prevent overflow */
        box-sizing: border-box;
    }
    
    .slider-item > div {
        margin: 0; /* Remove mx-4 margin that causes overflow */
        width: 100%;
        box-sizing: border-box;
    }
    
    .slider-item .p-4 {
        padding: 12px; /* Slightly reduced padding */
    }
    
    .slider-item h3 {
        font-size: 1rem; /* Slightly smaller font */
        line-height: 1.4;
        margin-bottom: 8px;
        word-wrap: break-word;
    }
    
    .slider-item p {
        font-size: 0.875rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .slider-dot {
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 50%;
        background-color: #e5e7eb;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .slider-dot.active {
        background-color: #994d51;
    }
}

@media (min-width: 769px) {
    .mobile-slider {
        display: none !important;
    }
    
    .desktop-grid {
        display: grid !important;
    }
    
    /* Equal height for contact blocks */
    .contacts-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: stretch;
    }
    
    .contact-block {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    
    .contact-block > div {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    /* Remove hover effects from non-clickable elements */
    .bg-white.rounded-xl.overflow-hidden.shadow-sm:hover {
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        transform: none;
    }
    
    .bg-\[#fcf8f8\].rounded-xl.overflow-hidden.shadow-sm:hover {
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
        transform: none;
    }
    
    /* Reduced section spacing */
    section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Reduced padding in contact information block */
    .contact-info-reduced {
        padding: 1rem !important;
    }
    
    .contact-info-reduced .space-y-3 > * + * {
        margin-top: 0.5rem !important;
    }
    
    .contact-info-reduced .mt-6 {
        margin-top: 1rem !important;
    }
    
    .contact-info-reduced .pt-6 {
        padding-top: 1rem !important;
    }
}

/* Social media icons */
.social-media-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

