/*
Theme Name: ShuShuPapa Theme
Theme URI:
Author: Amy Wilford
Description: Custom WordPress ShuShuPapa
Version: 1.0
*/

/* General Styles */
:root {
  --red: #ec1c24;
  --yellow: #fff200;
  /* --charcol: #353535; */
  --charcoal: #2c2c2c;

  --bg-grey: #e0e0e0;
  --white: #ffffff;
  --black: #000000;
  --blue: #0d5eaf;
}
html,
body {
  margin: 0;
  font-size: 16px;
}
body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  line-height: 1.8rem;
  color: var(--charcoal);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* FONT STYLES */
body,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Calistoga", serif;
  letter-spacing: 0.15rem;

  /* font-family: "Special Elite", serif; */
}

.site-content {
  /* margin-top: 50px; */
  margin-top: var(--header-height);
  flex: 1;
}

body.admin-bar .navbar.fixed-top {
  top: 32px;
}
.accent-text {
  color: var(--red) !important;
}

/* HEADER */
.site-header .navbar {
  padding-top: 15px;
  padding-bottom: 15px;
  transition: padding 0.3s ease;
  background-color: red;
}

.custom-logo {
  max-width: 160px;
  height: auto;
}
.site-header.scrolled .navbar {
  padding-top: 5px;
  padding-bottom: 5px;
}

.site-header.scrolled .navbar .navbar-nav .menu-item a {
  font-size: 0.85rem;
}
.site-header.is-scrolling .sub-menu {
  display: none !important;
}
.site-header.scrolled .custom-logo {
  max-width: 110px;
  height: auto;
}

.custom-logo {
  transition: all 0.3s ease;
}
/* NAVBAR */
.sub-menu {
  display: none;
}
.menu-item-has-children:hover {
  color: var(--white) !important;
}

.menu-item-has-children:hover > .sub-menu {
  display: block;
}

.menu-item-has-children {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: red;
  padding: 5px;
  list-style: none;
  white-space: nowrap;
}
.navbar-nav {
  align-items: end;
  font-family: "Calistoga", serif;
  letter-spacing: 0.15rem;
}
.navbar-nav .menu-item {
  margin-left: 20px;
}
.navbar-nav .menu-item a {
  text-decoration: none;
  color: white;
}

/* NAVBAR ANIMATION*/

.navbar-nav a .nav-link,
.footer-nav a .nav-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.navbar-nav a .nav-link:hover,
.navbar-nav a .nav-link:focus,
.footer-nav a .nav-link:hover,
.footer-nav a .nav-link:focus {
  transform: scale(1.08);
}
.navbar-nav a,
.sub-menu a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.navbar-nav a:hover,
.sub-menu a:hover {
  transform: scale(1.04);
}

/* SINGLE TOY PAGE */

/* .toy-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.toy-image-container {
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#toy-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

.toy-gallery {
  position: relative;
  height: 100%;
  min-height: 500px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2rem;
  border-radius: 16px;
  /* border: 1px solid #e5e5e5; */
}

.toy-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.toy-image-container img {
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.toy-image-container img:hover {
  transform: scale(1.03);
}
.gallery-arrow {
  background: none;
  border: none;
  font-size: 40px;
  cursor: pointer;
  flex-shrink: 0;
}

.gallery-arrow:hover {
  opacity: 0.6;
}

.single-toy-page h3 {
  font-family:
    "Poppins",
    sans serif;
  font-size: 1.2rem;
  margin: 1.5rem 0 1rem 0;
}
/* .toy-retailer-repeater-button {
  max-width: 300px;
} */
/* TOY INFO CARD */
.toy-info-box {
  background: #fff;
  /* border: 1px solid var(--charcoal); */
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.toy-info-box h2 {
  margin-bottom: 1.25rem;
  font-size: 2rem;
}

.toy-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.toy-meta-specs {
  padding: 1rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.toy-meta-specs span {
  display: inline-block;
  margin-bottom: 0.35rem;
}

.toy-info-box h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 1rem;
}

.special-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.special-features li {
  position: relative;
  padding: 0.1rem 0 0.1rem 1.5rem;
  /* border-bottom: 1px solid #eee; */
}

.special-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-weight: bold;
}
/* TOY INFO CARD END */

.brand-return-button {
  border-top: 1px solid #e5e5e5;
  margin-top: 2rem !important;
  padding-top: 1.25rem !important;
}

.brand-return-button a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.brand-return-button a:hover {
  transform: translateX(-4px);
}

/* FRONT PAGE STYLES - BRAND CARDS */
/* Front page - hero banner styles */
.hero-banner {
  width: 100%;
}

.hero-banner-image {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.hero-banner-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
  color: var(--white);
}

.hero-banner-content p {
  font-size: 1.3rem;
  /* max-width: 500px; */
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/*  Toy-style button */
.toy-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 1rem 2rem;

  background-color: var(--yellow);
  color: var(--charcoal);

  border-radius: 50px;
  border: 3px solid #222;

  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 6px 0 #222;

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

.toy-button:hover {
  transform: translateY(3px);
  box-shadow: 0 3px 0 #222;
}

.toy-button:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #222;
}
.brand-card {
  /* aspect-ratio: 1 / 1; */
  background: #fff;
  border-radius: 30px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

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

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px) rotate(-1deg);
}

.brand-logo {
  /* max-width: 80%;
  max-height: 200px; */
  object-fit: contain;
}

.brand-name {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.front-page h2 {
  color: var(--red) !;
}
/* BRAND PAGE */
/* BRAND PAGE HERO BANNER */

.brand-hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.brand-hero-overlay {
  padding: 3rem 1rem;
  min-height: 65vh;
  background-size: contain;
  background-position: center;
  display: flex;
  align-items: center;
}

.brand-logo {
  margin-bottom: 2rem;
  object-fit: contain;
  max-height: 55vh;
  max-width: 40vw;
}

.brand-hero-image {
  object-fit: contain;
  max-height: 55vh;
  max-width: 40vw;
}

/* BRAND PAGE */
/* BRAND LOGO BUTTONS - SERIES NAVIGTATION */
.series-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  padding: 0.25rem;
  border-radius: 20px;
  background: white;

  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.series-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* BRAND PAGE */
.brand-page {
  padding-bottom: 100px;
}
/* SERIES BANNER */
.series-toys {
  min-height: 80vh;
}
.series-banner {
  padding: 0;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.series-logo {
  max-width: 300px;
  max-height: 150px;
  object-fit: contain;
}

/* BRAND PAGE - TOY CARDS */
.toy-card {
  height: 100%;
  padding: 1.5rem;
  transition: transform 0.25s ease;
}

.toy-card-link:hover .toy-card {
  transform: translateY(-4px) scale(1.02);
}

.toy-card-link:hover .toy-card {
  transform: translateY(-4px) scale(1.02);
}

.toy-image {
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 1rem;
}

.toy-image img {
  max-height: 200px;
  width: auto;
  object-fit: contain;
}

.toy-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.toy-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Brand Page - Supplier Links */
.supplier-link {
  height: 45px;
  width: 120px;
  /* border: 1px solid rgba(0, 0, 0, 0.15); */
  border-radius: 8px;
  padding: 0.5rem;
  background-color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  position: relative;
  top: 0;
}

.supplier-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.12);
}

.supplier-link:active {
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.supplier-logo {
  display: block;
  max-width: 90%;
  max-height: 40px;
  width: auto !important;
  height: auto !important;
}

/* CONTACT PAGE */
.contact-page h3 {
  font-size: 1.4rem;
}
.contact-page h4 {
  font-size: 1rem;
}

.contact-email-item {
  color: var(--red);
}
/* FOOTER STYLES */

.footer-content {
  position: relative;
  z-index: 2;
}
#logo-text-footer {
  max-width: 150px;
  width: 100%;
  height: auto;
}
#logo-image-footer {
  max-width: 300px;
  width: 100%;
  height: auto;
}
.footer {
  position: relative;
  background-color: var(
    --red
  ); /* Ensures the entire footer background is red */
  /* text-align: center; */
  padding-top: 60px; /* Space above the footer content */
  padding-bottom: 40px; /* Consistent padding at the bottom */
  min-height: 150px; /* Minimum height to prevent shrinking */
  overflow: hidden; /* Ensures the content doesn't spill over */
}

.footer-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px; /* Curve height */
  z-index: 2;
  overflow: hidden;
}

.footer-curve-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer Menu */
.footer h5 {
  color: var(--white);
}
.footer-links,
.footer-series {
  list-style: none;
  padding-left: 0rem;
}
.footer-links a,
.footer-series a {
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-links a:hover,
.footer-series a:hover {
  transform: scale(1.04);
}

.footer h5 {
  margin: 15px 0 15px 0;
}
/* SOCIAL MEDIA MENU STYLES */
.social-menu {
  padding: 10px 0px;
}
.social-links {
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li a {
  width: 35px;
  height: 35px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-links li a i {
  color: var(--red);
  font-size: 1.2rem;
}
.social-links li a {
  transition: transform 0.3s ease;
}

.social-links li a:hover {
  transform: rotate(10deg) scale(1.1);
}
/* Media Query - Small Devices */
@media (max-width: 576px) {
}

/* Media Query - Medium Devices */
@media (max-width: 768px) {
  #toy-main-image {
    max-height: 400px;
  }
  .brand-logo {
    max-width: 40%;
  }

  .brand-hero-image {
    max-width: 75%;
  }
  .brand-page-series-banner-logo {
    max-width: 50%;
  }
}
/* Media Query - Nav Bar SubMenu Styles */
@media (max-width: 991.98px) {
  .menu-item-has-children:hover {
    text-align: end;
  }
  .sub-menu {
    position: static;
    display: none;
    background: transparent;
    padding-left: 1rem;
    list-style: none;
    width: 100%;
  }
  .navbar-nav .menu-item {
    margin-left: 0px;
  }
  .menu-item-has-children:hover > .sub-menu {
    display: block;
    text-align: end;
  }
}
/* Media Query - Footer Formatting: Devices with touch screens */
@media (max-width: 1280px) and (pointer: coarse) {
  .footer-curve-svg path {
    d: path("M0,0 L1440,0 L1440,150 L0,150 Z");
  }

  .footer {
    padding-top: 40px;
    min-height: 150px;
    background-color: var(--red);
  }

  .footer-curve {
    height: 0;
  }
}
