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

body {
  font-family: "Rajdhani", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fcf7f8;
  color: #333;
}
.filter-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 0 2rem;
  font-family: "Rajdhani", sans-serif;
}

.filter-bar select {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: 1px solid #a31621;

  border-radius: 6px;
  background-color: white;
  color: #333;
}

.page-container {
  position: relative;
  min-height: 100vh;
}

.content-wrapper {
  transition: margin-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}
/* Hide navbar on small screens */
@media (max-width: 768px) {
  #navbar-container {
    display: none;
  }

  .sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100vh;
    background-color: #1a1a1a;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    padding: 1rem;
  }
  .sidebar a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #fff;
  }

  .sidebar.active {
    left: 0;
  }

  .sidebar a,
  .sidebar button {
    display: block;
    color: #fff;
    padding: 10px 0;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
    font-size: 1rem;
    cursor: pointer;
  }

  .toggle-btn {
    display: block;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    z-index: 1000;
  }
}

/* Show navbar normally on desktop */
@media (min-width: 769px) {
  .sidebar {
    display: none;
  }

  .toggle-btn {
    display: none;
  }
}

/* Sidebar Styles */
.sidebar {
  width: 250px;
  height: 100vh;
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: #fff;
  position: fixed;
  left: -250px;
  top: 0;
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  padding-top: 70px;
  z-index: 900;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  border-left: 4px solid transparent;
  margin-bottom: 5px;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #fff;
}

.toggle-btn {
  position: fixed;
  left: 15px;
  top: 15px;
  background: #a31621;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toggle-btn:hover {
  background: #bf1b2c;
  transform: translateY(-2px);
}

/* Navigation Styles */
nav {
  display: flex;
  justify-content:space-evenly ;
  padding: 1% 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, #a31621, #570000);
  position: sticky;
  top: 0;
  z-index: 800;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-family: "Poppins", sans-serif; /* Modern font */
}


.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  position: relative;
  transition: all 0.3s ;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
}

.nav-links a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #00000000; /* Gold accent */
  transition: width 0.3s ease, background 0.3s ease;
  transform-origin: left;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::before {
  width: 100%;
  background: linear-gradient(90deg, #000000, #000000); /* Gradient accent */
}

.nav-links a.active {
  color: #ffd700;
}

.nav-links a.active::before {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffa500);
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-buttons .login,
.nav-buttons .sign-up {
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px; /* Pill-shaped buttons */
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.nav-buttons .login {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.nav-buttons .login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.nav-buttons .login:hover {
  border-color: #ffffff;
  transform: translateY(-3px);
}

.nav-buttons .login:hover::before {
  left: 0;
}

.nav-buttons .sign-up {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #8b1218;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.nav-buttons .sign-up:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 165, 0, 0.4);
  background: linear-gradient(135deg, #ffa500, #ffd700);
}

/* Adding responsive hamburger menu for mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
   
    background: linear-gradient(135deg, #8b1218, #570000);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: all 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* Hero Section */

.hero-with-bg {
  background-image: url("Images/tech2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
  animation: fadeInHero 1s ease-in-out;
}

.hero-with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* تعتيم محسن */
  z-index: 1;
}

.hero-with-bg h1 {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  position: relative;
  z-index: 2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.5rem;
  animation: slideDown 1s ease forwards;
}

.hero-with-bg .subtitle {
  font-size: 1.6rem;
  color: #fff;
  max-width: 800px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  margin-bottom: 2rem;
  animation: fadeInText 1.2s ease forwards;
}

.hero-with-bg .btn {
  padding: 0.8rem 2rem;
  background-color: #ff5e57;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  z-index: 2;
  position: relative;
}

.hero-with-bg .btn:hover {
  background-color: #e94e49;
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeInHero {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-buttons button {
  padding: 0.9rem 1.8rem;
  margin: 0 0.7rem;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: #a31621;
  color: white;
  box-shadow: 0 4px 10px rgba(163, 22, 33, 0.3);
}

.hero-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(163, 22, 33, 0.4);
}

/* Author Section */
.author {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 20px 0;
}

/* Footer Styles */
footer {
  background: #8b1218;
  padding: 5rem 2rem;
  margin-top: 5rem;
  transition: margin-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  color: rgba(255, 255, 255, 0.8);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #fcf7f8;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.9rem;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: white;
  transform: translateX(5px);
}

/* Products Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.page-title {
  text-align: center;
  color: #8b1218;
  margin-bottom: 50px;
  font-size: 2.8rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 15px;
}

.page-title:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #a31621, #8b1218);
  border-radius: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

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

.card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shadow {
  box-shadow: 0 4px 8px rgba(124, 1, 1, 0.1);
}

.card:hover {
  box-shadow: 0 8px 16px rgba(161, 9, 9, 0.2);
}

/* Product Image Container */
.product-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  transition: transform 0.70s ease;
}

.card:hover .product-image {
  transform: scale(1.05);
}

.card-content {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 18px;
  color: #333;
}

.specs {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.price {
  font-weight: bold;
  font-size: 18px;
  color: #7287a3;
  margin-bottom: 16px;
}

.order-btn {
  background-color: #1a73e8;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: auto;
}

.order-btn:hover {
  background-color: #155db1;
}

/* Product Detail Page Styles */
.product-detail-container {
  padding: 20px;
  max-width: 1700px;
  margin: 0 auto;
}

.product-detail-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-detail-card {
    flex-direction: row;
  }
}

.product-detail-image-container {
  flex: 1;
  max-height: 500px;
  overflow: hidden;
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-detail-content {
  flex: 1;
  padding: 30px;
}

.product-detail-title {
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
}

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

.specs-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #555;
  font-size: 15px;
  columns: 2;
}

.specs-list li {
  margin-bottom: 8px;
}

.product-detail-description {
  font-size: 16px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.product-detail-price {
  font-size: 24px;
  font-weight: bold;
  color: #1a73e8;
  margin-bottom: 25px;
}

.product-action-buttons {
  display: flex;
  gap: 15px;
}

.product-detail .order-btn {
  padding: 10px 15px;
  background-color: #007bff;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-btn:hover {
  background-color: #0056b3;
}

h2 {
  font-size: 1.6rem;
  color: #8b1218;
  margin-bottom: 12px;
  font-weight: 700;
}

.specs {
  color: #5a6c7d;
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.price {
  font-size: 2rem;
  color: #a31621;
  font-weight: 800;
  margin-bottom: 25px;
}

.order-btn {
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 10px rgba(163, 22, 33, 0.3);
}

.order-btn:hover {
  background: linear-gradient(135deg, #bf1b2c, #a31621);
  box-shadow: 0 7px 15px rgba(163, 22, 33, 0.4);
  transform: translateY(-3px);
}

/* Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo {
  width: 50px;
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 1001;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.sidebar.active ~ .content-wrapper nav {
  margin-left: 250px;
  width: calc(100% - 250px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .page-title {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  /* For mobile, ensure navbar doesn't get too small when sidebar is open */
  .sidebar.active ~ .content-wrapper nav {
    width: 100%;
    margin-left: 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Contact Page Styles */
.container1 {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.header {
  text-align: center;
  margin-bottom: 60px;
}

.header h1 {
  font-size: 2.8rem;
  color: #8b1218;
  margin-bottom: 20px;
  font-weight: 800;
  position: relative;
  padding-bottom: 15px;
}

.header h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #a31621, #8b1218);
  border-radius: 2px;
}

.header p {
  font-size: 1.1rem;
  color: #5a6c7d;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info:hover {
  transform: translateY(-5px);
}

.contact-info h2 {
  color: #a31621;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f1f1;
  font-weight: 700;
}

.info-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.info-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(163, 22, 33, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #a31621;
  font-size: 22px;
  transition: all 0.3s ease;
}

.info-item:hover .info-icon {
  background-color: #a31621;
  color: white;
  transform: scale(1.1);
}

.info-details h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #8b1218;
  font-weight: 600;
}

.info-details p {
  color: #5a6c7d;
  line-height: 1.5;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 40px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-form:hover {
  transform: translateY(-5px);
}

.contact-form h2 {
  color: #a31621;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f1f1;
  font-weight: 700;
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  color: #8b1218;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #a31621;
  box-shadow: 0 0 0 3px rgba(163, 22, 33, 0.2);
  outline: none;
}

textarea.form-control {
  min-height: 170px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: white;
  border: none;
  padding: 14px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(163, 22, 33, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #bf1b2c, #a31621);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(163, 22, 33, 0.4);
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
  margin-bottom: 60px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-media {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 20px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(163, 22, 33, 0.3);
}

.social-icon:hover {
  transform: translateY(-5px) rotate(10deg);
  background: linear-gradient(135deg, #bf1b2c, #a31621);
  box-shadow: 0 7px 15px rgba(163, 22, 33, 0.4);
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 8px;
  display: none;
}

.form-control.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2);
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 18px;
  border-radius: 8px;
  margin-bottom: 25px;
  display: none;
  border-left: 4px solid #155724;
}

/* Responsive styles for contact page */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .header h1 {
    font-size: 2.2rem;
  }

  .container1 {
    padding: 0 15px;
    margin: 30px auto;
  }
}

.about-us-container {
  width: 80%;
  margin: 60px auto;
  background: rgb(255, 255, 255);
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-us-container:hover {
  transform: translateY(-5px);
}

h1 {
  color: #8b1218;
  margin-bottom: 20px;
  font-weight: 800;
}

p {
  color: #000000;
  line-height: 1.8;
  margin-bottom: 20px;
}

.team {
  display:flex;
  justify-content: space-evenly;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.team-member {
  background: white;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  width: 30%;
  transition: all 0.3s ease;
  border: 3px solid #8b1218
}

.team-member:hover {
  transform: translateY(-50px);
  box-shadow: 0 25px 30px #8b1218
}

.team-member img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}
/* Basic styling for the product container */
/* Product Details Page Styles */
.product-detail-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.product-detail-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .product-detail-card {
    flex-direction: row;
  }
}

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

.product-detail-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 768px) {
  .product-detail-image {
    width: 50%;
    height: 500px;
  }
}

.product-detail-content {
  padding: 30px;
  flex: 1;
}

.product-detail-title {
  font-size: 2.5rem;
  color: #8b1218;
  margin-bottom: 20px;
  font-weight: 800;
}

.product-detail-description {
  color: #5a6c7d;
  line-height: 1.8;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.product-detail-price {
  font-size: 2.2rem;
  color: #a31621;
  font-weight: 800;
  margin-bottom: 30px;
}

.product-detail-btn {
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(163, 22, 33, 0.3);
  width: 100%;
  max-width: 300px;
}

.product-detail-btn:hover {
  background: linear-gradient(135deg, #bf1b2c, #a31621);
  box-shadow: 0 7px 15px rgba(163, 22, 33, 0.4);
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .product-detail-title {
    font-size: 2rem;
  }

  .product-detail-price {
    font-size: 1.8rem;
  }
}
/* Shopping Cart Styles */
.cart-icon-container {
  position: relative;
  margin-left: 20px;
  cursor: pointer;
}

#cartIcon {
  width: 30px;
  height: 30px;
}

#cartCount {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #a31621;
  color: white;
  border-radius: 50%;
  padding: 3px 8px;
  font-size: 12px;
}

.cart-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
  justify-content: flex-end;
  z-index: 1000;
}

.cart-modal-content {
  background-color: white;
  width: 100%;
  max-width: 400px;
  height: 100%;
  padding: 30px;
  overflow-y: scroll;
  position: relative;
}

.close-cart {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.cart-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 15px;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.quantity-controls button {
  background: #f5f5f5;
  border: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}

.quantity-controls span {
  margin: 0 10px;
}

.remove-item,
.remove-order-item,
.remove-cart-item {
  background-color: #a31621;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color 0.2s;
  margin-top: 5px;
  font-weight: 500;
}

.remove-item:hover,
.remove-order-item:hover,
.remove-cart-item:hover {
  background-color: #a31621;
}

.cart-total {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #a31621;
  text-align: right;
}

.cart-total p {
  font-size: 18px;
  font-weight: bold;
}

.full-cart {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #fdfdfd;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.cart-modal-content {
  width: 100%;
  max-width: 600px;
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.cart-title {
  font-size: 24px;
  color: #7c0a02;
  margin-bottom: 1rem;
  text-align: center;
}

.empty-cart {
  text-align: center;
  margin-top: 2rem;
}

.go_home {
  background: #8b1218;
  color: white;
  padding: 5rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.go_home:hover {
  background-color: #5e0700;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #fcf7f8;
  padding: 20px;
}

.auth-card {
  background: white;
  padding: 40px;
  border-radius: 10%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.auth-card h2 {
  color: #8b1218;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.auth-btn {
  background: linear-gradient(135deg, #a31621, #8b1218);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.auth-btn:hover {
  background: linear-gradient(135deg, #bf1b2c, #a31621);
  transform: translateY(-3px);
}

.auth-card p {
  text-align: center;
  margin-top: 20px;
  color: #5a6c7d;
}

.auth-card a {
  color: #a31621;
  text-decoration: none;
  font-weight: 600;
}

.auth-card a:hover {
  text-decoration: underline;
}
.checkout-btn {
  background: #8b1218;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.go_home {
  background: #8b1218;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
:root {
  --bg-color: #f5f7fa;
  --card-bg: #ffffff;
  --text-color: #333333;
  --input-bg: #f0f2f5;
  --border-color: #e1e4e8;
  --primary-color: #4a6cf7;
  --switch-bg: #d1d5db;
  --switch-active: #a31621;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

body.dark-mode {
  --bg-color: #1a1c23;
  --card-bg: #252836;
  --text-color: #e4e6eb;
  --input-bg: #2d303e;
  --border-color: #3a3f51;
  --primary-color: #6c8aff;
  --switch-bg: #4b5563;
  --switch-active: #6c8aff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.settings-container {
  max-width: 800px;
  margin: 0 auto;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--switch-bg);
  border-radius: 24px;
  transition: 0.3s;
}

.theme-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: rgb(246, 246, 246);
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .theme-slider {
  background-color: var(--switch-active);
}

input:checked + .theme-slider:before {
  transform: translateX(26px);
}

.settings-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.settings-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.settings-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: var(--input-bg);
  color: var(--text-color);
  font-size: 1rem;
}

.switch-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.switch-title {
  font-weight: 500;
}

.switch-description {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.settings-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.settings-btn:hover {
  opacity: 0.9;
}

.settings-save {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.icon-muted {
  margin-right: 0.5rem;
  opacity: 0.8;
}
