
.custom-container {
    display: flex;
    width: 100%;
}

.custom-side-menu {
    width: 320px;
    padding: 30px;
    box-sizing: border-box;
}

.custom-side-menu ul {
    list-style-type: none;
    padding: 0;
}

.custom-side-menu ul li {
    margin-bottom: 10px;
}

.custom-side-menu ul li a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px;
    background-color: #34495e;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.custom-side-menu ul li a:hover,
.custom-side-menu ul li a.active {
    background-color: #1abc9c;
}

.custom-side-menu ul li a:hover {
    background-color: #1abc9c;
}

.custom-product-display {
    margin-top: 30px;
    width: 80%;
    flex-grow: 1;
    padding: 70px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    box-sizing: border-box;
}

.custom-product {
    background-color: #ecf0f1;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.custom-product:hover {
    transform: scale(1.05);
}

.custom-product img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}
.custom-havlupan-display {
    margin-top: 30px;
    width: 90%;
    flex-grow: 1;
    padding: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    box-sizing: border-box;
}

.custom-havlupan {
    background-color: #ecf0f1;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    padding-top: 10px;
}

.custom-havlupan:hover {
    transform: scale(1.05);
}
.custom-havlupan img {
    width: 100%;
    max-height: 350px; 
    object-fit: contain; 
    border-radius: 5px;
}
.custom-product p {
    margin-top: 10px;
    font-weight: bold; 
    color: #2c3e50;
}
.custom-havlupan p {
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
}
.logo {
  width: 100%;
  margin-top: 50px;
  margin-bottom: 50px;
}

.logo_slider {
  overflow: hidden;
  width: 852px;
  margin: auto;
}

.logo_slider ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  position: relative;
  animation: mymove 30s linear infinite;
  width: calc(80px * 40 + 40px * 40); 
}

.logo_slider ul li {
  flex-shrink: 0;
  flex-grow: 0;
  display: block;
  margin: 20px;
  width: 80px;
  height: 80px;
}

.logo_slider ul li a img {
  width: 100%;
}

/* Standard syntax */
@keyframes mymove {
  0%    { transform: translateX(0); }
  100%  { transform: translateX(-50%); }
}

/* Responsive CSS kodları */
@media (max-width: 1200px) {
    .custom-side-menu {
        width: 280px;
        padding: 20px;
    }
    .custom-product-display {
        width: 75%;
        padding: 50px;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .custom-container {
        flex-direction: column;
    }
    .custom-side-menu {
        width: 100%;
        padding: 20px;
    }
    .custom-product-display {
        width: 100%;
        padding: 50px 20px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .custom-side-menu {
        width: 100%;
        padding: 15px;
    }
    .custom-product-display {
        width: 100%;
        padding: 30px 15px;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .custom-side-menu {
        width: 100%;
        padding: 10px;
    }
    .custom-product-display {
        width: 100%;
        padding: 20px 10px;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Yanyana 2 ürün */
        gap: 10px;
    }
    .custom-product {
        padding-top: 5px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .logo_slider {
        width: 100%;
    }
    .logo_slider ul {
        width: calc(80px * 20 + 40px * 20); 
        animation: mymove 15s linear infinite;
    }
}