@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=David+Libre:wght@400;700&family=Amatic+SC:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');


* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Comic Sans MS';
  background-color: #e0d3e8;
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.landing-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh; 
  /* Remove overflow: visible; */
  padding-top: 50px; /* To account for the fixed banner height */
  margin-top: 0; 
}

.header {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0; /* Reduced from 50px */
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
}

.logo-container {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
}

.logo {
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.navigation a {
  margin: 0 5px;
  color: #4b276a;
  text-decoration: none;
  font-weight: 600; /* Slightly bolder for better visibility */
  white-space: nowrap;
  font-family: 'Amatic SC', sans-serif;
  font-size: 1.6em; /* Increase font size */
  padding: 8px 12px; /* Add padding around the text */
  line-height: 1.5; /* Adjust line height for better spacing */
}

/* Optional hover effect for a more interactive feel */
.navigation a:hover {
  color: #5d3282; /* Change color on hover */
  text-decoration: underline; /* Underline on hover */
}

/* Mobile Styles */
.menu-toggle {
  display: none !important;
}
.hamburger-menu {
  display: none; /* Hidden by default */
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #4b276a;
  transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
#menu-toggle:checked ~ .navigation {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px; /* Adjust to header height */
  right: 0;
  background: #e8e0f0;
  width: 100%;
  padding: 20px;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hamburger Menu Styling */
#menu-toggle:checked + .hamburger-menu span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle:checked + .hamburger-menu span:nth-child(2) {
  opacity: 0; /* Hide the middle bar */
}

#menu-toggle:checked + .hamburger-menu span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Display Hamburger Only on Mobile */
@media (max-width: 768px) {
  .navigation {
      display: none; /* Hide navigation by default */
  }

  .hamburger-menu {
      display: flex; /* Show hamburger menu */
  }
}

.hero {
  width: 100%;
  background-color: #e8e0f0;
  color: #4b276a;
  text-align: center;
  padding: 50px 20px;
  box-shadow: 0 4px 6px rgba(75, 39, 106, 0.1);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1,
.hero-content p {
  color: #4b276a;
  font-family: 'Amatic SC', sans-serif;
}

.hero h1 {
  font-size: 3.2em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.6em;
  margin-bottom: 25px;
}

.cta-button {
  background-color: #4b276a;
  color: #e8e0f0;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #5d3282;
}

section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  text-align: center;
}

section:not(:last-child) {
  border-bottom: 1px solid rgba(75, 39, 106, 0.1);
  margin-bottom: 20px;
}

.feature-list,
.testimonial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 30px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-item {
  font-family: 'Frank Ruhl Libre', sans-serif;
  font-size: 1.1em;
  line-height: 1.7;
  color: #4b276a;
  text-align: right;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.features h2,
.testimonials h2 {
  font-family: 'Amatic SC', sans-serif;
  font-size: 3em;
  color: #4b276a;
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.testimonials h2::before {
  content: "📝";
  font-size: 1.2em;
}

.feature-item h3 {
  margin: 0 0 10px 0;
}

.about {
  text-align: center;
  padding: 40px 20px;
  direction: rtl;
  margin: 20px auto;
}

.about h2 {
  color: #4b276a;
  font-family: 'Amatic SC', sans-serif;
  font-size: 2.5em;
  margin-bottom: 25px;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.about p {
  line-height: 1.8;
  font-size: 1.2em;
  margin-bottom: 15px;
  font-family: 'Frank Ruhl Libre', sans-serif;
  color: #4b276a;
}

.about p:last-child {
  margin-bottom: 0;
}

.features {
  background-color: rgba(232, 224, 240, 0.5);
  padding: 30px 20px;
  text-align: right;
}

.sample-gallery {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sample-image {
  width: 180px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sample-image:hover {
  transform: scale(1.05);
}

/* Lightbox styling */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it's above other elements */
}

.lightbox img {
  max-width: 80%; /* Restrict maximum width */
  max-height: 80%; /* Restrict maximum height */
  border-radius: 8px; /* Add rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.testimonials {
  direction: rtl;
  text-align: right;
  padding: 30px 20px;
  background-color: rgba(232, 224, 240, 0.3);
  color: #4b276a;
}

.testimonials h2 {
  font-size: 2.5em;
  color: #4b276a;
  text-align: center;
  margin-bottom: 20px;
  direction: rtl;
  font-family: 'Amatic SC', sans-serif;
}

.testimonial-item {
  background-color: #ffffff;
  padding: 25px 20px;
  border-radius: 12px;
  font-size: 1.2em;
  color: #4b276a;
  line-height: 1.7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}
.testimonial-item:hover {
  transform: translateY(-5px);
}

.contact {
  text-align: center;
  padding: 0 20px 30px;
  margin-top: 0px; /* Changed from -20px. Adjust if needed (e.g., 10px) */
}

.contact h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #4b276a;
}

.contact p {
  margin: 10px 0;
  font-size: 1.4em;
  font-weight: bold;
}

.contact a {
  color: #4b276a;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

.contact a:hover {
  text-decoration: underline;
}

.whatsapp-link {
  color: #4b276a; /* Text color */
  text-decoration: none;
  font-size: 1.2em; /* Adjust font size */
  display: inline-flex;
  align-items: center; /* Align text and icon vertically */
  gap: 8px; /* Space between text and icon */
  margin-bottom: 10px;
}

.whatsapp-icon {
  width: 24px; /* Adjust icon size */
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
  transform: scale(1.1); /* Slight zoom on hover */
}

.content {
  flex: 1; /* Fills the remaining space to push footer down */
}

.footer {
  width: 100%;
  text-align: center;
  padding: 20px 0;
  background-color: #4b276a;
  color: #e8e0f0;
  margin-top: auto; /* Push footer to bottom */
  margin-bottom: 0; /* Ensure no margin at bottom */
}

.qr-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
  padding: 10px;
}

.qr-code {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .navigation {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1.2em;
  }

  .cta-button {
    font-size: 1em;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .qr-code {
    max-width: 150px;
  }

  .hamburger-menu {
    display: flex !important;
  }
}

.flipbook-container {
  margin-top: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.flipbook-container iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
}

.google-form-container {
  max-width: 800px; /* Restrict maximum width for larger screens */
  margin: 20px auto; /* Center the form */
  padding: 10px;
  background-color: #e1d8f0; /* Optional: Add a subtle background color */
  border-radius: 10px; /* Optional: Rounded corners */
  box-shadow: none; /* Removes shadow */
  border: none; /* Removes any additional border */
}


.google-form-container {
  background-color: #dfd3e8; /* White background */
  margin-bottom: 10px; /* Adjust as needed (e.g., 5px, 0px) */
}

iframe {
  width: 100%;
  height: 650px; /* Match the height with the iframe */
  border: none; /* Remove border for clean appearance */
}

.google-form-container iframe {
  border: none !important; /* Removes the border */
  box-shadow: none; /* Removes any shadow around the iframe */
  width: 100%; /* Ensures it fills the container */
  height: 1000px; /* Adjust this to match the form's full height */
  overflow: hidden; /* Hides any scrollbar */
}

/* Add styles for the divider */
.divider {
  border: none; /* Remove default border */
  height: 1px; /* Make it thin */
  background-color: rgba(75, 39, 106, 0.2); /* Subtle color */
  margin-top: 15px; /* Reduce space above the divider */
  margin-bottom: 15px; /* Reduce space below the divider */
}

/* Add styles for the direct contact info section */
.direct-contact {
  margin-top: -20px; /* Remove or reduce space above this section */
  padding-top: 10px; /* Optional: Add a little padding inside if needed */
}

@media (max-width: 768px) {
  .google-form-container iframe {
      height: 800px; /* Increased height for tablets and smaller devices */
  }
}

@media (max-width: 480px) {
  .google-form-container iframe {
      height: 800px; /* Further increased height for very small screens */
  }
}

/* Banner Container */
.banner-container {
  width: 100%;
  overflow: hidden;
  background-color: #4b276a;
  color: #e8e0f0;
  font-family: 'Amatic SC', sans-serif;
  font-size: 2em;
  font-weight: bold;
  position: fixed;
  top: 0;
  height: 50px;
  display: flex;
  align-items: center;
  z-index: 9999;
  white-space: nowrap;
}

.moving-banner {
  display: inline-flex;
  animation: bounceBanner 15s linear infinite alternate;
}

.moving-banner span {
  display: inline-block;
  padding-right: 50px;
}

/* Updated Animation Keyframes */
@keyframes bounceBanner {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}

/* Add margin to body to prevent overlap with the banner */
body {
  margin: 0; /* Make sure there's no top margin on the body */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .banner-container {
    width: 100%; /* Ensure full width */
    height: 40px;
    font-size: 1.2em; /* Adjust font size for better fit */
    display: flex; /* Ensure flexbox is used */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
    padding: 0 10px; /* Add padding to prevent text touching edges */
    overflow-x: hidden; /* Prevent horizontal scrolling */
  }

  .moving-banner {
    animation: none;
    transform: none;
    width: auto; /* Adjust width to fit content */
    justify-content: center; /* Center the content */
    flex-wrap: wrap; /* Allow text to wrap if needed */
    white-space: normal; /* Allow text to wrap */
  }

  .moving-banner span {
    margin-right: 5px; /* Reduce spacing between texts */
    margin-left: 5px; /* Add left margin for spacing */
    text-align: center; /* Center the text */
  }
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

@media (max-width: 480px) {
  .banner-container {
    height: auto; /* Allow height to adjust based on content */
    min-height: 35px;
    font-size: 1em; /* Further reduce font size */
    padding: 5px 10px; /* Add vertical padding */
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 20px; /* Reduced from 50px to match mobile banner height */
  }

  .landing-page {
    min-height: calc(100vh - 40px); /* Adjust to match new banner height */
    margin-top: -5px; /* Add negative margin to reduce gap */
  }
}

/* Books List Button */
.books-list-button {
    display: inline-block;
    background-color: #4b276a;
    color: #e8e0f0;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0;
    transition: background-color 0.3s ease;
}

.books-list-button:hover {
    background-color: #5d3282;
}

/* Books List Page Styles */
.books-list {
    padding: 40px 20px;
    text-align: center;
}

.books-list h1 {
    color: #4b276a;
    font-family: 'Amatic SC', sans-serif;
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Products and Books Grid Layout */
.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.book-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
}

.book-cover {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* This will make the cover container a square */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* This will ensure the image fills the container without distortion */
}

.book-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile Styles - Force single column */
@media (max-width: 768px) {
    .books-grid {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        padding: 15px;
    }

    .book-card {
        width: 100% !important;
        max-width: 400px;
        margin: 0 0 20px 0 !important;
    }

    .book-cover img,
    .book-image {
        height: auto;
        max-height: 300px;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .books-grid {
        gap: 15px;
        padding: 5px;
    }

    .book-card {
        margin-bottom: 10px;
    }
}

/* Enhanced CTA Button for Books Page */
.books-list .cta-button {
    background-color: #ff6b6b; /* Bright, attention-grabbing color */
    color: white;
    padding: 15px 35px;
    font-size: 1.5em;
    margin: 40px auto;
    display: block;
    max-width: 300px;
    text-align: center;
    border-radius: 50px; /* Rounded corners */
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    transition: all 0.3s ease;
}

.books-list .cta-button:hover {
    background-color: #ff5252;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
  .navigation {
    display: none; /* Hide navigation by default */
  }

  .hamburger-menu {
    display: flex !important; /* Show hamburger menu */
  }

  #menu-toggle:checked ~ .navigation {
    display: flex !important; /* Show navigation when menu is toggled */
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #e8e0f0;
    width: 100%;
    padding: 20px;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }
}

/* Add new video container styles */
.features-video-container {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.features-video {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .features-video-container {
        max-width: 100%;
        margin: 20px auto;
    }
}

/* Update testimonials section styles */
.testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.related-products .product-item h3 {
    font-family: 'Amatic SC', sans-serif; /* Use the same font as other headings */
    font-size: 1.6em; /* Match the font size used in other sections */
    color: #4b276a; /* Consistent color */
    margin-bottom: 10px; /* Space below the heading */
}

.related-products .product-item p {
    font-family: 'Frank Ruhl Libre', sans-serif; /* Use a consistent font for paragraphs */
    font-size: 1.1em; /* Match the font size used in other sections */
    color: #4b276a; /* Consistent color */
    line-height: 1.5; /* Improve readability */
    margin: 0 10px; /* Add margin for spacing */
}

.related-products .product-list {
  display: flex; /* Use flexbox to arrange items side by side */
  justify-content: space-around; /* Space items evenly */
  flex-wrap: wrap; /* Allow items to wrap if needed */
  gap: 20px; /* Add space between items */
}

/* Make sure images and text are aligned on the same line */
.related-products .product-container,
.related-products .large-perfume-container {
    display: flex; /* Align image and text horizontally */
    flex-direction: column; /* Stack image above text */
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center; /* Center text */
}

.related-products .product-image {
    width: 100%; /* Ensure it uses the full width of its container */
    max-width: 180px; /* Set a maximum width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
    margin-bottom: 10px; /* Add margin for spacing between image and text */
}

.related-products .product-image:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.related-products .product-text {
    margin-top: 5px; /* Space between image and text */
    font-size: 14px; /* Adjust text size if needed */
    text-align: center; /* Ensure text is centered */
}

.related-products .large-perfume-image {
    max-width: 250px; /* Increase the max-width */
    transition: transform 0.3s ease; /* Ensure smooth transition */
}

.related-products .large-perfume-image:hover {
    transform: scale(1.1); /* Slight zoom on hover */
}

/* Arrange placemats images in two columns on mobile */
@media (max-width: 768px) {
    .product-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two columns */
        gap: 10px; /* Space between images */
    }
}

/* Add specific class for bundled products */
.related-products .bundled-product {
    display: flex;
    flex-direction: column;
    align-items: center; /* Add this to center content horizontally */
    min-height: 380px;
}

.related-products .bundled-product p {
    margin-top: auto; /* Push text to bottom */
    padding: 10px 0;
    min-height: 60px; /* Adjusted text block height */
}

/* Target specific images in these products */
.related-products .bundled-product .product-image {
    height: 220px;
    object-fit: cover;
    margin: 0 auto 15px; /* Center image with auto margins */
    display: block; /* Ensure margin auto works properly */
}

.related-products .bundled-product h3 {
    text-align: center; /* Ensure heading is centered */
    width: 100%; /* Full width for proper text alignment */
}

