/* @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;600&display=swap'); */
/* Reset and Base Styles */
:root {
  --font: "Lexend", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  color: #333;
  background-color: #000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.4rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  z-index: 9999999;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-logo .logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0 auto;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #d4af37;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
  z-index: 999;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 20 L60 40 L80 40 L65 55 L70 75 L50 60 L30 75 L35 55 L20 40 L40 40 Z' fill='%23d4af37' opacity='0.05'/%3E%3C/svg%3E") repeat; */
  background: url("../assets/images/hero-section-background.jpg");
  background-size: cover;
  /* animation: sparkle 20s linear infinite; */
}

/* @keyframes sparkle {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
} */

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #d4af37, #f4e4bc);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(45deg, #d4af37, #f4e4bc);
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-indicator {
  color: white;
  font-size: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: 100px 0 0 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  color: #f4e4bc;
  margin-bottom: 20px;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(45deg, #d4af37, #f4e4bc);
  margin: 0 auto 20px;
}

.section-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: rgba(26, 26, 26, 0.7);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text h3 {
  color: #d4af37;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 20px;
}

.feature h4 {
  color: #666;
  margin-bottom: 15px;
}

.feature p {
  color: #666;
  font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
  background: rgba(26, 26, 26, 0.7);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(26, 26, 26, 0.5);
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #e0e0e0;
}

.filter-btn.active,
.filter-btn:hover {
  background: #d4af3785;
  border-color: #d4af37;
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: rgba(26, 26, 26, 0.5);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.styled-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  position: relative;
  overflow: hidden;
}

.placeholder-jewelry {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 26, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 20px;
}

.styled-card:hover .styled-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  color: #d4af37;
  margin-bottom: 10px;
}

.gallery-overlay p {
  margin-bottom: 20px;
  color: #ccc;
}

.view-btn {
  padding: 10px 25px;
  background: #d4af37;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.view-btn:hover {
  background: #f4e4bc;
  color: #1a1a1a;
}

.styled-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 400px; /* Optional: set a max width */
  margin: 0 auto;
}

.styled-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 250px;
}

.styled-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.styled-overlay h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.styled-overlay p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 300px;
}

/* Contact Section */
.contact {
  background: rgba(26, 26, 26, 0.7);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 20px;
}

.contact-info h3 {
  color: #d4af37;
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: #d4af37;
  margin-right: 20px;
  margin-top: 5px;
  min-width: 30px;
}

.info-item h4 {
  color: #666;
  margin-bottom: 5px;
}

.info-item p {
  color: #666;
  line-height: 1.6;
}

.contact-form h3 {
  color: #d4af37;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: var(--font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #d4af37, #f4e4bc);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.footer-logo h3 {
  color: #d4af37;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #ccc;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: #d4af37;
  color: #1a1a1a;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 20px;
  overflow: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: slideInDown 0.3s ease;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #d4af37;
}

text {
  padding: 10px;
  top: 0;
  font-family: var(--font);
  /* font-size: 14px; */
  fill: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero::before {
    background-position: center top; /* Adjust as needed */
  }

  body.menu-open {
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .hamburger {
    display: flex;
  }

  .modal {
    top: 50px;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.7);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    z-index: 99;
  }

  .nav-menu.active {
    left: 0;
  }

  body.menu-open .nav-menu::after {
    content: "";
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    /* visibility: hidden; */
    /* opacity: 0; */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* z-index: 9; */
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  section {
    padding: 60px 0;
  }

  .modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  .nav-container {
    padding: 0 15px;
  }

  .container {
    padding: 0 15px;
  }
}

/* Animation utilities */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scrolling enhancement */
html {
  scroll-padding-top: 80px;
}

/* Theme Toggle Switch */
.theme-toggle {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #d4af37;
}

input:checked + .slider:before {
  transform: translateX(24px);
}

/* Light mode overrides */
body.light-mode {
  background-color: #fff;
  color: #1a1a1a;
}

body.light-mode .navbar {
  background: rgba(255, 255, 255, 0.5);
}

body.light-mode .nav-link {
  color: #1a1a1a;
}

body.light-mode .hero {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
}

body.light-mode .hero-content {
  color: #1a1a1a;
}

body.light-mode .section-title,
body.light-mode .feature h4,
body.light-mode .info-item h4 {
  color: #f4e4bc;
}

body.light-mode .section-description,
body.light-mode .about-text p,
body.light-mode .info-item p {
  color: #444;
}

body.light-mode .gallery-overlay {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
}

body.light-mode .gallery-overlay h4 {
  color: #d4af37;
}

body.light-mode .gallery-overlay p {
  color: #555;
}

body.light-mode .styled-overlay {
  background: rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
}

body.light-mode .footer {
  background: #f1f1f1;
  color: #333;
}

body.light-mode .footer-bottom {
  color: #666;
}

/* Add product Page CSS */

.add-product-section {
  background: rgba(26, 26, 26, 0.7);
  padding: 80px 20px;
  color: #fff;
}

.add-product-section h2 {
  text-align: center;
  color: #d4af37;
  margin-bottom: 40px;
}

.add-product-form {
  max-width: 800px;
  margin: 0 auto;
  background: #111;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.add-product-form .form-group {
  margin-bottom: 20px;
}

.add-product-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #f4e4bc;
}

.add-product-form input,
.add-product-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.add-product-form textarea {
  height: 120px;
  resize: vertical;
}

.add-product-form input:focus,
.add-product-form textarea:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.add-product-form button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(45deg, #d4af37, #f4e4bc);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.add-product-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.upload-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.upload-box {
  background-color: #1c2a38;
  border: 2px dashed #4a90e2;
  color: #a0aec0;
  padding: 40px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.upload-box:hover {
  background-color: #22303f;
}

.upload-icon {
  font-size: 32px;
  margin-bottom: 10px;
  display: block;
}

.preview-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 250px;
  margin: auto;
}

.preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.delete-image-btn {
  padding: 0 !important;
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  border: none !important;
  width: 30px !important;
  height: 30px !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 30px !important;
  text-align: center !important;
}

/* ===== Modal style =========== */
.modal-jewelry h2 {
  color: #d4af37;
  margin-bottom: 10px;
}
.modal-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.modal-details p {
  margin-bottom: 20px;
  line-height: 1.6;
}
.specifications-list {
  margin: 15px 0;
  padding-left: 20px;
}
.specifications-list li {
  margin-bottom: 8px;
  color: #666;
}
.modal-price {
  font-size: 1.3rem;
  color: #d4af37;
  margin: 20px 0;
}
.modal-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
.contact-btn,
.appointment-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}
.contact-btn {
  background: #d4af37;
  color: white;
}
.contact-btn:hover {
  background: #c19b26;
}
.appointment-btn {
  background: #f8f8f8;
  color: #333;
  border: 2px solid #d4af37;
}
.appointment-btn:hover {
  background: #d4af37;
  color: white;
}
@media (max-width: 768px) {
  .modal-actions {
    flex-direction: column;
  }
}
