/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  background: #fefefe;
  color: #333;
  line-height: 1.6;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url('Images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero button {
  background: #c8a974;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}
.hero button:hover {
  background: #a98d5c;
}

/* Section Titles */
section h2, section h1 {
  text-align: center;
  margin: 40px 0 15px;
  font-size: 1.9rem;
  font-weight: 600;
  color: #222;
}

/* Intro */
#intro {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

/* Gallery */
/* Gallery */
#image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* exactly 2 columns */
  gap: 15px;
  max-width: 900px;
  margin: 20px auto;
  padding: 0 10px;
}

#image-gallery img {
  width: 100%;
  height: auto;
  max-height: 250px;     /* prevent huge images */
  object-fit: cover;     /* crop nicely if needed */
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}



/* Responsive – 1 per row on small screens */
@media(max-width: 768px) {
  #image-gallery {
    grid-template-columns: 1fr;
  }
}


/* Wallpaper Details */
#wallpaper-details {
  display: none;
  margin-top: 40px;
  text-align: center;
}
#wallpaper-details img {
  max-width: 90%;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Calculator Section */
#wallpaper-pricing, #calculator {
  max-width: 600px;
  margin: 30px auto;
  padding: 25px;
  border: none;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
}

#wallpaper-pricing h2,
#calculator h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
}

input, select, button {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  background: #c8a974;
  color: white;
  border: none;
  cursor: pointer;
  margin-top: 18px;
  transition: 0.3s;
}
button:hover {
  background: #a98d5c;
}

/* Buy Now Button */
.buy-btn {
  display: inline-block;
  margin-top: 15px;
  background: #25d366;
  color: #fff !important;
  text-align: center;
  font-size: 1rem;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.buy-btn:hover {
  background: #1da851;
}

/* Floating Button */
.floating-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #c8a974;
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.floating-button a {
  color: white;
  font-size: 1.3rem;
}

/* Footer */
footer {
  margin-top: 50px;
  background: #222;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.95rem;
}

footer h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

footer a {
  color: #f8c102;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media(max-width: 768px) {
  .hero {
    padding: 60px 15px;
  }
  .hero h1 {
    font-size: 1.7rem;
  }
  .hero p {
    font-size: 1rem;
  }
  #image-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

/* Lightbox popup */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px; right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 40px;
  color: white;
  padding: 16px;
  margin-top: -22px;
  user-select: none;
}
.prev { left: 0; }
.next { right: 0; }

.prev:hover, .next:hover, .close:hover {
  color: #f1c40f;
}

