/* Genel stil ayarları */
.custom-alert {
    width: 100%; /* Daha uzun *//* Mobil uyumluluk için */
    padding: 11px 20px; /* Daha ince */
    font-size: 14px; /* Daha küçük yazı */
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Header içeriği */
.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.centered-form {
    width: 300px; /* Kare şekli için genişlik */
    height: 300px; /* Kare şekli için yükseklik */
    border: 2px solid black; /* Kare sınırı */
    position: absolute; /* Ortalamak için pozisyonlama */
    top: 40%; /* Dikey ortalama */
    left: 50%; /* Yatay ortalama */
    transform: translate(-50%, -50%); /* Tam merkez */
    padding: 20px; /* İç boşluk */
    box-sizing: border-box; /* Padding dahil */
}
/* Logo */
.logo img {
    height: 60px;
}

/* Menü */
.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    margin-left: 20px;
}

.navbar a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ff6600; /* Hover rengi */
}

/* Arama kutusu ve sosyal medya */
.search-social {
    display: flex;
    align-items: center;
}

.search-bar input {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
}

.search-bar button {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.search-bar button:hover {
    background-color: #ff4500;
}

/* Sosyal medya ikonları */
.social-icons {
    display: flex;
    margin-left: 20px;
}

.social-icon img {
    width: 30px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.social-icon img:hover {
    transform: scale(1.1);
}
/* Footer Tasarımı */
footer {
    width: 100%;
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    font-family: 'Poppins', sans-serif;
    flex-direction: column;
    /*position: fixed;*/
    left: 0;
    bottom: 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    width: 30%;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: #f4a261;
}

/* Sosyal Medya İkonları */
.social-media {
    display: flex;
    gap: 15px;
}

.social-media li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.social-media li a:hover {
    color: #f4a261;
}

/* Footer Alt Kısım */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #bbb;
}

.footer-bottom p {
    margin: 0;
}
/*ürün detay css*/
.product-image {
    width: 100%;
    height: 568px;
}
.product-info {
    padding: 20px;
}
.product-title {
    font-size: 2rem;
    font-weight: bold;
}
.product-price {
    font-size: 1.5rem;
    color: #d9534f;
}
.product-description {
    margin-top: 20px;
}
.comments-section {
    background-color: #f8f9fa;
    padding: 30px 0;
    margin-top: 50px;
}
.comment-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}
.comment-body {
    display: flex;
    align-items: center;
}
.comment-item {
    display: flex;
    align-items: center;
    margin-right: 30px;
}
.user-images {
    margin-top: 20px;
}
.user-images img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 15px;
}
/* login css */
.form-container {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.form-container h3 {
    text-align: center;
    margin-bottom: 1.5rem;
}
.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    padding: 10px 15px;
}

.navbar a {
    text-decoration: none;
    color: #333;
}

/* Dropdown Menü Stil Ayarları */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown .dropbtn {
    background-color: #4CAF50; /* Buton rengi */
    color: white;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41; /* Hover rengi */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Arama ve Sosyal Medya İkonları */
.search-social {
    display: flex;
    align-items: center;
}

.search-bar {
    margin-right: 20px;
}

.search-bar input {
    padding: 5px;
}

.search-bar button {
    padding: 5px 10px;
}

/* Sosyal medya ikonları */
.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    width: 25px;
    height: 25px;
}
/*profile img css*/
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #333333c7;
    margin-bottom: 15px;
}
.avatar img {
    width: 100%;
    height: 100%;
}
.name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}
.file-input {
    max-width: 300px;
}
.me-2 {
    margin-right: 10px;
}
p.card-text{
    height: 72px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimum 2 satır göster */
    -webkit-box-orient: vertical;
    overflow: hidden; /* Taşan metni gizle */
    text-overflow: ellipsis; /* Üç nokta ekle */
}
img.card-img-top{
   height:280px;
}
.card.shadow-sm{
    width:325px;
}