/* Import Google Fonts for a cool, modern typography */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* General Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #2e4c45 0%, #acb8a4 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: #e6cc9e;
  letter-spacing: 2px;
}

.logo h1 span {
  color: #d4c2be;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
  color: #e6cc9e;
  transform: translateY(-2px);
}

.cart-icon {
  position: relative;
}

.cart-icon a {
  color: #fff;
  font-size: 1.5rem;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #d4c2be;
  color: #2e4c45;
  border-radius: 50%;
  padding: 5px 8px;
  font-size: 0.9rem;
  font-weight: bold;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
}

.slide.active {
  display: block;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 76, 69, 0.7);
  color: #fff;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background: #e6cc9e;
  color: #2e4c45;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.indicator {
  width: 12px;
  height: 12px;
  background: #acb8a4;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: #e6cc9e;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
}

.hero-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease-in-out;
}

.hero-text p {
  font-size: 1.2rem;
  font-weight: 300;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-in-out;
}

/* Keyframes for Hero Text Animation */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Product Section */
.products {
  padding: 100px 50px;
  background: linear-gradient(180deg, #f9f9f9, #d4c2be);
  max-width: 1400px;
  margin: 0 auto;
}

.products h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #2e4c45;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.products h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: #e6cc9e;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 25px;
  text-align: center;
}

.product-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2e4c45;
  margin-bottom: 12px;
}

.product-info p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 20px;
}

.quantity-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.quantity-select {
  padding: 10px;
  border: 2px solid #acb8a4;
  border-radius: 10px;
  font-size: 1rem;
  color: #2e4c45;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quantity-select:focus {
  outline: none;
  border-color: #e6cc9e;
  box-shadow: 0 0 10px rgba(230, 204, 158, 0.4);
}

.product-info .price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e6cc9e;
}

.add-to-cart {
  background: #2e4c45;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.add-to-cart:hover {
  background: #e6cc9e;
  color: #2e4c45;
  transform: scale(1.05);
}


/* Cart Section */
.cart {
  padding: 80px 0;
  background: linear-gradient(180deg, #acb8a4, #f9f9f9);
}

.cart h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #2e4c45;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.cart h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #e6cc9e;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.cart-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.cart-empty {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.cart-empty i {
  font-size: 3rem;
  color: #d4c2be;
  margin-bottom: 20px;
}

.cart-empty p {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 20px;
}

.btn-cta {
  background: #2e4c45;
  color: #fff;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background: #e6cc9e;
  color: #2e4c45;
  transform: scale(1.05);
}

.cart-content {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

#cart-table {
  width: 100%;
  border-collapse: collapse;
}

#cart-table th, #cart-table td {
  padding: 15px;
  text-align: left;
  font-size: 1rem;
}

#cart-table th {
  background: #2e4c45;
  color: #fff;
  font-weight: 600;
}

#cart-table td {
  border-bottom: 1px solid #eee;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  background: #acb8a4;
  color: #fff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quantity-btn:hover {
  background: #e6cc9e;
  color: #2e4c45;
}

.quantity-input {
  width: 50px;
  text-align: center;
  border: 2px solid #acb8a4;
  border-radius: 5px;
  padding: 5px;
  font-size: 1rem;
}

.remove-btn {
  background: #d4c2be;
  color: #2e4c45;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.remove-btn:hover {
  background: #e6cc9e;
  transform: scale(1.05);
}

.cart-summary {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
}

.cart-summary p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2e4c45;
}

#cart-total {
  color: #e6cc9e;
}

.btn-clear {
  background: #d4c2be;
  color: #2e4c45;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-clear:hover {
  background: #e6cc9e;
  transform: scale(1.05);
}

/* User Details Section */
.user-details {
  padding: 80px 0;
  background: linear-gradient(180deg, #d4c2be, #f9f9f9);
}

.user-details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #2e4c45;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.user-details h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #e6cc9e;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.form-card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #acb8a4;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #e6cc9e;
  box-shadow: 0 0 8px rgba(230, 204, 158, 0.3);
}

.form-group label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #666;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: -10px;
  left: 10px;
  font-size: 0.8rem;
  color: #2e4c45;
  background: #fff;
  padding: 0 5px;
}

.form-group.valid input {
  border-color: #2e4c45;
}

.form-group.invalid input {
  border-color: #d4c2be;
}

.error-message {
  display: none;
  color: #d4c2be;
  font-size: 0.9rem;
  margin-top: 5px;
}

.form-group.invalid .error-message {
  display: block;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
}

.whatsapp-btn:hover {
  background: #e6cc9e;
  color: #2e4c45;
  transform: scale(1.05);
}

.whatsapp-btn i {
  margin-right: 10px;
  font-size: 1.5rem;
}

.whatsapp-btn .loader {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

.whatsapp-btn.loading .loader {
  display: inline-block;
}

.whatsapp-btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer Styles */
footer {
  background: #2e4c45;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.footer-column h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #e6cc9e;
  margin-bottom: 20px;
}

.footer-column p, .footer-column ul li a {
  font-size: 1rem;
  color: #acb8a4;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #e6cc9e;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 2px solid #acb8a4;
  border-radius: 10px;
  font-size: 1rem;
}

.newsletter-form button {
  background: #e6cc9e;
  color: #2e4c45;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #d4c2be;
}

.social-media {
  background: #1a3b34;
  padding: 20px 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: #acb8a4;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #e6cc9e;
  transform: scale(1.2);
}

.copyright {
  background: #2e4c45;
  padding: 20px 0;
  text-align: center;
}

.copyright p {
  font-size: 0.9rem;
  color: #acb8a4;
}