/* IMPORT FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

.gallery-grid,
.gallery-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-card,
.gallery-card-admin {
  background: white;
  border: 2px solid #ffd3e6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-image:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.delete-image-btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7fb8 0%, #ff5fa3 100%);
  color: white;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.delete-image-btn:hover {
  filter: brightness(1.05);
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  background: white;
  padding: 10px;
}

.image-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background: white;
  color: #2f3b4c;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
}

/* GLOBAL */
body {
  font-family: "Poppins", sans-serif;
  background: #ffeef4;
  text-align: center;
  padding: 40px;
  color: #2f3b4c;
  margin: 0;
}

.lang-toggle {
  background: linear-gradient(135deg, #ff9acb 0%, #ff7fb8 100%);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 127, 184, 0.25);
  white-space: nowrap;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: #2f3b4c;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover {
  color: #d63f7e;
  transform: translateY(-1px);
}

.hero-banner {
  background: linear-gradient(135deg, #ffd1e8 0%, #ff90c9 100%);
  color: #1f2d3a;
  margin: 24px 0;
  padding: 50px 40px;
  border-radius: 28px;
  width: auto;
  max-width: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
}

.hero-candy {
  height: auto;
  max-height: 360px;
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  object-position: center;
  transform: rotate(0deg);
  filter: drop-shadow(0 12px 28px rgba(122, 63, 0, 0.24));
  flex-shrink: 0;
  margin-left: auto;
  border-radius: 20px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: #5c3a54;
}

.hero-title {
  font-size: 52px;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-text {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 720px;
}

.home-intro {
  display: flex;
  justify-content: center;
  text-align: center;
}

.home-intro .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
}

.home-intro-text {
  text-align: center;
  margin: 0 auto 12px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 28px;
  background: #ffffff;
  color: #d63f7e;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.45);
}

.hero-cta:hover {
  background: #ffe9f5;
}

.section-title {
  font-size: 34px;
  margin-bottom: 18px;
  color: #1f2d3a;
}

.pricing-section,
.about-section,
.contact-section {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}

.about-section .content-wrapper,
.contact-section .content-wrapper {
  background: white;
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.09);
  border: 2px solid #ffd3e6;
}

.about-section p,
.contact-section p {
  font-size: 17px;
  color: #4a5c6b;
  line-height: 1.75;
}

.contact-section a {
  color: #d63f7e;
  text-decoration: none;
}

/* CUSTOM HEADER IMAGE */
.custom-header {
  display: block;
  margin: 0 auto 40px auto;
  width: 98%;
  max-width: 1200px;
  height: 600px;
  object-fit: contain;
  background: #c66274;
  border-radius: 25px;
  padding: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  animation: gentleFadeIn 1.2s ease-out forwards;
}

/* TITLES */
.main-title, .dashboard-title, .gallery-title {
  font-size: 48px;
  margin-bottom: 10px;
  color: #1f2d3a;
}

.subtitle, .dashboard-subtitle, .gallery-subtitle {
  font-size: 24px;
  margin-bottom: 25px;
  color: #4a5c6b;
}

/* HOME BOXES */
.home-box-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
  max-width: 900px;
}

.home-box {
  background: white;
  width: 380px;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  border: 2px solid #ffd3e6;
  text-align: center;
}

.home-box h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #1f2d3a;
}

.home-box p {
  font-size: 16px;
  color: #4a5c6b;
  margin-bottom: 20px;
}

.box-btn {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #ff9acb 0%, #ff7fb8 100%);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(255, 150, 200, 0.35);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.box-btn:hover {
  background: linear-gradient(135deg, #ff7fb8 0%, #ff5fa3 100%);
  box-shadow: 0 10px 30px rgba(255, 150, 200, 0.45);
  transform: translateY(-2px);
}

/* Utility and page wrapper classes to avoid inline styles */
.page-wrapper { margin: 40px auto; max-width: 980px; }
.mt-24 { margin-top: 24px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-18 { margin-top: 18px !important; }
.hero-text.wide { max-width: 840px; margin: 0 auto 28px; }

/* SERVICE BOXES */
.service-box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.service-box {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  border: 2px solid #ffd3e6;
  text-align: center;
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border: 2px solid #ffd3e6;
}

.service-box h3 {
  font-size: 22px;
  color: #1f2d3a;
  margin-bottom: 8px;
}

.service-box p {
  font-size: 16px;
  color: #4a5c6b;
  margin-bottom: 15px;
}

.service-btn {
  display: inline-block;
  padding: 10px 18px;
  background: linear-gradient(135deg, #ff9acb 0%, #ff7fb8 100%);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(255, 150, 200, 0.35);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.service-btn:hover {
  background: linear-gradient(135deg, #ff7fb8 0%, #ff5fa3 100%);
  box-shadow: 0 10px 30px rgba(255, 150, 200, 0.45);
  transform: translateY(-2px);
}

/* BOOKING FORM */
.booking-form {
  width: 420px;
  margin: 40px auto 20px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border: 2px solid #ffd3e6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ffc8dd;
  background: #fff7fb;
  font-size: 16px;
  box-sizing: border-box;
}

.booking-form label {
  text-align: left;
  font-weight: 600;
  color: #3a4b5c;
  margin-top: 5px;
}

/* SUBMIT BUTTON */
.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff9acb 0%, #ff7fb8 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(255, 150, 200, 0.35);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #ff7fb8 0%, #ff5fa3 100%);
  box-shadow: 0 10px 30px rgba(255, 150, 200, 0.45);
  transform: translateY(-2px);
}

/* PHONE BUTTON */
.phone-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #ff9acb 0%, #ff7fb8 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 6px 20px rgba(255, 150, 200, 0.35);
  z-index: 9999;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.phone-button:hover {
  background: linear-gradient(135deg, #ff7fb8 0%, #ff5fa3 100%);
  box-shadow: 0 10px 30px rgba(255, 150, 200, 0.45);
  transform: translateY(-2px);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive gallery grid */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 0 10px;
  }
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  border: 2px solid #ffd3e6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* GALLERY MANAGEMENT */
.gallery-management {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #ffd3e6;
}

.gallery-management h2 {
  color: #1f2d3a;
  margin-bottom: 10px;
}

.gallery-management p {
  color: #4a5c6b;
  margin-bottom: 20px;
}

.gallery-preview {
  margin-top: 30px;
}

.gallery-preview h3 {
  color: #1f2d3a;
  margin-bottom: 15px;
  font-size: 20px;
}

.gallery-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 15px;
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ffd3e6;
  border-radius: 8px;
  background: #fff9fc;
}

/* Responsive admin gallery grid */
@media (max-width: 768px) {
  .gallery-grid-admin {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .gallery-grid-admin {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 6px;
    max-height: 250px;
  }
}

.gallery-grid-admin img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border: 1px solid #ffd3e6;
  transition: transform 0.2s ease;
}

.gallery-grid-admin img:hover {
  transform: scale(1.08);
}

/* ADMIN BONE ICON */
.admin-bone {
  position: fixed;
  bottom: 18px;
  right: 60px; /* nudged left for easier reach */
  font-size: 30px; /* larger tap target */
  line-height: 1;
  padding: 6px;
  background: rgba(255,255,255,0.85);
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  opacity: 0.85;
  cursor: pointer;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

.admin-bone:hover {
  opacity: 1;
  transform: scale(1.12);
}

/* Spin animation when clicked */
.admin-bone.spin {
  animation: boneSpin 0.6s linear;
}

@keyframes boneSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Mobile & small screens: center the bone and enlarge for thumb access */
@media (max-width: 480px) {
  .admin-bone {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 14px;
    font-size: 40px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.95);
  }
}

/* Responsive layout tweaks for mobile pages */
@media (max-width: 768px) {
  .site-header {
    padding: 12px 14px;
  }

  .site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 18px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-cta {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-size: 18px;
  }

  .booking-form input,
  .booking-form select,
  .booking-form .submit-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .phone-button {
    right: 16px;
    left: auto;
  }
}

/* ANIMATIONS */
@keyframes gentleFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* LOGO + SCISSORS ANIMATION */
.logo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto 40px auto;
  width: 98%;
  max-width: 1200px;
}

.main-logo {
  width: 260px;
}

.scissors {
  display: none;
}

.scissors-open {
  animation: snipOpen 4s ease-in-out forwards;
}

.scissors-closed {
  animation: snipClosed 4s ease-in-out forwards;
}

@keyframes snipOpen {
  0% { opacity: 1; transform: translateX(0); }
  20% { opacity: 0; transform: translateX(-10px); }
  40% { opacity: 1; transform: translateX(0); }
  60% { opacity: 0; transform: translateX(-10px); }
  80% { opacity: 1; transform: translateX(0); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes snipClosed {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: 1; transform: translateX(-10px); }
  40% { opacity: 0; transform: translateX(0); }
  60% { opacity: 1; transform: translateX(-10px); }
  80% { opacity: 0; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(0); }
}

/* SPARKLES */
.sparkle {
  display: none;
}

.sparkle-1 { top: 360px; left: 80px; }
.sparkle-2 { top: 390px; left: 100px; }
.sparkle-3 { top: 330px; left: 60px; }

@keyframes sparklePop {
  0% { opacity: 0; transform: scale(0.2); }
  20% { opacity: 1; transform: scale(1.2); }
  40% { opacity: 0; transform: scale(0.4); }
  60% { opacity: 1; transform: scale(1.1); }
  80% { opacity: 0; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(0); }
}

/* ================================
   NEW PRICING SYSTEM (FINAL)
   ================================ */

/* GRID LAYOUT */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* Bottom box spans full width */
.large-box {
  grid-column: span 2;
}

/* BOX STYLE */
.price-box {
  background: #ffffff;
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.price-box:hover {
  transform: translateY(-5px);
}

/* TOP SECTION: IMAGE LEFT, TEXT RIGHT */
.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  min-height: 260px;
  position: relative;
  align-items: stretch;
}

.small-box .price-grid {
  min-height: 260px;
}

.large-box .price-grid {
  min-height: 260px;
}

/* IMAGE TAKES HALF THE BOX */
.price-img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  border-right: 2px solid #ffd3e6;
  display: block;
}

/* RIGHT SIDE CONTENT (title + details) */
.price-details {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding: 15px;
  background: #ffffff;
  overflow-y: auto;
  gap: 8px;
}

.price-header {
  margin-bottom: 8px;
}

.price-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: #1f2d3a;
}

.price-details .includes-label {
  margin-top: 4px;
  font-weight: 600;
  font-size: 14px;
  color: #1f2d3a;
  margin-bottom: 4px;
}

/* PRICE TAG (top right corner) */
.price-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff7fb8;
  color: white;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  z-index: 10;
  letter-spacing: 0.5px;
}

.price-addon-tag {
  margin-top: auto;
  display: inline-block;
  background: #ff7fb8;
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  align-self: flex-start;
}

/* INCLUDES LABEL */
.includes-label {
  font-weight: 600;
  font-size: 14px;
  margin-top: 4px;
  color: #1f2d3a;
}

.price-info {
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border-top: none;
  text-align: left;
}

.price-info li {
  margin-bottom: 2px;
  font-size: 13px;
  color: #555;
  line-height: 1.2;
}

/* FEATURED FULL GROOM */
.featured {
  border: 3px solid #ff7fb8;
  transform: scale(1.02);
}

/* MOST POPULAR RIBBON */
.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: 12px;
  left: -40px;
  background: #ff7fb8;
  color: white;
  padding: 6px 50px;
  font-size: 14px;
  font-weight: bold;
  transform: rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  z-index: 20;
  letter-spacing: 1px;
}

/* GLOBAL RESET */
h3, p, li {
  margin: 0;
  padding: 0;
}
