/* Main style file */

/* General styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px; /* Padding for fixed header */
    background-color: #f8f9fa;
}

/* Header style */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 10px 0;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 40px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(26, 115, 232, 0.1);
    color: #1a73e8 !important;
}

/* Hero section */
.hero-section {
    color: #fff;
    padding: 100px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,123,255,0.7) 0%, rgba(25,118,210,0.8) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Service cards */
.service-card {
    transition: all 0.3s ease;
    height: 100%;
    border-radius: 12px;
    padding: 35px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    border: none;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #1a73e8, #4285f4);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card .card-title {
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a73e8;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #1a73e8;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Feature cards */
.feature-card {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    background-color: #fff;
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #1a73e8, #4285f4);
    transition: height 0.4s ease;
}

.feature-card:hover::before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: #d0e1ff;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #1a73e8;
    transition: all 0.4s ease;
    background-color: rgba(26, 115, 232, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15);
    color: #0d62d9;
}

/* Technology cards */
.tech-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    background-color: #fff;
}

.tech-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.tech-card .card-body {
    padding: 30px;
}

.tech-card .card-title {
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 15px;
}

.tech-card .card-text {
    color: #555;
    margin-bottom: 20px;
}

/* Contact form */
.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.contact-form .form-control {
    border-radius: 8px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.contact-form .form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contact-form .btn {
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #1a73e8;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: #1a73e8;
    font-size: 1.2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f0f4f8;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 10px;
    position: relative;
    overflow: hidden;
}

/* Sosyal medya ikonları için özel renkler */
.social-links a.facebook-icon {
    background: linear-gradient(45deg, #1877F2, #2892FF);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a.twitter-icon {
    background: linear-gradient(45deg, #000000, #333333);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a.instagram-icon {
    color: #E1306C; /* Instagram pembe */
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-links a.facebook-icon:hover {
    background: linear-gradient(45deg, #1877F2, #2892FF);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.social-links a.twitter-icon:hover {
    background: linear-gradient(45deg, #000000, #333333);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

.social-links a.instagram-icon:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80);
    color: #fff !important;
    -webkit-background-clip: initial;
    background-clip: initial;
}

/* Footer */
footer {
    background-color: #343a40;
    color: #fff;
    padding: 60px 0 30px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #1a73e8;
    text-decoration: none;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    body {
        padding-top: 60px;
    }
}

/* Servis bölümü için grid düzeni */
.services-section .row {
    display: flex;
    flex-wrap: wrap;
}

.services-section .col-md-6,
.services-section .col-lg-4 {
    display: flex;
}

/* Haber kartları için grid düzeni */
.news-section {
    background-color: #f5f9ff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #d0e1ff;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.news-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: 0;
}

.news-section h2 {
    color: #1a73e8;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.news-section .lead {
    position: relative;
    z-index: 1;
}

.news-section .row {
    display: flex;
    flex-wrap: wrap;
}

.news-section .col-md-4 {
    display: flex;
}

/* Teknoloji bölümü için grid düzeni */
#tech-container .row {
    display: flex;
    flex-wrap: wrap;
}

#tech-container .col-md-6,
#tech-container .col-lg-4 {
    display: flex;
}

/* Servis kartları için grid düzeni */
.center-card {
    box-shadow: 0 15px 35px rgba(26, 115, 232, 0.25) !important;
    border-left: 4px solid #1a73e8 !important;
    transform: translateY(-15px);
    position: relative;
    z-index: 1;
    border-radius: 14px;
    background-color: #fcfdff;
}

.center-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 20px 40px rgba(26, 115, 232, 0.3) !important;
}

.row.g-4.justify-content-center {
    display: flex;
    justify-content: space-evenly;
    margin: 0 -15px;
}

.row.g-4.justify-content-center > div {
    padding: 0 15px;
    margin-bottom: 30px;
}
#services-container .row {
    display: flex;
    flex-wrap: wrap;
}

#services-container .col-md-6 {
    display: flex;
}

/* Kart içerikleri için flex düzeni */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-body {
    flex: 1 0 auto;
    padding: 30px;
}

/* Servis kartları için iyileştirmeler */
.service-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  padding: 25px;
  margin-bottom: 30px;
  background-color: #fff;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #1a73e8;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Teknoloji bölümleri için iyileştirmeler */
.tech-section {
  margin-bottom: 60px;
}

.tech-section h2 {
  color: #333;
  font-weight: 600;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* İletişim sayfası için iyileştirmeler */
.contact-hero {
  background-color: #1a73e8;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.contact-form {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: -50px;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contact-info {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
}

.contact-info h3 {
  color: #1a73e8;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  color: #1a73e8;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

/* Genel başlık stilleri */
.page-title {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
  font-weight: 600;
}

/* Danışmanlık bölümü için iyileştirmeler */
.consulting-section {
  background-color: #f8f9fa;
  padding: 60px 0;
  margin-top: 50px;
  border-radius: 10px;
}

.consulting-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
}

.consulting-list {
  list-style: none;
  padding-left: 0;
}

.consulting-list li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.consulting-list li:last-child {
  border-bottom: none;
}

.consulting-list li:before {
  content: "✓";
  color: #1a73e8;
  margin-right: 10px;
  font-weight: bold;
}

/* Buton stilleri */
.btn-primary {
  background-color: #1a73e8;
  border-color: #1a73e8;
  padding: 10px 25px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1557b0;
  border-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 115, 232, 0.3);
}

.btn-outline-light {
    padding: 10px 25px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}