body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
}

/* Główna struktura */
.main-container {
    display: flex;
    
    min-height: calc(100vh - 160px); /* zakładając, że stopka ma 60px */
}

/* Lewa kolumna */
.sidebar {
    min-height: 100%;
    width: 220px;
    background-color: #111;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    margin: 0;
    position: sticky;
    top: 100px;
    left: 0;
}

/* Styl nagłówka w sidebarze */
.sidebar h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin: 15px 0;
}

.sidebar a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    display: block;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #333;
    padding-left: 5px;
}

.sidebar a.highlight {
    border-bottom: 2px solid red;
    color: #ff4d4d;
}

/* Treść obok kolumny */
.content {
    padding: 20px;
    flex: 1;
}
.takeuchi-logo-container {
  position: absolute;
  top: 140px; 
  right: 150px;
  width: 140px;
  z-index: 10;
}

.takeuchi-logo-container img {
  width: 150%;
  height: auto;
}

.big-title {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1E2A47;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
  }
  
  .subtitle {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  .description-container {
    max-width: 800px;
    position: relative;
  }
  
  .description-text {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  
  .description-text.expanded {
    max-height: 2000px; /* dla pełnego rozwinięcia */
  }
  
  .read-more-btn {
    margin-top: 15px;
    background-color: #1E2A47;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .read-more-btn:hover {
    background-color: #2e3b5f;
  }
  .mini-offer-section {
    margin-top: 60px;
    padding-top: 20px;
    background-color: #f9f9f9;
    width: 100%;
    clear: both;
}

.offer-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #1E2A47;
    font-family: 'Poppins', sans-serif;
}

.mini-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
}

.mini-item {
    text-align: center;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    color: #1E2A47;
}

.mini-item img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transition: transform 0.3s;
}

.mini-item:hover img {
    transform: scale(1.05);
}

.mini-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}
.minikoparka-section {
  background-color: #e3e3e3;
  padding: 40px;
  margin-top: 40px;
}

.minikoparka-row {
  display: flex;
  align-items: center; /* Środkowanie logo w pionie względem tekstu */
  gap: 30px;
}

.minikoparka-description {
  flex: 1;
  font-size: 18px; /* Powiększona czcionka */
  color: #333;
}

.minikoparka-description h2 {
  font-size: 28px; /* Powiększony nagłówek */
  font-weight: bold;
  color: #1E2A47;
  margin-bottom: 20px;
}

.minikoparka-image {
  flex-shrink: 0;
  width: 250px;
  padding-top: 10px; /* Delikatne opuszczenie w dół */
}

.minikoparka-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .minikoparka-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .minikoparka-description {
    font-size: 16px;
    text-align: center;
  }

  .minikoparka-description h2 {
    font-size: 24px;
  }

  .minikoparka-image {
    width: 180px;
    padding-top: 5px;
  }
}

@media (max-width: 480px) {
  .minikoparka-section {
    padding: 20px 15px;
  }

  .minikoparka-description {
    font-size: 14px;
  }

  .minikoparka-description h2 {
    font-size: 20px;
  }

  .minikoparka-image {
    width: 140px;
    padding-top: 3px;
  }
}
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
  }

  .content {
    padding: 15px;
  }

  .takeuchi-logo-container {
    right: 20px;
    top: 10px;
    width: 100px;
  }

  .takeuchi-logo-container img {
    width: 100%;
  }
}
@media (max-width: 1024px) {
  .mini-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .takeuchi-logo-container {
    right: 20px;
    width: 100px;
  }

  .takeuchi-logo-container img {
    width: 120%;
  }
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
    max-height: none;
    padding: 10px 15px;
  }

  .content {
    padding: 15px;
  }

  .takeuchi-logo-container {
    display: none; /* ukryj logo na tabletach i telefonach */
  }

  .mini-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .offer-title {
    font-size: 24px;
  }

  .big-title {
    font-size: 30px;
    text-align: center;
  }

  .subtitle {
    font-size: 18px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .mini-item img {
    max-height: 150px;
  }

  .sidebar h2 {
    font-size: 20px;
  }

  .sidebar a {
    font-size: 14px;
  }

  .read-more-btn {
    width: 100%;
  }

  .description-container {
    padding: 0 10px;
  }
}
@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
    overflow-x: hidden; /* dodaj to – bardzo ważne */
    width: 100%;
  }

  .sidebar {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    max-height: none;
    padding: 15px;
    box-sizing: border-box;
    overflow-x: hidden; /* zabezpieczenie przed przesuwaniem */
  }

  body, html {
    overflow-x: hidden; /* zabezpieczenie dla całej strony */
  }
}









