/* Arvin Collection Styles */

:root {
  --primary: #722F37;
  --secondary: #D4AF37;
  --accent: #046307;
  --background: #FDF5E6;
  --text: #2C2C2C;
  --white: #FFFFFF;
}

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

body {
  font-family: 'Vazirmatn', sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text);
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero,
.about-hero,
.products-hero,
.order-hero,
.training-hero,
.gallery-hero,
.blog-hero,
.contact-hero,
.golden-card-hero {
  background: linear-gradient(135deg, #722F37 0%, #4a1f25 50%, #722F37 100%);
  background-size: cover;
  background-position: center;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero::before,
.about-hero::before,
.products-hero::before,
.order-hero::before,
.training-hero::before,
.gallery-hero::before,
.blog-hero::before,
.contact-hero::before,
.golden-card-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content,
.about-hero .container,
.products-hero .container,
.order-hero .container,
.training-hero .container,
.gallery-hero .container,
.blog-hero .container,
.contact-hero .container,
.golden-card-hero .container {
  position: relative;
  z-index: 1;
}

.hero h1,
.about-hero h1,
.products-hero h1,
.order-hero h1,
.training-hero h1,
.gallery-hero h1,
.blog-hero h1,
.contact-hero h1,
.golden-card-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s;
  text-align: center;
}

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

.btn.primary:hover {
  background-color: #5a242c;
}

.btn.secondary {
  background-color: var(--secondary);
  color: var(--text);
}

.btn.secondary:hover {
  background-color: #b8942a;
}

.btn.accent {
  background-color: var(--accent);
  color: var(--white);
}

.btn.accent:hover {
  background-color: #034505;
}

/* Sections */
section {
  padding: 4rem 0;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
  font-size: 2rem;
}

/* Introduction */
.introduction {
  background-color: var(--white);
}

.introduction .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.introduction img {
  max-width: 300px;
  border-radius: 10px;
}

/* Goals */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.goal {
  text-align: center;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.product-card h3 {
  padding: 1rem;
  color: var(--primary);
  margin: 0;
  font-size: 1.2rem;
}

.product-card p {
  padding: 0 1rem;
  flex-grow: 1;
  color: var(--text);
  line-height: 1.6;
}

.product-card .btn {
  margin: 1rem;
}

.product-card .price {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary);
  margin: 0.5rem 1rem;
  padding: 0.5rem 1rem;
  background: var(--background);
  border-radius: 5px;
  text-align: center;
}

/* Categories */
.category-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.category-link {
  padding: 0.5rem 1rem;
  background-color: var(--white);
  text-decoration: none;
  color: var(--text);
  border-radius: 5px;
  transition: background-color 0.3s;
}

.category-link.active,
.category-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

.filters {
  text-align: center;
  margin-bottom: 2rem;
}

.filters select {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.masonry-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s;
}

.masonry-grid img:hover {
  transform: scale(1.05);
}

/* Training Levels */
.levels {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.level {
  background-color: var(--white);
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Courses */
.courses .container>div {
  background-color: var(--white);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.course h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.course ul {
  margin: 1rem 0;
  padding-right: 1rem;
}

.course p {
  margin: 0.5rem 0;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.stars {
  color: var(--secondary);
}

/* Order Form */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Vazirmatn', sans-serif;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Process Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 150px;
  background-color: var(--white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.step h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Gallery Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-link {
  background: none;
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1rem;
  transition: border-bottom 0.3s;
}

.tab-link.active {
  border-bottom: 2px solid var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.blog-post h2 {
  padding: 1rem;
  color: var(--primary);
  font-size: 1.3rem;
  margin: 0;
  text-align: right;
}

.blog-post p {
  padding: 0 1rem;
  flex-grow: 1;
  line-height: 1.8;
  color: var(--text);
}

.blog-post .btn {
  margin: 1rem;
}

/* Newsletter */
.newsletter {
  background-color: var(--white);
  text-align: center;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.newsletter input {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  flex: 1;
  min-width: 200px;
}

/* Contact */
.contact-info {
  background-color: var(--white);
}

.info-card,
.hours {
  margin: 2rem 0;
  text-align: center;
}

.info-card h2,
.hours h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: bold;
}

/* Golden Card */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit {
  text-align: center;
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefit .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.how-to-join {
  background-color: var(--white);
  text-align: center;
}

.how-to-join ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.how-to-join li {
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background-color: var(--text);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #555;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  z-index: 1000;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    /* For mobile menu, but simplified */
  }

  .hero h1,
  .about-hero h1,
  .products-hero h1,
  .order-hero h1,
  .training-hero h1,
  .gallery-hero h1,
  .blog-hero h1,
  .contact-hero h1,
  .golden-card-hero h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .introduction .container {
    flex-direction: column;
    text-align: center;
  }

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

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

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

  .form-actions {
    flex-direction: column;
    align-items: center;
  }

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