:root {
    --primary-blue: #2193b0;
    --secondary-blue: #6dd5ed;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --background: #ffffff;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: #0055b7;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    background: #ffffff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    color: #ffe200;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}
  /* Footer Styles */
  .main-footer {
      background: #043da8;
      color: #ffffff;
      padding: 4rem 0 0;
  }

  .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 3rem;
      padding: 0 2rem;
      max-width: 1200px;
      margin: 0 auto;
  }

  .footer-section {
      margin-bottom: 2rem;
  }

  .footer-section h3 {
      color: #ffffff;
      font-size: 1.4rem;
      margin-bottom: 1.5rem;
      position: relative;
  }

  .footer-section h3::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 40px;
      height: 2px;
      background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
  }
  .footer-section p {
      color: #ffffff;
      line-height: 1.8;
  }

  .social-links {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .social-link {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #fff;
      text-decoration: none;
      padding: 0.8rem 1.2rem;
      border-radius: 8px;
      transition: transform 0.3s ease;
      background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  }

  .social-link:hover {
      transform: translateX(-5px);
  }

  .footer-bottom {
      margin-top: 4rem;
      padding: 2rem 0;
      background: #0556b3;
      text-align: center;
  }

  .copyright {
      color: #f4f807;
  }

  .footer-nav a {
      color: #236fe2;
      text-decoration: none;
      margin: 0 1rem;
      transition: color 0.3s ease;
  }

  .footer-nav a:hover {
      color: var(--secondary-blue);
  }
/* گرید محصولات */
.products-page {
    padding: 4rem 0;
    background: var(--background);
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    border-radius: 3px;
}

.filters {
    display: flex;
    gap: 1rem;
}

.sort-select {
    padding: 0.8rem 1.5rem;
    border: 2px solid #eee;
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-select:hover {
    border-color: var(--primary-blue);
}
  .product-grid, .products-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
  }

  .product-card {
      background: #0556b3;
      border-radius: 12px;
      overflow: hidden;
      height: 100%;
      box-shadow: var(--card-shadow);
      transition: transform 0.3s ease;
  }

  .product-image {
      height: 250px;
      width: 100%;
  }

  .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .product-info {
      padding: 1.5rem;
      background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
      color: white;
  }

  @media (max-width: 992px) {
      .product-grid, .products-grid {
          grid-template-columns: repeat(2, 1fr);
      }
  }

  @media (max-width: 768px) {
      .product-grid, .products-grid {
          grid-template-columns: 1fr;
      }
  }

.product-info h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 1.1rem;
    font-weight: bold;
}

.btn-view {
    display: inline-block;
    width: 100%;
    padding: 0.8rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: rgba(255, 255, 255, 0.3);
}

section h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2rem;
    margin: 2rem 0;
    position: relative;
    padding-bottom: 1rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    border-radius: 3px;
}/* فوتر */
.main-footer {
    background: #0055b7;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Contact Page Styles */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 3rem;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item strong {
    min-width: 100px;
    font-size: 1.1rem;
}

.info-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 147, 176, 0.3);
}

@media (max-width: 768px) {
    .contact-page {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
  .product-detail {
      max-width: 1200px;
      margin: 4rem auto;
      padding: 2rem;
  }
  .product-info1 {
    background: #004585;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: white;
}
  .product-info {
      background: #6eb1ff;
      border-radius-bottom: 15px;
      padding: 2rem;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .product-header {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 2rem;
      margin-bottom: 2rem;
  }

  .main-image {
      border-radius: 10px;
      overflow: hidden;
      max-width: 300px;
      float: left;
      margin: 0 2rem 1rem 0;
  }

  .main-image img {
      width: 100%;
      height: auto;
      object-fit: cover;
  }

  .product-title {
      font-size: 2rem;
      color: var(--primary-blue);
      margin-bottom: 1rem;
  }

  .product-price {
      font-size: 1.8rem;
      color: #ffffff;
      margin-bottom: 2rem;
  }

  .product-description {
      font-size: 1.1rem;
      line-height: 1.8;
      color: #ffffff;
      clear: both;
  }
