/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    color: #8B4513;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.logo span {
    color: #666;
    font-size: 0.9rem;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #8B4513;
}

.header__phone a {
    color: #8B4513;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), 
                url('images/catalog/kitchen-07.webp') center/cover;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

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

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

/* Services */
.services {
    padding: 80px 0;
    background: #f8f8f8;
}

.services h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #8B4513;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-card h4 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Catalog */
.catalog {
    padding: 80px 0;
}

.catalog h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #8B4513;
}

.catalog__tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #8B4513;
    background: transparent;
    color: #8B4513;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #8B4513;
    color: white;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.catalog-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.catalog-item:hover {
    transform: translateY(-5px);
}

.catalog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.catalog-item__content {
    padding: 1.5rem;
    background: white;
}

.catalog-item h4 {
    color: #8B4513;
    margin-bottom: 0.5rem;
}

/* Production */
.production {
    padding: 80px 0;
    background: #f8f8f8;
}

.production h3 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #8B4513;
}

.production p {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #666;
}

.production__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.production__item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Reviews */
.reviews {
    padding: 80px 0;
}

.reviews h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #8B4513;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.review__rating {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review__author {
    color: #8B4513;
    font-style: italic;
    margin-top: 1rem;
    display: block;
}

/* Contacts */
.contacts {
    padding: 80px 0;
    background: #f8f8f8;
}

.contacts h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #8B4513;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h4 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #8B4513;
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h4 {
    color: #8B4513;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal__content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.modal__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.modal__close:hover {
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .header__content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .contacts__content {
        grid-template-columns: 1fr;
    }
    
    .production__gallery {
        grid-template-columns: 1fr;
    }
}

/* Hidden class for catalog filtering */
.hidden {
    display: none !important;
}

.catalog-item__price { display: block; margin-top: 8px; font-weight: 600; color: #2d6a4f; }
