html{
    scroll-behavior: smooth;
}

body {
  font-family: "Kadwa", sans-serif;
  color: #4B3B32;
    background:
    radial-gradient(circle at 15% 20%, rgba(255,204,204,0.35), transparent 60%),
    radial-gradient(circle at 85% 70%, rgba(255,240,200,0.35), transparent 60%),
    #f7f1e4;
  background-color: #FAF3E0 !important;
  margin: 0;
  padding: 0;
}
:root {
  --font-heading: "Kadwa", serif;
  --font-body: "Kadwa", sans-serif;
  --color-heading: #4B3B32;
}

/* Body text */
body {
  font-family: var(--font-body);
  color: #4B3B32;
}

/* All headings – same font + color */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.4em;
}
/* Hero name at the top */
.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.1rem) !important;
  letter-spacing: 0.10em;
  text-transform: lowercase;
}

/* Section titles: Hello, Artworks, Contact */
.about-section > h2,
.divstyle2 > h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: 0.12em;
  color: #4B3B32;
}

/* Subtitles under section titles */
.artworks-intro h3,
.ingredient-title,
.coverflow-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.form-container::before,
.ingredient-card::before,
.cozy-swiper-section::before {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
/* Navbar pills */
.nav-links a {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}


/* .aboutMe {
  padding: 20px;
  color: black;
} */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* .example {background: red;} */
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* .example {background: green;} */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* .example {background: blue;} */
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  /* .example {background: orange;} */
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  /* .example {background: pink;} */
}

#navbar {
 position: sticky;
  top: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 42px;

  /* soft café gradient */
  background: linear-gradient(
    to bottom,
    #f7d9d4 0%,
    #f3cdc7 100%
  );
  backdrop-filter: blur(14px);

  /* warmer shadow */
  box-shadow: 0 6px 20px rgba(150, 100, 80, 0.15);

  border-bottom: 1px solid rgba(166, 116, 90, 0.28);
  transition: 
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.2s ease;
}

#navbar.scrolled {
  padding: 10px 40px;
  background: rgba(245, 210, 205, 0.96);
  box-shadow: 0 8px 24px rgba(130, 90, 70, 0.22);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .nav-links a {
  padding: 14px 16px;
  text-decoration: none;
  color: #4B3B32;
  margin-left: 20px;
} */
.nav-links a,
.learn-btn,
#myBtn,
.form-container input[type="submit"],
.btn-custom {
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

/* Base link styling */
.nav-links a,
#navbar a {
  position: relative;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  color: #4B3B32;
  font-size: 0.95rem;
  font-weight: 500;

  background: rgba(255,255,255,0.45); 
  backdrop-filter: blur(6px);

  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease;
}

#a{
    color: #4B3B32;
    text-decoration: none;
    padding-right: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

/* #navbar a {
    padding: 14px 16px;
    text-decoration: none;
  color: #4B3B32;
  font-family: Arial, Helvetica, sans-serif;
  margin-left: 15px;
} */

#navbar a.active{
  animation: floatTab 2.8s ease-in-out infinite;
}

@keyframes floatTab {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.5px); }
  
}

#navbar a.active::after {
  content: "•";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #8c5a4a;
  opacity: 0.9;
}

#navbar a:hover{
  background: rgba(255,255,255,0.75);
  transform: translateY(-2px);
  color: #8c5a4a;
  box-shadow: 0 5px 12px rgba(160, 110, 90, 0.25);
}

/* ===== ARTWORKS DROPDOWN ===== */

.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* make sure the inner Artworks link looks like the other pills */
.nav-item.dropdown > a {
  display: inline-block;
}

/* dropdown panel */
.dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(160, 110, 90, 0.25);
  display: none;
  z-index: 9999;
}

/* links inside the dropdown */
.dropdown-menu a {
  display: block;
  padding: 8px 18px;
  margin: 0;                       /* override pill margins */
  border-radius: 0;                /* flat inside list */
  background: transparent;
  color: #4B3B32;
  font-size: 0.95rem;
}

/* Hidden by default */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

/* When opened */
.dropdown-menu.show-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}


/* hover state for dropdown items */
.dropdown-menu a:hover {
  background: rgba(245, 210, 205, 0.4);
  color: #8c5a4a;
}

.pstyle{
    width: 400px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 25px;
}

.headingsyall {
    font-weight: bold;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.nav-logo {
  height: 50px;
  margin-right: 8px;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.15));
  transition: transform 0.25s ease;
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.hero-gallery {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(https://64.media.tumblr.com/ba24c6905fe8bd5068a292ef94eb459f/c50ef04ca29c2765-29/s1280x1920/54c8f6775871e3974643336a4194799087038f22.gifv); 
  display: flex;
  gap: 1rem;
  padding: 1rem;
  justify-content: center;
  padding: 40px 0;
  flex-wrap: wrap;
}


.float-img {
  width: clamp(80px, 15vw, 160px);
  height: auto;
  border-radius: 15px;
  transition: transform 0.3s ease-out;
}

.float-img:hover {
  transform: translateY(-10px) rotate(2deg) scale(1.05);
  cursor: pointer;
}
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url("https://i.pinimg.com/1200x/61/d1/76/61d1761c5c8625eecb1df303682915bb.jpg");
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FAF3E0;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.hero-text p {
  max-width: 600px;
  margin: 0 auto 1rem;
  padding: 0 1rem;
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: 4B3B32;
  background-color: #FAF3E0;
  text-align: center;
  cursor: pointer;
}

.hero-text button:hover {
  background-color: #E6C9A8;
  color: #4B3B32;
}
/* Cream bakery hero button used in the hero */
.hero-cta {
  display: inline-block;
  border: none;
  outline: 0;
  padding: 10px 28px;
  border-radius: 999px;
  background-color: #FAF3E0;
  color: #4B3B32;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none; /* works for <a> too */
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  transition: background-color 0.25s ease,
              color 0.25s ease,
              transform 0.15s ease,
              box-shadow 0.25s ease;
}

.hero-cta:hover {
  background-color: #E6C9A8;
  color: #4B3B32;
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0,0,0,0.4);
}

.divstyling {
    margin-top: 20px;
    background-color: palegoldenrod;
    padding: 60px 0px 60px 30px;
}

.about-section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 40px 40px 46px;
  border-radius: 32px;
  background: radial-gradient(circle at top left, #fbe3d5, #f8e7d3);
  box-shadow: 0 18px 40px rgba(180, 130, 100, 0.28);
  text-align: center;
  color: #fffaf4;
  font-family: 'Kadwa', serif;
}

.about-section h2 {
  font-size: 2.1rem;
  color: #2d1f17;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.about-section hr {
  width: 60%;
  max-width: 520px;
  margin: 16px auto 32px;
  opacity: 0.5;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.about-content img {
  width: 300px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
}

.about-text {
  max-width: 400px;
  font-size: 1rem;
  line-height: 1.8;
  color: #4B3B32;
  text-align: left;
}

.learn-btn {
  background-color: #E6C9A8;
  text-decoration: none;
    border-radius: 8px;
    border: none;
    display: inline-block;
    margin: 20px auto;
    cursor: pointer;
    transition: 0.3s ease;
    /* padding: 10px 30px 10px 30px; */
    padding: 12px 25px;
    font-size: 1rem;
    font-family: 'Kadwa', serif;
    margin-top: 1rem;
    margin-bottom: 30px;
    color: #4B3B32
}

.learn-btn:hover {
  background-color: #DCC9B6;
    font-weight: bold;
    color: #4B3B32;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(75, 59, 50, 0.25);
}


.divstyle2 {
    text-align: center;
    margin: 100px auto;
    max-width: 1000px;
    margin-top: 20px;
    margin-bottom: 40px;
    background-color: #FAF3E0;
    padding: 60px 0px 60px 30px;
}

.divstyle2 hr {
  width: 80%;
  height: 2px;
  background-color: #b17a50;
  border: none;
  margin: 0 auto 40px;
}

/* .divstyle2 a button#myBtn {
  display: inline-block;
  margin: 20px auto 0;
} */

.divstyle2 h3,
.divstyle2 p{
    margin-bottom: 20px;
    margin-top: 50px;
}

.divstyle2 p:last-of-type {
  margin-bottom: 40px;
}

hr {
  border: none;
  height: 2px;
  background-color: #4B3B32; 
}

/* .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  background-color: #A3836B;
} */

.album .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  /* background now handled by .display-inner */
  background-color: transparent;
}


.container div {
  /* background-color: #f1f1f1; */
  margin: 10px;
  padding-top: 60px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  font-size: 24px;
}

.container img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
}

.aboutMe {
  /* font-size: 1rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto; */
   text-align: justify;
  line-height: 1.6;
  max-width: 500px;
}

/* Image and text side by side */
.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

/* Image styling */
.about-layout img {
  /* max-width: 400px;
  height: auto; */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 15px;
  width: 45%;
}

  .about-layout .aboutMe {
    width: 45%;
    text-align: left;
  }

/* Text beside image */
.about-layout .about-text {
  max-width: 500px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* @media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  } */

  /* Ensure 3 per row on desktop, auto adjust smaller screens */
@media (min-width: 992px) {
  .row-cols-md-3 > * {
    flex: 0 0 auto;
    width: 30%;
  }

  .container img {
    max-width: 80%;
  }

  .aboutMe {
    padding: 0 1rem;
  }
}

/* ===== HELLO → INGREDIENT LIST SECTION ===== */

.about-section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 40px 24px 10px;
  background: transparent;     /* remove solid brown block */
  text-align: center;
  color: #4B3B32;
}

.about-section h2 {
  font-size: 2.2rem;
  color: #2d1f17;
  margin-bottom: 10px;
}

.about-section hr {
  width: 95%;
  border: none;
  border-top: 1px solid #b17a50;
  margin: 16px auto 32px;
}

/* layout: photo + card side by side */
.about-content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* portrait */
.about-photo {
  width: 280px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.18);
  object-fit: cover;
}

/* bakery-style card, matching contact form vibes */
.ingredient-card {
  position: relative;
  background: linear-gradient(145deg, #b48767, #a07053);
  max-width: 520px;
  width: 100%;
  padding: 26px 26px 32px;
  border-radius: 22px;
  box-shadow:
    0 14px 30px rgba(90, 55, 35, 0.35),
    0 0 0 1px rgba(255, 245, 232, 0.35);
  box-sizing: border-box;
  text-align: left;
  color: #fff7ef;
  font-family: "Kadwa", serif;
}

/* label tab – like "Bakery order slip" but says Ingredient list */
.ingredient-card::before {
  content: "Ingredient list";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 999px;
  background: #f8e0c6;
  color: #6f4b35;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(60, 30, 20, 0.25);
}

/* dotted inner border, like the form doily */
.ingredient-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 2px dotted rgba(255, 237, 214, 0.55);
  pointer-events: none;
}

.ingredient-title {
  position: relative;
  z-index: 1;
  margin: 4px 0 14px;
  font-size: 1.2rem;
}

/* list layout */
.ingredient-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.ingredient-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 0.4rem 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(255, 237, 214, 0.65);
}

.ingredient-list li:last-child {
  border-bottom: none;
}

.ingredient-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.ingredient-desc {
  font-size: 0.85rem;
  opacity: 0.95;
}

.ingredient-note {
  position: relative;
  z-index: 1;
  font-size: 0.78rem;
  opacity: 0.9;
  margin: 8px 0 0;
  margin-top: 18px;
}

/* reuse your learn-btn but align inside card */
.ingredient-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 18px;
}

/* responsive: stack on small screens */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-photo {
    width: 80%;
    max-width: 320px;
  }

  .ingredient-card {
    margin-top: 10px;
  }

  .ingredient-list li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .about-section {
    margin: 50px auto;
    padding: 30px 20px 34px;
    border-radius: 24px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-photo {
    width: 85%;
    max-width: 340px;
  }

  .ingredient-card {
    width: 100%;
  }
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #E6C9A8 !important;
}

button:focus,
.btn:focus {
  outline: none;
  box-shadow: none;
}
/* ========== FEATURED WORKS CAROUSEL ========== */

/* Pink background panel */
/* ========== FEATURED BAKED GOODS / COZY SWIPER ========== */

.cozy-swiper-section {
  position: relative;
  max-width: 860px;
  margin: 10px auto 46px;
  padding: 40px 30px 42px;
  border-radius: 24px;
  background: linear-gradient(145deg, #b98769, #a56a4d);
  box-shadow:
    0 16px 36px rgba(120, 75, 50, 0.36),
    0 0 0 1px rgba(255, 245, 232, 0.35);
  color: #fff7ef;
  box-sizing: border-box;
}

/* little label tab: FEATURED BAKED GOODS */
.cozy-swiper-section::before {
  content: "Featured baked goods";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 999px;
  background: #f8e0c6;
  color: #6f4b35;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(60, 30, 20, 0.25);
}

/* dotted “doily” edge */
.cozy-swiper-section::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 2px dotted rgba(255, 237, 214, 0.55);
  pointer-events: none;
}

/* title + subtitle */
.coverflow-title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 4px 0 0;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #fff7ef;
font-family: var(--font-heading);
}

.coverflow-subtitle {
  position: relative;
  margin-bottom: 18px;
  z-index: 1;
  text-align: center;
  font-size: 0.9rem;
  color: #fbe0ce;
  margin: 2px 0 10px;
  margin-top: 30px !important;
  margin-bottom: 32px !important;
  letter-spacing: 0.03em;
font-family: var(--font-heading);
font-size: 0.9rem;
opacity: 0.9;

}

/* Swiper container */
.cozy-swiper {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 6px 0 14px;
  padding-top: 20px;
  height: auto !important;
}

/* align slides nicely at the bottom */
.cozy-swiper .swiper-wrapper {
  align-items: flex-end;
  height: auto !important;
}

/* each slide – make sure neighbors are visible */
.cozy-swiper .swiper-slide {
  width: 230px;
  display: flex;
  justify-content: center;
  height: auto !important;
}

/* card inside slide */
.cozy-slide-card {
  position: relative;
  display: block;
  width: 230px;
  height: 290px;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 18px rgba(120, 80, 60, 0.25);
  transform-origin: center bottom;
  cursor: pointer;
  text-decoration: none;
}

/* Full-bleed artwork */
.cozy-slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cozy-slide-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 9px 14px 11px;
  background: linear-gradient(
    to top,
    rgba(250, 239, 226, 0.98),
    rgba(250, 239, 226, 0.82),
    transparent
  );
  color: #3a2620;
  font-family: "Kadwa", serif;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-align: center;
}

/* subtle hover */
.cozy-slide-card:hover .cozy-slide-title {
  background: linear-gradient(
    to top,
    rgba(253, 242, 230, 1),
    rgba(253, 242, 230, 0.9),
    transparent
  );
}

/* default slides (non-active) */
.cozy-swiper .swiper-slide .cozy-slide-card {
  transform: scale(0.94);
  opacity: 0.9;
}

/* main center slide */
.cozy-swiper .swiper-slide-active .cozy-slide-card {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 16px 30px rgba(110, 70, 55, 0.35);
  background-color: #fdf4e8;
  opacity: 1;
}

/* side slides – gentle tilt */
.cozy-swiper .swiper-slide-next .cozy-slide-card {
  transform: perspective(900px) rotateY(-9deg) scale(0.95);
}
.cozy-swiper .swiper-slide-prev .cozy-slide-card {
  transform: perspective(900px) rotateY(9deg) scale(0.95);
}

/* pagination dots */
.cozy-swiper .swiper-pagination-bullet {
  background: rgba(255, 236, 220, 0.6);
  opacity: 1;
}
.cozy-swiper .swiper-pagination-bullet-active {
  background: #ffe1c4;
}

/* responsive tweaks */
@media (max-width: 768px) {
  .cozy-swiper-section {
    margin: 20px auto 40px;
    padding: 20px 16px 22px;
  }

  .cozy-slide-card {
    width: 210px;
    height: 290px;
  }
}




.carousel-item img {
  height: 75vh; /* Adjust this height to the rectangle size you want */
  object-fit: cover; /* Keeps the image from stretching */
}

/* ✅ Button Styling Overrides */
.carousel-caption .btn-custom {
    background-color: #E6C9A8;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    font-size: 18px;
    color: #4B3B32; /* better contrast */
    transition: all 0.25s ease-in-out;
}

.carousel-caption .btn-custom:hover {
    background-color: #DCC9B6;
    color: #4B3B32;
    font-weight: bold;
}

/* ✅ Rounded Carousel Indicators */
.carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    background-color: #4B3B32;
    border-radius: 50px;
    border: 2px solid #DCC9B6;
    opacity: 0.7;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: #DCC9B6;
}

/* ✅ Smooth Caption Fade Animation */
.carousel-caption {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-in-out;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ Better spacing + center alignment */
.carousel-caption h1 {
    margin-bottom: 20px; /* breathing room */
    text-shadow: 0px 2px 4px rgba(0,0,0,0.4);
}

.carousel-item img {
    object-fit: cover;
}

/* ✅ Carousel Wrapper: centers & limits width */
.carousel-wrapper {
  max-width: 900px; /* same as Hello! section */
  margin: 60px auto; /* center horizontally with spacing */
  margin-top: -20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ✅ Carousel Image Size & Ratio */
.carousel-img {
  width: 100%;
  height: 500px; /* same rectangular ratio as Hello! */
  object-fit: cover;
}

/* ✅ Center Carousel Indicators */
.carousel-indicators {
  bottom: 20px;
}

/* ✅ Adjust Caption Layout */
.carousel-caption {
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 20px;
}

.carousel-caption h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fffaf4;
}

.carousel-caption .btn-custom {
  background-color: #E9D8C3;
  border: none;
  border-radius: 30px;
  padding: 10px 35px;
  font-size: 0.9rem;
  color: #2d1f17;
  transition: background-color 0.3s ease;
}

.carousel-caption .btn-custom:hover {
  background-color: #d9c3a8;
}

/* Optional: smaller screens support */
@media (max-width: 768px) {
    .carousel-caption {
        bottom: 15%;
    }
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
  .divstyle1 .container {
    flex-direction: column;
    text-align: center;
  }

  .divstyle1 .container img {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .about-layout {
    /* flex-direction: column;
    text-align: center; */
     flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .about-layout .about-text {
    text-align: center;
  }

  .about-layout img {
    max-width: 80%;
  }
}

.form-container {
position: relative;
  background: linear-gradient(145deg, #b48767, #a07053);
  max-width: 520px;
  width: 90%;
  margin: 0 auto 60px;
  padding: 26px 28px 30px;
  border-radius: 22px;
  box-shadow:
    0 14px 30px rgba(90, 55, 35, 0.35),
    0 0 0 1px rgba(255, 245, 232, 0.35);
  box-sizing: border-box;
  text-align: left;
  color: #fff7ef;
  font-family: "Kadwa", serif;
}

.form-container::before {
  content: "Bakery order slip";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  border-radius: 999px;
  background: #f8e0c6;
  color: #6f4b35;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(60, 30, 20, 0.25);
}

/* dotted “doily” edge inside the card */
.form-container::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 18px;
  border: 2px dotted rgba(255, 237, 214, 0.55);
  pointer-events: none;
}

.form-container form {
  position: relative;
  z-index: 1; /* above the dotted border */
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-container label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff4e2;
  margin-bottom: 2px;
}

/* shared field styling */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid #f3cbbd;
  background: #fff7f3;
  color: #5b3b2b;
  font-family: inherit;
  font-size: 0.9rem;
  box-sizing: border-box;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.8),
    0 2px 5px rgba(60, 30, 20, 0.15);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

/* placeholder text – soft and subtle */
.form-container input::placeholder,
.form-container textarea::placeholder {
  color: #c49d8d;
  font-size: 0.85rem;
}

/* focus state = strawberry glaze highlight */
.form-container input:focus,
.form-container textarea:focus {
  outline: none;
  border-color: #f29a9a;
  box-shadow:
    0 0 0 2px rgba(255, 190, 190, 0.6),
    0 4px 10px rgba(80, 40, 30, 0.35);
  transform: translateY(-1px);
}

/* message box slightly taller & softer */
.form-container textarea {
  min-height: 130px;
  resize: vertical;
  border-radius: 16px;
}

/* submit button = frosted cookie */
.form-container input[type="submit"] {
  margin-top: 10px;
  background: linear-gradient(135deg, #f3cba4, #f0b58f);
  color: #4b3124;
  border: none;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  box-shadow:
    0 6px 14px rgba(90, 50, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

/* tiny “sprinkle” dots on the button */
.form-container input[type="submit"]::after {
  content: "• • •";
  margin-left: 8px;
  font-size: 0.9rem;
  letter-spacing: 4px;
}

/* hover / active states */
.form-container input[type="submit"]:hover {
  background: linear-gradient(135deg, #f7d3ae, #f2b693);
  transform: translateY(-1px);
  box-shadow:
    0 10px 20px rgba(70, 35, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.form-container input[type="submit"]:active {
  transform: translateY(1px);
  box-shadow:
    0 4px 10px rgba(70, 35, 20, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* mobile: a bit more breathing room */
@media (max-width: 600px) {
  .form-container {
    padding: 22px 18px 24px;
  }
}

/* Reduce spacing below the text section */
.divstyle2 {
  margin-bottom: 10px !important;   /* was much larger before */
  padding-bottom: 0 !important;
}

/* Reduce top spacing for the pink carousel box */
.cozy-swiper-section {
  margin-top: 10px !important;      /* reduces gap above carousel */
  padding-top: 10px !important;     /* optional—makes inside padding smaller */
  padding: 40px 30px 42px;
}

/* Make form elements stack nicely on phones */
@media (max-width: 600px) {
  .form-container {
    padding: 15px;
  }

  input, textarea {
    font-size: 16px;
  }
}

/* ===== ARTWORKS INTRO ("Featured baked goods") ===== */

.artworks-intro h2 {
  margin-bottom: 8px;
}

.artworks-intro h3 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

.artworks-intro p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.95rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  margin-bottom: 5px;
  color: #FAF3E0;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  resize: vertical; /* allows resizing only up/down */
}

input[type="submit"] {
  background-color: #E6C9A8;
  color: #4B3B32;
  border: none;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
}

input[type="submit"]:hover {
  background-color: #DCC9B6;
  color: #4B3B32;
}

textarea {
  border-radius: 10px; /* rounder edges */
  min-height: 120px;   /* gives it some height */
}

input:focus,
textarea:focus {
  outline: none;
  border: 2px solid #E6C9A8; /* your light tan accent */
  box-shadow: 0 0 5px rgba(230, 201, 168, 0.6);
}

input:invalid,
textarea:invalid {
  border-color: #e74c3c;
  background-color: #fff6f6;
}

.aboutMe{
    margin-top: 20px;
    padding: 60px 0px 60px 30px;
}

.artworks {
    margin-top: 20px;
    background-color: palegoldenrod;
    padding: 60px 0px 60px 30px;
}

footer {
  text-align: center;
  padding: 3px;
  background-color: #F6D5D1;
  color: #4B3B32;
}

footer a {
  color: inherit;             /* makes it same as surrounding text */
  text-decoration: none;      /* removes underline */
  font-weight: bold;          /* optional, to match your branding */
}

footer a:hover {
  color: #E6C9A8;             /* subtle hover color to match your palette */
}

#myBtn{
    background-color: #E6C9A8;
    border-radius: 8px;
    border: none;
    display: inline-block;
    margin: 20px auto;
    cursor: pointer;
    transition: 0.3s ease;
    /* padding: 10px 30px 10px 30px; */
    padding: 12px 25px;
    font-size: 1rem;
    font-family: 'Kadwa', serif;
    margin-top: 1rem;
    margin-bottom: 30px;
    color: #4B3B32
}

#myBtn:hover{
    background-color: #DCC9B6;
    font-weight: bold;
    color: #4B3B32;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(75, 59, 50, 0.25);
}

.myBtn {
    background-color: #E6C9A8 !important;
    border-radius: 8px;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    color: #4B3B32 !important;
    transition: 0.3s ease;
}

.myBtn:hover {
    background-color: #DCC9B6 !important;
    font-weight: bold;
    color: #4B3B32 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(75, 59, 50, 0.25);
}

.see-more-wrapper {
  text-align: center;
  margin: 20px 0 60px;   /* top space from pink box, bottom before Contact */
}

.display-inner {
  position: relative;
  background: #A3836B;
  border-radius: 24px;
  padding: 30px 32px 40px;
   box-shadow: 0 14px 26px rgba(90, 55, 35, 0.4);
}

/* less vertical gap between rows in the display case */
.display-inner .row {
  row-gap: 2.5rem;   /* smaller than the default big gap */
}


/* dotted “doily” border inside the brown */
.display-inner::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 2px dotted rgba(255, 237, 214, 0.7);
  pointer-events: none;
}

/* Center the grid nicely */
.album .container {
  display: flex;
  justify-content: center;
}

/* Center grid alignment */
.album .row {
  justify-content: center;
}

/* Cozy card aesthetic + fixed height */
.card {
  background-color: #F6D5D1;
  border-radius: 14px;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;

  height: 340px;              /* all same height */
  width: 220px;               /* 👈 give each card a fixed width */
  margin: 0 auto;             /* center inside each column */
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Image area – same height on every card */
.card-img-top {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 10px;
}

/* Text area fills the rest */
.card-body {
  margin-top: 16px;            /* space between image + text */
  padding: 0 10px 18px;
  text-align: center;

  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;         /* center text horizontally */
  justify-content: center;     /* center text vertically */
}

.card-title {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.3;
    white-space: normal;     /* allow normal wrapping */
  word-break: normal;      /* don't break inside words */
  overflow-wrap: break-word;
}


.btn-custom {
  background-color: #a87c6f;
  color: white;
  border-radius: 12px;
  padding: 0.5rem 1.2rem;
  transition: background-color 0.3s ease;
}
.btn-custom:hover {
  background-color: #d3a78c;
  color: #fff;
}


#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  z-index: 999;
}

#backToTop img {
  width: 80px;
  animation: chibiFloat 3s infinite ease-in-out;
}

/* Visible state */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Floating animation */
@keyframes chibiFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Shared hero section layout */
.project-hero {
  position: relative;
  height: 60vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: 'Kadwa', serif;
}

.project-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}

.project-hero .overlay,
.some-other-overlay {      /* add any other overlay selectors you use */
  pointer-events: none;
}

.project-hero .hero-text {
  position: relative;
  z-index: 2;
  padding: 1rem 2rem;
}

.project-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-hero p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Example hero backgrounds for each page */
.dreamscape-hero {
  background-image: url("../src/Dreamscape_Header.png");
}

.guttergearz-hero {
  background-image: url("../src/guttergreaz_hero_redo2.jpg");
  height: 60vh;
  background-size: contain;    /* shows full image */
  background-repeat: no-repeat; /* prevents tiling */
  background-position: center; /* centers image */
  background-color: #000;      /* optional fallback background */
}

.comick-hero {
  background-image: url("../src/Comick_App.png");
}

.chocobyte-hero {
    background-image: url("");
}

.properinsurance-hero {
    background-image: url("");
}

.spaceposter-hero {
    background-image: url("");
}

/* ===== MODAL STYLING – BAKERY THEME ===== */

.modal-dialog {
  max-width: 760px;
}
/* Full-screen overlay for the craft modal */
.modal {
  display: none;                 /* hidden by default */
  position: fixed;
  inset: 0;                      /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* When active */
.modal.open {
  display: flex;
}

.modal-content {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(145deg, #b98769, #a56a4d);  /* warm brownie tones */
  box-shadow:
    0 18px 40px rgba(80, 45, 30, 0.55),
    0 0 0 1px rgba(255, 245, 232, 0.35);
  padding: 70px 26px 30px;
  border: none;
  text-align: center;
  color: #fff7ef;
  box-sizing: border-box;
  overflow: hidden;
}

/* little label tab like your “Bakery order slip” */
.modal-content::before {
  content: "Fresh from the oven";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 18px;
  border-radius: 999px;
  background: #f8e0c6;
  color: #6f4b35;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(60, 30, 20, 0.25);
}

/* dotted doily border inside */
.modal-content::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 18px;
  border: 2px dotted rgba(255, 237, 214, 0.7);
  pointer-events: none;
}

/* image “sitting” on the card */
.modal-content img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(40, 20, 10, 0.45);
}

/* headings + text */
.modal-content h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fffaf4;
  margin-bottom: 8px;
}

.modal-content p {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fbe7d7;
  max-width: 580px;
  margin: 0 auto 14px;
}

/* cookie-style button just inside modals */
.modal .btn-custom {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #f3cba4, #f0b58f);
  color: #4b3124;
  border: none;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow:
    0 6px 14px rgba(90, 50, 30, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition:
    transform 0.12s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.modal .btn-custom:hover {
  background: linear-gradient(135deg, #f7d3ae, #f2b693);
  transform: translateY(-1px);
  box-shadow:
    0 10px 20px rgba(70, 35, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* small-screen tweak */
@media (max-width: 576px) {
  .modal-content {
    padding: 20px 18px 22px;
    border-radius: 18px;
  }

  .modal-content img {
    max-height: 240px;
  }
}


/* ===== PROJECT CONTENT LAYOUT ===== */

.project-container {
  max-width: 850px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
  font-family: 'Kadwa', serif;
  color: #3a2d28;
}

.project-section {
  margin-bottom: 80px;
}

.project-section h2 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.project-section p,
.project-section ul {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #5a453e;
}

.project-section ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.project-section ul li {
  margin-bottom: 0.5rem;
}

/* Image block for previews */
.image-block {
  margin-top: 40px;
  text-align: center;
}

.image-block img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.image-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  justify-items: center;
}

/* ===== Optional Carousel ===== */
.carousel-container {
  position: relative;
  max-width: 850px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  background-color: #f7efe7;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-track img {
  width: 100%;
  max-width: 850px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  color: #4B3B32;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  padding: 8px 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: #E9D8C3;
}

.carousel-btn.prev {
  left: 15px;
}

.carousel-btn.next {
  right: 15px;
}

/* ===== BACK BUTTON ===== */

.back-btn {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 120px;
}

.btn-custom {
  background-color: #f2b6b1;
  color: #3a2d28;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #e59b95;
  transform: translateY(-2px);
}

/* ===== Mindmap Image Styling ===== */
.mindmap-img {
  display: block;
  margin: 30px auto;         /* centers it */
  width: 80%;                /* reduce size relative to container */
  max-width: 700px;          /* prevents it from being too large on wide screens */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

/* ===== IMAGE POPUP STYLES ===== */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8); /* Dark overlay */
}

.popup-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  animation: zoomIn 0.3s ease;
}

/* Close button */
.close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Optional: cursor change on hover */
.project-container img {
  cursor: zoom-in;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 40px auto;
  width: 90%;
  max-width: 800px;
}

.about-container img {
  border-radius: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .about-container {
    flex-direction: row;
    gap: 40px;
    text-align: left;
  }

  .about-container img {
    width: 45%;
  }

  .about-container p {
    width: 55%;
  }
}

/* ===== STICKY SIDE HERO LAYOUT (POSTER PAGES) ===== */

.project-layout {
  max-width: 1100px;
  margin: 80px auto 100px;
  padding: 0 24px;
}

/* 2-column grid: poster | content */
.project-layout--sticky {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: flex-start;
}

/* Sticky poster column */
.project-media {
  position: sticky;
  top: 110px; /* adjust if your navbar is taller/shorter */
  align-self: flex-start;
}

/* Bakery-style frame around the poster */
.project-media-frame {
  background: linear-gradient(145deg, #b98769, #a56a4d);
  padding: 16px 16px 18px;
  border-radius: 22px;
  box-shadow:
    0 16px 36px rgba(120, 75, 50, 0.36),
    0 0 0 1px rgba(255, 245, 232, 0.35);
  position: relative;
  overflow: hidden;
}

/* dotted “doily” inner edge */
.project-media-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 2px dotted rgba(255, 237, 214, 0.7);
  pointer-events: none;
}

/* poster itself */
.project-media-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(40, 20, 10, 0.45);
}

/* Let the right column take over spacing */
.project-layout--sticky .project-container {
  margin: 0;
  padding: 0;
}

/* Left-align text on these pages */
.project-layout--sticky .project-section,
.project-layout--sticky .project-section h1,
.project-layout--sticky .project-section h2 {
  text-align: left;
}

/* Responsive: stack on mobile, remove sticky */
@media (max-width: 900px) {
  .project-layout--sticky {
    grid-template-columns: 1fr;
  }

  .project-media {
    position: static;
    margin-bottom: 32px;
  }
}

.carousel-wrapper {
  margin-top: -20px;
}

footer a {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  color: #E6C9A8;
}

/* ===== ABOUT PAGE ===== */

.about-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  text-align: center;
}

.about-name {
  font-family: "Kadwa", serif;
  font-size: 3rem;
  letter-spacing: 0.08em;
  text-align: left;
  margin: 0 0 0.5rem;
}

.about-divider {
  border: none;
  border-top: 1px solid #000;
  margin: 0 0 2.5rem;
}

.about-photo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.about-photo {
  width: 350px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.about-intro {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  line-height: 1.8;
}

/* 2-column layout below intro */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 1rem;
  text-align: left;
}

.about-column p {
  line-height: 1.9;
}

/* Right column with icons */

.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.middle-row {
  margin-bottom: 2.5rem;
}

.bottom-row {
  margin-top: 2rem;
}

/* Only the sun should look clickable */
.about-icon {
  cursor: default;
}
.icon-sun {
  cursor: pointer;
}

/* ☀️ DAY MODE – soft sun rays behind about section */
body:not(.night-mode) .about-page {
  position: relative;
  overflow: hidden;
}

/* Sun ray overlay */
body:not(.night-mode) .about-page::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 160%;
  height: 160%;
  pointer-events: none;
  background: conic-gradient(
    from -45deg,
    rgba(255, 232, 200, 0.7),
    rgba(255, 248, 230, 0.0),
    rgba(255, 248, 230, 0.0),
    rgba(255, 232, 200, 0.7)
  );
  mix-blend-mode: screen;
  opacity: 0.55;
  animation: sunRaysSlow 18s linear infinite;
  z-index: -1;
}

/* Slow rotating rays */
@keyframes sunRaysSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ☀️ Daytime glow for portrait */
body:not(.night-mode) .about-photo {
  box-shadow:
    0 18px 35px rgba(190, 140, 100, 0.35),
    0 0 40px rgba(255, 235, 210, 0.8);
  border-radius: 18px;
}

/* ☀️ Daytime cozy glow on icons */
body:not(.night-mode) .about-icon {
  filter: drop-shadow(0 6px 10px rgba(201, 151, 115, 0.45));
}

/* Slightly stronger for sofa + chair (they’re “bigger objects” in the room) */
body:not(.night-mode) .sofa-large,
body:not(.night-mode) .icon-chair {
  filter: drop-shadow(0 10px 18px rgba(201, 151, 115, 0.55));
}

/* 🌞 DAY MODE — subtle window frame shadow */
body:not(.night-mode) .about-page {
  position: relative;
  overflow: hidden;
}

/* Window shadow overlay */
body:not(.night-mode) .about-page::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 60%;
  pointer-events: none;
  
  /* Soft shadow grid pattern */
  background: 
    linear-gradient(to right, rgba(120, 90, 70, 0.15) 2px, transparent 2px) 0 0 / 90px 90px,
    linear-gradient(to bottom, rgba(120, 90, 70, 0.15) 2px, transparent 2px) 0 0 / 90px 90px;
  
  opacity: 0.18;
  transform: rotate(3deg) translate(20px, 10px);
  filter: blur(2px);
}


/* 🌙 NIGHT MODE THEME */
body.night-mode {
  background-color: #151012;   /* darker background */
  color: #f9efe4;              /* default light text */
}

/* Text colors in night mode */
body.night-mode p,
body.night-mode h1,
body.night-mode h2,
body.night-mode h3 {
  color: #3c2b29;              /* light text, not dark */
}

/* Navbar & footer in night mode */
body.night-mode #navbar {
  background-color: #231719;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.night-mode #navbar a {
  color: #f9efe4;
}

body.night-mode #navbar a:hover {
  background-color: #5a3b32;
  color: #fbd9c6;
}

/* Footer colors */
body.night-mode footer {
  background-color: #231719;
}

body.night-mode footer p,
body.night-mode footer a {
  color: #fbd9c6;          /* warm light beige */
}


/* Navbar & footer in night mode */
body.night-mode #navbar {
  background-color: #3c2b29;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

body.night-mode #navbar a {
  color: #f9efe4;
}

body.night-mode #navbar a:hover {
  background-color: #5a3b32;
  color: #fbd9c6;
}

body.night-mode footer {
  background-color: #3c2b29;
  color: #fbd9c6;
}

/* 🌙 NIGHT MODE THEME – Global Transition */
* {
  transition: background-color 0.6s ease, color 0.6s ease;
}

/* Overall body background */
body.night-mode {
  background-color: #120d0f !important;  /* darker & visible */
  color: #fcefe6;
}

/* Reset general text colors */
body.night-mode p,
body.night-mode h1,
body.night-mode h2,
body.night-mode h3 {
  color: #fcefe6;
}

/* Darken all major sections */
body.night-mode .about-page,
body.night-mode .about-grid,
body.night-mode .about-column,
body.night-mode .divstyle2,
body.night-mode .form-container,
body.night-mode .album,
body.night-mode .container,
body.night-mode .project-container {
  background-color: #1c1618 !important;
  color: #fcefe6 !important;
}

/* Navbar */
body.night-mode #navbar {
  background-color: #684d50 !important;
  color: #fcefe6;
}

body.night-mode #navbar a {
  color: #fcefe6 !important;
}

/* Footer */
body.night-mode footer {
  background-color: #684d50 !important;
}

body.night-mode footer p,
body.night-mode footer a {
  color: #fcefe6 !important;
}

/* Ensure icons remain bright */
body.night-mode .about-icon {
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

html {
  transition: background-color 0.8s ease, color 0.8s ease;
}

body, #navbar, footer, .about-page, .about-grid, .about-column {
  transition: background-color 0.8s ease, color 0.8s ease;
}

/* ✅ Re-enable hover ONLY for the sun icon */
.icon-sun:hover {
  transform: translateY(-6px) scale(1.05) rotate(-2deg) !important;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3)) !important;
}


/* ✅ Sun / moon is the ONLY interactive one */
.icon-sun {
  cursor: pointer !important;
  transition: transform 0.3s ease, filter 0.3s ease !important;
}

.icon-sun:hover {
  transform: translateY(-6px) scale(1.05) rotate(-2deg) !important;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3)) !important;
}

/* ===== SUN ICON POPUP BUBBLE ===== */

.sun-wrapper {
  position: relative;
  display: inline-block;
}

/* Popup bubble (day mode only) */
body:not(.night-mode) .sun-popup {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff6e0;
  color: #8c5b3a;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  animation: popupFloat 2s infinite ease-in-out;
  pointer-events: none;
  font-weight: 600;

  /* fade in gently */
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

/* Tiny arrow under bubble */
body:not(.night-mode) .sun-popup::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; 
  height: 0; 
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff6e0;
}

/* Soft floating motion */
@keyframes popupFloat {
  0% { opacity: 0; transform: translateX(-50%) translateY(3px); }
  30% { opacity: 1; }
  50% { transform: translateX(-50%) translateY(0px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(3px); }
}

/* Hide popup in night mode */
body.night-mode .sun-popup {
  display: none !important;
}

/* ===== FURNITURE ICONS – CLEAN VERSION ===== */

/* Base style for all furniture icons */
.about-icon {
  width: 70px;
  height: auto;
  cursor: default;
  transition: none; /* no animation by default */
}

/* Position + size tweaks */
.sofa-large {
  width: 160px;
  transform: translateY(80px);          /* sofa lower */
}

.icon-sun {
  width: 120px;
  cursor: pointer;                      /* clickable sun/moon */
}

.icon-clock {
  width: 130px;
}

.icon-diploma {
  width: 90px;
  height: 60px;
  transform: translateY(90px);          /* diploma lower */
}

.icon-chair {
  width: 160px;
  transform: translateY(10px);
}

/* ✅ ONLY sun/moon has hover animation */
.icon-sun {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-sun:hover {
  transform: translateY(-6px) scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
}

/* ===== FURNITURE ICONS – FINAL CLEAN VERSION ===== */

/* Base style for all furniture icons */
.about-icon {
  width: 70px;
  height: auto;
  cursor: default;
}

/* Position + size tweaks */
.sofa-large {
  width: 160px;
  transform: translateY(80px);          /* sofa lower */
}

.icon-sun {
  width: 120px;
  cursor: pointer;                      /* clickable sun/moon */
}

.icon-clock {
  width: 130px;
}

.icon-diploma {
  width: 90px;
  height: 60px;
  transform: translateY(90px);          /* diploma lower */
}

.icon-chair {
  width: 160px;
  transform: translateY(10px);          /* slight down */
}

/* ❌ Generic hover: do NOT touch transform, just no extra filter */
.about-icon:hover {
  filter: none;
}

/* ✅ ONLY sun/moon has hover animation */
.icon-sun {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon-sun:hover {
  transform: translateY(-6px) scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
}

/* ===== TWINKLE STARS FOR NIGHT MODE ===== */
.night-stars {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1; /* stays behind your content */
}

/* Only show stars in night mode */
body.night-mode .night-stars {
  opacity: 1;
}

/* Star style */
.night-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation: twinkle 2s infinite ease-in-out alternate;
}

/* Twinkle animation */
@keyframes twinkle {
  0%   { opacity: 0.1; transform: scale(0.5); }
  100% { opacity: 1;   transform: scale(1.3); }
}

/* ===== WARM INDOOR LIGHTING FOR ICONS (Night Mode Only) ===== */

/* Global ambient glow */
body.night-mode .about-icon {
  filter: drop-shadow(0 0 6px rgba(255, 186, 135, 0.45)) 
          drop-shadow(0 0 12px rgba(255, 170, 120, 0.25));
  transition: filter 0.6s ease;
}

/* Extra glow for larger icons (sofa + chair) */
body.night-mode .sofa-large,
body.night-mode .icon-chair {
  filter: drop-shadow(0 0 8px rgba(255, 190, 140, 0.55))
          drop-shadow(0 0 18px rgba(255, 170, 120, 0.35));
}

/* Sun/moon icon glows differently — more cool white glow */
body.night-mode .icon-sun {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Soft golden halo behind icons (optional upgrade) */
body.night-mode .about-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 130%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 200, 150, 0.35) 0%,
    rgba(255, 200, 150, 0.12) 45%,
    transparent 80%
  );
  z-index: -1;
  pointer-events: none;
}

/* =======================================
   🕯️ WARM LANTERN PULSE (Night Mode Only)
   ======================================= */
body.night-mode .about-icon {
  position: relative;
  z-index: 1;
}

/* Pulsing lantern aura */
body.night-mode .about-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150%;
  height: 150%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
      circle,
      rgba(255, 195, 140, 0.45) 0%,
      rgba(255, 170, 110, 0.25) 40%,
      rgba(255, 155, 95, 0.15) 60%,
      transparent 85%
  );
  animation: lanternPulse 3.5s ease-in-out infinite;
  opacity: 0.75;
  filter: blur(6px);
}

/* Slightly stronger lantern glow for big icons */
body.night-mode .sofa-large::after,
body.night-mode .icon-chair::after {
  width: 180%;
  height: 180%;
}

/* Actual pulsing animation */
@keyframes lanternPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.65;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.95;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.7;
  }
}

/* Make labels + major buttons use heading font */
label,
.form-container label,
.learn-btn,
#myBtn,
.form-container input[type="submit"],
.btn-custom {
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
}

.prototype-video {
  width: 100%;
  max-width: 700px;      /* same vibe as your other images */
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  background-color: #000; /* fallback frame */
}

/* Hide Bootstrap's default dropdown caret for navbar Artworks */
.nav-links .dropdown-toggle::after {
  content: none !important;
  display: none !important;
}

/* ===== NAVBAR DROPDOWN – BAKERY COOKIE LABELS ===== */

.nav-item.dropdown {
  position: relative;
}

/* Make sure the Artworks pill matches other nav pills */
.nav-links .dropdown-toggle {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  text-decoration: none;
  color: #4B3B32;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

/* Dropdown panel – hidden by default */
.nav-item.dropdown .dropdown-menu {
  position: absolute;
  top: 105%;              /* very close to the Artworks pill */
  right: 0;
  min-width: 230px;
  background: #f5ded2;              /* soft cookie dough pink */
  border: 3px solid #d0a48c;        /* warm baked edge */
  border-radius: 20px;
  padding: 14px 10px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);

  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease,
              transform 0.18s ease,
              visibility 0.18s ease;
  z-index: 9999;
}

/* KEEP IT OPEN while hovering pill OR menu */
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu,
.nav-item.dropdown .dropdown-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}

/* Cookie label links */
.nav-item.dropdown .dropdown-menu a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;

  width: 185px;              /* consistent pill width */
  margin: 8px auto;          /* centers the pill */
  padding: 6px 14px;

  background: #f9e9e2;       /* iced cookie top */
  border: 2px solid #d7b3a3;
  border-radius: 40px;       /* cookie shape */

  font-family: var(--font-heading);
  font-size: 0.85rem;        /* smaller text */
  letter-spacing: 0.02em;
  color: #4b3b32;
  white-space: nowrap;       /* keep names on one line */
  text-decoration: none;

  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.7),
    0 3px 8px rgba(0, 0, 0, 0.08);

  transition: transform 0.15s ease,
              background 0.2s ease,
              color 0.2s ease;
}

/* Hover effect – frosted highlight */
.nav-item.dropdown .dropdown-menu a:hover {
  background: #fcefe9;
  transform: translateX(4px);
  color: #4a3327;
}

/* Little “frosting blob” tag on the left */
.nav-item.dropdown .dropdown-menu a::before,
.nav-item.dropdown .dropdown-menu a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* bigger blob */
.nav-item.dropdown .dropdown-menu a::before {
  left: -10px;
  width: 14px;
  height: 14px;
  background: #f9e9e2;
  border: 2px solid #d7b3a3;
  border-radius: 50%;
}

/* smaller blob */
.nav-item.dropdown .dropdown-menu a::after {
  left: -3px;
  width: 8px;
  height: 8px;
  background: #f9e9e2;
  border: 2px solid #d7b3a3;
  border-radius: 50%;
}

/* Keep your little brown dot under the active link (if not already elsewhere) */
#navbar a.active::after {
  content: "•";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #8c5a4a;
  opacity: 0.9;
}

/* Make all top nav links positioned so the dot can sit under them */
#navbar .nav-links a,
#navbar .nav-links .dropdown-toggle {
  position: relative;
}

/* Brown dot under the active nav link (including Artworks) */
#navbar .nav-links a.active::after,
#navbar .nav-links .dropdown-toggle.active::after {
  content: "•";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: #8c5a4a;
  opacity: 0.9;
}


/* ============================
   INNER SHELF BACKDROP
   ============================ */
.cozyshelf {
  background: #c99d7c;
  border-radius: 22px;
  padding: 40px 20px;
  position: relative;
  z-index: 3;
}

/* Optional subtle shadow under carousel */
.cozyshelf::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 70%;
  height: 30px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.18),
    transparent 70%
  );
  filter: blur(10px);
  z-index: -1;
}
/* ============================
   BAKERY DISPLAY CASE
   ============================ */
.display-case {
  position: relative;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 60px 40px;
  background: #b38468;              /* warm bakery brown */
  border-radius: 32px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.08),
    inset 0 0 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

/* ===== Display case label tab ===== */
.case-label {
  position: absolute;
  /* was: top: -22px; */
  top: 34px;                 /* ⬅︎ move it *inside* the brown box */
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 26px;
  background: #faefe3;
  color: #5c4232;
  font-family: "Kadwa", serif;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid #f6e6d7;
  letter-spacing: 0.05em;
  box-shadow:
    0 4px 10px rgba(0,0,0,0.18),
    inset 0 1px 2px rgba(255,255,255,0.8);
  z-index: 6;
}


/* little shadow under the tag */
.case-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 60%;
  height: 10px;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.25),
    transparent
  );
  filter: blur(5px);
  z-index: -1;
}

/* Soft linear glass sheen */
.display-case::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.14) 0%,
    rgba(255,255,255,0.06) 40%,
    rgba(255,255,255,0)   70%
  );
  pointer-events: none;
  z-index: 4;
}

/* Top edge highlight */
.display-case::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.55),
    rgba(255,255,255,0)
  );
  border-radius: 32px 32px 0 0;
  z-index: 4;
}

/* ============================
   SCREWS
   ============================ */
.display-screw {
  width: 14px;
  height: 14px;
  background: #e8d9cd;
  border-radius: 50%;
  position: absolute;
  z-index: 10;
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,0.25),
    0 0 3px rgba(0,0,0,0.15);
}

.top-left { top: 18px; left: 18px; }
.top-right { top: 18px; right: 18px; }
.bottom-left { bottom: 18px; left: 18px; }
.bottom-right { bottom: 18px; right: 18px; }

/* ============================
   INNER SHELF BACKDROP
   ============================ */
.cozyshelf {
  background: #c99d7c;              /* lighter “shelf” color */
  border-radius: 22px;
  padding: 40px 20px;
  position: relative;
  z-index: 3;
}

/* Subtle shelf shadow under carousel */
.cozyshelf::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 70%;
  height: 30px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0.18),
    transparent 70%
  );
  filter: blur(10px);
  z-index: -1;
}

/* Just in case an old glare is still there on swiper */
.display-case .cozy-swiper-section::before {
  content: none !important;
}

.hero-text h1 {
  color: #f8dcd2 !important;   /* your original soft-pink bakery tone */
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

/* Base modal – hidden by default so it doesn't sit under the footer */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* When you want to show it, just add the .open class in JS */
.modal.open {
  display: flex;
}

/* Center modal nicely */
#craftModal {
  display: none; /* JS toggles this to flex */
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Card size + text sizing */
#craftModal .modal-content {
  max-width: 460px;
  width: 90%;
  padding: 26px 24px 24px;
}

/* Smaller title */
#craftModal .modal-content h2 {
  font-size: 1.25rem;   /* was bigger */
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

/* Body text a bit smaller too */
#craftModal .modal-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* Insta link */
#craftModal .insta-link {
  font-size: 0.95rem;
}

#craftModal .modal-content {
  position: relative;
  max-width: 480px;
  width: 90%;
  padding: 60px 30px 30px;   /* ⬅ MORE TOP PADDING */
  margin-top: 40px;          /* ⬅ LOWERS ALL TEXT AWAY FROM THE TOP */
  box-sizing: border-box;
}

#craftModal .close {
  position: absolute;
  top: 14px;     /* ⬅ move UP */
  right: 18px;   /* ⬅ move more RIGHT */
  font-size: 26px;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 10;
}

#craftModal h2 {
  margin-top: 10px;
  margin-bottom: 12px;
}

.modal-tab {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #f7e3d3;
  padding: 10px 28px;
  border-radius: 20px 20px 0 0;
  font-weight: 600;
  color: #6b4634;
  z-index: 12;
}

/* Craft modal card */
#craftModal .modal-content {
  position: relative;
  max-width: 480px;
  width: 90%;
  padding: 70px 30px 30px;   /* extra space at the top for the title */
  margin-top: 40px;
  box-sizing: border-box;

  /* 🔑 allow the label to stick out without getting cut */
  overflow: visible;
}

/* Adjust label position just for the craft modal */
#craftModal .modal-content::before {
  top: 10px;           /* inside the card instead of above it */
}
