/*
Theme Name: BGUN Book Store Theme
Theme URI: https://example.com/
Author: Rivaldo Marere
Author URI: https://example.com/
Description: Custom WordPress theme.
Version: 1.1
License: GPLv2 or later
Text Domain: bgun-book-store
*/


body {
    background: #f7f3ef;
    font-family: 'Georgia', serif;
    overflow-x: hidden;

  }
.header-second {
    background-image: url('assets/images/nav-bar-background.png');
  }

  .top-header {
    background: #000; /* Optional dark background */
    color: white;
    

  }

  .book-strip {
    background-image: url('assets/images/wooden-background.png'); /* Optional: wooden texture background */
    background-size: cover;
    background-position: center;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
  }
  
  .site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
  }
  
  .navbar-custom .nav-link {
    background-color: #000;
    color: #fff !important;
    border: 3px solid transparent;
    border-bottom: 6px solid #fff;  /* Thicker bottom border */
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    width: 160px;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
  }
  
.navbar-custom img {
    max-height: 50px;
  }

.navbar-custom .nav-welcome    { border-color: #ff9933; }
.navbar-custom .nav-about      { border-color: #cc0033; }
.navbar-custom .nav-sneak      { border-color: #ff66cc; }
.navbar-custom .nav-store      { border-color: #9966cc; }
.navbar-custom .nav-reviews    { border-color: #00cc33; }
.navbar-custom .nav-contact    { border-color: #4e4e4e; }
.navbar-custom .nav-subscribe  {
  background-color:#800000 !important;
  color: #fff !important;
  border-color: #fff;
}

.navbar-custom .nav-link:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

/* Change background color of the toggler button */
.navbar-toggler {
  background-color: #222; /* dark background box */
  border: none; /* optional: remove border */
  padding: 0.5rem 0.75rem;
  border-radius: 5px;
}

/* Change the color of the hamburger icon (the three lines) */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.dropdown-menu {
  margin-top: 0;
}

/* Handle nested dropdowns */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none !important;
  position: absolute;
  background-color: #000; /* match navbar color */
  border-radius: 0.5rem;
  border: none;
}

/* Desktop hover behavior */
@media (min-width: 768px) {
  .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
  }
}

.dropdown-submenu.show > .dropdown-menu {
  display: block !important;
}

/* Nested item styling */
.dropdown-submenu .dropdown-item {
  background-color: #000;
  color: #fff;
  border: none;
  text-align: left;
}

/* Optional: Hover effect for nested items */
.dropdown-submenu .dropdown-item:hover {
  background-color: #222;
  color: #fff;
}

/* Mobile Navigation Improvements */
@media (max-width: 767.98px) {
  .header-second .d-flex {
    flex-direction: column;
    gap: 10px;
  }
  
  .site-title {
    font-size: 1.2rem;
  }
  
  .navbar-custom .nav-link {
    width: 100%;
    text-align: center;
    margin: 5px 0;
    border-radius: 10px;
    padding: 10px 15px;
  }
  

  
  .navbar-custom .dropdown.show > .dropdown-menu {
    display: block !important;
  }
  
  .navbar-custom .dropdown-submenu .dropdown-menu {
    display: none !important;
    animation: slideDown 0.2s ease-out;
  }
  
  .navbar-custom .dropdown-submenu.show > .dropdown-menu {
    display: block !important;
  }
  
  .navbar-custom .dropdown-item {
    width: 100%;
    padding: 12px 20px;
    text-align: left;
    color: #fff;
    background-color: transparent;
    border: none;
    transition: background-color 0.2s ease;
  }
  

  
  .navbar-custom .dropdown-item:hover,
  .navbar-custom .dropdown-item:focus {
    background-color: #333;
    color: #fff;
  }
  
  .dropdown-submenu .dropdown-menu {
    position: static !important;
    left: 0;
    margin-left: 20px;
    margin-top: 5px;
    display: none !important;
    background-color: #111;
    border: none;
  }
  
  .dropdown-submenu.show .dropdown-menu {
    display: block !important;
  }
  
  .dropdown-submenu .dropdown-item {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .book-strip img {
    max-height: 60px;
    margin: 0 2px;
  }
  
  /* Ensure dropdown toggles work on mobile */
  .navbar-custom .dropdown-toggle::after {
    margin-left: 0.5em;
    transition: transform 0.2s ease;
  }
  
  .navbar-custom .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  
  .navbar-custom .dropdown-submenu .dropdown-toggle::after {
    float: right;
    margin-top: 2px;
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
  }
  
  .navbar-custom .dropdown-submenu.show .dropdown-toggle::after {
    transform: rotate(0deg);
  }
}

/* Smooth animations for dropdowns */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


  h1, h2, h4 {
    font-weight: bold;
  }
  .decor-image {
    border: 3px solid white;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
  }
  .purchase-box {
    background: #f1fcef;
    padding: 1rem;
    border: 2px solid #ffffff;
    text-align: center;
    margin-top: 2rem;
  }
  .btn-purchase {
    background-color: #D6342E;
    border: 4px solid #ffffff;
    font-style:italic;
    font-weight: bolder;
    font-family: 'Impact Labe';
    padding: 10px 20px;
    color: white;
  }
  footer {
    background: #550000;
  }

  .navbar-nav .dropdown-menu {
    background-color: #000;
  }
  
  .navbar-nav .dropdown-item {
    color: #fff;
  }
  
  .navbar-nav .dropdown-item:hover {
    background-color: #333;
  }


  .carousel-outer-wrapper {
    overflow-x: hidden;
    width: 100%;
  }

.carousel-container {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  position: relative;
  perspective: 1000px;
  margin: 80px auto 40px;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
  position: absolute;
  width: 280px;
  height: 420px;
  background: transparent;
  border: none;
  border-radius: 20px;
  overflow: visible;
  transition: all 0.8s ease;
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card.center {
  z-index: 10;
  transform: translate(-50%, -50%) scale(1.1) translateZ(0);
}
.card.left-1 {
  z-index: 5;
  transform: translate(-50%, -50%) translateX(-300px) scale(0.9) translateZ(-100px);
}

.card.left-2 {
  z-index: 1;
  transform: translate(-50%, -50%) translateX(-550px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.right-1 {
  z-index: 5;
  transform: translate(-50%, -50%) translateX(300px) scale(0.9) translateZ(-100px);
}

.card.right-2 {
  z-index: 1;
  transform: translate(-50%, -50%) translateX(550px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}
.card.hidden {
  opacity: 0;
  pointer-events: none;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 42, 123, 0.6);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  z-index: 20;
}
.nav-arrow.left { left: 20px; }
.nav-arrow.right { right: 20px; }

.member-info {
  text-align: center;
  margin-top: 40px;
}
.member-name {
  font-size: 2.5rem;
  font-weight: 700;
}
.member-role {
  font-size: 1.2rem;
  opacity: 0.7;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 42, 123, 0.2);
  cursor: pointer;
}
.dot.active {
  background: rgb(8, 42, 123);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-container {
    height: 400px;
    margin: 40px auto 20px;
  }
  
  .card {
    width: 180px;
    height: 300px;
  }
  
  .card.center {
    transform: translate(-50%, -50%) scale(1.0) translateZ(0);
  }
  
  .card.left-1 {
    transform: translate(-50%, -50%) translateX(-200px) scale(0.7) translateZ(-100px);
  }
  
  .card.left-2 {
    transform: translate(-50%, -50%) translateX(-350px) scale(0.5) translateZ(-300px);
    opacity: 0.5;
  }
  
  .card.right-1 {
    transform: translate(-50%, -50%) translateX(200px) scale(0.7) translateZ(-100px);
  }
  
  .card.right-2 {
    transform: translate(-50%, -50%) translateX(350px) scale(0.5) translateZ(-300px);
    opacity: 0.5;
  }
  
  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}



/* Remove modal background and shadow */
.modal-content {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

/* Remove backdrop blur and dim */
.modal-backdrop.show {
  opacity: 0.6;
  background-color: rgba(0, 0, 0, 0.8); /* Optional slight dim */
}

/* Close button styling */
.btn-close-white {
  filter: invert(1);
  z-index: 1056;
}

./* Hover Add to Cart Button Effect */

/* Book Store Layout */
.store-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #111;
}

.subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.book-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-image {
  max-height: 280px;
  object-fit: contain;
  margin-bottom: 10px;
}

.price-tag {
  background: #d87c42;
  color: #fff;
  padding: 6px 18px;
  font-size: 1rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
}

/* Right side info box */
.store-description {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  padding: 0 10px;
}

.book-bundle-images {
  gap: 10px;
  justify-content: center;
}

.bundle-book-img {
  width: 50px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.bundle-price {
  background: linear-gradient(135deg, #e83f3f, #950000);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 8px 20px;
  border-radius: 10px;
  display: inline-block;
}

.bundle-label {
  margin-top: 10px;
  font-weight: bold;
  text-transform: uppercase;
  color: #000;
  letter-spacing: 1px;
}

/* Checkout button */
.btn-checkout {
  display: inline-block;
  background: linear-gradient(135deg, #e83f3f, #950000);
  color: white;
  padding: 12px 40px;
  font-size: 1.3rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
  transition: 0.3s ease;
}

.btn-checkout:hover {
  background-color: #c9302c;
}

/* Mobile Horizontal Line */
.divider-line {
  border-top: 2px dashed red;
  width: 100%;
  height: 2px;
}

/* Desktop vertical divider via border-left */
.bundle-column {
  border-left: 2px dashed red;
  padding-left: 1.5rem;
}

/* Remove border for mobile view */
@media (max-width: 767.98px) {
  .bundle-column {
    border-left: none;
    padding-left: 0;
  }
}

/* Responsive spacing */
@media (max-width: 768px) {
  .book-image {
    max-height: 220px;
  }

  .store-description {
    font-size: 0.95rem;
  }

  .btn-checkout {
    font-size: 1.1rem;
    padding: 10px 30px;
  }
}

.book-horizontal {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.book-image {
  max-width: 120px;
  height: auto;
}

.price-tag {
  position: relative;
  font-size: xx-large;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  display: inline-block;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}

.price-text {
  transition: opacity 0.3s ease;
  text-decoration: none;
  color: white;
}

.buy-now-link {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-decoration: none;
  font-size: 0.4em;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
  .price-tag:hover .price-text {
    opacity: 0;
  }
  
  .price-tag:hover .buy-now-link {
    opacity: 1;
  }
}

.buy-now-link:hover {
  color: white;
  text-decoration: none;
}

/* Mobile touch behavior */
@media (max-width: 768px) {
  .book-horizontal {
    flex-direction: column;
    gap: 8px;
  }

  .book-image {
    max-width: 100%;
  }
  
  .price-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  
  .buy-now-link {
    opacity: 1;
    position: static;
    transform: none;
    font-size: 0.6em;
  }
}
/* Remove WooCommerce default styling */
.woocommerce ul.products li.product .button {
  display: inline-block !important;
  width: auto !important;
  margin: 0 auto !important;
  float: none !important;
}


/* Contact Page */
.contact-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: #555;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  text-decoration: underline;
}

.contact-description {
  font-size: 1rem;
  color: #222;
  line-height: 1.6;
  max-width: 650px;
}

.contact-description strong {
  font-weight: 600;
}

.contact-description em {
  font-style: italic;
}

.form-group label {
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  display: block;
  margin-bottom: 6px;
}

.required {
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
}

.borderless-input {
  border: none;
  border-bottom: 1px solid #333;
  border-radius: 0;
  width: 100%; /* default for mobile */
  font-size: 1rem;
  background: transparent;
  box-shadow: none;
}

@media (min-width: 768px) {
  .borderless-input {
    width: 50%; /* 50% for tablets and larger screens */
  }
}

.borderless-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: none;
}

.btn-contact-submit {
  background-color: black;
  color: white;
  border-radius: 999px;
  padding: 10px 30px;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  margin-top: 20px;
  transition: all 0.3s ease-in-out;
}

.btn-contact-submit:hover {
  background-color: #222;
}


/* Touch feedback for mobile */
@media (max-width: 767.98px) {
  .dropdown-item:active {
    background-color: #444 !important;
  }
  
  .dropdown-submenu > .dropdown-toggle:active {
    background-color: #555 !important;
  }
}

/* === Comments Section Container === */
/* Basic styling */
.comment-reply-title {
  display: none;
}
.form-submit {
  text-align: right;
  margin-top: 10px;
}
#comment {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  min-height: 80px;
}
#comment:focus {
  outline: none;
  border-color: #800000;
}
/* Maroon reply button */
.maroon-reply-btn {
  background-color: #800000;
  color: white !important;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 3px 12px;
  border-radius: 4px;
  display: inline-block;
}
.maroon-reply-btn:hover {
  background-color: #600000;
  color: white !important;
  text-decoration: none !important;
}
/* Custom scrollbar */
#comments-container::-webkit-scrollbar {
  width: 8px;
}
#comments-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}
#comments-container::-webkit-scrollbar-thumb {
  background: #800000;
  border-radius: 10px;
}
/* Toggle animation */
.comment-section-toggle[aria-expanded="true"] .comment-toggle-icon {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.comment-toggle-icon {
  transition: transform 0.3s ease;
}


/* === What's Up Section === */


.whatsup-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
}

.whatsup-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.whatsup-card:hover {
  transform: translateY(-5px);
}

.whatsup-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.whatsup-video {
  position: relative;
  width: 100%;
  height: 200px;
}

.whatsup-video iframe {
  width: 100%;
  height: 100%;
}

.whatsup-content {
  padding: 15px;
}

.whatsup-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.badge-hwtmyf { background: #E8002C; color: white; }
.badge-economy { background: #8D45F6; color: white; }
.badge-blog { background: #00B922; color: white; }
.badge-hangout { background: #FE5F1E; color: white; }

.badge-more-than-a-woman { background: #FE5F1E; color: white; }
.badge-aint-no-black-or-white { background: #E8002C; color: white; }
.badge-classless { background: #E6419B; color: white; }
.badge-know-thyself { background: #8D45F6; color: white; }
.badge-letter-to-middle-england { background: #00B922; color: white; }

.whatsup-content h5 {
  margin: 10px 0 5px 0;
  font-size: 1.1rem;
}

.whatsup-content h5 a {
  color: #333;
  text-decoration: none;
}

.whatsup-content h5 a:hover {
  color: #D2691E;
}

.whatsup-content p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}