/* Social media badge styles */
.social-btn {
  position: relative;
}
.badge-top-right {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 0.75em;
  padding: 2px 7px;
  border-radius: 8px;
  z-index: 2;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  pointer-events: none;
}
.subscribe-badge {
  background: #ff0000;
  color: #fff;
}
.pinterest-badge {
  background: #e60023;
  color: #fff;
}
.facebook-badge {
  background: #1877f3;
  color: #fff;
}
/* --- Horizontal Postcard Styles for Shop by Category --- */
.horizontal-postcard {
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 2vh;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
  display: flex;
  background: #fff;
  min-width: 320px;
  max-width: 400px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.horizontal-postcard .hp-Carousel .carousel-control-next-icon,
.carousel-control-prev-icon,
.carousel-indicators {
  display: none !important;
}
.horizontal-postcard:hover .horizontal-postcard-text {
  color: black;
}
.horizontal-postcard:hover {
  background-color: #f8f2ffd2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: scale(0.9799);
}
.hp-Carousel img {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  width: 110px;
  height: 110px;
  object-fit: cover;
}
.horizontal-postcard-body {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  justify-content: center;
}
.horizontal-postcard-title {
  color: #0076bd;
  font-weight: bold;
  letter-spacing: 0.2vh;
  padding-top: 5%;
  font-size: 1.1rem;
}
.horizontal-postcard-text {
  color: #555;
  overflow: hidden;
  font-size: 0.95rem;
  margin: 6px 0 0 0;
}
@media (max-width: 1200px) {
  .hp-Carousel img {
    width: 100% !important;
  }
  .horizontal-postcard-title {
    font-size: large;
    padding-top: 1% ;
  }
  .horizontal-postcard-text {
    margin-top: 0vh;
    height: 8vh;
    margin-bottom: 1vh;
    font-size: small;
  }
}
@media (max-width: 480px) {
  .hp-Carousel img {
    width: 110% !important;
  }
  .horizontal-postcard-text {
    font-size: x-small;
    height: 8vh;
    margin-bottom: 0vh !important;
  }
  .horizontal-postcard-body {
    padding-right: 0.2vh !important;
  }
}
@media (max-width: 380px) {
  .hp-Carousel img {
    width: 115% !important;
    padding-right: 0.2vh !important;
  }
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  overflow-y: scroll;
  background: #1d3557;
  color: #fff;
  display: flex;
  justify-content: center;
}

.water-background {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(to bottom, #61a5c2, #1d3557);
}

/* Adjusted Container Position */
.container {
  position: relative;
  text-align: center;
  margin: 20px auto 0 auto;
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 2vw;
  animation: fadeIn 1.5s ease-in-out;
  word-break: break-word;
}

.subtitle {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

/* Links */
.links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  font-size: 1.2rem;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background 0.3s;
}

.link-btn img {
  width: 24px;
  height: 24px;
}

.link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Fish Animation */
.fish-animation {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.fish {
  position: absolute;
  width: 50px;
  animation: swim 10s infinite;
  transform: rotate(15deg);
}

.fish:nth-child(1) { top: 10%; left: 0; animation-duration: 8s; }
.fish:nth-child(2) { top: 40%; left: -20%; animation-duration: 12s; }
.fish:nth-child(3) { top: 70%; left: -10%; animation-duration: 10s; }
.fish:nth-child(4) { top: 30%; left: 10%; animation-duration: 14s; }
.fish:nth-child(5) { top: 80%; left: -30%; animation-duration: 9s; }

@keyframes swim {
  0% {
    transform: translateX(-100px) rotate(15deg);
  }
  50% {
    transform: translateX(50vw) rotate(-5deg);
  }
  100% {
    transform: translateX(100vw) rotate(15deg);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* YouTube Cards */
.youtube-cards {
  position: relative;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
}

.youtube-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}


.cards-container {
  display: flex;
  justify-content: center;
  gap: 15px;
}


.horizontal-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 16px;
  scrollbar-width: thin; /* For Firefox */
  padding-bottom: 10px;
  flex-wrap: nowrap;
  width: 100%;
  scroll-behavior: smooth;
}

.card {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  min-width: 220px;
  flex: 0 0 auto;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 10px;
  background: transparent;
}
.horizontal-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #61a5c2 0%, #1d3557 100%);
  border-radius: 8px;
  border: 2px solid #fff2;
}
.horizontal-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
}
/* For Firefox */
.horizontal-scroll {
  scrollbar-color: #61a5c2 #1d3557;
  scrollbar-width: thin;
}