/* ================================
   LASKARI HOME / COMPONENTS
   (brand chips, history hero, brand carousel, IG, full-width sections)
   ================================ */

/* Brand chips */
li.brand-item > a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f7f1e1;
    border: 1px solid #e0d6c1;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin: 6px 6px;
    color: #5a4a35;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

li.brand-item > a:hover {
    background-color: #d4c4a8;
    color: #ffffff;
    border-color: #d4c4a8;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Category chips */
li.category-item > a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #e9f0f4;
    border: 1px solid #b5c9d3;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin: 6px 6px;
    color: #305060;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

li.category-item > a:hover {
    background-color: #305060;
    color: #ffffff;
    border-color: #305060;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Round menu buttons (π.χ. σε ειδικά μενού, όχι το main header) */
li.mainmenu-item > a {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin: 8px 8px;
    color: #333;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

li.mainmenu-item > a:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: rgba(0, 0, 0, 0.5);
}

/* ===== History hero section ===== */

.history-hero {
    background-image: url('https://laskari.gr/wp-content/uploads/2025/05/thumbnail_IMG_5702.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin: 60px auto;
    max-width: 1200px;
    transition: transform 0.5s ease;
}

.history-hero:hover {
    transform: scale(1.01);
}

.history-overlay {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.history-hero-content {
    text-align: center;
    color: #fff;
    max-width: 700px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.2s;
}

.history-hero-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
}

.history-hero-button {
    background: #fff;
    color: #000;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.history-hero-button::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #000;
    z-index: -1;
    transition: width 0.3s ease;
    border-radius: 30px;
}

.history-hero-button:hover::after {
    width: 100%;
}

.history-hero-button:hover {
    color: #fff;
}

/* Fade up animation */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom map wrapper */
.custom-map {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.map-image {
  width: 100%;
  display: block;
}

/* ===== Brand carousel ===== */

.brand-carousel-container {
  overflow: hidden;
  background: #fff;
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.brand-carousel-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scrollBrands 70s linear infinite;
  width: max-content;
}

.brand-carousel-track img {
  max-height: 150px;
  height: auto;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.brand-carousel-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* ✋ Στοπ στο hover */
.brand-carousel-container:hover .brand-carousel-track {
  animation-play-state: paused;
}

/* 📱 Responsive ύψος logos */
@media (max-width: 1024px) {
  .brand-carousel-track img {
    max-height: 140px;
  }
}

@media (max-width: 768px) {
  .brand-carousel-track img {
    max-height: 60px;
  }
}

/* 🔁 Animation */
@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Full-bleed brands row ===== */

.brands-wide { 
  width: 100vw; 
  margin-left: calc(50% - 50vw); 
  margin-right: calc(50% - 50vw);
}
.brands-wide .wpb_column, 
.brands-wide .vc_column_container, 
.brands-wide .vc_column-inner { 
  padding-left:0; 
  padding-right:0; 
}
.brands-wide .slick-list { 
  padding: 0 6vw !important; 
}

/* ===== Instagram section ===== */

.laskari-instagram-feed {
  width: calc(100vw - 80px) !important;
  max-width: calc(100vw - 80px) !important;
  margin-left: calc(-50vw + 50% + 40px);
  margin-right: 0;
}

.laskari-instagram-section {
  padding-left: 40px;
  padding-right: 40px;
}

@media (max-width: 768px) {
  .laskari-instagram-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .laskari-instagram-feed {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    margin-left: calc(-50vw + 50% + 20px);
  }
}

/* Κεντρικός τίτλος Instagram */
.laskari-ig-title {
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000;
  letter-spacing: 0.3px;
  margin-bottom: 25px;
}

/* Instagram icon δίπλα στον τίτλο */
.laskari-ig-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-left: 6px;
  transform: translateY(5px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 24 24'%3E%3Cpath d='M7.75 2h8.5A5.75 5.75 0 0 1 22 7.75v8.5A5.75 5.75 0 0 1 16.25 22h-8.5A5.75 5.75 0 0 1 2 16.25v-8.5A5.75 5.75 0 0 1 7.75 2zm0 1.5A4.25 4.25 0 0 0 3.5 7.75v8.5A4.25 4.25 0 0 0 7.75 20.5h8.5A4.25 4.25 0 0 0 20.5 16.25v-8.5A4.25 4.25 0 0 0 16.25 3.5h-8.5zM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10zm0 1.5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7zm5.75-.75a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
