/* ERC Demir Çelik - Ana Stil Dosyası */

.page-header {
    padding: 0;
    min-height: 200px;
    background-color: var(--primary-color);
    text-align: center;
    color: white;
}

:root {
  --primary-color: #069de4;
  --secondary-color: #069de4;
  --accent-color: #60a5fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 70px; /* Adjust this value based on your navbar's height */
}

.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08), 0 1.5px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
    border: none;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(0,119,182,0.15), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-6px) scale(1.02);
}

.service-card .card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    overflow: hidden;
}

.service-card .card-title {
    font-size: 1.22rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.7rem;
    letter-spacing: 0.01em;
}

.service-card .service-short-description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
    margin-bottom: 1.1rem;
    font-size: 1rem;
    line-height: 1.5;
    max-height: 6em;
    position: relative;
}

.service-card .service-short-description::after {
    content: '';
    text-align: right;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 1.5em;
    background: linear-gradient(to right, rgba(255,255,255,0), rgba(255,255,255,1) 50%);
}

.service-card .btn {
    margin-top: auto;
    align-self: flex-start;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .service-card {
        min-height: 400px;
    }
    .service-card .card-img-top {
        height: 140px;
    }
    .service-card .service-short-description {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        max-height: 4.5em;
    }
}

/* Header Styles */
.video-header {
    position: relative;
    background-color: black;
    height: 100vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}

.video-header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.video-header .container {
    position: relative;
    z-index: 2;
}

.video-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #005f92;
    border-color: #005f92;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Parallax Sections */
.parallax-section,
.parallax-section-2 {
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 500px;
    color: white;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(../img/parallax.jpg);

    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}







/* Product Cards */
.product-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.product-card img {
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 8px 20px;
}

.btn-primary:hover {
    background-color: #005f8d;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.feature-icon {
    background-color: rgba(0, 119, 182, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    clear: both;
}

.timeline-item::after {
    content: '';
    display: table;
    clear: both;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.4em;
    box-shadow: 0 0 0 4px white, 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 20px;
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
    background: white;
    box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-content.right {
    float: right;
}

.timeline-content.right::after {
    left: -10px;
    right: auto;
    box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    float: left;
}

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }
    
    .timeline-icon {
        left: 50px;
        margin-left: 0;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        float: right;
    }
    
    .timeline-content::after {
        left: -10px;
        right: auto;
        box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
    }
    
    .timeline-content.right {
        float: right;
    }
    
    .timeline-content.right::after {
        left: -10px;
        right: auto;
        box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.1);
    }
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Testimonial Cards */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 30px;
    color: #333;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
}

.testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-icon {
    color: var(--primary-color);
}

/* Social Media Icons */
.social-icon-bg {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.social-icon-bg:hover {
    transform: scale(1.1);
}

.social-icon {
    text-decoration: none;
}

.social-icon i {
    font-size: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

footer a:hover {
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

.social-icons i {
    vertical-align: middle;
}

/* Add your custom styles here */
.navbar .nav-link {
    color: #333333 !important; /* Darker text for better visibility on white background when scrolling */
    transition: all 0.3s ease;
}

.navbar .nav-link.active {
    color: #007bff !important; /* Bootstrap primary blue */
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.navbar .nav-link:hover {
    color: #007bff !important; /* Blue on hover */
    transform: translateY(-2px);
}

.dropdown-item.active {
    background-color: #007bff !important;
    color: white !important;
}

.dropdown-item:hover {
    background-color: #e9ecef;
    color: #212529;
}

/* Footer Link Adjustments */
.footer-link-item {
    white-space: nowrap;
    font-size: 0.85rem; /* Adjust as needed */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .video-header {
        height: 60vh;
    }
    
    .navbar-collapse {
        background-color: white;
        padding: 1rem;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    .video-header {
        height: 50vh;
    }
    
    .video-header h1 {
        font-size: 2.5rem;
    }
    
    .parallax-section,
    .parallax-section-2 {
        padding: 60px 0;
    }
    
    footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .video-header {
        height: 40vh;
    }
    
    .video-header h1 {
        font-size: 2rem;
    }
    
    .video-header p.lead {
        font-size: 1rem;
    }
}

/* Daha Fazla Butonu Stili */
.more-products-btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.more-products-btn:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
}

@media (max-width: 768px) {
    .more-products-btn {
        width: 90%;
        margin: 0 auto;
    }
}

/*kaydırma çubuğu css başlangıç*/
/* Ana kaydırma çubuğu */
::-webkit-scrollbar {
    width: 12px; /* Genişlik */
    height: 12px; /* Yatay kaydırma çubuğu için yükseklik */
  }
  
  /* Kaydırma çubuğunun arka planı */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; /* Açık gri ton */
    border-radius: 10px; /* Köşeleri yuvarla */
  }
  
  /* Kaydırma çubuğunun başparmağı (sürüklenen kısım) */
  ::-webkit-scrollbar-thumb {
    background: #888; /* Gri ton */
    border-radius: 10px; /* Köşeleri yuvarla */
  }
  
  /* Başparmak üzerine gelindiğinde (hover) */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; /* Daha koyu gri */
  }
  
  /* Sayfa için genel bir kaydırma çubuğu stili (isteğe bağlı) */
  body::-webkit-scrollbar {
    width: 8px; /* Daha ince bir kaydırma çubuğu */
  }
  
  body::-webkit-scrollbar-track {
    background: #e0e0e0;
  }
  
  body::-webkit-scrollbar-thumb {
    background: #a0a0a0;
  }
  
  body::-webkit-scrollbar-thumb:hover {
    background: #707070;
  }
/*kaydırma çubuğu css bitiş*/