/* ============================================================
   TOPSITERENCONTRE.COM - Responsive Styles (Mobile-First)
   ============================================================ */

/* ---- Extra Small: 0 - 575px (Mobile) ---- */
@media (max-width: 575px) {
  body { font-size: 15px; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .container { padding-left: 20px; padding-right: 20px; }

  /* Navigation */
  #logo-header .row { flex-wrap: wrap; }

  #logo img { max-height: 35px; }

  .navbar-toggle {
    display: block;
    margin: 15px 0;
    padding: 8px 12px;
  }

  .navbar-collapse {
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: rgba(26, 26, 46, 0.98);
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  #nav_menu_list ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  #nav_menu_list > ul > li > a {
    padding: 12px 15px;
    display: block;
    border-radius: 6px;
  }

  .btn_item { margin-left: 0; margin-top: 10px; }

  .btn_item ul {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  /* Hero */
  #slider-banner-section {
    padding: 120px 0 80px;
    min-height: 450px;
  }

  #home-slider-item h1 {
    font-size: 1.8rem;
  }

  #home-slider-item .helpyou_item {
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  #home-slider-item p { font-size: 1rem; }

  /* Search bar */
  #categorie-search-form {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
  }

  #search-input { flex-direction: column; width: 100%; }

  #location-search-list {
    border-radius: 8px;
    border-right: none;
    min-width: auto;
    width: 100%;
  }

  #location-search-data-store {
    border-radius: 8px;
    width: 100%;
  }

  #search-btn,
  #location-search-btn button {
    border-radius: 8px;
    width: 100%;
    margin-top: 0;
  }

  /* Inner search */
  #search-form {
    flex-direction: column;
    padding: 10px;
  }

  #vfx-search-box {
    flex-direction: column;
    width: 100%;
  }

  #search-location {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
  }

  #vfx-search-btn button {
    width: 100%;
    border-radius: 8px;
    margin-top: 8px;
  }

  /* Categories */
  #search-categorie-item { padding: 50px 0; }
  .categories-heading h1 { font-size: 1.6rem; }

  .categorie_item {
    padding: 25px 15px;
    margin-bottom: 15px;
  }

  .cate_item_social, .hi-icon {
    width: 55px; height: 55px;
    font-size: 1.2rem;
  }

  /* Listings */
  #feature-item_listing_block { padding: 50px 0; }

  .feature-item-listing-heading h1,
  .recent-item-listing-heading h1 { font-size: 1.6rem; }

  .feature-title-item { height: 180px; }

  /* Recent listings - stack */
  .recent-listing-box-container-item { flex-direction: column; }

  .recent-listing-box-image { min-height: 180px; }

  /* Counter */
  .vfx-counter-block { padding: 40px 0; }

  .vfx-item-countup {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .vfx-item-count-up, .count_number { font-size: 2rem; }

  .vfx-item-black-top-arrow {
    width: 50px; height: 50px;
    font-size: 1.2rem;
  }

  /* Breadcrumb */
  #breadcrum-inner-block { padding: 110px 0 40px; }
  .breadcrum-inner-header h1 { font-size: 1.8rem; }

  /* Detail page */
  .details-lt-block { padding: 110px 0 40px; }

  .slt_item_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .user_logo_pic img { width: 80px; height: 80px; }

  .slt_item_contant h1 { font-size: 1.5rem; }

  .head-bookmark-bock {
    flex-direction: column;
    gap: 8px;
  }

  .detail-gallery-list-item img { width: 70px; height: 50px; }

  .dlt-com-lt-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Static listing pages */
  div.listing-hero { margin-top: 60px; }

  div.listing-hero .listing-hero-img,
  div.listing-hero .listing-hero-img img {
    height: 250px !important;
  }

  div.listing-hero .listing-hero-text {
    padding: 0 15px;
    bottom: 20px;
  }

  div.listing-hero .listing-hero-text h1 {
    font-size: 1.6rem !important;
  }

  .listing-cta { padding: 25px 20px; }

  .listing-cta .btn-visit {
    padding: 12px 30px;
    font-size: 0.95rem;
  }

  .faq-question { padding: 16px 18px; }
  .faq-answer { padding: 0 18px 16px; }

  /* About */
  #about-company { padding: 50px 0; }
  .about-heading-title h1 { font-size: 1.6rem; }

  .user-lt-above {
    margin-top: 30px;
    text-align: center;
  }

  /* Footer */
  .footer-top { padding: 40px 0 20px; }

  .footer-top .col-md-3 {
    margin-bottom: 30px;
  }

  /* Contact */
  .from-list-lt .col-lg-8,
  .from-list-lt .col-lg-4 {
    margin-bottom: 20px;
  }
}

/* ---- Small: 576px - 767px (Large Mobile / Small Tablet) ---- */
@media (min-width: 576px) and (max-width: 767px) {
  #slider-banner-section { padding: 140px 0 90px; }
  #home-slider-item h1 { font-size: 2.2rem; }

  /* Search */
  #categorie-search-form {
    flex-direction: column;
    padding: 10px;
    gap: 8px;
  }

  #search-input { flex-direction: column; width: 100%; }

  #location-search-list {
    border-radius: 8px;
    border-right: none;
    width: 100%;
  }

  #location-search-data-store {
    border-radius: 8px;
    width: 100%;
  }

  #search-btn,
  #location-search-btn button {
    border-radius: 8px;
    width: 100%;
  }

  /* Navigation */
  .navbar-toggle { display: block; margin: 15px 0; }

  .navbar-collapse {
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: rgba(26, 26, 46, 0.98);
    padding: 15px 20px;
  }

  #nav_menu_list ul {
    flex-direction: column;
    align-items: stretch;
  }

  #nav_menu_list > ul > li > a {
    padding: 12px 15px;
    display: block;
  }

  .btn_item { margin-left: 0; margin-top: 10px; }

  .btn_item ul {
    justify-content: center;
  }

  /* Recent listings */
  .recent-listing-box-container-item { flex-direction: column; }
  .recent-listing-box-image { min-height: 200px; }

  /* Detail */
  .slt_item_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  div.listing-hero .listing-hero-img,
  div.listing-hero .listing-hero-img img {
    height: 300px !important;
  }

  div.listing-hero .listing-hero-text h1 {
    font-size: 2rem !important;
  }
}

/* ---- Medium: 768px - 991px (Tablet) ---- */
@media (min-width: 768px) and (max-width: 991px) {
  #slider-banner-section { padding: 150px 0 90px; }
  #home-slider-item h1 { font-size: 2.6rem; }

  /* Navigation */
  #nav_menu_list > ul > li > a {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .btn_login, .btn_register {
    padding: 6px 16px;
    font-size: 0.8rem;
  }

  /* Categories */
  .categorie_item { padding: 25px 15px; }

  .cate_item_social, .hi-icon {
    width: 60px; height: 60px;
    font-size: 1.3rem;
  }

  /* Feature listing cards */
  .feature-title-item { height: 170px; }

  .feature-box-text { padding: 15px; }
  .feature-box-text h3 { font-size: 0.95rem; }

  /* Sidebar */
  .left-slide-slt-block h3 { font-size: 1rem; }

  /* Static listing */
  .listing-hero-img { width: 120px; height: 120px; }
  .listing-hero-text h1 { font-size: 2rem; }
}

/* ---- Large: 992px - 1199px (Desktop) ---- */
@media (min-width: 992px) and (max-width: 1199px) {
  #home-slider-item h1 { font-size: 3rem; }

  #nav_menu_list > ul > li > a {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .feature-title-item { height: 190px; }
}

/* ---- Extra Large: 1200px+ (Large Desktop) ---- */
@media (min-width: 1200px) {
  .container { max-width: 1170px; }
}

/* ---- Print Styles ---- */
@media print {
  #logo-header,
  .site-footer,
  .scrollup,
  #vfx_loader_block,
  .head-bookmark-bock,
  .listing-cta .btn-visit,
  .comment-respond {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  a { color: #000; }

  .listing-hero,
  #breadcrum-inner-block,
  #slider-banner-section,
  .details-lt-block {
    background: #f5f5f5 !important;
    padding: 30px 0;
  }

  .listing-hero-text h1,
  .breadcrum-inner-header h1,
  .slt_item_contant h1 {
    color: #000 !important;
  }
}
