:root {
    --primary-color: #e74c3c;
    --secondary-color: #1a2a3a;
    --accent-color: #2980b9;
    --light-color: #f5f7fa;
    --dark-color: #2c3e50;
    --text-color: #2d3436;
    --text-light: #7f8c8d;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.1metallobaza.ru/sites/default/files/inline-images/metalloprokat_0_0.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

header .container {
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: fadeInDown 1s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
    font-weight: 300;
	color: white;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

main {
    padding: 60px 0 40px;
}

section {
    margin-bottom: 50px;
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    margin: 25px 0 20px;
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
}

ul {
    list-style: none;
    margin-bottom: 25px;
}

li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.8rem;
    position: absolute;
    left: 5px;
    top: -5px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.contact-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 15px 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.btn:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.btn:active {
    transform: translateY(1px);
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    100% {
        left: 100%;
    }
}

footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--dark-color));
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    font-size: 1rem;
}

.social-links {
    margin: 25px 0;
}

.social-links a {
    color: white;
    margin: 0 15px;
    font-size: 1.8rem;
    transition: var(--transition);
    display: inline-block;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category {
    background: white;
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid #eee;
    box-shadow: var(--shadow);
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.category i {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .contact-card {
        min-width: 100%;
    }
    
    section {
        padding: 30px 20px;
    }
    
    .product-categories {
        grid-template-columns: 1fr;
    }
}