/* === Key Fixes Applied Below === */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  color: #d4af37;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Header */
.header {
  background: #111;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo {
  width: 100px;
  height: auto;
}

/* Navbar (Desktop) */
.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: #d4af37;
  font-weight: bold;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}
.navbar a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 8px #d4af37, 0 0 12px #d4af37;
}

/* Hero */
.hero {
  background: url('../images/Background.webp') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  flex-direction: column;
}

.hero-text h1 {
  font-size: 48px;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn {
  background: #d4af37;
  color: #000;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
}

/* Contact Section */
.Contact {
  background: url('../images/Contact Background.webp') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000;
  flex-direction: column;
}

/* Sections */
section,
.services,
.products,
.portfolio {
  padding: 60px 20px;
  text-align: center;
}

.service-grid,
.product-grid,
.portfolio-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 30px;
}

/* Card */
.card {
  background: #222;
  border: 1px solid #444;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 12px #d4af37, 0 0 24px #d4af37;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  color: #d4af37;
  padding: 0 10px;
}

/* Delete Button Below Image */
.card .delete-btn {
  margin: 8px auto 12px;
  padding: 6px 14px;
  background-color: #d9534f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.card .delete-btn:hover {
  background-color: #c9302c;
}

/* Full Image Overlay */
.fullscreen-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.fullscreen-image img {
  max-width: 90%;
  max-height: 85%;
  border: 5px solid #d4af37;
  border-radius: 10px;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #444;
  background: #111;
  color: #d4af37;
  font-family: 'Poppins', sans-serif;
  border-radius: 5px;
}

.contact-form button {
  background: #d4af37;
  color: #000;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

/* CTA */
.cta {
  background: #111;
  padding: 60px 20px;
  text-align: center;
}

/* Footer */
.footer {
  background: #000;
  color: #999;
  padding: 20px 0;
}

.footer .socials a {
  color: #d4af37;
  margin: 0 10px;
  text-decoration: none;
}

.footer .socials img {
  width: 24px;
  height: 24px;
}

/* Scroll to top */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #d4af37;
  color: #000;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  z-index: 999;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  color: white;
  padding: 10px 15px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  z-index: 999;
}

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

/* Upload Success Page */
.success-buttons a {
  padding: 14px;
  background: #d4af37;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s ease;
  text-align: center;
}

.success-buttons a:hover {
  background: #b8992e;
}

/* === Mobile Hamburger Button === */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #d4af37;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* === Side Drawer Nav === */
.side-drawer {
  position: fixed;
  top: 0;
  right: -250px;
  width: 220px;
  height: 100%;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 70px;
  padding-left: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
  transition: right 0.3s ease;
  z-index: 1001;
}

.side-drawer.active {
  right: 0;
}

.side-drawer a {
  padding: 15px 0;
  color: #d4af37;
  text-decoration: none;
  font-weight: bold;
  width: 100%;
}

.side-drawer a:hover {
  background-color: #222;
}

/* === Background Overlay === */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  visibility: visible;
  opacity: 1;
}

/* === Custom Utility Classes === */
.portfolio-heading-uploaded {
  margin-top: 40px;
}

/* === Responsive Rules === */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
  }

  .side-drawer {
    display: flex;
  }
}

@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .card h3 {
    font-size: 16px;
  }
}