/* -------------------------------------------
   Reset & Base Styles
--------------------------------------------- */
html, body {
    height: 100%;
    margin: 0;
}

body {
    position: relative;
    background: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    font-family: "Playpen Sans Thai", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* -------------------------------------------
   Background Image Overlay
--------------------------------------------- */
body::before {
    content: "";
    position: fixed; /* cover entire viewport */
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('/content/background_stamp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7; /* adjust as needed */
    z-index: -1; /* behind all content */
}

/* -------------------------------------------
   Content Container Transition
--------------------------------------------- */
#content {
    opacity: 1;
    transition: opacity 0.5s ease;
    padding-bottom: 4rem;
}

/* -------------------------------------------
   Hero Banner
--------------------------------------------- */
.hero-banner {
    background-image: url('/content/sunflower.png');
    background-size: cover;
    background-position: center 29%;
    height: 50vh;
    width: 100vw;
    background-repeat: no-repeat;
    opacity: 0.5;
}

/* -------------------------------------------
   Frosted Glass Effect (Reusable)
--------------------------------------------- */
.frosted-glass {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.frosted-glass-1 {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px; 
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0);
  padding: 1.5rem;
}

.frosted-glass-1 .row {
  display: flex;
  flex-wrap: wrap;      
  align-items: stretch; 
}

.frosted-glass-1 .col-12.col-lg-5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-image {
  max-width: 400px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 992px) {
  .shirts-text {
    margin-left: 50px;
  }
}


.frosted-glass-1::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  margin: 1.5rem auto 0;
  border-radius: 1px;
}

@media (min-width: 992px) {
  .frosted-glass-1 {
    padding: 2rem;
  }
}

.frosted-glass-2 {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0);
}

/* -------------------------------------------
   Navbar
--------------------------------------------- */
.navbar {
    background: transparent !important; /* remove Bootstrap bg-light */
    padding: 0.5rem 1rem;
}

.navbar.navbar-light {
  background: rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.navbar-brand {
    margin-left: 15px;
}

/* -------------------------------------------
   Footer
--------------------------------------------- */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0 1rem;
    height: 60px;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* -------------------------------------------
   Contact Page Specific Styles
--------------------------------------------- */
.page-contact #content {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem 6rem;
}

.page-contact #content > .container {
    max-width: 600px;
    padding: 2.5rem 2rem;
    color: #212529;
}

.page-contact #content h1,
.page-contact #content h4 {
    color: #222;
    margin-bottom: 1rem;
}

.page-contact form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-contact form .form-control {
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

.page-contact form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.page-contact form .btn {
    padding: 0.6rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
}

.page-contact form .row > div {
    margin-bottom: 1.2rem;
}

.page-contact form .row > div:last-child {
    margin-bottom: 0;
}

/* -------------------------------------------
   Book showcase carousel
--------------------------------------------- */

/* Base: desktop-first */
#bookCarousel .carousel-image {
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bookCarousel .carousel-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Tablets */
@media (max-width: 992px) {
  #bookCarousel .carousel-image {
    height: 500px;
  }
}

/* Phones */
@media (max-width: 576px) {
  #bookCarousel .carousel-image {
    height: auto;
  }

  #bookCarousel .carousel-image img {
    max-height: 70vh;
  }
}



/* -------------------------------------------
   About Page
--------------------------------------------- */

.page-about .about-card {
  max-width: 1100px;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .page-about .about-card {
    padding: 3rem 3.5rem;
  }
}


/* Soft, friendly heading */
.page-about h1 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-align: center;
}

/* Text feels lighter */
.page-about p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

/* Gentle visual pauses */
.soft-divider {
  width: 40px;
  height: 2px;
  background: rgba(0, 0, 0, 0.15);
  margin: 2rem auto;
}

.page-about .about-end {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
}


.card-img-top {
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-img-top-shirt {
  height: 350px;
  object-fit: cover;
}

.card-img-top:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.about-signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin: 0 auto;

}

.about-end {
  margin-bottom: 0;
  letter-spacing: 0.03em;

}

.about-signoff .about-end {
  max-width: none;
}

.about-stamp {
  width: 100%;
  max-width: 110px; /* safety cap */
  height: auto;
}


/* -------------------------------------------
   Shirt Modal Stylings
--------------------------------------------- */

/* Shirt modal carousels */
#shirt1Modal .carousel-inner img,
#shirt2Modal .carousel-inner img {
  object-fit: cover;
  max-height: 85vh;
}

.modal-oversized {
  max-width: 50vw;   /* almost full width */
  height: 90vh;      /* almost full height */
}

.modal-oversized .modal-content {
  height: 100%;
  border-radius: 12px;
}

.modal-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/content/background_stamp.png');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  z-index: -1;
}

.modal-content {
  position: relative;
  background: transparent !important;
  border-radius: 1.25rem; /* tweak to taste */
  overflow: hidden; /* ensures corners clip nicely */
}


.about-image-wrap {
  padding: 1rem;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Ensure both columns feel equal height */
.about-card .row {
  min-height: 100%;
}

/* -------------------------------------------
   Base button override 
--------------------------------------------- */

.btn-theme {
  background-color: rgb(168, 92, 58);
  color: #fff;
  border: none;
  padding: 0.6rem 2rem;
  font-size: 1.05rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-theme:hover {
  background-color:rgb(140, 75, 46);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-theme:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.btn-theme-glass {
  background:  rgb(168, 92, 58);
  backdrop-filter: blur(6px);
}

.header {
  margin-top: 0.75rem;
}

.text-justify {
  text-align: justify !important;
}

/* .brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
} */

.brand-text {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.product-image {
  max-height: 500px;
  width: 100%;
  object-fit: contain;
  max-width: 400px;
}


.shirts-text {
  margin-left: 0; 
}

@media (min-width: 992px) {
  .shirts-text {
    padding-left: 200px;
  }
}



