/* GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: 0.4s ease-in-out;
}

:root {
    --bg: #ffffff;
    --text: #111;
    --card: #f2f2f2;
    --accent: #6b5bff;
}

body.dark {
    --bg: #0f0f0f;
    --text: #fff;
    --card: #1a1a1a;
    --accent: #8f7cff;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
    position: sticky;
    top: 0;
    background: var(--bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.theme-btn {
    background: var(--accent);
    border: none;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
    color: white;
}

/* PAGE FADE */
.page-fade {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-fade.loaded {
    opacity: 1;
}

/* PRODUCTS */
.products {
    padding: 50px 20px;
    text-align: center;
}

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

.product-item {
    background: var(--card);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.product-images {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 12px;
}

.product-images img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.product-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.product-item .features {
    text-align: left;
    margin: 8px 0;
    padding-left: 20px;
}

.product-item .features li {
    font-size: 14px;
    line-height: 1.4;
}

.product-item .price {
    font-weight: bold;
    margin-top: 8px;
    font-size: 16px;
    color: var(--accent);
}

/* FOOTER */
footer {
    margin-top: 50px;
    text-align: center;
    padding: 20px;
    background: var(--card);
}

/* Bridal Gallery specific */
.bridal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.bridal-gallery .product-item {
  background: var(--card);
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.bridal-gallery .product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.bridal-gallery .product-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}

.bridal-gallery .product-images img:hover {
  transform: scale(1.05);
}

/* Premium Order Button */
.bridal-gallery .order-btn {
  display: inline-block;
  margin-top: 12px;
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent), #ff77cc);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.bridal-gallery .order-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* --------------------------
   Lightbox / Full Image Preview
--------------------------- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 8px;
}

/* Facial section multi-image fix */
.facial .product-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.facial .product-images img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.facial .product-images img:hover {
    transform: scale(1.05);
}


