/* Forsa.tn E-commerce Website Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333333;
  line-height: 1.6;
  direction: rtl;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.logo img {
  max-height: 60px;
}

/* Hero Banner */
.hero-banner {
  background-color: #e74c3c;
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Product Section */
.product-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.product-container {
  display: flex;
  flex-direction: column;
}

.product-images {
  margin-bottom: 20px;
}

.product-main-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.product-thumbnail:hover, .product-thumbnail.active {
  border-color: #e74c3c;
}

.product-info {
  padding: 20px 0;
}

.product-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #333;
}

.product-description {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.product-price {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.original-price {
  font-size: 1.2rem;
  text-decoration: line-through;
  color: #888;
  margin-left: 15px;
}

.discount-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: #e74c3c;
}

.discount-badge {
  background-color: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-right: 15px;
}

.cta-button {
  display: inline-block;
  background-color: #e74c3c;
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  text-align: center;
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

/* Order Form Section */
.order-form-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 30px;
  margin-bottom: 30px;
}

.order-form-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #333;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: #3498db;
  outline: none;
}

.payment-options {
  margin: 20px 0;
}

.payment-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.payment-option input {
  margin-left: 10px;
}

.submit-button {
  background-color: #f39c12;
  width: 100%;
  padding: 15px;
  font-size: 1.2rem;
}

.submit-button:hover {
  background-color: #e67e22;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-content {
  font-size: 0.9rem;
}

/* Responsive Design */
@media (min-width: 768px) {
  .product-container {
    flex-direction: row;
    gap: 30px;
  }
  
  .product-images {
    flex: 1;
  }
  
  .product-info {
    flex: 1;
    padding: 0;
  }
  
  .hero-banner h1 {
    font-size: 3rem;
  }
}

/* Thank You Message */
.thank-you-message {
  text-align: center;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: none;
}

.thank-you-message h2 {
  color: #e74c3c;
  margin-bottom: 15px;
  font-size: 2rem;
}

.thank-you-message p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.thank-you-message.show {
  display: block;
}

/* Animation for CTA button */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}
