/* Base Styles - Light Theme */
:root {
  --primary: #438C9A; /* Бирюзовый */
  --secondary: #FF9F43; /* Оранжевый */
  --dark: #2D3748; /* Темно-синий */
  --gray: #4A5568; /* Серый */
  --light-gray: #E2E8F0; /* Светло-серый */
  --light-bg: #F8F9FA; /* Светлый фон */
  --white: #FFFFFF;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 20px rgba(0,0,0,0.12);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body{
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 85px;
  width: auto;
}

nav a {
  color: var(--dark);
  margin-left: 25px;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: var(--primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
    background: 
        linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)),
        url("../img/bghero.jpg") center/cover no-repeat;
    min-height: 100vh;
    padding: 120px 0;
}

.hero-container {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.3;
  margin-bottom: 30px;
  text-align: center;
}

.highlight {
  color: var(--primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.benefit-item {
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: #3a7a86;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/*.btn-secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-secondary:hover {
  background: rgba(67, 140, 154, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}*/

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

/* About Section */
.about {
  background: var(--light-bg);
}

.about h2 {
  text-align: center;
  margin-bottom: 50px;
}

.image-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.text-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 5/4;
  transition: transform 0.3s;
}

.text-photo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.text-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.text-photo:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
}

.text-photo:hover .image-overlay {
  opacity: 1;
}

/* Info Section */
.info-section {
  background: var(--white);
}

.info-container {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow);
}

.info-container h2 {
  text-align: center;
  margin-bottom: 30px;
}

.benefits-list {
  list-style: none;
  margin: 30px 0;
}

.benefits-list li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.benefits-list li::before {
  content: "•";
  color: var(--primary);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.projects-count {
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 40px;
}

.projects-count span {
  color: var(--primary);
  font-weight: 700;
}

/* Suppliers Section */
.suppliers-section {
  background: var(--light-bg);
}

.suppliers-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.suppliers-header h2 {
  margin-bottom: 15px;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.supplier-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--light-gray);
  min-width: 250px;
  height: 100%;
  aspect-ratio: 1/0.9;
}

.supplier-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.supplier-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 0 auto 20px;
}

.supplier-name {
  font-weight: 700;
  margin-bottom: 10px;
  min-height: 40px;
  color: var(--dark);
}

.supplier-desc {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Clients Section */
.clients-section {
  background: var(--white);
}

.clients-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.clients-grid img {
  height: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s;
}

.clients-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.clients-description{
  text-align: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 40px;
}

/* Projects Section */
.projects-section {
  background: var(--light-bg);
}

.projects-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--light-gray);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-image-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  color: var(--white);
  background: var(--primary);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.project-link:hover {
  background: #3a7a86;
  transform: translateY(-2px);
}

.project-info {
  padding: 25px;
  text-align: center;
}

.project-info h3 {
  margin-bottom: 10px;
}

.project-info p {
  color: var(--gray);
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  border-radius: 12px;
  background: var(--light-bg);
  transition: all 0.3s;
  color: var(--dark);
  font-weight: 500;
}

.contact-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-link.whatsapp {
  background: #25D366;
  color: white;
}

.contact-link.instagram {
  background: linear-gradient(45deg, #405DE6, #E1306C);
  color: white;
}

.contact-link.phone {
  background: var(--primary);
  color: white;
}

.contact-form {
  background: var(--light-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: var(--white);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon.whatsapp {
  background: #25D366;
}

.social-icon.instagram {
  background: linear-gradient(45deg, #405DE6, #E1306C);
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  section {
    padding: 60px 0;
  }
  
  /* Для всех интерактивных элементов */
.image-container, .supplier-card, .project-card {
  cursor: pointer;
}

@media (hover: none) {
  .text-photo:active .image-overlay,
  .supplier-card:active,
  .project-card:active {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }

  .image-overlay {
    opacity: 1 !important;
  }
}

  .hero h1 {
    font-size: 2.0rem;
    text-align: center;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
  
  .nav {
    flex-direction: column;
    gap: 20px;
  }
  
  nav a {
    margin: 0 0 10px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
	text-align:center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  section {
    padding: 40px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
	text-align:center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .image-container {
    grid-template-columns: 1fr;
  }
  
  .suppliers-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}