:root {
  --primary-color: #8B2635;
  --secondary-color: #A0343E;
  --light-color: #F8F9FA;
  --dark-color: #2C3E50;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
}

.hero-section {
  background-image: url('files/sklad.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(139, 38, 53, 0.7); /* Semi-transparent overlay with primary color */
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.logo-placeholder {
  width: 200px;
  height: 200px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  border: 8px solid rgba(255,255,255,0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.company-name {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.company-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
}

.description-section {
  padding: 80px 0;
  background: var(--light-color);
}

.products-list {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin-top: 30px;
}

.products-list ul {
  list-style: none;
  padding: 0;
}

.products-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.products-list li:last-child {
  border-bottom: none;
}

.products-list li::before {
  content: '●';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 1.2em;
}

.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  min-width: 40px;
}

.social-section {
  padding: 80px 0;
  background: var(--light-color);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 25px 40px;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  font-weight: 600;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.social-link i {
  margin-right: 10px;
  font-size: 1.3rem;
}

.footer {
  background: var(--dark-color);
  color: white;
  padding: 30px 0;
  text-align: center;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.advantage-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.advantage-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.products-list h4 {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .company-name {
    font-size: 2.5rem;
  }

  .company-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
