/* Responsive CSS for ScoopRooms */

/* ============================================
   TABLET VIEW (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) and (min-width: 768px) {
  /* Header */
  header nav {
    padding: 30px 4%;
  }
  .logo {
    max-width: 250px;
  }

  .app-store {
    max-width: 170px;
  }

  /* Hero Section */
  .heroSection {
    min-height: 400px;
  }

  .heroContent h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .heroContent p {
    font-size: 1rem;
    margin-bottom: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Cards - Carousel Style */
  .heroCards {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 30px 0 30px 0;
    overflow-x: auto;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: 30px;
  }

  /* Hide scrollbar but keep functionality */
  .heroCards::-webkit-scrollbar {
    display: none;
  }

  .heroCards::-webkit-scrollbar-track {
    background: transparent;
  }

  .heroCards::-webkit-scrollbar-thumb {
    background: transparent;
  }

  .heroCards {
    overflow-y: hidden;
  }

  .heroCard {
    width: 290px;
    height: 160px;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 15px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid black;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 2px 2px 0px 0px rgb(0, 0, 0);
    overflow-y: hidden !important;
  }

  .heroCard h2 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
  }

  /* Carousel Dots */
  .carousel-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 20;
    margin-top: 5px;
    margin-bottom: 20px;
  }

  .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ccc;
    border: 1px solid #999;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #f38624;
    border-color: #f38624;
  }

  /* Hero Image */
  .heroImage {
    width: 100%;
    min-height: 450px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Main Section */
  .mainCards {
    flex-direction: column;
    padding: 30px 6%;
  }

  .mainCard {
    width: 100%;
    max-width: 100%;
  }

  /* Review Section */
  .reviewCards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reviewContent h2 {
    font-size: 2rem;
  }

  /* Footer Section */
  .footerContainer {
    padding: 2rem 6%;
  }

  .footerTop {
    /* text-align: center; */
    margin-bottom: 30px;
  }

  .footerTop h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .footerTop p {
    font-size: 1.1rem;
  }

  .footerMiddle {
    /* flex-direction: column; */
    gap: 30px;
    text-align: center;
    margin-bottom: 30px;
  }

  .footerLinks {
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
  }

  .footerLinks a p {
    font-size: 1.1rem;
    text-decoration: underline;
  }

  /* .footerTradeMark {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
  } */

  .tradeMarkImg {
    justify-content: flex-end;
  }

  .CustomText p,
  .CustomText p span {
    font-size: 1.1rem;
  }
}

/* ============================================
   MOBILE VIEW (320px - 767px)
   ============================================ */

@media (max-width: 767px) {
  /* Header */
  header nav {
    padding: 35px 5%;
    gap: 10px;
  }
  .heroSection {
    margin-top: 0px;
  }

  .logo {
    max-width: 220px;
    height: auto;
  }

  .app-store {
    max-width: 150px;
    height: auto;
  }

  /* Hero Section */

  .heroMain {
    flex-direction: column;
  }

  .heroContent {
    padding: 20px;
  }

  .heroContent h1 {
    font-size: 1.5rem;
    font-weight: 450;
    margin-bottom: 15px;
  }

  .heroContent p {
    font-size: 0.95rem;
    font-weight: 350;
    margin-bottom: 20px;
    line-height: 1.4;
  }

  /* Hero Cards - Carousel Style */
  .heroCards {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 30px 0 30px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-left: 30px;
  }

  /* Hide scrollbar but keep functionality */
  .heroCards::-webkit-scrollbar {
    display: none;
  }

  .heroCards::-webkit-scrollbar-track {
    background: transparent;
  }

  .heroCards::-webkit-scrollbar-thumb {
    background: transparent;
  }

  .heroCard {
    width: 290px;
    height: 160px;
    flex-shrink: 0;
    margin-left: 0;
    margin-right: 15px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border: 1px solid black;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 2px 2px 0px 0px rgb(0, 0, 0);
    overflow-y: hidden;
  }

  .heroCard h2 {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.3;
    overflow-y: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .showBtn {
    width: 92px;
    height: 28px;
    color: white;
    font-weight: 500;
    background-color: orange;
    font-size: 0.9rem;
    padding: 3px 20px;
    border: 1px solid black;
    border-radius: 6px;
    box-shadow: 2px 2px 0px 0px rgb(0, 0, 0);
    text-align: center;
    flex-shrink: 0;
  }

  /* Carousel Dots */
  .heroCards::after {
    content: "";
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .carousel-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 20;
    margin-top: 5px;
    margin-bottom: 20px;
  }

  .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ccc;
    border: 1px solid #999;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #f38624;
    border-color: #f38624;
  }

  /* Hero Image */
  .heroImage {
    width: 100%;
    min-height: 400px;
    background-image: url(/assets/Img/res-heroImage.webp) !important;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* Main Section */

  .Main {
    margin-top: -50px;
  }
  .mainCards {
    flex-direction: column;
    padding: 30px 5%;
    gap: 40px;
  }

  .mainCard {
    width: 100%;
    max-width: 100%;
  }

  .blur-circle {
    position: absolute;
    width: 100%;
    height: 2400px;
    border-radius: 50%;
    background: #ffd9d98c;
    filter: blur(300px);
    -webkit-filter: blur(300px);
    -moz-filter: blur(300px);
    -o-filter: blur(300px);
    -ms-filter: blur(300px);
    backdrop-filter: blur(300px);
    -webkit-backdrop-filter: blur(300px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
  }

  /* Review Section */

  .review hr,
  .bottomhr {
    display: none;
  }
  .review {
    padding: 60px 5%;
  }

  .reviewCards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .reviewContent h2 {
    font-size: 2.5rem;
    font-weight: 450;
    color: #000;
  }

  .reviewCard {
    padding: 1rem 1rem;
    gap: 10px;
    min-height: 100px;
  }

  .reviewCards > .reviewCard:nth-child(1) {
    border-top: 1px solid #ddd;
    border-bottom: none;
  }

  .reviewCards > .specialCard2 {
    border-top: 1px solid #ddd;
    border-right: none;
    border-left: none;
  }

  .reviewCards > .reviewCard:nth-child(3) {
    border-bottom: none;
    border-left: none;
  }

  .reviewCards > .reviewCard:nth-child(4) {
    border-bottom: 1px solid #ddd;
    border-right: none;
    border-left: none;
  }

  .reviewCardFooter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
  }

  .Action {
    margin: 10px auto;
    text-align: center;
  }

  .actionLeft {
    flex-direction: column;
  }

  .actionContainer {
    flex-direction: column;
    margin: 0% 5%;
    gap: 20px;
  }

  /* Footer Section */
  .footerContainer {
    padding: 2rem 5%;
  }

  .footerTop {
    text-align: left;
    margin-bottom: 30px;
  }

  .footerTop h3 {
    font-size: 1.8rem;
    font-weight: 450;
    margin-bottom: 15px;
  }

  .footerTop p {
    font-size: 1.2rem;
    font-weight: 350;
  }

  .footerMiddle {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    margin-top: 40px;
  }

  .footerLinks {
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 !important;
  }

  .footerLinks a p {
    font-size: 1.1rem;
    text-decoration: underline;
    font-weight: 400;
  }

  .footerTradeMark {
    align-self: flex-end;
    margin-bottom: 30px;
    margin-top: 0;
  }

  .tradeMarkImg {
    justify-content: flex-end;
  }

  .tradeMarkText p {
    font-size: 1.1rem;
    font-weight: 450;
  }

  .footerBottom {
    margin-top: 20px;
  }

  .CustomText p {
    font-size: 1.1rem;
  }

  .CustomText p span {
    font-size: 1.1rem;
    color: #f38624;
  }
}

/* ============================================
   SMALL MOBILE VIEW (320px - 480px)
   ============================================ */

@media (max-width: 480px) {
  section {
    margin-top: 40px;
  }

  h1 {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
  /* Header */
  header nav {
    padding: 30px 4%;
  }

  .Main {
    margin-top: -200px;
  }

  .logo {
    max-width: 170px;
  }

  .app-store {
    max-width: 120px;
  }

  /* Hero Content */

  .heroSection {
    margin-top: 0px;
  }
  .heroContent {
    padding: 15px;
  }

  .heroContent h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .heroContent p {
    font-size: 0.9rem;
  }

  /* Hero Cards */

  .heroCard {
    width: 290px;
    height: 160px;
    padding: 16px;
    margin-left: 0;
    margin-right: 15px;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 2px 2px 0px 0px rgb(0, 0, 0);
    overflow-y: hidden !important;
  }

  .heroCard:first-child {
    margin-left: 20px;
  }

  .heroCard:last-child {
    margin-right: 20px;
  }

  .heroCard h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .showBtn {
    width: 92px;
    height: 28px;
    color: white;
    font-weight: 500;
    background-color: #f38624;
    font-size: 0.9rem;
    padding: 3px 20px;
    border: 1px solid black;
    border-radius: 6px;
    box-shadow: 2px 2px 0px 0px rgb(0, 0, 0);
    padding-top: 3px;
  }

  /* Hero Image */
  .heroImage {
    width: 100%;
    min-height: 450px;
    background-image: url(/assets/Img/res-heroImage.webp) !important;
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
  }

  /* Main Section */
  .mainCards {
    flex-direction: column;
    padding: 30px 4%;
  }

  .mainCard {
    width: 100%;
    max-width: 100%;
  }

  .mainContent p {
    font-size: 0.875rem;
  }

  /* Review Section */
  .reviewContent h2 {
    font-size: 1.5rem;
  }

  .reviewCard p {
    font-size: 0.95rem;
    width: 100%;
  }

  .actionContainer {
    flex-direction: column;
    margin: 0% 5%;
    gap: 20px;
  }

  .actionLeft {
    flex-direction: column;
  }

  .actionContent {
    text-align: center;
  }
  .actionContent h2 {
    font-size: 1.25rem;
  }

  .actionContent p {
    font-size: 0.875rem;
  }

  .actionRight a img {
    max-width: 150px;
  }

  /* Footer Section */
  .footerTop h3 {
    font-size: 1.5rem;
  }

  .footerTop p {
    font-size: 1rem;
  }

  .footerLinks a p {
    font-size: 1rem;
  }

  .CustomText p,
  .CustomText p span {
    font-size: 1rem;
  }
}

/* ============================================
   LARGER SCREENS (1025px and above)
   ============================================ */

@media (min-width: 1025px) and (max-width: 1600px) {
  header nav {
    padding: 40px 6%;
  }

  .heroSection {
    width: 100%;
    min-height: 500px;
  }

  .heroContent h1 {
    font-size: 2.2rem;
    font-weight: 450;
    margin-bottom: 20px;
  }

  .heroContent p {
    font-size: 1.1rem;
    font-weight: 350;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .heroCards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 10%;
    overflow: visible;
    flex-wrap: nowrap;
  }

  .heroCard {
    width: 280px;
    height: 160px;
    flex-shrink: 0;
    margin: 0;
  }

  .heroCard h2 {
    font-size: 1.25rem;
  }

  /* Hero Image */
  .heroImage {
    width: 100%;
    min-height: 500px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }

  .footerContainer {
    padding: 2rem 3rem;
  }
}

@media (min-width: 1601px) {
  header nav {
    padding: 40px 6%;
  }

  .heroSection {
    width: 100%;
    min-height: 500px;
  }

  .heroContent h1 {
    font-size: 2.5rem;
    font-weight: 450;
    margin-bottom: 20px;
  }

  .heroContent p {
    font-size: 1.25rem;
    font-weight: 350;
    margin-bottom: 10px;
  }

  .heroCards {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 40px 10%;
    overflow: visible;
  }

  .heroCard {
    width: 290px;
    height: 160px;
    flex-shrink: 0;
    margin: 0;
    overflow-y: hidden;
  }

  /* Hero Image */
  .heroImage {
    width: 100%;
    min-height: 600px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (min-width: 1025px) and (max-width: 1310px) {
  .heroCards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 40px 3%;
    overflow: visible;
    flex-wrap: nowrap;
    overflow-y: hidden;
  }

  .heroCard {
    width: 260px;
    height: 160px;
    flex-shrink: 0;
    margin: 0;
    overflow-y: hidden;
  }

  .logo {
    max-width: 250px;
  }

  .app-store {
    max-width: 170px;
  }

  .footerContainer {
    padding: 2rem 3rem;
  }

  /* .heroCard h2 {
    font-size: 1.1rem;
  }

  .heroContent h1 {
    font-size: 2rem;
  }

  .heroContent p {
    font-size: 1rem;
  } */
}
