@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #0090CA;
  --primary-dark: #0C679C;
  --text-color: #000;
  --text-light: #5E5F63;
  --bg-light: #F5F5F5;
  --border-color: #E2E2E2;
}

body {
  font-family: 'Lato', Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1680px;
  padding: 0 120px;
  margin: 0 auto;
}

@media (max-width: 1440px) {
  .container {
    padding: 0 80px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  height: 72px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo {
  width: 170px;
  height: auto;
}

.header nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header nav a {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.header nav a:hover,
.header nav a.active {
  background-color: #7BC9E41A;
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 1024px) {
  .header nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header nav.mobile-active {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
}

/* Footer Styles */
.footer {
  background: #0E0F11;
  color: #fff;
  padding: 48px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 48px;
  margin-bottom: 24px;
  border-bottom: 1px solid #262626;
}

.footer-left .logo {
  width: 170px;
  margin-bottom: 24px;
}

.footer nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer nav a {
  color: #D4D5D8;
  font-size: 15px;
  padding: 4px 12px;
}

.footer-right {
  border-left: 1px solid #262626;
  padding-left: 28px;
}

.footer-right h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-right p {
  font-size: 14px;
  opacity: 0.7;
  line-height: 20px;
}

.footer-contacts {
  margin-top: 16px;
  display: flex;
  gap: 40px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-item img {
  width: 16px;
  height: 16px;
}

.footer-contact-item a {
  color: #7BC9E4;
  font-size: 15px;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8A8C94;
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  padding: 12px;
}

.footer-social img {
  width: 18px;
  height: 18px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-social a:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-right {
    border-left: none;
    border-top: 1px solid #262626;
    padding-left: 0;
    padding-top: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .footer nav {
    display: none;
  }
}

/* Main Content */
.main-content {
  padding-top: 72px;
  min-height: calc(100vh - 400px);
}

/* Page Top Banner */
.page-top {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-top h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 768px) {
  .page-top h1 {
    font-size: 32px;
  }
}

/* Products Grid */
.products-section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card-content {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-color);
  transition: color 0.3s;
}

.product-card:hover .product-card-title {
  color: var(--primary-color);
}

.product-card-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #5E5F631A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.product-card-arrow img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.product-card:hover .product-card-arrow {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.product-card:hover .product-card-arrow img {
  transform: rotate(-45deg);
  filter: brightness(0) invert(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

/* Product Detail Page */
.product-detail {
  padding: 60px 0 120px;
}

.product-detail-header {
  margin-bottom: 48px;
}

.product-detail-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail-description {
  font-size: 18px;
  color: var(--text-light);
}

.product-detail-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 48px;
}

.product-detail-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-light);
}

.product-detail-content p {
  margin-bottom: 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: var(--primary-color);
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}
