* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cherry-red:#651312;
  --light-cherry: #FF6B8A;
  --dark-cherry: #B91C3C;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --gray: #6B7280;
  --dark-gray: #374151;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(220, 20, 60, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideInDown 0.8s ease forwards;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInLeft 0.8s ease 0.2s forwards;
  opacity: 0;
}

.logo img {
  width: 35%;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cherry-red);
}

.nav-desktop {
  display: flex;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.nav-desktop a:nth-child(1) { animation-delay: 0.3s; }
.nav-desktop a:nth-child(2) { animation-delay: 0.4s; }
.nav-desktop a:nth-child(3) { animation-delay: 0.5s; }
.nav-desktop a:nth-child(4) { animation-delay: 0.6s; }

.nav-desktop a:hover {
  color: var(--cherry-red);
}

.cart-icon {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeInRight 0.8s ease 0.7s forwards;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-icon i {
  font-size: 1.5rem;
  color: var(--cherry-red);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--cherry-red);
  color: var(--white);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--cherry-red);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  background: var(--cherry-red);
  position: relative;
  min-height: 300px;
  height: auto;
  overflow: hidden;
}

.hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(220, 20, 60, 0.7), rgba(255, 107, 138, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--white);
  max-width: 600px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.7s forwards;
}

/* Video Section */
.video-section {
  position: relative;
  min-height: 300px;
  height: auto;
  overflow: hidden;
}
.video-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-container video {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(220, 20, 60, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-content {
  text-align: center;
  color: var(--white);
  max-width: 600px;
  padding: 2rem;
}

.video-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.video-content p {
  font-size: 1.1rem;
}

/* Product Gallery */
.product-gallery {
  padding: 5rem 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--cherry-red);
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(220, 20, 60, 0.9));
  color: var(--white);
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 1.1rem;
  font-weight: bold;
}

/* Products Section */
.products-section {
  padding: 5rem 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.product-card {
  background: var(--white);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(220, 20, 60, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease forwards;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 20, 60, 0.2);
}

.product-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--cherry-red);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  animation: pulse 2s infinite;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.stars i {
  color: #ddd;
  font-size: 1rem;
}

.stars i.filled {
  color: #fbbf24;
}

.product-rating span {
  color: var(--gray);
  font-size: 0.9rem;
}

.product-description {
  color: var(--gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pricing {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.current-price {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cherry-red);
}

.original-price {
  font-size: 1.2rem;
  color: var(--gray);
  text-decoration: line-through;
}

.quantity-selector {
  margin-bottom: 1.5rem;
}

.quantity-selector label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.quantity-selector select {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.quantity-selector select:focus {
  outline: none;
  border-color: var(--cherry-red);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--dark-gray);
}

.quantity-input-group {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    width: fit-content;
}

.quantity-input {
    border: none;
    padding: 0.5rem;
    width: 60px;
    text-align: center;
    font-size: 1rem;
    background: var(--white);
}

.quantity-input:focus {
    outline: none;
}

.quantity-btn {
    background: var(--light-gray);
    border: none;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    font-weight: bold;
}

.quantity-btn:hover {
    background: var(--cherry-red);
    color: var(--white);
}

.stock-info {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
}

.btn-outline {
    background: transparent;
    color: var(--cherry-red);
    border: 2px solid var(--cherry-red);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--cherry-red);
    color: var(--white);
}

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cherry-red), var(--light-cherry));
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-cherry), var(--cherry-red));
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.3);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  width: 100%;
}

.add-to-cart {
  width: 100%;
}

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 2000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: var(--cherry-red);
  color: var(--white);
}

.cart-header h3 {
  font-size: 1.2rem;
  font-weight: bold;
}

.close-cart {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.close-cart:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  animation: fadeInUp 0.3s ease;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.cart-item-price {
  color: var(--cherry-red);
  font-weight: bold;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.quantity-btn {
  background: var(--light-gray);
  border: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.quantity-btn:hover {
  background: var(--cherry-red);
  color: var(--white);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  background: var(--light-gray);
}

.cart-total {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--cherry-red);
}

.checkout-btn {
  width: 100%;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--white);
  margin: 2% auto;
  padding: 0;
  border-radius: 1rem;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: scaleIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid #e5e7eb;
  background: var(--cherry-red);
  color: var(--white);
  border-radius: 1rem 1rem 0 0;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.close {
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 2rem;
}

/* Product Modal */
.product-modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-modal-image img {
  width: 100%;
  border-radius: 1rem;
}

.product-modal-info h3 {
  font-size: 1.8rem;
  color: var(--cherry-red);
  margin-bottom: 1rem;
}

.product-modal-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-modal-description {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-modal-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--cherry-red);
  margin-bottom: 1.5rem;
}

/* Form Styles */
.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cherry-red);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cherry-red);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}







/* Payment Options */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-option {
  cursor: pointer;
}

.payment-option input[type="radio"] {
  display: none;
}

.payment-card {
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  background: var(--white);
}

.payment-option input[type="radio"]:checked + .payment-card {
  border-color: var(--cherry-red);
  background: rgba(220, 20, 60, 0.05);
}

.payment-card i {
  font-size: 2rem;
  color: var(--cherry-red);
  margin-bottom: 0.5rem;
}

.payment-card span {
  display: block;
  font-weight: 500;
  color: var(--dark-gray);
}

/* Order Summary */
.order-summary {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.order-summary h3 {
  color: var(--cherry-red);
  margin-bottom: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-total {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 2px solid var(--cherry-red);
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--cherry-red);
  text-align: center;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--dark-cherry), var(--cherry-red));
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 20%;
  height:auto;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--white);
  color: var(--cherry-red);
  transform: translateY(-3px);
}

.footer-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--white);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  color: rgba(255, 255, 255, 0.8);
  width: 20px;
}

.contact-item span {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero-image img,
  .video-container video {
    height: auto;
    max-width: 100%;
    min-height: 200px;
  }
  .nav-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-mobile.active {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .video-content h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .payment-options {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .video-content h2 {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .modal-content {
    width: 95%;
    margin: 5% auto;
  }
}
