:root {
    --primary-color: #c2a68d; /* Soft beige for a luxurious feel */
    --secondary-color: #e6b3a0; /* Light coral for warmth */
    --accent-color: #ff6f61; /* Elegant rose for highlights */
    --background-color: #fafafa; /* Very light gray for a clean backdrop */
    --text-color: #4b3c2a; /* Dark brown for premium text contrast */
}

/* Example usage */
footer {
    background-color: var(--text-color);
    color: white;
}


/* Reset default margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'Georgia', serif;
    color: var(--text-color);
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
  }

  .background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url(images/flowerback.jpg) no-repeat center center;
    background-size: cover;
    z-index: -1;
    pointer-events: none; /* ensures it's truly just a background */
    background-color: #fff; /* fallback color if image doesn't fill */
  }
  
  /* Canvas background (flower petals) */
  #petal-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }
  #flower-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
  }

  /* Loader styles */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }
  
  .flower-bud {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at center, #d2691e 0%, #a0522d 100%);
    border-radius: 50%;
    animation: bloom 2s infinite alternate;
  }
  
  @keyframes bloom {
    0% {
      transform: scale(0.8);
      background: radial-gradient(circle at center, #d2691e 0%, #a0522d 100%);
    }
    100% {
      transform: scale(1.2);
      background: radial-gradient(circle at center, #ffa07a 0%, #d2691e 100%);
    }
  }
  
  /* Hide loader after page load */
  body.loaded #loader {
    opacity: 0;
    visibility: hidden;
  }

  #mute-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff8f0;
    border: 2px solid #d2691e;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background 0.3s, transform 0.3s;
  }
  
  #mute-button:hover {
    background: #ffe4d1;
    transform: scale(1.1);
  }
  
  
  
  
  /* Navbar */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.9);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-color);
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary-color);
  }

    /* Navbar mobile responsive */

#mobile-menu {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
}

@media (max-width: 768px) {
  #mobile-menu {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    width: 200px;
    gap: 1rem;
    padding: 1rem;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }
  .logo{
    font-size: 1.5rem;
    padding-left: 2rem;
  }
}

  
  /* Hero Section */
  .hero {
    height: 100vh;
    background: url('images/main.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
  }
  
  .hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  .hero-content {
    z-index: 2;
  }
  
  .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background-color: var(--secondary-color);
  }



  /* inserted product*/
  
  .products {
    padding: 4rem 10%;
    background-color: transparent;
    text-align: center;
  }
  
  .products h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .product {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .product:hover {
    transform: translateY(-10px);
  }
  
  .product img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
  }
  
  .product h3 {
    margin-top: 1rem;
    color: var(--text-color);
  }
  
  .product p {
    color: #a0522d;
    font-size: 1.1rem;
    margin: 0.5rem 0 1rem;
  }
  
  .product .btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
  }
  
  .product .btn:hover {
    background-color: var(--secondary-color);
  }
  
  
  /* Products Section */
  .products {
    padding: 5rem 10%;
    text-align: center;
    background-color: transparent ;
    z-index: 2;
    position: relative;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #db5b05;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product img {
    width: 100%;
    height: 400px; /* Set a fixed height */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    border-radius: 15px;
}

.product h3 {
    margin: 1rem 0 0.5rem;
}

.product p {
    font-size: 1.2rem;
    color: #a0522d;
}

.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product form {
    margin-top: 1rem;
  }
  
  .product form .btn {
    background-color: #d2691e;
    border: none;
    cursor: pointer;
  }
  
  .product form .btn:hover {
    background-color: #a0522d;
  }

  /* Testemonial */
  .testimonials {
    text-align: center;
    padding: 50px 20px;
    background: transparent;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #db5b05;
}

.testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #f5e1d8;
  transition: transform 0.3s ease;
}

.testimonial:hover .testimonial-img {
  transform: scale(1.05);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.testimonial {
    min-width: 100%;
    padding: 40px 30px;
    box-sizing: border-box;
    text-align: center;
    color: #555;
}

.testimonial p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial h4 {
    font-size: 1rem;
    color: #a85d2a;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #f5e1d8;
    border: none;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background 0.3s ease;
    z-index: 1;
}

.slider-btn:hover {
    background-color: #e3c7ba;
}

.left {
    left: 15px;
}

.right {
    right: 15px;
}

  /* Contact Section */
  
  .contact {
    background-color: transparent;
    padding: 4rem 10%;
    text-align: center;
  }
  
  .contact h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #db5b05;
  }
  .contact p{
    font-size: 2rem;
    color: #000;
  }

  @media (max-width: 768px){
    .contact p{
      font-size: 1.3rem;
    }
  }
  
  /* Footer */
  footer {
    background-color: var(--text-color);
    color: white;
    padding: 1rem 5%;
    text-align: center;
    font-size: 0.9rem;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1001;
  }
  
  .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
  }
  
  #closeModal {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
  }
  