/* Основные переменные и шрифты */
:root {
    --font-headings: 'Poppins', sans-serif;
    --font-subheadings: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --primary-color: #212529; /* Темный цвет для акцентов */
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
}

.navbar-brand, .lead {
    font-family: var(--font-subheadings);
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Отступ для фиксированного меню */
}

/* Hero секция */
.placeholder-hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 400px;
}

/* Портфолио и Лайтбокс */
.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #eee; /* Заглушка пока нет фото */
}

.portfolio-item img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Lightbox стили */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    animation: zoom 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #bbb;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* Карточки услуг */
.hover-effect {
    transition: all 0.3s ease;
}
.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Адаптивность для мобильных */
@media only screen and (max-width: 768px) {
    .portfolio-item img {
        height: 250px;
    }
    
    h1.display-4 {
        font-size: 2rem;
    }
    
    .lightbox-content {
        max-width: 95%;
    }
}

/* Стили для иконок соцсетей в футере */
.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon-link img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}