/* === Global Theme Setup === */
:root {
  --bg-light: #f9f9f9;
  --text-light: #222;
  --bg-dark: #121212;
  --text-dark: #f0f0f0;
  --accent-color: #7b2ff7;
  --accent-glow: #9b59ff;
  --overlay: rgba(0, 0, 0, 0.45);
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  color: var(--text-light);
  transition: all 0.4s ease;
}

.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* === Navbar === */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav h2 {
  color: var(--accent-color);
  font-size: 1.6rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--accent-color);
}

#themeToggle {
  cursor: pointer;
  font-size: 1.4rem;
  color: #fff;
}

/* === Banner Section === */
.page-banner {
  background-size: cover;
  background-position: center;
  padding: 120px 5%;
  text-align: center;
  color: #fff;
  position: relative;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

.page-banner h1,
.page-banner p {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === Product Section === */
.product-sample-section {
  background-size: cover;
  background-position: center;
  padding: 80px 5%;
  color: inherit;
  position: relative;
}

.product-sample-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

.product-sample-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: var(--accent-color);
  position: relative;
  z-index: 1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  position: relative;
  z-index: 1;
}

.product-card {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 25px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  border-radius: 12px;
  z-index: 0;
}

.product-card h3,
.product-card p,
.product-card .price,
.product-card .btn-glow,
.product-card .buy-options {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.price {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffd700;
}

/* === Buttons === */
.btn-glow {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: all 0.3s ease;
}

.btn-glow:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 30px var(--accent-color);
}

/* === Buy Now Dropdown === */
.buy-options {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.buy-options a {
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.buy-options a:hover {
  background: var(--accent-color);
}

.product-card.active .buy-options {
  display: flex;
}

/* === Contact Section === */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.contact-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  backdrop-filter: blur(6px);
  color: #fff;
}

.contact-btn {
  display: inline-block;
  width: 100%;
  margin-top: 15px;
}

.whatsapp:hover {
  background: #25d366;
}

.telegram:hover {
  background: #0088cc;
}

.email:hover {
  background: #ff5722;
}

/* === About Me Section === */
.about-section {
  background-size: cover;
  background-position: center;
  color: inherit;
  padding: 80px 5%;
  display: flex;
  justify-content: center;
  position: relative;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 0;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  color: var(--accent-color);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
}

.external-link {
  color: var(--accent-color);
  font-weight: bold;
  text-decoration: none;
}

.external-link:hover {
  color: var(--accent-glow);
  text-decoration: underline;
}

/* === Footer === */
footer {
  background: #111;
  color: #bbb;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 200px;
    height: 200px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .page-banner {
    padding: 90px 5%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

.contact-icon {
  width: 150px;
  height: 150px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

