@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: 'montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global beyaz başlık kuralı */
.blog-card .card-header h3,
.blog-card .card-header .card-title,
.blog-card .card-header h3.card-title {
    color: white !important;
}

/* Navbar styles */
.navbar a {
    font-size: 14px;
    font-weight: 1000;
}

.navbar-toggler {
    padding: 1px 5px;
    font-size: 18px;
    line-height: 0.3;
    background: #2d5a27;
}

.navbar {
    border-bottom: 2px solid #4a7c59;
}

.navbar-nav .nav-link:hover {
    color: #2d5a27 !important;
}

/* Blog header */
#blog h2 {
    color: white !important;
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(45, 90, 39, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#blog h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2d5a27, #2d7d8a);
    border-radius: 2px;
}

/* Modern blog grid system */
.blog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Individual blog card */
.blog-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 90, 39, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    min-height: 650px;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(45, 90, 39, 0.2);
    border-color: #4a7c59;
}

/* Card header with gradient */
.card-header {
  background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
  color: white !important;
  padding: 25px 20px;
  text-align: center;
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(45, 90, 39, 0.2);
}

/* Header içindeki tüm metinlerin beyaz olmasını sağlayalım */
.card-header * {
  color: white !important;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a7c59, #2d7d8a, #8b4513);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: white !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.8px;
  text-align: center;
  padding: 10px 0;
}

/* Daha spesifik seçiciler ekleyelim */
.blog-card .card-header .card-title {
  color: white !important;
}

.blog-card .card-header h3 {
  color: white !important;
}

/* En güçlü seçiciler */
.blog-card .card-header h3.card-title {
  color: white !important;
}

/* Inline style'ları override etmek için */
.blog-card .card-header h3[class*="card-title"] {
  color: white !important;
}

/* Tüm olası durumlar için */
.blog-card .card-header *,
.blog-card .card-header h3,
.blog-card .card-header .card-title,
.blog-card .card-header h3.card-title {
  color: white !important;
}

/* LinkedIn content area */
.linkedin-content {
    flex: 0 0 auto;
    padding: 20px;
    background: #f8f9fa;
display: flex;
    flex-direction: column;
justify-content: center;
    align-items: center;
    height: 200px;
    position: relative;
}

.linkedin-iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Card content area */
.card-content {
    padding: 20px;
    flex: 1;
display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex: 1;
}

/* Button area */
.card-actions {
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
    flex-shrink: 0;
}

.details-btn {
    background: linear-gradient(135deg, #2d5a27 0%, #4a7c59 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 90, 39, 0.3);
    text-decoration: none;
    display: inline-block;
}

.details-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 90, 39, 0.4);
    background: linear-gradient(135deg, #1e3d1a 0%, #2d5a27 100%);
    color: white;
    text-decoration: none;
}

/* Responsive design */
@media (max-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-container {
        padding: 20px 15px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .blog-card {
        min-height: 600px;
    }
    
    .linkedin-iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        min-height: 550px;
    }
    
    .linkedin-iframe {
        height: 160px;
    }
    
    .card-header {
        min-height: 70px;
        padding: 15px;
    }
    
    .card-title {
        font-size: 1rem;
    }
}

/* Footer styles */
footer {
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.9) 0%, rgba(45, 125, 138, 0.8) 100%), url('/image/gemi.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
    text-align: center;
    color: white;
    margin-top: 60px;
  }
  
  .footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .companyLogos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
  }
  
  .company-logo {
    margin: 10px;
    max-width: 100px;
    height: auto;
  }
  
  .socialIcons {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .socialIcons a {
    color: rgb(214, 230, 72);
    text-decoration: none;
  }
  
  .socialIcons a:hover {
    color: rgb(58, 206, 29);
  }
  
  .socialIcons li {
    margin: 0 10px;
  }
  
/* Carousel styles for other sections */
.img-wrapper {
    max-width: 100%;
    height: 65vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

img {
    max-width: 100%;
    max-height: 100%;
}

@media screen and (min-width: 576px) {
    .carousel-inner {
    display: flex;
    }
    
    .carousel-item {
        display: block;
        margin-right: 0;
        flex: 0 0 calc(100% / 3);
    }
    
    .img-wrapper {
        height: 21vw;
    }
}

.carousel-inner {
    padding: 1em;
}

.card {
    margin: 0 0.5em;
    border-radius: 10px;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    font-size: 0.9em;
    border: 2px solid #4a7c59;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(45, 90, 39, 0.3);
    border-color: #2d5a27;
}

.card-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.btn-primary {
    background-color: #2d5a27 !important;
    border-color: #2d5a27 !important;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e3d1a !important;
    border-color: #1e3d1a !important;
    transform: translateY(-2px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 6vh;
    height: 6vh;
    background-color: #e1e1e1;
  border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 0.8;
}
