* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

header {
    background: url('../img/header-bg.jpg') center/cover no-repeat;
    position: relative;
    z-index: 1000;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.phone-number {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.phone-number:hover {
    opacity: 0.8;
}

.address {
    color: #fff;
    font-size: 13px;
    opacity: 0.9;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.btn-order {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s, border-color 0.3s;
}

.btn-order:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.cart a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-count {
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #fff;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.catalog {
    padding: 60px 0;
}

.catalog h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.product-price {
    font-size: 24px;
    color: #27ae60;
    font-weight: 700;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 100%;
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-cart:hover {
    background-color: #2980b9;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}
