/* RX Reference Styles - Complete Implementation */

/* Theme Colors */
:root {
  --theme-color: #ff6f00;
  --theme-color-dark: #e65100;
}

.theme-color {
  color: var(--theme-color) !important;
}

.font-light {
  color: #7e7e7e !important;
}

.font-dark-30 {
  color: #232323 !important;
}

/* Button Styles */
.btn-solid-default {
  color: #fff;
  background: linear-gradient(217deg, rgba(255, 111, 0, 1) 0%, rgba(206, 73, 40, 1) 100%);
  border: 1px solid #ff9543;
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-solid-default::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background-color: var(--theme-color);
  transition: all 0.5s;
}

.btn-solid-default:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
}

.btn-solid-default:hover::before {
  opacity: 0;
  transform: scale(0.5, 0.5);
}

/* Poster Section 6 - Main Hero */
.poster-section-6 {
  height: 850px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1660px) {
  .poster-section-6 { height: 750px; }
}

@media (max-width: 1199px) {
  .poster-section-6 {
    height: 600px;
    margin-top: -41px;
  }
}

@media (max-width: 991px) {
  .poster-section-6 { height: 450px; }
}

@media (max-width: 767px) {
  .poster-section-6 { margin-top: -21px; }
}

@media (max-width: 360px) {
  .poster-section-6 { height: 350px; }
}

/* Enhanced Background Circle Animation */
.poster-section-6 .background-circle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -5%;
  width: 60%;
  z-index: 0;
  filter: drop-shadow(0 0 20px rgba(255, 111, 0, 0.1));
  animation: circleFloat 6s ease-in-out infinite;
}

.poster-section-6 .background-circle img {
  z-index: 0;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: 
    circleRotate 20s infinite linear,
    circlePulse 4s ease-in-out infinite,
    circleGlow 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

.poster-section-6 .background-circle:hover img {
  animation-play-state: paused;
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

/* Enhanced Keyframes */
@keyframes circleRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes circleFloat {
  0%, 100% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes circlePulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes circleGlow {
  0%, 100% { 
    filter: drop-shadow(0 0 20px rgba(255, 111, 0, 0.1)) brightness(1);
  }
  50% { 
    filter: drop-shadow(0 0 30px rgba(255, 111, 0, 0.2)) brightness(1.05);
  }
}

@media (max-width: 991px) {
  .poster-section-6 .background-circle {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -7%;
  }
}

@media (max-width: 575px) {
  .poster-section-6 .background-circle {
    margin-top: -5%;
    width: 80%;
  }
}

/* Poster Image */
.poster-section-6 .poster-image {
  background-color: transparent !important;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.poster-section-6 .poster-image > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

.poster-section-6 .poster-image > div:first-child {
  display: block;
}

.poster-section-6 .poster-image img {
  margin: 0 auto;
  margin-top: 4%;
  height: 800px;
  width: 100%;
  object-fit: contain;
  animation: rotate-flower 35s infinite linear;
}

@keyframes rotate-flower {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-30deg); }
  100% { transform: rotate(30deg); }
}

@media (max-width: 1660px) {
  .poster-section-6 .poster-image img { height: 850px; }
}

@media (max-width: 1366px) {
  .poster-section-6 .poster-image img { height: 775px; }
}

@media (max-width: 1199px) {
  .poster-section-6 .poster-image img { height: 600px; }
}

@media (max-width: 991px) {
  .poster-section-6 .poster-image img {
    margin: 0 auto;
    height: 430px;
    margin-top: 7%;
    margin-left: 26%;
  }
}

@media (max-width: 767px) {
  .poster-section-6 .poster-image img {
    height: 540px;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .poster-section-6 .poster-image img {
    display: block;
    position: relative;
    object-fit: contain;
    height: 400px;
    margin: 0 auto;
  }
}

/* Slider Navigation */
.poster-section-6 .slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100px;
  text-align: right;
  display: flex;
  align-items: center;
  z-index: 2;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 1660px) {
  .poster-section-6 .slider-nav { right: 90px; }
}

@media (max-width: 1460px) {
  .poster-section-6 .slider-nav { right: 75px; }
}

@media (max-width: 1199px) {
  .poster-section-6 .slider-nav { right: 50px; }
}

@media (max-width: 767px) {
  .poster-section-6 .slider-nav {
    display: none;
  }
}

.poster-section-6 .slider-nav .poster-img {
  position: relative;
  display: inline-block;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  width: 80px;
  height: 80px;
}

.poster-section-6 .slider-nav .poster-img img {
  cursor: pointer;
  display: flex;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: none;
}

.poster-section-6 .slider-nav .poster-img .overlay-color {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgb(255 111 0 / 77%);
  transform: scale(0);
  transition: 0.5s ease;
  border-radius: 5px;
  opacity: 0;
}

.poster-section-6 .slider-nav .poster-img .overlay-color .fa-plus {
  background-color: #fff;
  padding: 12px;
  border-radius: 5px;
  color: var(--theme-color);
}

.poster-section-6 .slider-nav .poster-img:hover .overlay-color,
.poster-section-6 .slider-nav .poster-img.active .overlay-color {
  transform: scale(100%);
  opacity: 1;
}

/* Left Side Content */
.left-side-contain {
  position: absolute;
  top: 0;
  left: 100px;
  display: flex;
  align-items: center;
  width: 20%;
  height: 100%;
  z-index: 3;
}

@media (max-width: 1660px) {
  .left-side-contain {
    left: 90px;
    width: 23%;
  }
}

@media (max-width: 1460px) {
  .left-side-contain {
    width: 25%;
    left: 75px;
  }
}

@media (max-width: 1366px) {
  .left-side-contain {
    left: 45px;
    width: 27%;
  }
}

@media (max-width: 1199px) {
  .left-side-contain {
    width: 27%;
    left: 50px;
  }
}

@media (max-width: 991px) {
  .left-side-contain {
    left: 50px;
    width: 30%;
  }
}

@media (max-width: 767px) {
  .left-side-contain {
    left: 50px;
    width: 35%;
  }
}

@media (max-width: 575px) {
  .left-side-contain {
    width: 100%;
    height: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    text-align: center;
    color: #fff;
    display: block;
    z-index: 1;
  }
}

.left-side-contain .banner-left {
  width: 100%;
}

@media (max-width: 575px) {
  .left-side-contain .banner-left {
    margin: 32px 12px 0 12px;
    background: #ff6f00;
    padding: 24px 18px 20px 18px;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.10), 0 2px 8px 0 rgba(0,0,0,0.10);
    max-width: 96vw;
    text-align: left;
    backdrop-filter: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.left-side-contain .banner-left h4 {
  margin-top: -2px;
  color: #212529;
  font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 575px) {
  .left-side-contain .banner-left h4 {
    margin-top: 0;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.16);
    letter-spacing: 0.5px;
    font-weight: 600;
  }
  
  .left-side-contain .banner-left h4 span {
    color: #ddd !important;
    font-weight: 400;
  }
}

.left-side-contain .banner-left h1 {
  margin: 20px 0;
  line-height: 1.2;
  color: #212529;
  font-size: calc(23px + (70 - 23) * ((100vw - 320px) / (1920 - 320)));
}

@media (max-width: 575px) {
  .left-side-contain .banner-left h1 {
    color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.13);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
  }
}

.left-side-contain .banner-left h1 span {
  color: var(--theme-color);
}

.left-side-contain .banner-left p {
  color: #212529;
  font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
  line-height: 1.5;
  margin-bottom: 10px;
}

@media (max-width: 575px) {
  .left-side-contain .banner-left p {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.16);
    font-size: 1.08rem;
    margin-bottom: 12px;
  }
}

.left-side-contain .banner-left h2 {
  color: #212529;
  font-size: calc(22px + (28 - 22) * ((100vw - 320px) / (1920 - 320)));
  font-weight: 600;
  margin-bottom: 5px;
}

@media (max-width: 575px) {
  .left-side-contain .banner-left h2 {
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.13);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
  }
}

.poster-details {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

@media (max-width: 575px) {
  .poster-details {
    color: #ddd;
  }
}

.banner-btn-grup {
  margin-top: 20px;
}

/* Right Side Social */
.right-side-contain {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 50px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media (max-width: 991px) {
  .right-side-contain {
    right: 30px;
  }
}

@media (max-width: 767px) {
  .right-side-contain {
    display: none;
  }
}

.right-side-contain .social-image {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.right-side-contain .social-image a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
}

.right-side-contain .social-image a:hover {
  color: var(--theme-color);
}

.right-side-contain .social-image h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Service Section */
.service-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.service-wrap {
  text-align: center;
  padding: 30px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.service-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 3rem;
  color: var(--theme-color);
}

.service-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

/* Banner Style 2 */
.banner-style-2 {
  padding: 80px 0;
}

.collection-banner {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.collection-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-detail {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.heart-wishlist {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.heart-wishlist:hover {
  background: var(--theme-color);
  color: white;
}

.banner-detail span {
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.contain-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-decoration: none;
}

.banner-content {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.banner-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.banner-content span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.collection-center {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-center .banner-content {
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  border-radius: 10px;
  margin: 20px;
}

/* Video Section */
.section-b-space {
  padding: 80px 0;
}

.video-sidebar {
  padding: 40px 30px;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color-dark));
  color: white;
  border-radius: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.video-sidebar h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.video-sidebar p {
  margin-bottom: 25px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Code Section */
.code-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color-dark));
  color: white;
}

.overlay-color {
  background: rgba(0, 0, 0, 0.1);
}

.code-contain {
  display: flex;
  align-items: center;
  gap: 20px;
}

.code-image {
  position: relative;
  width: 60px;
  height: 60px;
}

.code-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.code-image i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: white;
}

.code-contain h6 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.code-contain span {
  color: #ffd54f;
}

.btn-size {
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.default-white {
  background: white;
  color: var(--theme-color);
  border: none;
}

.default-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Category Style 3 */
.category-style-3 {
  padding: 80px 0;
  background: #f8f9fa;
}

.title {
  margin-bottom: 50px;
}

.title h5 {
  color: var(--theme-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.product-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.package-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.package-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-image-fruit {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.category-image-fruit img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-contain {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.category-contain img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.category-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  text-align: center;
}

.category-text h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.category-text h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--theme-color);
  margin-bottom: 5px;
}

.category-text h5 {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.default-theme {
  background: var(--theme-color);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.default-theme:hover {
  background: var(--theme-color-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.3);
}

/* Utility Classes */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.blur-up {
  transition: filter 0.3s ease;
}

.lazyload {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazyloaded {
  opacity: 1;
}

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

.p-0 {
  padding: 0;
}

.pt-0 {
  padding-top: 0;
}

.d-flex {
  display: flex;
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-md-0 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .mt-md-0 {
    margin-top: 1rem;
  }
}

.text-md-end {
  text-align: right;
}

@media (max-width: 768px) {
  .text-md-end {
    text-align: center;
  }
}

/* Responsive Grid System */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-xl-3, .col-xl-4, .col-xl-5, .col-xl-8, .col-lg-4, .col-lg-8, .col-md-6, .col-md-8, .col-sm-6, .col-sm-12 {
  padding: 0 15px;
  flex: 0 0 auto;
}

.col-sm-12 { width: 100%; }
.col-sm-6 { width: 50%; }
.col-md-6 { width: 50%; }
.col-md-8 { width: 66.666667%; }
.col-lg-4 { width: 33.333333%; }
.col-lg-8 { width: 66.666667%; }
.col-xl-3 { width: 25%; }
.col-xl-4 { width: 33.333333%; }
.col-xl-5 { width: 41.666667%; }
.col-xl-8 { width: 66.666667%; }

.g-4 > * {
  margin-bottom: 1.5rem;
}

.g-sm-3 > * {
  margin-bottom: 1rem;
}

.gy-3 > * {
  margin-bottom: 1rem;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .col-xl-3 { width: 50%; }
  .col-xl-4 { width: 50%; }
  .col-xl-5 { width: 100%; }
  .col-xl-8 { width: 100%; }
}

@media (max-width: 992px) {
  .col-lg-4 { width: 50%; }
  .col-lg-8 { width: 100%; }
}

@media (max-width: 768px) {
  .col-md-6 { width: 100%; }
  .col-md-8 { width: 100%; }
  
  .service-section,
  .banner-style-2,
  .section-b-space,
  .category-style-3 {
    padding: 60px 0;
  }
  
  .collection-banner {
    height: 300px;
  }
  
  .title h2 {
    font-size: 2rem;
  }
  
  .product-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .code-contain {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .col-sm-6 { width: 100%; }
  
  .service-wrap {
    padding: 20px 15px;
  }
  
  .collection-banner {
    height: 250px;
  }
  
  .video-sidebar {
    padding: 30px 20px;
  }
  
  .title h2 {
    font-size: 1.8rem;
  }
  
  .category-image-fruit {
    height: 250px;
  }
}
