head {
    color:#160037;
}

/* Стили только для главной страницы */
    .main-page .full-width-container {
        margin-bottom: 40px;
    }
    
    .main-page .info-block {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .main-page .info-block:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .main-page .review-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .main-page .review-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }
    
    .main-page .reviews-scroll-wrapper::-webkit-scrollbar {
        height: 8px;
    }
    
    .main-page .reviews-scroll-wrapper::-webkit-scrollbar-track {
        background: #e9ecef;
        border-radius: 10px;
    }
    
    .main-page .reviews-scroll-wrapper::-webkit-scrollbar-thumb {
        background: #4C00BD;
        border-radius: 10px;
    }
    
    .main-page .reviews-scroll-wrapper::-webkit-scrollbar-thumb:hover {
        background: #3a0091;
    }
    
    /* Анимация для заголовков */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-page .info-block {
        animation: fadeInUp 0.6s ease-out;
    }
    
    .main-page .info-block:nth-child(2) { animation-delay: 0.1s; }
    .main-page .info-block:nth-child(3) { animation-delay: 0.2s; }
    .main-page .reviews-section { animation: fadeInUp 0.6s ease-out 0.3s both; }

.sidebar {
    min-height: 100vh;
}

@font-face {
    font-family: 'EB Garamond';
    src: url('../fonts/EBGaramond-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond';
    src: url('../fonts/EBGaramond-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'EB Garamond';
    src: url('../fonts/EBGaramond-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Применяем шрифт ко всему сайту */
body {
    font-family: 'EB Garamond', 'Times New Roman', serif;
}

.navbar-nav .nav-link {
    font-size: 20px;
}


footer {
    font-size: 18px;
    color: #6c757d;
}

.navbar-toggler:hover {
  background: rgba(41, 41, 41, 1);
  transform: scale(1.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(188, 181, 254, 0.5);
}

.sidebar .nav-link {
  color: #160037 !important;
  padding: 0.5rem 1rem;
  margin: 0.25rem 0;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  color: #BCB5FE !important;
  background: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
  color: #BCB5FE !important;
  background: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}


.photosession-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    background: white;
}

.photosession-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #d0d0d0;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: #f8f9fa;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photosession-card:hover .card-img-top {
    transform: scale(1.03);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.02), rgba(0,0,0,0.3));
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 12px;
}

.price-badge {
    background: #4C00BD;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-body {
    padding: 20px;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.card-text {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.card-footer-buttons {
    text-align: center;
}

.btn-order {
    background: #4C00BD;
    border: none;
    padding: 8px 24px;
    border-radius: 25px;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-order:hover {
    background: #3a0091;
    transform: translateX(3px);
    color: white;
}

.btn-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    margin-left: 5px;
}

.btn-order:hover .btn-icon {
    transform: translateX(3px);
}

/* Отступы для бокового меню на десктопе */
@media (min-width: 768px) {
    .sidebar .collapse {
        margin-top: 2rem;
        margin-left: 15%;
    }
}
/* На мобильных убираем лишние отступы */
@media (max-width: 767px) {
    .sidebar .collapse {
        margin-top: 0;
        margin-left: 0;
    }
}


