/* =========================
   NAVIGATION
========================= */

.topnav { background-color: #e70bb7; }

.navbar {
  background-color: #d31976;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo-link { display: inline-flex; align-items: center; }

.site-logo {
  height: 56px;
  width: auto;
  padding: 10px;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.35));
}

.topnav a {
  color: #f2fcf3;
  text-align: center;
  padding: 12px 16px;
  text-decoration: none;
  font-size: 17px;
  border-radius: 6px;
}

.topnav a:hover,
.topnav a.active {
  background-color: hsl(189, 91%, 69%);
  color: rgb(74, 8, 180);
}

/* =========================
   GLOBAL STYLES
========================= */

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  background: #f5f7fb;
  color: #111827;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1 { color: #40059e; text-align: center; }
h2 { color: #8011db; }
p  { color: #6c08be; line-height: 1.6; }

/* =========================
   Gallery SECTION
========================= */

/* Clear default spacing */
body {
  margin: 0;
}

/* Make gallery items sit properly in rows */
.responsive {
  padding: 10px;
  float: left;
  width: 33.33%;   /* 3 images per row */
  box-sizing: border-box;
}

/* Clear floats after gallery */
.responsive::after {
  content: "";
  display: table;
  clear: both;
}

/* Gallery card style */
.gallery {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #0a1a2f;
}

/* Make images fill the box properly */
.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Description alignment */
.desc {
  padding: 12px;
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
}

/* Responsive adjustments */
@media only screen and (max-width: 900px) {
  .responsive {
    width: 50%;   /* 2 per row */
  }
}

@media only screen and (max-width: 600px) {
  .responsive {
    width: 100%;  /* 1 per row */
  }
}


/* =========================
   ABOUT SECTION
========================= */

.about-section {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =========================
   CART
========================= */

.cart-container {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 22px;
  cursor: pointer;
}

#cart-count {
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 14px;
}

.cart-modal {
  display: none;
  position: fixed;
  top: 20%;
  right: 30%;
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  width: 300px;
}

/* =========================
   PRODUCTS
========================= */

.products {
  display: flex;
  gap: 30px;
  padding: 40px;
}

.product {
  border: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  width: 250px;
  background: white;
}

.product img { width: 100%; }

.product button {
  background: #000;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form { max-width: 600px; margin: auto; }
.contact-grid { display: grid; gap: 16px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #ffc403;
  box-shadow: 0 0 0 3px rgba(255,196,3,0.25);
}

/* =========================
   SLIDESHOW
========================= */

.slideshow-container {
  max-width: 700px;
  position: relative;
  margin: 40px auto;
}

.mySlides { display: none; }

.slideshow-container img {
  width: 100%;
  border-radius: 10px;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 14px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  background-color: rgba(0,0,0,0.6);
  user-select: none;
  border-radius: 50%;
}

.next { right: 10px; }
.prev { left: 10px; }

/* =========================
   CALENDAR
========================= */

:root {
  --card-bg: #ffffff;
  --primary-color: #4f46e5;
  --border-color: #e5e7eb;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card {
  background: var(--card-bg);
  width: 350px;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  margin: 40px auto;
}

.row { display: flex; gap: 10px; margin-bottom: 15px; }

select {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day { aspect-ratio: 1 / 1; border-radius: 8px; cursor: pointer; }
.today { color: var(--primary-color); font-weight: bold; }
.selectedDay { background: var(--primary-color); color: white; }

/* =========================
   FOOTER
========================= */

footer,
.site-footer {
  background-color: #0f0e0e;
  color: white;
  text-align: center;
  width: 100%;
  padding: 20px;
  margin-top: 40px;
}

.site-footer { padding: 40px 0; }

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover { color: #ffcc00; }

/* =========================
   MAP
========================= */

.map-container {
  width: 70%;
  max-width: 800px;
  height: 500px;
  margin: 40px auto;
  border-radius: 15px;
  overflow: hidden;
  border: 4px solid #e0068d;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================
   DARK MODE
========================= */

body.dark { background: #0b1220; color: #e5e7eb; }

body.dark footer,
body.dark .site-footer,
body.dark nav,
body.dark .navbar,
body.dark .topnav {
  background-color: #111827;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   BACK TO TOP BUTTON
========================= */

#topBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 14px;
  font-size: 18px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  background-color: #e70bb7;
  color: white;
}

/* =========================
   THEME TOGGLE BUTTON
========================= */

/* THEME TOGGLE BUTTON (top-right) */
#themeToggle{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
}

/* CART ICON - move it below the theme button */
.cart-container{
  position: fixed;
  top: 70px;      /* was 20px - move down so it doesn't overlap */
  right: 30px;
  z-index: 2000;
}

/* =========================
   CHARACTER COUNTER
========================= */

#counter {
  font-size: 13px;
  text-align: right;
  color: #666;
}

