/* CSS Variables & Global Styles */
:root {
  --primary-color: #2c3e50;
  --accent-color: #F5E9D4;
  --background-color: #f9f9f9;
  --text-color: #444;
  --muted-text-color: #777;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Replace the existing modalPop keyframes */
@keyframes modalPop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(30px); /* Start smaller and lower */
    filter: blur(4px); /* Subtle blur for cinematic effect */
  }
  60% {
    opacity: 0.95;
    transform: scale(1.03) translateY(-3px); /* Gentle overshoot for elegance */
    filter: blur(0); /* Sharpen as it settles */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0); /* Final position */
    filter: blur(0);
  }
}
/* New keyframes for modal backdrop fade */
@keyframes modalBackdropFade {
  0% {
    background: rgba(0, 0, 0, 0); /* Start transparent */
  }
  100% {
    background: rgba(0, 0, 0, 0.9); /* End with dark backdrop */
  }
}  

/* New keyframes for swipe/slide animation */
@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(60px) scale(0.98); /* Slightly offset and smaller */
    filter: blur(3px); /* Subtle blur for premium effect */
  }
  70% {
    opacity: 0.95;
    transform: translateX(-5px) scale(1.01); /* Gentle overshoot */
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1); /* Final position */
    filter: blur(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(-60px) scale(0.98); /* Slightly offset and smaller */
    filter: blur(3px); /* Subtle blur for premium effect */
  }
  70% {
    opacity: 0.95;
    transform: translateX(5px) scale(1.01); /* Gentle overshoot */
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1); /* Final position */
    filter: blur(0);
  }
}


@keyframes fadeInSection {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
  width: 50px; /* Ensure square dimensions */
  border-radius: 50%; /* Makes it circular */
  object-fit: cover; /* Prevents distortion, crops if needed */
  margin-right: 10px;
}

.navbar .logo h1 {
  color: #fff;
  font-size: 1.5rem;
  font-family: 'Cinzel', serif;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #facd7fea;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('WhatsApp\ Image\ 2025-01-30\ at\ 7.51.43\ PM.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  color: #F5E9D4; /* Soft Ivory */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin: 1rem 0;
}

.hero-content .btn {
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.hero-content .btn:hover {
  transform: scale(1.05);
}

/* About Section */
.about {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #ffffff;
  opacity: 0;
}


.about.visible {
  animation: fadeInSection 1s ease-out forwards;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-images img {
  width: 100%;
  border-radius: 25px;
  transition: transform 0.25s;
}

.about-images img:hover {
  transform: scale(1.1);
}

/* Products Section */
.products {
  padding: 4rem 1rem;
  text-align: center;
  background-color: var(--background-color);
  opacity: 0;
}

.products.visible {
  animation: fadeInSection 1s ease-out forwards;
}

.products h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 1rem;
}

.product-card {
  background: #fff;
  padding: 1rem;
  border-radius: 25px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.25s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-40px);
}


.product-card img {
  width: 100%;
  border-radius: 5px;
}

.product-card h3 {
  font-size: 1.75rem;
  margin: 0.25rem 0;
}

.product-card p {
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
  padding: 4rem 1rem;
  text-align: center;
  background-color: #fff;
}

.gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.gallery-filter button {
  padding: 0.6rem 1.2rem;
  background: var(--accent-color);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.3s;
}

.gallery-filter button.active {
  background: var(--primary-color);
  color: #fff;
}

.gallery-container {
  display: none;
}

.gallery-container.active {
  display: block;
  animation: fadeIn 0.25s ease-in;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1; /* Square images */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.40s;
}

.gallery-item:hover {
  transform: translateY(-15px);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Modal */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 2000;
}

.gallery-modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: modalBackdropFade 0.6s ease-out forwards; /* Smooth backdrop fade */
}

/* Update .gallery-modal-content to reinforce animation */
.gallery-modal-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
  animation: modalPop 0.6s cubic-bezier(0.33, 0, 0, 1) forwards;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 233, 212, 0.15); /* Enhanced glow */
  border: 1px solid rgba(245, 233, 212, 0.3);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(245, 233, 212, 0.05));
  will-change: transform, opacity, filter; /* Optimize for swipe and modal animations */
}22

.gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.25s;
}

/* Arrow Button Styles */
.gallery-modal-arrow {
  display: none; /* Hidden by default, shown on PC */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 62, 80, 0.7); /* Semi-transparent primary color */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 2100;
}

.gallery-modal-arrow:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1); /* Subtle scale on hover */
}

.gallery-modal-arrow-left {
  left: 20px;
}

.gallery-modal-arrow-right {
  right: 20px;
}

/* Show arrows on PC (screens > 768px) */
@media (min-width: 769px) {
  .gallery-modal-arrow {
    display: block;
  }
}

.gallery-modal-close:hover {
  color: var(--accent-color);
}

/* Contact Section (Updated with WhatsApp Button) */
.contact {
  padding: 4rem 1rem;
  text-align: center;
  background-color: var(--background-color);
  opacity: 0;
}

.contact.visible {
  animation: fadeInSection 1s ease-out forwards;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  transition: transform 0.3s, background-color 0.3s;
}

.whatsapp-btn i {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.whatsapp-btn:hover {
  background-color: #20b354;
  transform: scale(1.05);
}

.contact-info p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
}

footer .social-icons a {
  color: #fff;
  margin: 0 0.5rem;
  font-size: 1.2rem;
  transition: color 0.3s;
}

footer .social-icons a:hover {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--primary-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 0.5rem 0;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 1.5rem;
    right: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* About Us: Three columns on mobile */
  .about-images {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .about-images img {
    width: 100%;
    height: auto;
    min-height: 120px; /* Increase minimum height */
    object-fit: cover; /* Ensure proper scaling */
  }

  /* Products: Three columns on mobile */
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 0.5;
  }

  .product-card {
    padding: 0.8rem;
    border-radius: 15px;
  }
  .product-card img {
    width: 100%;
    height: auto;

    min-height: 115px; /* Increase minimum height */
    object-fit: cover; /* Ensure proper scaling */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
}
  .product-card h3 {
    font-size: 1.1rem;
  }

  .product-card p {
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }


@media (max-width: 320px) {
  /* About Us: Single column for very small screens */
  .about-images {
    grid-template-columns: 1fr;
  }

  /* Products: Single column for very small screens */
  .product-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery: Single column for very small screens (unchanged) */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .gallery-filter button {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 0 1rem;
  }
}
/* call krne ka buttom */
.call-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  transition: transform 0.3s, background-color 0.3s;
}

.call-btn i {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.call-btn:hover {
  background-color: #20b354;
  transform: scale(1.05);
}

/* google map er buton*/
.map-btn {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1.1rem;
  margin: 0 auto 2rem;
  transition: transform 0.3s, background-color 0.3s;
}

.map-btn i {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.map-btn:hover {
  background-color: #20b354;
  transform: scale(1.05);
}