/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: #FDFBF8;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #C1B591; /* Soft & Supple */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
}

/* Navbar thinner */
/* Navbar aligned to the right */
.navbar {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    align-items: center;
    padding: 0.5rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar nav {
    display: flex;
    align-items: center;
}

.navbar nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: black;
    font-weight: bold;
    font-size: 1rem;
}

.cart-icon {
    margin-left: 2rem; /* Add some space between the navbar links and the cart icon */
}

  
  /* Banner image */
  .hero-banner {
    background: #f8f8f8; /* soft silky background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 6%;
    min-height: 90vh;
    gap: 2rem;
}

.hero-text {
    max-width: 50%;
}

.hero-text h1 {
    font-size: 3rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* soft card shadow */
    object-fit: cover;
}

  
  .btn {
    background-color: #C1B591;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
  }
  
  .btn:hover {
    background-color: #a99d76;
  }
  
  .hero-image {
    flex: 1;
    text-align: center;
  }
  

  
  @media (max-width: 768px) {
    .hero-banner {
      flex-direction: column;
      text-align: center;
      height: auto;
      padding: 3rem 1rem;
    }
  
    .hero-text, .hero-image {
      flex: unset;
      width: 100%;
    }
  
    .hero-text h1 {
      font-size: 2.2rem;
    }
  }
  
/* Cart Icon */

.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #C1B591;
    color: white;
    padding: 0.3rem 0.6rem;  /* Reduced padding */
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2rem;  /* Smaller font size */
    transition: background-color 0.3s ease;
}

.cart-icon:hover {
    background-color: #a99d76;
}

.cart-icon i {
    margin-right: 0.5rem;
}

#cart-count {
    background-color: #D5B286;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.4rem; /* Reduced padding */
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.7rem;  
}

/* Add a little hover effect */
.cart-icon:hover #cart-count {
    background-color: #a99d76;
}

/* Features Section */
.features {
    padding: 3rem 2rem;
    background-color: #fff;
    text-align: center;
}

.features h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.features p {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

/* Products */
.products {
    padding: 3rem 2rem;
    background-color: #FDFBF8;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 2rem;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    max-width: 300px;
    text-align: center;
}

.product img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.product-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-info h3 {
    color: #D5B286;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
}

.product-info span {
    font-weight: bold;
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.product-info .btn {
    background-color: #C1B591;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-info .btn:hover {
    background-color: #a99d76;
}

.product-info .btn-benefits {
    background-color: #D5B286;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.product-info .btn-benefits:hover {
    background-color: #a99d76;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
    font-weight: bold;
}

.progress-bar .step {
    flex: 1;
    text-align: center;
    color: #999;
    position: relative;
    transition: color 0.3s ease;
}

.progress-bar .step.active {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
}

.progress-bar .step::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #999;
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: background 0.3s ease;
}

.progress-bar .step.active::after {
    background: #2c3e50;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-content h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: #D5B286;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content li {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-content i {
    color: #E0B4B0;
}

#cart-items li i {
    color: #D5B286;
}

/* Close Button */
.close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

/* Button Styling */
#checkout-btn,
#proceed-to-checkout {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#checkout-btn:hover,
#proceed-to-checkout:hover {
    background-color: #45a049;
}

/* Input fields for payment modal */
#payment-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#payment-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#payment-form button:hover {
    background-color: #45a049;
}

/* Contact Section */
.contact {
    padding: 4rem 2rem;
    background-color: #fff; 
    text-align: center;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #D5B286; 
    margin-bottom: 1rem;
}

.contact p {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    color: #444; /* Match product text */
    margin-bottom: 2rem;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact input,
.contact textarea {
    font-family: 'Lato', sans-serif;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 12px; /* match product box rounding */
    font-size: 1rem;
    width: 100%;
    background-color: #FDFBF8; 
}

.contact textarea {
    resize: vertical;
    min-height: 150px;
}

.contact button {
    padding: 0.75rem 1.5rem;
    background-color: #C1B591; 
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    border: none;
    border-radius: 20px; /* Same as your other buttons */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact button:hover {
    background-color: #a99d76; /* Same hover effect */
}

/* Footer */
footer {
    background-color: #C1B591;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
}
#contact-success {
    background-color: #D5B286;
    color: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  

  #card-element {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}
.sale-banner {
    background-color: #f2e6d4;
    color: #333;
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.sale-banner h2 {
    margin: 0;
    font-size: 1.5rem;
}
