/* ===========================================
   ULTRA HR TOOLKIT – FINAL STYLE.CSS
   =========================================== */

/* ==== Base ==== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #222;
    scroll-behavior: smooth;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  img {
    max-width: 100%;
    display: block;
  }
  
  /* ==== Top Navbar ==== */
  #top-navbar {
    display: none; /* تمت إزالة عروض Offers / Support / Privacy / Login / Register */
  }
  
  /* ==== Top Bar ==== */
  #topbar {
    position: fixed;
    top: 26px;
    width: 100%;
    z-index: 1200;
    background: #212529;
    color: #fff;
    font-size: 13px;
  }
  #topbar a {
    color: #fff;
    transition: opacity 0.2s;
  }
  #topbar a:hover {
    opacity: 0.8;
  }
  
  /* ==== Header / Navbar ==== */
  header.fixed-top {
    top: 52px;
    z-index: 1100;
    background: #fff;
  }
  #header img {
    width: 90px;
    height: 90px;
    object-fit: cover;
  }
  .navbar {
    position: relative;
  }
  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 18px;
  }
  .navbar a {
    color: #111;
    font-weight: 600;
    transition: color 0.2s;
  }
  .navbar a:hover,
  .navbar .active {
    color: #d32f2f;
  }
  .mobile-nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
  }
  @media (max-width: 991px) {
    .navbar ul {
      display: none;
      flex-direction: column;
      background: #fff;
      position: absolute;
      top: 100%;
      right: 0;
      width: 200px;
      box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
      border-radius: 6px;
      padding: 10px 0;
      text-align: right;
    }
    .navbar.active ul {
      display: flex;
    }
    .navbar ul li {
      margin: 8px 16px;
    }
    .mobile-nav-toggle {
      display: block;
    }
  }
  
  /* ==== Hero Section ==== */
  #hero {
    margin-top: 145px;
  }
  .carousel-item {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
  }
  .carousel-item .container {
    position: relative;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  }
  .carousel-item h1 {
    font-size: 3rem;
    font-weight: 700;
  }
  .carousel-item p {
    font-size: 1.1rem;
  }
  
  /* ==== Editions Section ==== */
  #editions {
    background: #f8f9fa;
    text-align: center;
  }
  .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff7b00;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
  }
  .card {
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  .card:hover {
    transform: translateY(-5px);
  }
  .card h5 {
    color: #111;
    font-weight: 700;
  }
  .card .btn {
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
  }
  .btn-danger {
    background: #d32f2f;
    border: 0;
  }
  .btn-danger:hover {
    background: #b71c1c;
  }
  .btn-outline-danger:hover {
    background: #d32f2f;
    color: #fff;
  }
  
  /* ==== Footer ==== */
  footer {
    background: #212121;
    color: #aaa;
    text-align: center;
    font-size: 0.9rem;
    padding: 20px 0;
  }
  footer a {
    color: #ddd;
    transition: color 0.2s;
  }
  footer a:hover {
    color: #d32f2f;
  }
  
  /* ==== Floating Buttons ==== */
  .whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.2s;
  }
  .whatsapp-float:hover {
    transform: scale(1.1);
  }
  #backToTop {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: #d32f2f;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
    transition: background 0.3s, transform 0.3s;
  }
  #backToTop:hover {
    background: #b71c1c;
    transform: scale(1.1);
  }
  
  /* ==== Responsive ==== */
  @media (max-width: 768px) {
    .carousel-item h1 {
      font-size: 2rem;
    }
    .carousel-item p {
      font-size: 1rem;
    }
    #header img {
      width: 70px;
      height: 70px;
    }
    #topbar {
      display: none; /* إخفاء شريط الهاتف على الموبايل */
    }
  }
  /* ==== End of Style.css ==== */
  