/* style.css - Premium Classy Theme */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #fafafa;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  background: #1a1f36;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: #e0c097;
}

.navbar nav a {
  margin: 0 1rem;
  color: #f3f3f3;
  font-weight: 500;
}

.hero {
  background: linear-gradient(to right, #f9f3e9, #fdfcfb);
  padding: 5rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  color: #1a1f36;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
}

section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #1a1f36;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

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

footer {
  background: #1a1f36;
  color: #ccc;
  text-align: center;
  padding: 2rem;
}

.map iframe {
  width: 100%;
  border: none;
  border-radius: 8px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}



/* === Responsive Styles Added === */

/* Small devices (phones, less than 768px) */
@media (max-width: 767px) {
    body {
        font-size: 14px;
        padding: 10px;
    }
    header, nav, main, footer {
        padding: 10px;
        text-align: center;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 10px 0;
    }
    .container, .content, .section, .products {
        width: 100% !important;
        padding: 0 10px;
    }
    .product-card img {
        max-width: 100%;
        height: auto;
    }
}

/* Medium devices (tablets, 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        font-size: 16px;
    }
    .container, .content, .section, .products {
        width: 95% !important;
        margin: auto;
    }
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}



/* === Responsive Image and Container Fixes === */

/* Ensure all images are responsive */
img, picture, video, canvas, svg {
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

/* Fix for containers that might restrict responsiveness */
.container, .content, .section, .products, .gallery, .image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Avoid horizontal scrolling */
body {
    overflow-x: hidden;
}



/* === Swiper Image Fix for Small Screens === */
@media (max-width: 767px) {
    .imageSwiper .swiper-slide img {
        height: auto !important;
        max-height: 300px;
        width: 100% !important;
        object-fit: contain !important;
    }
}
