/* Genel Stiller */
:root {
    --primary-color: #e63946; /* Kırmızı */
    --secondary-color: #1d3557; /* Koyu Mavi/Siyah */
    --light-color: #f1faee; /* Beyaz */
    --dark-color: #212529; /* Siyah */
    --accent-color: #a8dadc; /* Aksan Rengi */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    padding-top: 56px; /* Navbar yüksekliği kadar padding */
}

.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Navbar Stilleri */
.navbar {
    background-color: var(--dark-color) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    vertical-align: middle;
}

.nav-wp-img {
    width: 24px;
    height: 24px;
}

/* Anasayfa Bölümü */
#anasayfa {
    background-color: var(--light-color);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.display-4{
   text-shadow: 1px 1px rgb(0, 0, 0);
   color: #bb1212;
   font-weight: bold;
}
.lead{
    font-weight: bold;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Hakkımızda Bölümü */
#hakkimizda {
    background-color: var(--light-color);
}

/* Ürünler Bölümü */
#urunler {
    background-color: #fff;
}
  
  .boyler-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 15px auto;
  }
  
.product-card {
   // height: 100%;
    width: 250px;  /* Kartın genişliğini küçült */
    height: 300px; /* Kartın yüksekliğini küçült */
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.product-card img {
    width: 100%; /* Kart genişliğine göre otomatik ayarlanır */
    height: 100%; /* Sabit bir yükseklik belirleyin */
}


.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #d62839;
    border-color: #d62839;
}
.dimensions-table {
    width: 100%;
    font-size: 0.9rem;
}
.dimensions-table th, 
.dimensions-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}
.dimensions-table th {
    background-color: #f2f2f2;
}

/* İletişim Bölümü */
#iletisim {
    background-color: var(--light-color);
}

.contact-info {
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    width: 25px;
    margin-right: 10px;
}
.contact-info iframe {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 50px 0 20px;
}

.footer h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.copyright {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Responsive Ayarlar */

.navbar-toggler {
    border-color: var(--primary-color);
    background-color: transparent;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28230, 57, 70, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {

    .navbar-collapse {
        background-color: var(--dark-color);
        padding: 15px;
        border-radius: 5px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .navbar-nav {
        margin-top: 10px;
    }
    
    .nav-item {
        margin-bottom: 5px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .navbar-brand {
        font-size: 1.3rem;
    }
    .boyler-image {
        max-width: 300px;
      }
      
      li {
        font-size: 14px;
      }

      .nav-whatsapp-btn {
        margin-left: 10px;
    }
    
    .nav-wp-img {
        width: 20px;
        height: 20px;
    }
    
    #anasayfa {
        min-height: auto;
        padding-top: 100px;
    }
    
    .video-container {
        margin-top: 30px;
    }
    
    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Back to Top Butonu */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #d62839;
}

/* Navbar Scrolled Effect */
.navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Form validation styles */
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.error-message {
    font-size: 0.875rem;
}

/* Loading spinner for form submit */
.spinner-border {
    margin-right: 5px;
}

/* Alert animation */
.alert {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}