/* Theme Name: Hebrew Printer Classic
Description: Beautiful Hebrew printer business theme
Version: 1.0
Author: Your Name
Text Domain: hebrew-printer-classic
*/
/* Import Hebrew Font */
@import url("https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&display=swap");
/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Assistant", Arial, sans-serif;
  direction: rtl;
  text-align: right;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}
.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.main-nav a:hover {
  color: #2563eb;
  background: #f1f5f9;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
}
/* --- Modern Services Section --- */
.services-section {
  padding: 80px 0;
  background-color: #f8fafc; /* Light gray background */
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}
.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.service-item {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}
.service-icon {
  width: 64px;
  height: 64px;
  background-color: #e0e7ff; /* Light blue background for icon */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.service-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}
.service-item p {
  color: #475569;
  line-height: 1.6;
  font-size: 0.95rem;
}
/* --- Modern Products Section --- */
.products-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-image {
    background-color: #fff;
    padding: 20px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.product-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 15px;
}

.product-info h3 a {
    color: inherit;
    text-decoration: none;
}

.product-price {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.original-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-product {
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-product:hover {
    background: #0b5ed7;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #0d6efd;
    color: #fff;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
}

/* --- Modern Categories Section --- */
.categories-section {
    padding: 80px 0;
    background-color: #fff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.category-card {
    display: block;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}

.category-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.category-card:hover .category-overlay {
    background-color: rgba(0,0,0,0.6);
}

.category-overlay h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

/* --- Professional Footer --- */
.site-footer {
  background-color: #212529;
  color: #adb5bd;
  padding-top: 60px;
}
.footer-cta {
  background-color: #0d6efd;
  color: #fff;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 60px;
}
.footer-cta h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.footer-cta p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}
.footer-widget h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-widget p,
.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-widget li {
  margin-bottom: 12px;
}
.footer-widget a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-widget a:hover {
  color: #fff;
}
.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info svg {
  flex-shrink: 0;
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.footer-social a {
  color: #adb5bd;
  font-size: 1.2rem;
}
.footer-social a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #343a40;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}
.footer-bottom ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
/* --- Modern Testimonials Section --- */
.testimonials-section {
  background-color: #f8fafc;
  padding: 80px 0;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* --- Testimonial Slider --- */
.testimonial-slider {
    padding-bottom: 50px; /* Space for pagination */
}
.swiper-slide {
    height: auto; /* Ensure slides accommodate content */
    display: flex;
}
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  width: 100%; /* Make card take full slide width */
  display: flex;
  flex-direction: column;
}
.testimonial-text {
    flex-grow: 1; /* Make text take up available space */
}

.swiper-button-next,
.swiper-button-prev {
    color: #2563eb;
    top: 50%;
    transform: translateY(-50%);
}
.swiper-pagination-bullet-active {
    background-color: #2563eb;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
}
.testimonial-text {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}
.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 2px;
}
.author-info span {
  font-size: 0.9rem;
  color: #64748b;
}

/* --- Modern Tips Section --- */
.tips-section {
  padding: 80px 0;
  background-color: #fff;
}
.view-all-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.tip-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.tip-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.tip-content {
  padding: 25px;
}
.tip-category {
  display: inline-block;
  background-color: #e0e7ff;
  color: #4f46e5;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 15px;
}
.tip-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}
.tip-content p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.tip-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.tip-link:hover {
  text-decoration: underline;
}
/* --- Hero Split Section --- */
.hero-split-section {
  background-color: #fff;
  padding: 60px 0;
}
.hero-split-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #0d6efd;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.hero-split-image {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-split-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.hero-split-text {
  flex: 1;
  padding: 40px;
  text-align: right;
}
.hero-split-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: #e0e7ff;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
}
.hero-buttons .btn-primary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.hero-buttons .btn-primary:hover {
  background-color: #fff;
  color: #0d6efd;
}
.hero-buttons .btn-secondary {
  background-color: #fff;
  color: #0d6efd;
  border: 2px solid #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}
.hero-buttons .btn-secondary:hover {
  background-color: transparent;
  color: #fff;
}

/* --- New Hero Main --- */
.hero-main {
    background-color: #1e293b; /* Fallback color */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/images/ink and printers.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text {
    text-align: right;
}

.hero-button .btn-primary {
    background-color: #fff;
    color: #1e293b;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, background-color 0.3s;
}

.hero-button .btn-primary:hover {
    background-color: #f1f5f9;
    transform: translateY(-3px);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
}

.hero-title .line {
    display: block;
    animation: slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.hero-title .line:nth-child(2) { animation-delay: 0.2s; }
.hero-title .line:nth-child(3) { animation-delay: 0.4s; }

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-main .hero-subtitle {
    font-size: 1.2rem;
    color: #e2e8f0;
    margin-bottom: 0;
    animation: fade-in 1s 1s both;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Stats Section --- */
.stats-section {
    background-color: #1e293b; /* Fallback color */
    background-image: linear-gradient(rgba(37, 99, 235, 0.4), rgba(30, 64, 175, 0.4)), url('assets/images/ink and printers.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Same parallax as hero */
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    opacity: 0.3;
}
.hero-stats {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.stat-label {
    display: block;
    color: #e2e8f0;
    font-weight: 500;
}

/* --- Mobile Navigation --- */
.mobile-menu-toggle {
    display: none; /* Hidden by default */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}
.hamburger-icon {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.3s ease;
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
    left: 0;
    transition: transform 0.3s ease;
}
.hamburger-icon::before { top: -8px; }
.hamburger-icon::after { bottom: -8px; }

.mobile-menu-toggle.is-active .hamburger-icon { background: transparent; }
.mobile-menu-toggle.is-active .hamburger-icon::before { transform: rotate(45deg) translate(5px, 6px); }
.mobile-menu-toggle.is-active .hamburger-icon::after { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-nav-panel {
    display: none;
    background: #fff;
    padding: 20px;
    text-align: center;
}
.mobile-nav-panel ul {
    list-style: none;
}
.mobile-nav-panel li {
    margin-bottom: 15px;
}
.mobile-nav-panel a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
}
body.no-scroll {
    overflow: hidden;
}

/* --- Scroll Animations --- */
.service-item, .product-card, .tip-card, .testimonial-card, .section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.service-item.is-visible, 
.product-card.is-visible, 
.tip-card.is-visible,
.testimonial-card.is-visible,
.section-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for grid items */
.service-item:nth-child(2), .product-card:nth-child(2), .tip-card:nth-child(2) { transition-delay: 0.1s; }
.service-item:nth-child(3), .product-card:nth-child(3), .tip-card:nth-child(3) { transition-delay: 0.2s; }
.service-item:nth-child(4), .product-card:nth-child(4) { transition-delay: 0.3s; }

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}




/* Mobile Responsive */
@media (max-width: 768px) {
  .main-nav, .header-contact {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .mobile-nav-panel.is-active {
    display: block;
  }
  .hero-title {
      font-size: 3rem;
  }
  .hero-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
  }
  .hero-text {
      text-align: center;
  }
  .hero-stats {
      flex-direction: column;
      gap: 20px;
  }
  .hero-split-wrapper {
    flex-direction: column;
  }
  .hero-split-text {
    text-align: center;
  }
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid .service-item:nth-child(5) {
    grid-column: 1 / -1; /* Make the 5th item span full width */
  }
  .products-grid,
  .tips-grid,
  .testimonials-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .footer-widgets {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  @media (max-width: 480px) {
    .services-grid {
      grid-template-columns: 1fr;
    }
  }
}

/* --- Single Product Page --- */
.single-product-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-price-single {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-price-single .current-price {
    color: #1e293b;
}

.product-price-single .original-price {
    font-size: 1.2rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-content {
    line-height: 1.7;
    color: #334155;
}

.product-specs {
    margin-top: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.product-specs h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.specs-content {
    background-color: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }
    .product-title {
        font-size: 2rem;
    }
}

/* --- Single Post (Article) Page --- */
.single-post-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.post-layout {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 30px;
    text-align: center;
}

.post-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #64748b;
}

.post-meta a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.post-meta .post-date {
    margin-right: 15px;
}

.post-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

.post-thumbnail {
    margin-bottom: 30px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 2.2rem;
    }
}

/* --- Archive Pages --- */
.products-archive-container {
    padding-top: 50px;
    padding-bottom: 50px;
}
.archive-header {
    margin-bottom: 40px;
    text-align: center;
}
.archive-title {
    font-size: 2.8rem;
    font-weight: 700;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.pagination .page-numbers {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}
.pagination .page-numbers.current {
    background-color: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
