/*
Theme Name: metallolom-gvardeyskoe

Theme URI: https://your-site.com/
Description: Металлолом Гвардейское
Version: 1.0
Author: Ваше имя
Author URI: https://your-site.com/
Text Domain:metallolom-gvardeyskoe

*/

/* Контакты странца  */
   .section {
            max-width: 1920px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }
        .contact-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 2rem 0;
        }
        .contact-info {
            flex: 1;
            min-width: 300px;
        }
        .contact-form {
            flex: 1;
            min-width: 300px;
        }
        .contact-card {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            margin-bottom: 1rem;
        }
        .contact-card h3 {
            color: #1a3d5d;
            margin-bottom: 1rem;
        }
        .contact-card p {
            margin-bottom: 0.5rem;
        }
        .contact-card a {
            color: #1a3d5d;
            text-decoration: none;
        }
        form {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .form-group {
            margin-bottom: 1rem;
        }
        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }
        input, textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        .btn {
            background: #1a3d5d;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
        }
        .map-container {
            margin: 2rem 0;
            height: 400px;
            border-radius: 8px;
            overflow: hidden;
        }
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .city-list {
            columns: 3;
            margin: 2rem 0;
        }
        .highlight {
            background-color: #fffde7;
            padding: 15px;
            border-left: 4px solid #ffd600;
            margin: 20px 0;
        }
        @media (max-width: 768px) {
            .nav { flex-direction: column; text-align: center; }
            .city-list { columns: 2; }
        }
        @media (max-width: 480px) {
            .city-list { columns: 1; }
        }
        
/* О нас */

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 1rem;
            margin: 2rem 0;
        }
        .gallery img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 4px;
        }
        .seo-content {
            background: #fff;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .benefits-list {
            columns: 2;
            margin: 2rem 0;
        }
        .btn {
            background: #1a3d5d;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
        }
        .team-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }
        .team-member {
            text-align: center;
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .team-member img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 1rem;
        }
        .highlight {
            background-color: #fffde7;
            padding: 15px;
            border-left: 4px solid #ffd600;
            margin: 20px 0;
        }
        .stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            text-align: center;
            margin: 2rem 0;
        }
        .stat-item {
            padding: 1rem;
            background: #f0f4f8;
            border-radius: 8px;
        }
        .stat-number {
            font-size: 2.5rem;
            font-weight: bold;
            color: #1a3d5d;
        }
        @media (max-width: 768px) {
            .nav { flex-direction: column; text-align: left; }
            .about-content { grid-template-columns: 1fr; }
            .benefits-list { columns: 1; }
        }

/* Липкое меню */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1a3d5d;
    color: white;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Основное меню для десктопа */
.nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: #ffcc00;
}

/* Кнопка мобильного меню - скрыта по умолчанию */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}

/* Адаптация под мобильные */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a3d5d;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
        
        
        
        
        
        
        .site-content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-container {
    display: flex;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
    flex: 1;
}

/* Шапка */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo-area a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

/* Главное меню */
.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    margin-left: 20px;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* Основной контент */
.primary-content {
    flex: 1;
    padding: 30px 20px 30px 0;
}

.sidebar {
    width: 300px;
    padding: 30px 0;
}

/* Карточки статей */
.article-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    padding: 20px;
}

.article-header h2 {
    margin: 0 0 10px;
}

.article-header h2 a {
    text-decoration: none;
    color: #333;
}

.article-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 15px;
}

.article-excerpt {
    margin-bottom: 15px;
}

.article-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 14px;
}

/* Отдельная статья */
.single-article {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.single-article .article-header h1 {
    margin: 0 0 15px;
}

.article-content {
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
}

/* Боковая колонка */
.widget {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.widget-title {
    margin: 0 0 15px;
    font-size: 18px;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    text-decoration: none;
    color: #333;
}

.widget a:hover {
    color: #0073aa;
}

.tagcloud a {
    display: inline-block;
    margin: 0 5px 5px 0;
    padding: 3px 10px;
    background: #f0f0f0;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.tagcloud a:hover {
    background: #0073aa;
    color: #fff;
}

/* Подвал */
.site-footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-widget {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.footer-widget h3 {
    color: #fff;
    margin: 0 0 15px;
}

.footer-widget p, .footer-widget a {
    color: #ccc;
}

.footer-widget a:hover {
    color: #fff;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #999;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .primary-content {
        padding-right: 0;
    }
    
    .sidebar {
        width: 100%;
        padding-top: 0;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    .main-navigation {
        margin-top: 15px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-navigation li {
        margin: 0 10px 5px;
    }
}

.city-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.city-links li {
    margin-bottom: 8px;
}
.city-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.city-links a:hover {
    color: #ffcc00;
}























/* Базовые стили */
:root {
  --primary-color: #3573aa;
  --secondary-color: #2c3e50;
  --accent-color: #e67e22;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #7f8c8d;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
}

/* Основные элементы */
main {
  max-width: 1920px;
  margin: 0 auto;
  padding: 7px;
}

section {
  margin-bottom: 40px;
  background: white;
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

section:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

h1, h2, h3, h4 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--primary-color);
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-color);
}

/* Герой секция */
.hero {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
}

.hero h1 {
  color: white;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.call-button {
  display: inline-block;
  padding: 15px 30px !important;
  background: var(--accent-color);
  color: white;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

.call-button:hover {
  background: #d35400;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  color: white;
}

/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Таблица цен */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-left: -10px;
  margin-right: -10px;
}
.price-table th, .price-table td {
  padding: 7px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.price-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.price-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.price-table tr:hover {
  background-color: #f1f1f1;
}

/* Секции с контентом */
.seo-content {
  position: relative;
}

.seo-content h2 {
  text-align: center;
  margin-bottom: 30px;
}

.benefits-list ul {
  columns: 2;
  column-gap: 40px;
  margin: 20px 0;
}

.benefits-list li {
  margin-bottom: 15px;
  list-style-type: none;
  position: relative;
  padding-left: 30px;
  break-inside: avoid;
}

.benefits-list li:before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

ol, ul {
  padding-left: 20px;
  margin: 20px 0;
}

li {
  margin-bottom: 10px;
}

/* FAQ секция */
.section-fao {
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.section-fao h2 {
  font-size: 1.3rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 10px 0;
  margin: 0;
}

.section-fao h2:after {
  display: none;
}

.section-fao div[itemprop="acceptedAnswer"] {
  padding: 15px;
  background: #f8f9fa;
  border-radius: var(--border-radius);
  margin-top: 10px;
}

/* Контакты */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contacts p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contacts a {
  color: var(--primary-color);
}

/* Отзывы */
.review-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: var(--border-radius);
}

.review-item {
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
}

.review-item strong {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.rating {
  color: var(--accent-color);
  font-weight: bold;
  margin: 10px 0;
}

.aggregate-rating {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
  .benefits-list ul {
    columns: 1;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 40px 20px;
  }
}

/* Анимации */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

section {
  animation: fadeIn 0.6s ease-out;
}