/* Base Styles */
:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --text-color: #333;
  --text-light: #7f8c8d;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #f9f9f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn--primary {
  background-color: var(--primary-color);
  color: white;
}

.btn--primary:hover {
  background-color: darken(var(--primary-color), 10%);
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn--secondary:hover {
  background-color: darken(var(--secondary-color), 10%);
  transform: translateY(-2px);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo__img {
  height: 50px;
  transition: var(--transition);
}

.logo__img:hover {
  transform: scale(1.05);
}

.nav__list {
  display: flex;
  list-style: none;
}

.nav__item {
  margin-left: 30px;
  position: relative;
}

.nav__link {
  font-weight: 500;
  padding: 5px 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link.active {
  color: var(--secondary-color);
}

.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
  font-weight: bold;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger__line {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/hero-bg.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.hero__subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  animation: fadeInUp 1s ease 0.6s both;
}

/* Featured Products */
.featured-products {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card__image {
  height: 250px;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__content {
  padding: 20px;
}

.product-card__badge {
  display: inline-block;
  padding: 3px 10px;
  background-color: var(--accent-color);
  color: white;
  font-size: 0.8rem;
  border-radius: 20px;
  margin-bottom: 10px;
}

.product-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.product-card__price {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-card__buttons {
  display: flex;
  gap: 10px;
}

/* Reviews Section */
.reviews {
  padding: 80px 0;
  background-color: #f5f7fa;
}

.reviews-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}

.review-card {
  min-width: 100%;
  padding: 30px;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.review-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid var(--secondary-color);
}

.review-card__rating {
  color: var(--warning-color);
  margin-bottom: 15px;
}

.review-card__text {
  font-style: italic;
  margin-bottom: 20px;
}

.review-card__name {
  font-weight: 700;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  z-index: 10;
}

.slider-btn:hover {
  background-color: white;
}

.slider-btn--prev {
  left: 20px;
}

.slider-btn--next {
  right: 20px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--secondary-color);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 20px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__title {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  transition: var(--transition);
}

.footer__list a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer__list i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px;
  border-radius: var(--border-radius);
  border: none;
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom i {
  color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero__title {
      font-size: 3rem;
  }
  
  .hero__subtitle {
      font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .nav {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 80%;
      height: calc(100vh - 80px);
      background-color: white;
      flex-direction: column;
      padding: 30px;
      transition: var(--transition);
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .nav.active {
      left: 0;
  }
  
  .nav__list {
      flex-direction: column;
  }
  
  .nav__item {
      margin: 15px 0;
  }
  
  .hamburger {
      display: block;
  }
  
  .hamburger.active .hamburger__line:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active .hamburger__line:nth-child(2) {
      opacity: 0;
  }
  
  .hamburger.active .hamburger__line:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .hero__buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .hero__title {
      font-size: 2.5rem;
  }
  
  .hero__subtitle {
      font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .section-title {
      font-size: 1.8rem;
  }
  
  .product-card__buttons {
      flex-direction: column;
  }
  
  .whatsapp-float {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      bottom: 20px;
      right: 20px;
  }
}
/* Page Hero Styles */
.page-hero {
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('assets/images/page-hero-bg.jpg') no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}

.page-hero__title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease;
}

.page-hero__subtitle {
  font-size: 1.2rem;
  animation: fadeInUp 1s ease 0.3s both;
}

/* About Page Styles */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-subtitle {
  margin: 25px 0 15px;
  font-size: 1.3rem;
  color: var(--primary-color);
}

/* FAQ Styles */
.faq-section {
  padding: 60px 0;
  background-color: #f5f7fa;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
}

.faq-question i {
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding-bottom: 20px;
  margin: 0;
}

/* Policy Page Styles */
.policy-section {
  padding: 60px 0;
}

.policy-item {
  background-color: white;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.policy-title {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  margin: 0;
}

.policy-content {
  padding: 20px;
}

.policy-content h3 {
  color: var(--primary-color);
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

.policy-content p, 
.policy-content ul {
  margin-bottom: 15px;
}

.policy-content ul {
  padding-left: 20px;
}

/* Cart Page Styles */
.cart-section {
  padding: 60px 0;
}

.cart-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.cart-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 0.5fr;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

.cart-items-container {
  min-height: 200px;
}

.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 0.5fr;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

.cart-item__image {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info {
  display: flex;
  align-items: center;
}

.cart-item__name {
  font-weight: 500;
  margin-bottom: 5px;
}

.cart-item__options {
  font-size: 0.9rem;
  color: var(--text-light);
}

.cart-item__price, 
.cart-item__subtotal {
  font-weight: 500;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.quantity-input {
  width: 40px;
  height: 30px;
  text-align: center;
  border: 1px solid #ddd;
  margin: 0 5px;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--danger-color);
  cursor: pointer;
  font-size: 1.1rem;
}

.empty-cart {
  text-align: center;
  padding: 50px 0;
  display: none;
}

.empty-cart i {
  font-size: 3rem;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-cart h3 {
  margin-bottom: 10px;
}

.empty-cart p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.cart-summary {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  align-self: flex-start;
  position: sticky;
  top: 100px;
}

.summary-title {
  margin-top: 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.total-row {
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: none;
}

.discount-row {
  padding: 20px 0;
}

.discount-input {
  display: flex;
  width: 100%;
}

.discount-input input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.discount-input button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.cart-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.payment-methods {
  margin-top: 20px;
  text-align: center;
}

.payment-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 1.5rem;
  color: var(--text-light);
  margin-top: 10px;
}

/* Product Detail Styles */
.product-detail {
  padding: 60px 0;
}

.product-detail__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.product-images {
  display: flex;
  flex-direction: column;
}

.main-product-image-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 15px;
}

.main-product-image {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnails {
  display: flex;
  gap: 10px;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumbnail.active {
  border-color: var(--secondary-color);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-rating {
  margin: 15px 0;
  color: var(--warning-color);
}

.rating-count {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-left: 5px;
}

.product-options {
  margin: 30px 0;
}

.option-group {
  margin-bottom: 20px;
}

.option-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.option-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: white;
}

.quantity-selector {
  display: flex;
  align-items: center;
}

.product-actions {
  display: flex;
  gap: 15px;
  margin: 30px 0;
}

.product-meta {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.meta-item i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.product-tabs {
  margin: 60px 0;
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  border-bottom-color: var(--secondary-color);
  color: var(--secondary-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.details-list {
  list-style: none;
  margin: 20px 0;
}

.details-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.details-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--success-color);
}

.review {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.review-author {
  font-weight: 500;
}

.review-date {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.review-form {
  margin-top: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
}

.form-group textarea {
  min-height: 100px;
}

.related-products {
  margin-top: 60px;
}

/* Responsive Styles for New Pages */
@media (max-width: 992px) {
  .about-grid {
      grid-template-columns: 1fr;
  }
  
  .product-detail__grid {
      grid-template-columns: 1fr;
      gap: 30px;
  }
  
  .product-images {
      order: 1;
  }
  
  .product-info {
      order: 2;
  }
  
  .cart-content {
      grid-template-columns: 1fr;
  }
  
  .cart-summary {
      position: static;
  }
}

@media (max-width: 768px) {
  .cart-header {
      display: none;
  }
  
  .cart-item {
      grid-template-columns: 1fr;
      gap: 15px;
      position: relative;
      padding: 20px 0;
  }
  
  .cart-item__remove {
      position: absolute;
      top: 20px;
      right: 0;
  }
  
  .cart-item__price::before {
      content: 'Price: ';
      font-weight: normal;
  }
  
  .cart-item__quantity::before {
      content: 'Qty: ';
      font-weight: normal;
  }
  
  .cart-item__subtotal::before {
      content: 'Subtotal: ';
      font-weight: normal;
  }
  
  .product-actions {
      flex-direction: column;
  }
}

@media (max-width: 576px) {
  .page-hero__title {
      font-size: 2rem;
  }
  
  .page-hero__subtitle {
      font-size: 1rem;
  }
  
  .tabs-header {
      flex-direction: column;
  }
  
  .tab-btn {
      border-bottom: none;
      border-left: 3px solid transparent;
      text-align: left;
  }
  
  .tab-btn.active {
      border-left-color: var(--secondary-color);
      border-bottom: none;
  }
}