@charset "UTF-8";

@font-face {
  font-family: 'A Day Without Sun Text Bold';
  src: url('../assets/fonts/A_Day_Without_Sun_Text_Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

:root {
  --bs-blue: #343a40;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ecb807;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #343a40;
  --bs-secondary: #6c757d;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ecb807;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 52, 58, 64;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 236, 184, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --bs-body-font-size: 1.05rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #6c757d;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #343a40;
  --bs-link-hover-color: #000;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fbf1cd;
}

body,
html {
  width: 100%;
  height: 100%;
}

body {
  padding-top: 110px;
}

h1, h2, h3, h4, h5, h6 {
  color: #212529;
  font-family: 'A Day Without Sun Text Bold', cursive;
}

.card .card-title {
  font-family: 'A Day Without Sun Text Bold', cursive;
  font-size: 1.35rem;
}

.card {
  border: none;
}

/* --- Homepage Product Card "Lift" Effect --- */
#collections .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem; /* Soft rounded corners */
}

#collections .card:hover {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15); /* Adds depth */
}

.content-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

#how-it-works .container {
  max-width: 1320px;
}

.content-section-heading h2, .content-section-heading .h2 {
  font-size: 2.25rem;
}
.content-section-heading h3, .content-section-heading .h3 {
  font-size: 1rem;
  text-transform: uppercase;
  font-family: var(--bs-body-font-family);
  font-weight: 700;
}

.text-faded {
  color: var(--bs-body-color);
}

/* --- Buttons: Pill Shape --- */
.btn {
  font-family: 'A Day Without Sun Text Bold', cursive;
  font-size: 1.25rem;
  transition: all 0.2s ease-in-out;
  border-radius: 0.75rem; /* Creates the Pill shape */
}

.btn:hover {
  transform: scale(1.05);
}

.btn-xl {
  padding: 1rem 2.5rem; /* Slightly wider for pill aesthetics */
  font-size: 1.35rem;
}

#collections.content-section {
  padding-bottom: 3.5rem;
}
#faq.content-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
#contact-us.content-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
footer.footer {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
footer.footer .small {
  font-size: 0.8rem;
}

/* --- Global Header Styles --- */
.global-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  z-index: 1000;
  height: 110px;
}

.global-header::after {
  content: '';
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #dee2e6;
  z-index: 1001;
}

.global-header .container-fluid {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.global-header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 55px;
  padding: 0;
}

.global-header-logo {
  flex-shrink: 0;
  transition: all 0.2s ease-in-out;
  margin-left: -5px;
}
.global-header-logo:hover {
  transform: scale(1.05);
}
.global-header-logo img {
  height: 40px;
  width: auto;
  display: block;
}

/* New Custom Crafts Logo in Header */
.custom-crafts-logo {
  height: 35px;
  width: auto;
  transition: all 0.2s ease-in-out;
}
.custom-crafts-logo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.global-header-nav-wrapper {
  min-width: 0;
  text-align: center;
  width: 100%;
  padding-top: 0;
  border-top: none;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Masthead/Hero Styles --- */
.masthead {
  padding-top: 1.5rem;
  background-color: #fff;
}

.masthead-text-col .p-5-custom {
  padding: 1.5rem 0;
}

.masthead-text-col h1 {
  font-size: 2.25rem;
}

.masthead-text-col .lead {
  font-size: 0.95rem;
  font-weight: 400;
  margin-bottom: 1.5rem !important;
}

.masthead-text-col .btn-xl {
  padding: 0.8rem 1.75rem;
  font-size: 1.25rem;
}

.masthead-image-col img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 992px) {
  .masthead {
    padding-top: 0;
  }

  .masthead-text-col h1 {
    font-size: 3.25rem;
  }

  .masthead-text-col .lead {
    font-size: 1.15rem;
    margin-bottom: 2rem !important;
  }

  .masthead-text-col .btn-xl {
    padding: 1rem 2.25rem;
    font-size: 1.35rem;
  }

  .content-section-heading h2, .content-section-heading .h2 {
    font-size: 2.5rem;
  }
}

.card .card-img-top {
  background-color: #ffffff;
  object-fit: contain;
  height: 180px;
  width: 100%;
}

.service-icon {
  background-color: #fff;
  color: #343a40;
  height: 12.25rem;
  width: 17.5rem;
  display: block;
  font-size: 2.25rem;
  padding: 0;
  overflow: hidden;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.series-bubble-link {
  text-decoration: none;
  color: #212529;
  transition: all 0.2s ease-in-out;
  display: block;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
  padding: 0;
}
.series-bubble-link:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

.series-bubble-image {
  width: 66px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 0;
  background-color: #ffffff;
  margin-left: auto;
  margin-right: auto;
}
.series-bubble-title {
  display: none;
}

/* --- Active Page Indicator --- */
.page-characters .series-bubble-link[href="series-characters.html"],
.page-desserts .series-bubble-link[href="series-desserts.html"],
.page-shadowbox .series-bubble-link[href="series-shadowbox.html"],
.page-flowers .series-bubble-link[href="series-flowers.html"],
.page-fairy-house .series-bubble-link[href="series-fairy-house.html"],
.page-kids .series-bubble-link[href="series-kids.html"] {
    opacity: 1;
    transform: scale(1.05);
}

.page-characters .series-bubble-link:not([href="series-characters.html"]),
.page-desserts .series-bubble-link:not([href="series-desserts.html"]),
.page-shadowbox .series-bubble-link:not([href="series-shadowbox.html"]),
.page-flowers .series-bubble-link:not([href="series-flowers.html"]),
.page-fairy-house .series-bubble-link:not([href="series-fairy-house.html"]),
.page-kids .series-bubble-link:not([href="series-kids.html"]) {
    opacity: 0.5;
}

.page-characters .series-bubble-link:not([href="series-characters.html"]):hover,
.page-desserts .series-bubble-link:not([href="series-desserts.html"]):hover,
.page-shadowbox .series-bubble-link:not([href="series-shadowbox.html"]):hover,
.page-flowers .series-bubble-link:not([href="series-flowers.html"]):hover,
.page-fairy-house .series-bubble-link:not([href="series-fairy-house.html"]):hover,
.page-kids .series-bubble-link:not([href="series-kids.html"]):hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.page-characters .series-bubble-link[href="series-characters.html"]:hover,
.page-desserts .series-bubble-link[href="series-desserts.html"]:hover,
.page-shadowbox .series-bubble-link[href="series-shadowbox.html"]:hover,
.page-flowers .series-bubble-link[href="series-flowers.html"]:hover,
.page-fairy-house .series-bubble-link[href="series-fairy-house.html"]:hover,
.page-kids .series-bubble-link[href="series-kids.html"]:hover {
    opacity: 1;
    transform: scale(1.05);
    cursor: default;
}

/* --- FAQ Accordion Styles --- */
.faq-section {
  background-color: #fff;
}
.faq-item {
  margin-bottom: 0.5rem;
  text-align: left;
  border-bottom: 1px solid #dee2e6;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-button {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0.5rem;
  text-align: left;
  font-family: 'A Day Without Sun Text Bold', cursive;
  font-size: 1.35rem;
  color: #212529;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}
.faq-button:hover {
  background-color: #f8f9fa;
}
.faq-icon {
  font-family: var(--bs-body-font-family);
  font-size: 2rem;
  font-weight: 300;
  color: #6c757d;
  margin-left: 1rem;
}
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fff;
}
.faq-answer {
  font-family: var(--bs-body-font-family);
  color: #6c757d;
  line-height: 1.6;
  padding: 0 0.5rem 1.5rem 0.5rem;
}

#kits.content-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* --- UPDATED Carousel Styles --- */
.carousel-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}
.carousel-container {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 1rem 0;
}

/* Animation: Floating - TONED DOWN */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.carousel-item {
  display: block;
  flex: 0 0 60%;
  margin: 0 15px;
  border: none;
  border-radius: 0.375rem;
  transform: scale(0.85);
  opacity: 0.3;
  filter: blur(3px) grayscale(100%);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.carousel-item.active {
  opacity: 1;
  filter: blur(0) grayscale(0%);
  transform: scale(1.1);
  z-index: 10;
  cursor: default;
}

/* Apply floating to the image inside the active carousel item */
.carousel-item.active img {
    animation: float 4s ease-in-out infinite;
}

.carousel-item:not(.active):hover {
    opacity: 0.6;
    filter: blur(1px) grayscale(50%);
    transform: scale(0.9);
}

@media (min-width: 768px) {
  .carousel-item {
    flex-basis: 30%;
  }
}
@media (min-width: 992px) {
  .carousel-item {
    flex-basis: 20%;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  z-index: 10;
  cursor: pointer;
  font-size: 1rem;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  left: calc(50% - 200px);
}
.carousel-btn.next {
  left: auto;
  right: calc(50% - 200px);
}
.carousel-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}
.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 991px) {
  .carousel-btn {
    left: calc(50% - 180px);
  }
  .carousel-btn.next {
    left: auto;
    right: calc(50% - 180px);
  }
}
@media (max-width: 767px) {
  .carousel-item {
      flex-basis: 60%;
  }
  .carousel-btn {
    left: 10px;
  }
  .carousel-btn.next {
    left: auto;
    right: 10px;
  }
}
@media (max-width: 575px) {
  .carousel-item {
      flex-basis: 70%;
  }
}

/* --- Kit Details Styles --- */
.kit-details-container {
  margin-top: 1.5rem;
  padding: 3rem 0;
  background-color: #ffffff;
  transition: opacity 0.3s ease-in-out;
}
.kit-details-text {
  text-align: center;
  margin-bottom: 2rem;
}

.kit-details-text h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.kit-details-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* REVERTED: What's in the Box styling back to clean/original */
.kit-contents-list {
  display: inline-block; /* Centers on mobile */
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  padding-left: 0;
}

.kit-contents-list li {
    font-family: 'Source Sans Pro', sans-serif;
    margin-bottom: 0.2rem;
}

.kit-contents-list li i {
    color: var(--bs-secondary);
    margin-left: 0.5rem;
}

.img-detail-trio {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: bottom;
  border-radius: 0.375rem;
  background-color: #fff;
}

.img-detail-rect-duo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: bottom;
  border-radius: 0.375rem;
  background-color: #fff;
}

/* --- Character Gallery --- */
#kitCharacterSection {
  padding-top: 1.5rem;
}

.character-row-title {
  font-family: var(--bs-body-font-family);
  font-weight: 700;
  color: #212529;
  margin-bottom: 1.5rem;
}
.character-item {
  text-align: center;
  margin-bottom: 1rem;
}
.character-img {
  border: none;
  border-radius: 0.375rem;
  background-color: #fff;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: bottom;
}
.character-label {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  color: #212529;
  font-family: 'A Day Without Sun Text Bold', cursive;
}

@media (max-width: 991px) {
  .img-detail-rect-duo {
    aspect-ratio: 1 / 1;
  }
}

/* --- Desktop Header Overrides --- */
@media (min-width: 768px) {
  body {
    padding-top: 90px;
  }

  .global-header {
    height: 90px;
  }

  .global-header::after {
    display: none;
  }

  .global-header .container-fluid {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .global-header-top-row {
    display: contents;
    height: auto;
    padding: 0;
  }

  .global-header-logo img {
    height: 55px;
  }

  .global-header-nav-wrapper {
    width: auto;
    height: auto;
    flex-grow: 0 !important;
    position: absolute;
    left: 50%;
    top: calc(50% + 3px);
    transform: translate(-50%, -50%);
    padding-top: 0;
    border-top: none;
    display: block;
    align-items: stretch;
    justify-content: flex-start;
  }

  .global-header-nav-wrapper > .col-lg-9.col-xl-8 {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
  }

  /* Custom Crafts Logo Desktop override if needed */
  .custom-crafts-logo {
    height: 45px;
  }

  .series-bubble-title {
    display: block;
    font-size: 0.85rem;
  }

  .series-bubble-image {
    width: 85px;
    height: 53px;
  }

  .series-bubble-link {
    min-height: 70px;
    padding: 0;
  }
}

/* --- Desktop Hero Styles --- */
@media (min-width: 992px) {
  .masthead .row {
    margin-top: 90px;
  }

  .masthead-text-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
  }

  .masthead-image-col {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 4rem;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .masthead-image-col img {
    width: 100%;
    height: auto;
  }

  .masthead-text-col .p-5-custom {
      padding: 4rem;
  }

  .card .card-title {
    font-size: 1.5rem;
  }

  .faq-button {
    font-size: 1.5rem;
  }

  .kit-details-text h2 {
    font-size: 2.75rem;
  }

  .kit-details-text {
      text-align: left;
      margin-bottom: 0;
  }

  .kit-details-title-block {
    text-align: center;
  }

  .kit-details-title-block h2 {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .kit-details-desc-block p {
    margin-top: 0;
  }

  .kit-details-list-block {
    text-align: center;
  }

  /* REVERTED: Desktop alignment for list */
  .kit-details-list-block-content {
    display: inline-block;
    text-align: right;
    margin-top: -1.85rem;
    border-left: none;
    padding: 0;
  }
  .kit-details-list-block-content .kit-contents-list {
    text-align: right;
    margin-top: 0;
  }

  .kit-details-list-block-content h4.h5 {
      margin-bottom: 0.25rem;
      margin-top: 0;
  }

  .img-detail-rect-duo {
    aspect-ratio: 4 / 3;
  }
}

.lead {
  font-weight: 400;
}

/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Added Organic Shape for Factory Image */
#manufacturing img {
    border-radius: 50% 50% 50% 70% / 60% 50% 70% 60%;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    object-fit: cover;
    width: 100%;
}

#manufacturing img:hover {
    border-radius: 60% 50% 70% 60% / 60% 60% 60% 80%;
}

/* --- Grid View Styles --- */
.grid-item-card {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none; /* Removed border */
    border-radius: 0.5rem;
    overflow: hidden;
    background: transparent; /* Removed background to show simple white space */
    height: 100%;
}

.grid-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: #fff; /* Add white bg on hover so shadow works nicely */
}

.grid-item-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    padding: 10px;
}

.grid-item-title {
    font-family: 'A Day Without Sun Text Bold', cursive;
    font-size: 0.9rem;
    text-align: center;
    padding: 0.5rem;
    background-color: transparent; /* Removed grey background */
    margin: 0;
    border-top: none; /* Removed divider line */
}

/* --- Fair Banner Styles --- */
.fair-banner {
    font-family: var(--bs-body-font-family); /* Source Sans Pro */
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    z-index: 999; /* Sits below the fixed header (z-index 1000) */
    background-color: #000 !important; /* Solid Black Background */
    color: #fff !important; /* White Text */
    border: none;
}
.fair-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    transition: opacity 0.2s;
}
.fair-link:hover {
    color: #fff;
    opacity: 0.8;
}
@media (max-width: 768px) {
    .fair-banner {
        font-size: 0.85rem;
    }
}