/* ==============================
   RESET בסיסי
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Assistant', sans-serif;
}

body {
  background-color: #1a1a1a;
  color: #fff;
  line-height: 1.6;
}

/* ==============================
   TOP BAR
============================== */
.top-bar {
  background: #111;
  padding: 10px 20px;
  text-align: left;
}

.top-icons a {
  color: #fff;
  margin-left: 15px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.top-icons a:hover {
  color: #d4af37;
}

/* ==============================
   HEADER
============================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 50px;
  margin-left: 10px;
}

.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4af37;
}

.desktop-nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: #d4af37;
}

/* ==============================
   HAMBURGER MENU
============================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin-bottom: 5px;
  border-radius: 2px;
}

/* ==============================
   MOBILE NAV
============================== */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #111;
}

.mobile-nav a {
  padding: 15px 20px;
  border-bottom: 1px solid #333;
  text-decoration: none;
  color: #fff;
}

.mobile-nav a:hover {
  color: #d4af37;
}

/* ==============================
   HERO
============================== */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: 3rem;
  color: #d4af37;
  margin-bottom: 15px;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-cta {
  background: #d4af37;
  color: #111;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: #b5932f;
  color: #fff;
}

/* ==============================
   CATEGORIES
============================== */
.categories {
  padding: 60px 20px;
  background: #1f1f1f;
}

.categories h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #d4af37;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card span {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  padding: 5px 10px;
  border-radius: 5px;
  color: #d4af37;
  font-weight: 600;
}

/* ==============================
   CATALOG
============================== */
.catalog {
  padding: 60px 20px;
  background: #111;
}

.catalog h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #d4af37;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: #1f1f1f;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card h3 {
  margin-bottom: 10px;
  color: #d4af37;
}

.product-card p {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.product-card button {
  padding: 8px 20px;
  background: #d4af37;
  color: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
}

.product-card button:hover {
  background: #b5932f;
  color: #fff;
}

/* ==============================
   FAQ
============================== */
.faq {
  padding: 60px 20px;
  background: #1f1f1f;
}

.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #d4af37;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  padding: 15px;
  text-align: right;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-question:hover {
  color: #d4af37;
}

.faq-answer {
  display: none;
  padding: 10px 15px;
  color: #ccc;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}


/* ==============================
   CONTACT
============================== */
.contact {
  padding: 60px 20px;
  background: #111;
  text-align: center;
}

.contact-box p {
  margin-bottom: 8px;
}

.call-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background: #d4af37;
  color: #111;
  text-decoration: none;
  font-weight: 700;
  border-radius: 5px;
  transition: all 0.3s;
}

.call-btn:hover {
  background: #b5932f;
  color: #fff;
}

/* ==============================
   FOOTER
============================== */
footer {
  padding: 20px;
  background: #111;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

/* ==============================
   FLOATING WHATSAPP BUTTON
============================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  font-size: 1.8rem;
  z-index: 100;
  transition: all 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==============================
   MEDIA QUERIES
============================== */
@media screen and (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav.active {
    display: flex;
  }
}


    /* פרטי החנות */
    .store-info {
      max-width: 600px; margin: 30px auto; text-align: center; background: white;
      padding: 20px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .store-info h3 { margin-bottom: 10px; }
    .store-info p { margin: 5px 0; }

    footer {
      background: #3e2411; color: white; text-align: center; padding: 20px; margin-top: 50px;
    }

    .floating-btn {
      position: fixed; right: 15px; width: 45px; height: 45px; border-radius: 50%;
      background: white; box-shadow: 0 3px 10px rgba(0,0,0,0.3); display: flex; justify-content: center;
      align-items: center; z-index: 999;
    }
    .floating-btn img { width: 60%; }
    .floating-btn.whatsapp { bottom: 80px; }
    .floating-btn.phone { bottom: 20px; }


  .services {
  padding: 60px 20px;
  background: #1f1f1f;
  color: #fff;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #d4af37;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-card {
  background: #2c2c2c;
  padding: 30px 20px;
  border-radius: 20px;
  width: 220px;
  transition: all 0.3s;
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.icon-circle {
  width: 60px;
  height: 60px;
  background: #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}

.top-cart {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.top-cart a {
  color: #b3723c; /* צבע חם */
  font-size: 28px;
  position: relative;
  text-decoration: none;
}
#cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #b3723c;
  color: white;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


* ABOUT SECTION */
.about {
  background: #fdf6f0; /* צבע חם ורך */
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}
.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  max-width: 1200px;
  gap: 40px;
}
.about-logo {
  width: 200px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.about-text h2 {
  font-size: 32px;
  color: #ffdec5; /* חום יוקרתי */
  margin-bottom: 15px;
}
.about-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #a99d94;
}

@media screen and (max-width: 768px) {
  .about-container {
    flex-direction: column;  /* תמונה מעל טקסט */
    text-align: center;      /* מרכז את הטקסט */
    gap: 25px;
  }

  .about-logo {
    width: 100%;             /* תמונה לכל רוחב */
    max-width: 100%;
  }

  .about-text {
    width: 100%;
  }
}



/* Top cart icon */
.top-cart {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}
.top-cart a {
  color: #b3723c; /* צבע חם */
  font-size: 28px;
  position: relative;
  text-decoration: none;
}
#cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #b3723c;
  color: white;
  width: 20px;
  height: 20px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* POPUP */
.cart-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fdf6f0;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: none;
  z-index: 2000;
  text-align: center;
}
.cart-popup p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #5a3a20;
}
.popup-buttons a,
.popup-buttons button {
  margin: 5px;
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}
.popup-buttons a {
  background: #b3723c;
  color: white;
}
.popup-buttons button {
  background: #eee;
  color: #5a3a20;
}






.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  justify-items: center;
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover,
.gallery-grid video:hover {
  transform: scale(1.05);
}

@media(max-width: 768px) {
  .gallery-grid img,
  .gallery-grid video {
    height: 120px;
  }
}


/* כפתור גלריה על הרקע */
.gallery-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}
.gallery-button button {
  background: #b3723c;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.gallery-button button:hover {
  background: #d4a373;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.lightbox-caption {
  text-align: center;
  color: #ccc;
  font-size: 18px;
  padding: 10px 0;
}

.close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: white;
  font-size: 36px;
  font-weight: bold; 
}

















.gallery-preview-section {
  padding: 50px 20px;
  text-align: center;
  background-color: transparent; /* שקוף */
}

.gallery-preview-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: 600;
  color: #222;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 30px auto;
}

.preview-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.preview-item img {
  width: 100%;
  height: auto; /* מראה את כל התמונה */
  object-fit: contain;
  display: block;
  transition: transform 0.3s;
}

.preview-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* זכוכית מגדלת */
.preview-item::after {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  font-size: 28px;
  color: rgba(255,255,255,0.9);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}

.preview-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* כפתור ראה עוד */
.see-more-btn {
  padding: 12px 25px;
  font-size: 1.1em;
  cursor: pointer;
  border: none;
  background-color: #222;
  color: #fff;
  border-radius: 8px;
  transition: background 0.3s, transform 0.2s;
}

.see-more-btn:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95); /* קצת יותר כהה */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease-in-out;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
  transition: transform 0.3s;
}

.lightbox img:hover,
.lightbox video:hover {
  transform: scale(1.02);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5em;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}

.lightbox .close:hover {
  color: #ccc;
}

.lightbox button.prev,
.lightbox button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  transition: color 0.2s;
}

.lightbox button.prev:hover,
.lightbox button.next:hover {
  color: #ccc;
}

.lightbox button.prev { left: 20px; }
.lightbox button.next { right: 20px; }

/* אנימציה של פתיחה */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* רספונסיביות */
@media (max-width: 768px) {
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-item img { height: 150px; }
}

@media (max-width: 480px) {
  .preview-grid { grid-template-columns: 1fr; }
  .preview-item img { height: 180px; }
}


.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;           /* אין רווח בין התמונות */
  margin: 0;        /* אין שוליים חיצוניים */
  padding: 0;       /* אין פדינג פנימי */
}

.preview-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0;  /* אין פינות מעוגלות */
  margin: 0;          /* אין שוליים */
  padding: 0;         /* אין פדינג */
}

.preview-item img {
  width: 100%;
  height: auto;
  object-fit: cover;  /* תמונה מתוחה למלוא הריבוע */
  display: block;
  transition: transform 0.3s;
}



.gallery-preview-section {
  padding: 0;     /* אין פדינג פנימי */
  margin: 0;      /* אין שוליים חיצוניים */
}

.see-more-btn {
  margin: 0;      /* אין מרווח מתחת לכפתור */
  padding: 10px 20px;
}


body, section {
  margin: 0;
  padding: 0;
}

.gallery-preview-section {
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.8);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.preview-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background: #fff;
}

.preview-item img {
  width: 100%;
  height: 100%;
  display: block;   /* זה מה שמבטל את הפס למטה */
  object-fit: cover;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 למעלה 3 למטה */
  gap: 14px;
  max-width: 900px;      /* שלא יתפרס על כל המסך */
  margin: 0 auto;
}

.preview-item {
  height: 160px;         /* גובה קטן ויפה */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  background: #fff;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;        /* מבטל רווחים למטה */
}
/* ==============================
   HEADER / NAVBAR
============================== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
}

/* לוגו */
.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #d4af37;
}

/* ניווט דסקטופ */
.desktop-nav {
  display: flex;
  gap: 20px;
}

.desktop-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.desktop-nav a:hover {
  color: #d4af37;
}

/* המבורגר */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ניווט מובייל */
#mobileNav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -250px; /* מחוץ למסך */
  width: 250px;
  height: 100%;
  background-color: #111;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 9998;
}

#mobileNav a {
  padding: 15px 20px;
  border-bottom: 1px solid #333;
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
}

#mobileNav a:hover {
  color: #d4af37;
}

/* מצב פתוח */
#mobileNav.active {
  right: 0;
}

/* רספונסיביות */
@media screen and (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
#mobileNav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: -250px; /* מחוץ למסך */
  width: 250px;
  height: 100%;
  background-color: #111;
  padding-top: 60px;
  transition: right 0.3s ease;
  z-index: 9998;

  /* מאפשר גלילה */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* גלילה חלקה באייפון */
}

/* התאמת גובה התמונות בקטגוריות */
.categories-grid .category-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* יינות וויסקי – גובה אחיד */
.categories-grid .category-card:nth-child(1) img, /* יינות */
.categories-grid .category-card:nth-child(2) img { /* וויסקי */
  height: 250px; /* אפשר לשנות לפי הצורך */
}

/* בירות – גובה קצת יותר גדול */
.categories-grid .category-card:nth-child(3) img {
  height: 250px; /* מעט גבוה יותר */
}

/* שאר הקטגוריות (אם רוצים) */
.categories-grid .category-card:nth-child(4) img {
  height: 250px;
}

/* המבורגר תמיד יופיע */
.hamburger {
  display: flex !important; /* מבטיח שהוא תמיד מופיע */
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 10001;
}
/* כפתורים צפים בצד שמאל */
.floating-btn {
  position: fixed;
  left: 20px; /* צד שמאל */
  width: 50px;
  height: 50px;
  border-radius: 50%; /* עיגול */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff; /* צבע האייקון */
  font-size: 22px;
  background-color: #5d3413; /* חום אחיד */
  border: none; /* מסיר קו מסביב */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* קצת הצללה */
  z-index: 1000;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s, background-color 0.3s;
}

/* וואטסאפ מעל */
.floating-btn.whatsapp {
  bottom: 80px;
}

/* טלפון מתחת */
.floating-btn.phone {
  bottom: 20px;
}

/* אפקט בהצבעה */
.floating-btn:hover {
  transform: scale(1.1);
  background-color: #5c3418; /* חום כהה בהצבעה */
}
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
}

.age-buttons button {
  margin: 10px;
  padding: 10px 25px;
  font-size: 16px;
  cursor: pointer;
}


  
/* לוגו במובייל */
@media (max-width: 768px) {
  .logo img {
    width: 100%;       /* תמלא את רוחב המכולה שלה */
    height: auto;      /* תשמור על הפרופורציות */
    object-fit: contain; /* תראה את כל התמונה בלי חיתוך */
  }
}

/* לוגו */
.logo img {
  max-width: 200px;      /* גודל מקסימלי ללוגו */
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* קטגוריות */
.categories-grid .category-card img {
  width: 100%;
  height: 250px;          /* גובה אחיד לכל התמונות */
  object-fit: cover;      /* תמונה מתוחה למלא את המסגרת */
  display: block;
  border-radius: 12px;    /* פינות מעוגלות יפה */
}

/* גלריה */
.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

/* רספונסיביות לגלריה */
@media(max-width: 768px) {
  .gallery-grid img,
  .gallery-grid video {
    height: 120px;
  }
}

/* גלריה תצוגה מוקדמת */
.preview-grid {
  display: grid;
   grid-template-columns: repeat(3, 1fr); /* 3 בשורה */
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 בשורה במחשב */
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.preview-item {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  height: 400px 
}

.preview-item img {
  width: 100%;
  height: auto; /* חשוב */
  object-fit: contain; /* מראה את כל התמונה */
  display: block;
  transition: transform 0.3s;
}

@media (max-width: 768px) {
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .preview-grid {
    grid-template-columns: 1fr;
  }
}

.preview-item {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  height: 160px;
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

@media(max-width: 480px) {
  .preview-item {
    height: 180px;   /* גבוה יותר במובייל קטן */
  }
}



.categories-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr); /* 3 בשורה */
 gap: 20px;
 }
 
 /* רק הקטגוריות מעבר ל-6 מוסתרות */
 .category-card:nth-child(n+7) {
 display: none;
 }
 
 /* רספונסיביות */
 @media (max-width: 768px) {
 .categories-grid {
 grid-template-columns: repeat(2, 1fr); /* טאבלט – 2 בשורה */
 }
 }
 
 @media (max-width: 480px) {
 .categories-grid {
 grid-template-columns: 1fr; /* סלולרי – 1 בשורה */
 }
 }

 
 /* מחביא את כל הקטגוריות מעבר ל-6 */
.category-card:nth-child(n+7) {
  display: none !important;
}

/* כשיש קלאס show-all, מראה הכל */
.categories-grid.show-all .category-card {
  display: block !important;
}




    .categories {
      padding: 60px 20px;
      background: #1f1f1f;
    }

    .categories h2 {
      text-align: center;
      font-size: 2rem;
      margin-bottom: 40px;
      color: #d4af37;
    }

    .categories-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  height: 350px !important;
}

.category-card img {
  width: 100%;
  height: 400px !important;
    object-fit: contain;
  display: block;
  transition: transform 0.5s;
}


    .category-card:hover img {
      transform: scale(1.1);
    }

    .category-card span {
      position: absolute;
      bottom: 10px;
      right: 10px;
      background: rgba(0,0,0,0.6);
      padding: 5px 10px;
      border-radius: 5px;
      color: #d4af37;
      font-weight: 600;
    }

    /* מחביא את כל הקטגוריות מעבר ל-5 */
    .category-card:nth-child(n+7) {
      display: none !important;
    }

    /* כשהגריד מקבל קלאס show-all - מראה הכל */
    .categories-grid.show-all .category-card {
      display: block !important;
    }

    /* סגנון לריבוע "ראה את כל הקטגוריות" */
    .see-more-card {
      display: flex;
      align-items: center;
      justify-content: center;
      background: #222;
      color: #fff;
      font-size: 1.2rem;
      font-weight: 700;
      text-align: center;
      cursor: pointer;
    }


.see-more-card {
  overflow: hidden;
}


    .see-more-card:hover {
      background: #555;
    }

    @media (max-width: 768px) {
      .categories-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 480px) {
      .categories-grid {
        grid-template-columns: 1fr;
      }
    }


    .footer-links {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.75;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  padding: 0 6px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #d4af37;
}

.footer-links span {
  color: #555;
}

.footer-copy {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.6;
}




/* AGE POPUP */

.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.age-modal {
  background: #111;
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: fadeIn 0.4s ease;
}

.age-modal h2 {
  margin-bottom: 15px;
  font-size: 24px;
}

.age-modal p {
  font-size: 15px;
  margin-bottom: 25px;
  color: #ccc;
}

.age-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.age-buttons button {
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
}

.btn-yes {
  background: #a67c52;
  color: white;
}

.btn-yes:hover {
  background: #8a643f;
}

.btn-no {
  background: #333;
  color: white;
}

.btn-no:hover {
  background: #555;
}

@keyframes fadeIn {
  from {opacity:0; transform: scale(0.9);}
  to {opacity:1; transform: scale(1);}
}
