:root {
  --primary-color: #53728c;
  --secondary-color: #dae4ed;
  --background-color: #fefeff;
  --text-color: #2b3e4b;
  --footer-bg: #3e5668;
  --hover-color: #395a6f;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}



h1,h2,h3 { font-family: 'Playfair Display', serif; color: var(--primary-color); }

/* NAVBAR */
nav {
  position: sticky;
  top: 0;
  background-color: #ffffffee;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between; /* handles logo left / burger right */
  align-items: center;
  z-index: 1000;
}

/* Links container */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  margin-left: auto; /* pushes it to the right */
}

/* ========== MOBILE NAV ========== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    display: none; /* hidden by default on mobile */
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 70px; /* just under navbar */
    right: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease forwards;
  }

  nav ul.active {
    display: flex;
  }
}

/* ========== DESKTOP NAV (CENTERED) ========== */
@media (min-width: 769px) {
  nav {
    justify-content: center; /* center the nav links */
  }

  .menu-toggle {
    display: none; /* hide hamburger */
  }

  nav ul {
    display: flex !important; /* always visible */
    position: static; /* reset mobile dropdown */
    flex-direction: row; /* horizontal layout */
    gap: 2rem;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
  }
}

/* Slide down animation */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* HEADER */
header {
  position: relative; padding: 3rem 2rem; text-align: center; color: var(--text-color);
  background-image:url('https://makingitbloom.co.uk/bg.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
header::before {
  content:""; position:absolute; inset:0; background-color: rgba(83,114,140,0.10); z-index:0;
}
header img, header h1, header p { position: relative; z-index: 1; }
header img { max-width:250px; border-radius:10px; margin-bottom:1rem; animation: logoFadeIn 1.2s ease forwards; }
@keyframes logoFadeIn { 0%{opacity:0; transform:scale(0.2);} 100%{opacity:1; transform:scale(1);} }
header h1 { font-size:2.5rem; margin-bottom:0.5rem; }
header p { font-size:1.2rem; }

/* CONTAINER & SECTION */
.container { max-width: 1200px; margin: auto; }
.container-portfolio {
  margin: auto;
}
section { padding: 3rem 2rem; margin-bottom:4rem; border-bottom:1px solid var(--secondary-color); }
section:last-of-type { border-bottom:none; margin-bottom:2rem; }
section h2 { text-align:center; font-size:2rem; margin-bottom:2rem; }

/* OCCASIONS CARDS */
.flower-grid { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; padding:20px 0; text-decoration:none; color:inherit; }
.flower-grid a { text-decoration:none; color:inherit; }
.flower-card {
  flex:0 0 auto; width:300px; max-width:100%; text-align:center; background:#fff;
  border-radius:8px; box-shadow:0 4px 12px rgba(0,0,0,0.08); padding-bottom:20px; margin-bottom:20px;
  transition: transform .2s ease-in-out;
}
.flower-card:hover { box-shadow:0 4px 8px rgba(0,0,0,0.1); transform:translateY(-2px); }
.flower-card img { width:100%; height:400px; object-fit:cover; border-top-left-radius:8px; border-top-right-radius:8px; margin-bottom:15px; }
.flower-card h3 { font-family:'Playfair Display',serif; color:#53728c; margin-bottom:10px; font-size:1.6em; }
.flower-card p { font-family:'Open Sans',sans-serif; color:#333; font-size:1em; padding:0 15px; line-height:1.5; }

@media (max-width: 992px) { .flower-card { flex:0 0 calc(50% - 15px); } }
@media (max-width: 600px) { .flower-grid { gap:15px; } .flower-card { flex:0 0 90%; min-width:unset; } }

/* GALLERY */
.gallery-slider { display:flex; overflow-x:hidden; gap:1rem; padding-bottom:1rem; max-width:90%; margin:1rem auto 2rem auto; }
.gallery-slider img { height:200px; border-radius:10px; transition: transform .3s; flex-shrink:0; }
.gallery-slider img:hover { transform:scale(1.05); }

/* CONTACT */
.contact-links { text-align:center; font-size:1.1rem; margin:2rem 0; }
.contact-links a { margin:0 .5rem; text-decoration:none; font-weight:bold; color:var(--primary-color); transition: color .3s; }
.contact-links a:hover { color:var(--hover-color); }
.contact-links .contact-primary-btn,
.contact-links .contact-submit-btn {
  color: #fff;
}
.contact-links .contact-primary-btn:hover,
.contact-links .contact-submit-btn:hover {
  color: #fff;
}
.contact-form-status {
  display: none;
  max-width: 760px;
  margin: 1.25rem auto 0;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
}
.contact-form-status.is-visible { display: block; }
.contact-form-status.is-success {
  background: #edf7ee;
  border: 1px solid #bfdcc2;
  color: #24693d;
}
.contact-form-status.is-error {
  background: #fff3f3;
  border: 1px solid #efc0c0;
  color: #8b2f2f;
}
.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
  max-width: 1040px;
  margin: 2rem auto 0;
}
.contact-card {
  background: #fff;
  border: 1px solid #d6e0e8;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
  text-align: left;
}
.contact-card h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}
.contact-card p {
  color: #4d5c69;
  line-height: 1.7;
}
.contact-card--highlight {
  background: linear-gradient(180deg, #f7fbfe 0%, #eef4f8 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-card--highlight p,
.contact-card--highlight .contact-note {
  max-width: 28rem;
}
.contact-primary-btn,
.contact-submit-btn {
  display: inline-block;
  border: none;
  border-radius: 999px;
  background: #53728c;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 20px rgba(83,114,140,0.18);
}
.contact-primary-btn:hover,
.contact-submit-btn:hover {
  background: #45637c;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(83,114,140,0.24);
}
.contact-form {
  margin-top: 1rem;
}
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.contact-form label {
  display: block;
}
.contact-form label span {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #395a6f;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d7e3;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: #2b3e4b;
  background: #fff;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #53728c;
  box-shadow: 0 0 0 3px rgba(83,114,140,0.12);
}
.budget-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #c9d7e3;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.budget-input-wrap:focus-within {
  border-color: #53728c;
  box-shadow: 0 0 0 3px rgba(83,114,140,0.12);
}
.budget-prefix {
  display: flex !important;
  align-items: center;
  padding: 0 0 0 14px;
  margin-bottom: 0 !important;
  color: #53728c;
  font-weight: 700;
  white-space: nowrap;
}
.budget-input-wrap input {
  border: none;
  box-shadow: none;
  padding-left: 8px;
}
.budget-input-wrap input:focus {
  box-shadow: none;
}
.contact-form-message {
  margin-top: 16px;
}
.contact-upload-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: #6a7c89;
}
.contact-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #5b6d7a;
}
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-submit-btn {
  margin-top: 1rem;
}
.contact-social-icons {
  justify-content: center;
  margin-top: 1.25rem;
}
.contact-social-icons a {
  margin: 0;
}
@media (max-width: 900px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 22px 18px;
  }
  .contact-social-icons {
    justify-content: center;
  }
}

/* FOOTER */
footer { text-align:center; padding:2rem; background-color:var(--footer-bg); color:#fff; font-size:.9rem; margin-top:3rem; }
.footer-links { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { text-decoration: underline; }

/* LEGAL PAGE */
.legal-page {
  max-width: 980px;
  margin: 0 auto;
}
.legal-page section {
  border-bottom: none;
  margin-bottom: 0;
}
.legal-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2rem;
}
.legal-intro h1 {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}
.legal-intro p {
  font-size: 1.05rem;
  color: #516572;
}
.legal-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef4f8;
  border: 1px solid #d3dfe8;
  color: #395a6f;
  font-weight: 700;
  margin-top: 1rem;
}
.legal-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid #d7e1e8;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(62, 86, 104, 0.08);
  padding: 32px 28px;
}
.legal-card + .legal-card {
  margin-top: 20px;
}
.legal-card h2 {
  text-align: left;
  margin-bottom: 1rem;
  font-size: 1.65rem;
}
.legal-card h3 {
  font-size: 1.15rem;
  margin: 1.25rem 0 0.75rem;
  color: #395a6f;
}
.legal-card p + p {
  margin-top: 0.9rem;
}
.legal-card ul {
  margin: 1rem 0 0 1.2rem;
}
.legal-card li + li {
  margin-top: 0.55rem;
}
.legal-cta {
  margin-top: 2rem;
  text-align: center;
  padding: 22px;
  border-radius: 18px;
  background: #eef4f8;
  border: 1px solid #d3dfe8;
}
.legal-cta a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}
.legal-cta a:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .legal-intro h1 {
    font-size: 2rem;
  }
  .legal-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .legal-card h2 {
    font-size: 1.4rem;
  }
}

/* LIGHTBOX */
#lightbox { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(43,62,75,0.8); display:flex; justify-content:center; align-items:center; z-index:9999; }
#lightbox img { max-width:90%; max-height:80%; border-radius:8px; box-shadow:0 0 20px rgba(0,0,0,0.3); }
#lightbox-close { position:absolute; top:30px; right:40px; font-size:2rem; color:#fff; cursor:pointer; font-weight:bold; z-index:10000; }

/* SOCIAL ICONS */
.social-icons { display:flex; justify-content:center; gap:1.5rem; margin-top:1rem; }
.social-icons img { width:32px; height:32px; transition: transform .2s ease; }
.social-icons img:hover { transform:scale(1.2); }

/* LOGO */
.logo-circle { display:inline-block; background: rgba(255,255,255,0.75); border-radius:50%; padding:1rem; box-shadow:0 0 15px rgba(0,0,0,0.1); }
.logo-circle img { width:250px; height:250px; border-radius:50%; object-fit:cover; }

/* FILTERS */
.filters { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:30px; justify-content:center; }
.filters button {
  background:#f8f8f8; color:#53728c; border:1px solid #c9d7e3; padding:12px 25px; border-radius:25px;
  font-family:'Open Sans',sans-serif; font-size:1rem; cursor:pointer; transition: all .3s; box-shadow:0 2px 5px rgba(0,0,0,0.05);
}
.filters button:hover { background:#e6edf2; border-color:#aebfd1; transform: translateY(-2px); }
.filters button.active { background:#53728c; color:#fff; border-color:#53728c; box-shadow:0 4px 8px rgba(0,0,0,0.1); }
@media (max-width:768px) { .filters button { padding:10px 20px; font-size:.9rem; } }



/* ========================================
   TESTIMONIAL BOOKMARK (UPDATED)
   ======================================== */

.testimonial-background {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  display: flex;
  flex-direction: row;
  min-height: 600px;
  background-image: url('/images/scrapbook/wedding/IMG-20250917-WA0009.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  box-sizing: border-box;
}
/* --- TESTIMONIAL BOOKMARK FIXES --- */

/* left column on desktop */
.testimonial-carousel {
  flex: 0 0 35%;
  margin-left: 10%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(2px);
  padding: 2rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

/* title */
.testimonial-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

/* testimonial cards on desktop */
.testimonial-card {
  position: absolute;
  top: 50%;
  /* center vertically */
  left: 50%;
  /* center horizontally */
  transform: translate(-50%, -50%);
  width: 85%;
  opacity: 0;
  transition: opacity 1s ease;
  text-align: left;
}

.testimonial-card.active {
  opacity: 1;
  z-index: 2;
}

.testimonial-content {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.testimonial-photo img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  flex: 1;
}

.testimonial-text p {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonial-text h4 {
  margin-top: 5px;
  font-weight: bold;
  color: var(--primary-color);
}

.stars {
  font-size: 1.1rem;
  color: gold;
  margin-bottom: 8px;
}

/* review button */
.review-button {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.review-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #53728c;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.review-btn:hover {
  background: #395a6f;
}

/* progress bar */
.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: #53728c;
  width: 0;
  transition: width linear;
}
@media (max-width: 768px) {
  .testimonial-background {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* center vertically if taller */
    padding: 1rem;
  }

  .testimonial-carousel {
    width: 95%;
    max-width: 500px;
    margin: 0 auto;
    /* fully centered */
    background: rgba(255, 255, 255, 0.95);
    /* slightly more opaque */
    border-radius: 12px;
    padding: 1.5rem 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: visible;
  }

  .testimonial-title {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
  }

  .testimonial-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto 1.5rem auto;
    opacity: 0;
    text-align: center;
    display: none;
  }

  .testimonial-card.active {
    display: block;
    opacity: 1;
  }

  .testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .testimonial-photo img {
    width: 120px;
    height: 120px;
    margin-bottom: 8px;
    border-radius: 50%;
    object-fit: cover;
  }

  .testimonial-text {
    text-align: center;
    max-width: 90%;
  }

  .stars {
    font-size: 1.2rem;
    margin: 4px 0;
  }

  .review-button {
    margin-top: 1.5rem;
    text-align: center;
    position: relative !important;
  }

  .review-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #53728c;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
  }
}
/* CUSTOMER MOMENTS */
#customer-moments { padding:3rem 1rem; background-color:#fdfdfd; max-width:1100px; margin:0 auto; }
.moments-top { display:flex; flex-wrap:wrap; gap:2rem; align-items:center; }
.moments-photo img { width:100%; max-width:500px; border-radius:10px; box-shadow:0 2px 6px rgba(0,0,0,0.1); }
.moments-text { flex:1; min-width:250px; }
.moments-text h2 { color:#53728c; margin-bottom:1rem; } 
.moments-text p { line-height:1.6; font-size:1.1rem; }
.moments-gallery-row { display:flex; gap:1rem; margin-top:0.7rem; }
.moments-gallery-row img { width:50%; max-width:500px; height:350px; object-fit:cover; border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,0.08); display:block; }
.moments-gallery-row img:hover { transform: scale(1.05); }
@media (max-width:600px) { .moments-gallery-row { flex-direction:column; } .moments-gallery-row img { width:100%; height:auto; max-height:350px; } }

/* FAQ */
#faq { margin:50px auto; max-width:800px; padding:20px; }
#faq h2 { text-align:center; margin-bottom:20px; }
.faq-container { display:flex; flex-direction:column; gap:10px; }
.faq-item { border:1px solid #ddd; border-radius:8px; overflow:hidden; }
.faq-question { width:100%; padding:15px; background:#f8f8f8; border:none; text-align:left; font-size:1rem; font-weight:bold; cursor:pointer; transition: background .3s; }
.faq-question:hover { background:#eee; }
.faq-answer { display:none; padding:15px; background:#fff; font-size:.95rem; line-height:1.6; }
.faq-item.active .faq-answer { display:block; }

/* PRICE LIST */
.price-list { max-width: 1000px; margin: 0 auto; }
.price-list h1 { text-align: center; font-size: 2.4rem; margin-bottom: 1rem; }
.price-intro { text-align: center; max-width: 720px; margin: 0 auto 2rem; font-size: 1.05rem; }
.price-section { margin-top: 2.5rem; }
.price-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.price-table thead th {
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding: 12px 16px;
}
.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--secondary-color);
  min-height: 46px;
}
.price-table td:last-child { text-align: right; width: 160px; }
.price-note { text-align: center; font-size: 0.95rem; color: #50616f; margin-top: 1.5rem; }
.price-flyer { margin: 0 auto; max-width: 900px; border: 1px solid var(--secondary-color); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.price-flyer img { display: block; width: 100%; height: auto; }
.price-download { text-align: center; padding: 12px 16px 16px; background: #fff; }
.price-download a { color: var(--primary-color); font-weight: bold; text-decoration: none; }
.price-download a:hover { color: var(--hover-color); }




/* Masonry-style gallery CSS */
.gallery.masonry {
  column-count: 3;
  column-gap: 16px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0 16px;
  margin-top: 60px;   /* pushes whole gallery down */
}

.container.portfolio h1 {
  text-align: center;
  margin: 40px 0 20px; /* top and bottom spacing */
  font-size: 2.5rem;   /* adjust size if needed */
}


.gallery.masonry a {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  break-inside: avoid; /* prevent breaking of items */
}

.gallery.masonry img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery.masonry a:hover img {
  transform: scale(1.03);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .gallery.masonry {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .gallery.masonry {
    column-count: 1;
  }
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;    /* adjust as you like */
  margin: 60px 0 30px;  /* space above and below */
  font-family: 'Playfair Display', serif; /* matches your branding */
  font-weight: 700;
  color: #333;          /* or whatever fits your design */
}


/* edge-to-edge heading that lines up with full-width gallery */
.gallery-title--edge {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  box-sizing: border-box;
  padding: 32px 16px 12px; /* adjust top/bottom spacing as desired */
  text-align: center !important;
  font-size: 2.4rem;
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
}

/* small decorative underline (optional) */
.gallery-title--edge::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ========================================
   PORTFOLIO ADMIN TOOLBAR
   ======================================== */
.admin-toolbar {
  max-width: 1100px;
  margin: 0 auto 30px;
  padding: 16px 20px;
  border: 1px dashed #c9d7e3;
  background: #f8fafc;
  border-radius: 12px;
}
.admin-toolbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.admin-toolbar__actions {
  margin-top: 12px;
}
.admin-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
}
.admin-hint {
  color: #50616f;
  font-size: 0.95rem;
}
.admin-category {
  font-weight: 600;
  color: #395a6f;
}
.admin-upload {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid #c9d7e3;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  font-size: 0.95rem;
  color: #395a6f;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.admin-upload:hover {
  background: #eef3f7;
  border-color: #aebfd1;
}
.admin-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.admin-save {
  background: #53728c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.admin-save:hover {
  background: #395a6f;
  transform: translateY(-1px);
}
.admin-dropzone {
  margin-top: 14px;
  padding: 20px;
  border: 2px dashed #c9d7e3;
  border-radius: 12px;
  text-align: center;
  color: #50616f;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-dropzone.is-dragover {
  border-color: var(--primary-color);
  background: #eef3f7;
}
.admin-status {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #50616f;
}
.admin-status.is-error {
  color: #b00020;
}
.admin-status.is-success {
  color: #2e7d32;
}
.admin-logout {
  background: #fff;
  border: 1px solid #c9d7e3;
  color: #395a6f;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.admin-logout:hover {
  background: #eef3f7;
  border-color: #aebfd1;
}
.admin-card {
  position: relative;
  outline: 1px dashed rgba(83, 114, 140, 0.45);
}
.admin-card.dragging {
  opacity: 0.65;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}
.admin-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(83, 114, 140, 0.9);
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.admin-login {
  position: fixed;
  inset: 0;
  background: rgba(43, 62, 75, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 20px;
}
.admin-login[hidden] {
  display: none;
}
.admin-login__card {
  background: #fff;
  padding: 24px 28px;
  border-radius: 14px;
  width: min(420px, 100%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.admin-login__card h3 {
  margin: 0;
  color: var(--primary-color);
}
.admin-login__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #c9d7e3;
  font-size: 1rem;
}
.admin-login__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.admin-login__submit {
  background: #53728c;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}
.admin-login__exit {
  color: #395a6f;
  text-decoration: none;
  font-weight: 600;
}
.admin-login__exit:hover {
  text-decoration: underline;
}
.admin-login__error {
  color: #b00020;
  font-size: 0.9rem;
  min-height: 1.1rem;
}
@media (max-width: 768px) {
  .admin-toolbar {
    margin: 0 16px 24px;
  }
  .admin-toolbar__row {
    align-items: flex-start;
  }
  .admin-save,
  .admin-upload,
  .admin-logout {
    width: 100%;
    justify-content: center;
  }
}




/* HOW IT WORKS */
/* HOW IT WORKS */
#how-it-works {
  padding: 60px 20px;
  text-align: center;
}

#how-it-works h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 15px;
  color: #53728c;
}

#how-it-works .section-intro {
  max-width: 860px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #4d5c69;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
}

.process-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  border: 1px solid rgba(83, 114, 140, 0.10);
  border-radius: 20px;
  padding: 22px 18px 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.process-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.10);
  border-color: rgba(83, 114, 140, 0.22);
}

.process-icon-wrap {
  position: relative;
  width: 78px;
  height: 78px;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eef4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 1px rgba(83, 114, 140, 0.10);
}

.process-number {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #53728c;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(83, 114, 140, 0.25);
}

.process-card h3 {
  margin: 0 0 12px 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  line-height: 1.25;
  color: #53728c;
}

.process-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
  color: #4d5c69;
}

.process-cta {
  margin-top: 38px;
}

.process-cta p {
  margin-bottom: 14px;
  font-weight: 700;
  color: #2f3c46;
}

.process-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  background: #53728c;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 20px rgba(83, 114, 140, 0.18);
}

.process-btn:hover {
  background: #45637c;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(83, 114, 140, 0.24);
}

/* Large tablet / smaller laptop */
@media (max-width: 1200px) {
  .process-grid {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 14px;
  }

  .process-card {
    padding: 20px 14px 22px;
    min-height: 300px;
  }

  .process-card h3 {
    font-size: 1.2rem;
  }

  .process-card p {
    font-size: 0.95rem;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .process-card {
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 700px) {
  #how-it-works {
    padding: 50px 16px;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-card {
    min-height: auto;
  }

  .process-card h3 {
    font-size: 1.25rem;
  }
}
