/* 
  Juvi Gifts and Hampers - Main Stylesheet
  Author: Claude
  Version: 1.0
*/

/* ===== Base Styles ===== */
:root {
  --primary-color: #562D70;
  --secondary-color: #6c757d;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --white-color: #ffffff;
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #c71d6f;
}

.btn {
  border-radius: 0;
  padding: 0.625rem 1.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #FFBE1B !important;
  border-color: #FFBE1B !important;
}

.btn:hover {
    background-color: #f3513a !important;
    border-color: #f3513a !important;
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.section-title {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

/* ===== Navigation ===== */
.navbar {
  padding: 10px 0;
  transition: var(--transition);
}

.navbar-brand h1 {
  font-size: 1.75rem;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.25rem;
  height: 2px;
  background-color: var(--primary-color);
}

/* ===== Hero Carousel Section ===== */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.3); */
  z-index: 1;
}

.hero-slide .container,
.hero-slide .row,
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
}

.hero-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  max-width: 600px;
}

.slide-1 {
  background-image: url('../images/Banner/banner-1.jpg');
}

.slide-2 {
  background-image: url('../images/Banner/banner-3.jpg');
}

.slide-3 {
    background-image: url('../images/Banner/banner-2.jpg');
}

.carousel-indicators {
  bottom: 1.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  background-color: var(--white-color);
  border-radius: 50%;
  margin: 0 8px;
  opacity: 0.5;
  transition: var(--transition);
}

.carousel-indicators .active {
  background-color: var(--primary-color);
  opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0;
  transition: var(--transition);
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-size: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animation for Carousel Content */
.carousel-item.active .animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.carousel-item.active .animate-fade-in-up:nth-child(2) {
  animation-delay: 0.6s;
}

.carousel-item.active .animate-fade-in-up:nth-child(3) {
  animation-delay: 0.9s;
}

/* ===== Hero Section (original, keeping for reference) ===== */
.hero-section {
  padding: 3rem 0;
  background-color: #fff5f8;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(232, 62, 140, 0.1);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(232, 62, 140, 0.1);
  z-index: 1;
}

.hero-image-container {
  position: relative;
  z-index: 2;
}

.hero-image {
  box-shadow: var(--box-shadow);
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: translateY(-10px);
}

/* ===== Collection Cards ===== */
.collection-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.collection-img-container {
  overflow: hidden;
  height: 100%;
}

.collection-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collection-card:hover img {
  transform: scale(1.1);
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ===== Feature Boxes ===== */
.feature-box {
  transition: var(--transition);
  border-radius: 0.5rem;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
  border:1px solid #f3513a;
  cursor: pointer;  
}
.feature-icon i{
  /* color: var(--primary-color) !important; */
  color: #f3513a !important;
}

/* ===== Testimonials ===== */
.testimonial-card {
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
  object-fit: cover;
}

.testimonial-text {
  position: relative;
  font-style: italic;
  color: #555;
}

.testimonial-text::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  left: -1rem;
  top: -2rem;
  color: rgba(232, 62, 140, 0.1);
  font-family: serif;
}

/* ===== CTA Section ===== */
.cta-section {
  background-color: var(--primary-color)!important;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* ===== Footer ===== */
.footer {
  background-color: rgb(28 4 44) !important;

}

.footer h3, .footer h5 {
  position: relative;
  padding-bottom: 1rem;
}

.footer h3::after, .footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links li, .footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a, .footer-contact a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white-color) !important;
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== About Page ===== */
.about-image img {
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
}
.about-detail-point i{
    color: #f3513a !important;
}

.timeline {
  position: relative;
  padding-left: 50px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -54px;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 3px solid white;
}

.team-member-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: var(--transition);
}

.team-member-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.team-member-img {
  height: 300px;
  object-fit: cover;
}

.social-links a {
  color: var(--dark-color);
  margin: 0 0.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

/* ===== Contact Page ===== */
.contact-info-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(232, 62, 140, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.contact-form {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.form-control {
  border-radius: 0;
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.map-container {
  height: 450px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* ===== Collections Page ===== */
.collections-header {
  background-color: #fff5f8;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.collections-header::before,
.collections-header::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(232, 62, 140, 0.1);
}

.collections-header::before {
  top: -50px;
  right: -50px;
}

.collections-header::after {
  bottom: -50px;
  left: -50px;
}

.filter-buttons {
  margin-bottom: 2rem;
}

.filter-button {
  background-color: transparent;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 2rem;
  color: var(--dark-color);
  font-weight: 500;
  transition: var(--transition);
}

.filter-button:hover,
.filter-button.active {
  background-color: var(--primary-color);
  color: white;
}

.product-card {
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.product-img-container {
  height: 250px;
  overflow: hidden;
}

.product-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
  transform: scale(1.1);
}

.product-price {
  font-weight: 600;
  color: var(--primary-color);
}

/* ===== Responsive Styles ===== */
@media (max-width: 991.98px) {
  .navbar {
    padding: 1rem;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-section .btn {
    margin-bottom: 0.5rem;
  }
  
  .hero-image-container {
    margin-top: 2rem;
  }
  
  .footer h3::after, .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Hero Carousel Responsive */
  .hero-slide {
    height: 70vh;
  }
  
  .hero-content {
    padding: 2rem;
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .testimonial-card,
  .product-card,
  .collection-card,
  .team-member-card {
    margin-bottom: 1.5rem;
  }
  
  .cta-section .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .map-container {
    height: 300px;
    margin-top: 2rem;
  }
  
  /* Hero Carousel Responsive */
  .hero-slide {
    height: 60vh;
    min-height: 500px;
  }
  
  .hero-content {
    padding: 1.5rem;
    text-align: center;
  }
  
  .hero-content .d-flex {
    justify-content: center !important;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand h1 {
    font-size: 1.5rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .filter-buttons {
    flex-wrap: wrap;
  }
  
  .filter-button {
    margin-bottom: 0.5rem;
  }
  
  /* Hero Carousel Responsive */
  .hero-slide {
    height: 50vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem !important;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 1rem !important;
  }
  
  .hero-content .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* ===== Custom Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ===== About Section on Homepage ===== */
.about-image {
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-image img {
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.experience-badge {
  bottom: 30px;
  right: -20px;
  width: 100px;
  height: 100px;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.section-title.text-start {
  text-align: left !important;
}

.section-title.text-start::after {
  left: 0;
  transform: none;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top-btn:hover {
  background-color: #c71d6f;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top-btn i {
  font-size: 1.2rem;
}

@media (max-width: 767.98px) {
  .scroll-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
}
.about-detail-point img{
  border:8px solid #fff;
}
.custom-order-img {
    position: relative;
    overflow: hidden;
    /* padding: 20px; */
}

.custom-order-img img {
    transition: all 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-order-img:hover img {
    transform: scale(1.1);
}

.custom-order-img::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid white;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 1;
}

.custom-order-img:hover::before {
    opacity: 1;
}