* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to bottom, #fef2f8, #fff0f6);
  color: #3a2b33;
  transition: background-color 0.3s, color 0.3s;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
body.dark-mode {
  background: linear-gradient(to bottom, #1e1e2f, #2a1a2f);
  color: #eee;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

a {
  text-decoration: none;
  color: inherit; /* or use a custom color like #000 for black */
}

a:hover {
  text-decoration: underline; /* optional hover effect */
}

/* Header */
header {
  background: linear-gradient(to right, #ffdde1, #fbd2e0);
  padding: 20px 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
body.dark-mode header {
  background: linear-gradient(to right, #31243c, #3d2b4f);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-color);
  white-space: nowrap;
}
.logo:hover {
  opacity: 0.85;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #d1629c;
}
body.dark-mode .nav-links a:hover {
  color: #ffabd1;
}

/* Toggle Theme */
.toggle-theme {
  cursor: pointer;
  background: none;
  border: 2px solid #e8b3cc;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s;
}
body.dark-mode .toggle-theme {
  border-color: #c681c8;
  color: #fff;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3.5rem 1rem;
  background: linear-gradient(to right, #ffe0f0, #ffd4eb);
}
body.dark-mode .hero {
  background: linear-gradient(to right, #2f1b34, #3e2540);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: #c23b8b;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.15rem;
  color: #6a3a4e;
}
body.dark-mode .hero p {
  color: #d3a2cc;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.8rem;
  padding: 2rem;
}
.saree-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(211, 121, 160, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s;
  cursor: pointer;
}
body.dark-mode .saree-card {
  background: #39213d;
  border: 1px solid #704a78;
}
.saree-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(227, 89, 140, 0.2);
}
.saree-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.saree-info {
  padding: 1rem;
}
.saree-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #c23b8b;
}
.saree-info p {
  margin: 0.5rem 0;
  color: #7b4e65;
  font-size: 0.95rem;
}


/* Contact Form */
.contact-form {
  background: #fff;
  padding: 60px 20px;
}
body.dark-mode .contact-form {
  background: #1e1e1e;
}
.form-container {
  max-width: 520px;
  margin: auto;
  padding: 32px;
  background: #fffaf6;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
}
body.dark-mode .form-container {
  background: #2b2b2b;
}
.form-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 12px;
}
.form-container p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #666;
}
body.dark-mode .form-container p {
  color: #aaa;
}
.form-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
form input,
form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
}
body.dark-mode form input,
body.dark-mode form textarea {
  background: #333;
  color: #fff;
  border: 1px solid #555;
}
form button {
  padding: 12px 24px;
  background-color: #5a3e2b;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
form button:hover {
  background-color: #7a5537;
  transform: scale(1.05);
}

/* WhatsApp Button */
.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.whatsapp-btn:hover {
  background-color: #1ebc5c;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #f3efe8;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #777;
}
body.dark-mode footer {
  background: #121212;
  color: #888;
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}
.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.saree-detail-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

.saree-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.saree-info {
  margin-top: 1.5rem;
}

.enquire-button {
  display: inline-block;
  background-color: #25D366; /* WhatsApp green */
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 16px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.enquire-button:hover {
  background-color: #1ebe5d;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--header-bg);
  color: var(--text-color);
  flex-wrap: wrap;
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--text-color);
}

.navbar .nav-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-color);
  font-size: 1rem;
  transition: color 0.3s;
  display: flex;
  gap: 1.5rem;
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Responsive */
@media (max-width: 600px) {
  .nav-right {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 1rem;
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .logo {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    order: 1;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .nav-links {
    order: 2;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
  }

  .toggle-theme {
    order: 3;
    margin-bottom: 0.5rem;
  }
}
