:root {
    --primary-color: #000000; /* Черный для основного текста */
    --secondary-color: #FF3B30; /* Красный как на логотипе */
    --background-color: #F5E6D3; /* Бежевый фон */
    --text-color: #333333;
    --gray-color: #666666; /* Серый для дополнительных элементов */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 90px; /* Компенсируем высоту фиксированного заголовка */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.header-content {
    padding: 0.5rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
    overflow: hidden;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: cover;
    margin: -20px 0;
}

/* Navigation styles */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--secondary-color);
}

/* Language switcher styles */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
}

.lang-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.lang-btn.active {
    background: var(--secondary-color);
    color: white;
}

/* Hero section */
.hero {
    padding: 160px 0 120px; /* Увеличиваем отступы для большего пространства */
    background: transparent;
    text-align: center;
    position: relative;
    min-height: 80vh; /* Минимальная высота для лучшего отображения фона */
}

.hero::before {
    content: '';
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('../assets/logo_transparent.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
    opacity: 0.4;
    z-index: -1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
}

/* Benefits section */
.benefits {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin: 2rem auto;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--gray-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--background-color);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* Choose page styles */
.choose-hero {
    padding: 120px 0 40px;
    text-align: center;
    background: transparent;
}

.choose-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.choose-hero-text {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.ceiling-categories {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.category-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
    padding: 2rem 1.5rem;
    transform: translateY(60px);
    transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.category-description {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease 0.1s;
}

.category-card:hover .category-description {
    opacity: 1;
    transform: translateY(0);
}

.category-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Zoom In эффект для изображений */
.category-card figure {
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    border-radius: 8px;
}

.category-card figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.category-card figure:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}

.selection-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.selection-bar .cta-button {
    text-decoration: none;
}

.selection-bar.visible {
    transform: translateY(0);
}

.selection-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selection-counter {
    font-weight: 500;
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Add margin to main content to prevent overlap with selection bar */
main {
    margin-bottom: 80px;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
} 