/* ===== Base Styling ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f6f1;
  color: #333;
}

/* ===== Header ===== */
header {
  background: #3b2a10;
  color: #fff;
}

/* Updated Header Layout */
.header-top {
  display: flex;
  justify-content: center; /* Centers the logo */
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

/* Larger, centered logo */
.logo {
  height: 110px; /* Increase size as needed */
  width: auto;
}

/* Social media icons - right corner */
.social-icons {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.social-icons a {
  color: #d1a76c;
  margin: 0 8px;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #fff;
}

/* ===== Navigation ===== */
nav {
  background: #2b1e0b;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  display: block;
  transition: all 0.3s ease;
}

nav a:hover {
  background: #d1a76c;
  color: #000;
  border-radius: 5px;
}

/* ===== Banner Section ===== */
.banner img {
  width: 100%;
  height: auto;
  display: none;
}

.banner img:first-child {
  display: block;
}

/* ===== General Sections ===== */
.about,
main,
.featured-products,
.newsletter,
.contact-section {
  padding: 40px 20px;
  text-align: center;
}

/* ===== Product & Collection Styling ===== */
.product-slider,
.collection-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.product img,
.collection-grid img {
  height: 200px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.product img:hover,
.collection-grid img:hover {
  transform: scale(1.05);
}

/* ===== Footer ===== */
footer {
  background: #2b1e0b;
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
}

.footer-cols a {
  color: #d1a76c;
  text-decoration: none;
}

.footer-icons a {
  font-size: 20px;
  margin-right: 10px;
  color: #d1a76c;
  transition: color 0.3s ease;
}

.footer-icons a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  background: #1a1107;
  padding: 10px;
  color: #ccc;
}

/* ===== Contact Section ===== */
.contact-section form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-section input,
.contact-section textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-section button {
  background: #3b2a10;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-section button:hover {
  background: #d1a76c;
  color: #000;
}

/* ===== Google Map ===== */
iframe {
  width: 100%;
  height: 150px;
  border: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
  }
  .logo {
    height: 90px;
    margin-bottom: 10px;
  }
  .social-icons {
    position: static;
    transform: none;
    margin-top: 5px;
  }
}

/* ===== Product Image Popup ===== */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.popup-img {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 15px #000;
  animation: zoomIn 0.3s ease;
  cursor: zoom-in;
}

@keyframes zoomIn {
  from {transform: scale(0.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #d1a76c;
}

/* Optional: Cursor zoom out effect */
.popup-img:hover {
  transform: scale(1.05);
}
