:root {
    --primary-color: #FFB6C1; /* Нежно-розовый */
    --secondary-color: #98FB98; /* Мятный */
    --accent-color: #FFD700; /* Золотой */
    --text-color: #333;
    --background-color: #FFF5EE; /* Молочный */
    --card-background: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 1s ease-out 0.5s forwards;
    opacity: 0;
}

/* Языковой переключатель */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lang-btn {
    padding: 8px 16px;
    margin: 0 5px;
    border: none;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn.active {
    background-color: var(--accent-color);
}

/* Баннер */
.banner {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.3) 0%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 182, 193, 0.3) 100%);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-transform: lowercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 2px;
    line-height: 1.2;
}

.tagline {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: var(--text-color);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    line-height: 1.4;
    max-width: 90%;
}

/* Секции */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* О нас */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Поводы */
.occasions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.occasion-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.occasion-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Портфолио */
.portfolio-masonry {
    columns: 3;
    column-gap: 20px;
    padding: 20px;
}

.portfolio-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image {
    transform: scale(1.05);
}

/* Как заказать */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--card-background);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* Контакты */
.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin: 20px 0;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-btn {
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram i {
    font-size: 1.2em;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    position: relative;
}

.modal-content-container {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.modal.show .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.2rem;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    max-width: 90%;
    margin: 10px auto;
    line-height: 1.4;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: scale(1.1);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .portfolio-masonry {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .portfolio-masonry {
        columns: 1;
    }
    
    .brand-name {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 40px 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-nav {
        padding: 10px;
        font-size: 1.5rem;
    }
    
    .modal-nav.prev {
        left: 10px;
    }
    
    .modal-nav.next {
        right: 10px;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-caption {
        font-size: 1rem;
        padding: 10px;
    }
    
    .instagram-feed {
        padding: 20px;
    }
    
    .instagram-link {
        font-size: 1rem;
    }
    
    .instagram-widget {
        min-height: 250px;
    }
} 