body {
    background-color: #fafaf8;
    padding-top: 70px;
}

.navbar-brand{
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-size: 1rem;
    transition: color 0.3 ease;
}

.navbar-nav .nav-link:hover {
    color: rgb(243, 89, 0);
}

.navbar-dark .navbar-toggler-icon {
    background-color: rgba(247, 247, 247, 0.8);
    border-radius: 3px;
    padding: 5px;
}

@media (max-width: 991px){
    .sidebar{
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
    }
}

.main {
    margin: 0;
    padding: 0;
    background-image: url('/media/background/1bronz.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    /* Geçiş efekti için */
    transition: background-image 2s ease-in-out;
}
h2{
    margin-top: 10px;
    font-weight: bold;
    font-family: 'Bree Serif', serif; /* Bree Serif fontunu kullan */
    text-shadow: 0px 0px 2px rgba(12, 12, 12, 0.355); /* Hafif gölge */
}
/* Alıntı metni için stil */
.quote-container {
    padding: 5px 10px; /* İç boşluk */
    border-radius: 10px; /* Köşeleri yuvarla */
    background-color: #00000094;
    max-width: 80%; /* Genişliği sınırla */
    color: #cbdde2; /* Metin rengi */
    font-size: 1.4rem; /* Yazı boyutu */
    font-weight: bold;
    font-family: 'Allura';
    letter-spacing: 3px; /* Harfler arasındaki boşluğu artır */
}
/* Alıntı sahibi */
.quote-author {
    font-size: 1.2rem; /* Daha küçük yazı boyutu */
    font-style: italic; /* Eğik yazı */
    font-weight: normal;
    color: #cbdde2; /* Daha açık bir renk tonu */
    margin-top: 0; /* Yukarıdaki boşluğu sıfırla */
}
/* Küçük ekranlar için yazı boyutunu küçült */
@media (max-width: 768px) {
    .quote-text {
        font-size: 1.2rem; /* Küçük ekranlar için yazı boyutunu küçült */
    }
    .quote-author {
        font-size: 1rem; /* Küçük ekranlar için yazı boyutunu küçült */
    }
    .cards {
        width: 300px;
        margin: 10px;
    }
    .carousel-inner img {
        height: 200px;
    }
}

/* Daha küçük ekranlar için yazı boyutunu daha da küçült */
@media (max-width: 480px) {
    .quote-text {
        font-size: 1rem; /* Daha küçük ekranlar için yazı boyutunu küçült */
    }
    .quote-author {
        font-size: 1rem; /* Küçük ekranlar için yazı boyutunu küçült */
    }
}
/* Buton stili */
.scroll-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.scroll-button {
    position: relative;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #0000006d;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
    z-index: 10;
    pointer-events: auto;
}

.scroll-button:hover {
    background-color: #b10000;
}
/* About Section */
.about-section {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
    padding: 2%;
    text-align: justify;
}

.card-section {
    padding: 0px 0;
    position: relative;
    margin-bottom: 80px;
}

.card-section::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, #d1d1d1, transparent);
}

/* Section başlıkları için genel stil */
.section-title, #products-header, #about-h2 {
    position: relative;
    color: #b10000;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title::after, #products-header::after, #about-h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #b10000;
}

.products-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    width: 400px;
    flex: 0 0 auto;
}

.cards {
    border-radius: 15px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cards:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Resimler için düzenleme */
.carousel-inner img {
    height: 300px;
    width: 100%;
    object-fit: scale-down;
    border-radius: 8px;
}

.content {
    max-width: 900px;
    width: 100%;
}

.about-section .content {
    z-index: 1;
    background: #fafaf8;
    padding: 20px;
    color: #333;
}

.about-section .content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-section .content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 auto;
}

/* Bağlantı stili */
.custom_a_tag{
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px; /* Daha az boşluk için padding küçültüldü */
    margin: 10px 25px;
    font-size: 12px;
    color: #000000;
    background-color: #00000012;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hover durumu */
.custom_a_tag:hover {
    background-color: #b10000;
    color: rgb(255, 255, 255);
    transform: scale(1.08);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Bağlantı içindeki metin */
.custom_a_tag span {
    font-weight: bold;
}  
  
/* İletişim Bölümü Stili */
.contact-section {
    background: #ffffff;
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    color: #b10000;
    margin-bottom: 30px;
}

/* İletişim Bilgileri */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.info-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.info-box i {
    font-size: 24px;
    color: #b10000;
    margin-right: 15px;
}

.info-box p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.info-box span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

/* Harita Alanı */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 15px;
    font-size: 0.9rem;
}

@media (max-width: 1200px) {
    .products-container {
        gap: 30px;
    }
    .product-card {
        width: 380px;
    }
}

@media (max-width: 992px) {
    .product-card {
        width: 360px;
    }
}

@media (max-width: 768px) {
    .product-card {
        width: 340px;
    }
    .carousel-inner img {
        height: 250px;
    }
    .card-section {
        padding: 40px 15px;
        margin-bottom: 60px;
    }
    .card-section::after {
        width: 80%;
        bottom: -30px;
    }
    .about-section {
        margin: 60px auto;
    }
    .map-container, .map-container iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 300px;
    }
    .carousel-inner img {
        height: 220px;
    }
    .card-section {
        padding: 30px 10px;
        margin-bottom: 40px;
    }
    .card-section::after {
        width: 90%;
        bottom: -20px;
    }
    .about-section {
        margin: 40px auto;
    }
    .products-container {
        gap: 20px;
    }
}

/* Instagram Box Stili */
.instagram-box {
    padding: 0 !important;
}

.instagram-box .social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    padding: 15px;
    transition: all 0.3s ease;
}

.instagram-box .social-link:hover {
    background: #f3f3f3;
}

.instagram-box .social-link i {
    font-size: 24px;
    color: #b10000;
    margin-right: 15px;
}

.instagram-box .social-link p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.instagram-box .social-link span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
    text-decoration: underline;
}

.instagram-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
