/* --- GENEL AYARLAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; overflow-x: hidden; background-color: #ffffff; padding-top: 44px; }
html { scroll-behavior: smooth; }

/* RENK PALETİ */
:root {
    --color-primary: #212b36;
    --color-accent: #3399FF;
    --color-footer: #171d24;
}

/* TOP BAR */
.top-bar { 
    background-color: var(--color-primary); padding: 12px 0; 
    font-size: 13px; color: #e0e0e0;
    position: fixed; top: 0; width: 100%; z-index: 1001;
}
.top-bar .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.top-bar-left { display: flex; align-items: center; gap: 30px; }
.top-bar-item { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 500; }
.top-bar-item i { color: var(--color-accent); font-size: 14px; }

/* MENÜ */
.main-nav { 
    background-color: #ffffff; padding: 0; 
    position: sticky; top: 44px; z-index: 1000; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.nav-container { 
    max-width: 1400px; margin: 0 auto; padding: 0 20px; 
    display: flex; justify-content: flex-start; gap: 120px; 
    align-items: center; height: 90px; 
}
.logo { display: flex; align-items: center; gap: 10px; padding: 15px 0; }
.logo img { height: 50px; width: auto; } 
.nav-menu { display: flex; list-style: none; gap: 20px; align-items: center; }
.nav-menu li { position: relative; }
.nav-menu li a { 
    color: var(--color-primary); text-decoration: none; padding: 15px 10px;
    display: block; transition: color 0.3s ease; position: relative;
    font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px;
}
.nav-menu li a:hover, .nav-menu li a.active { color: var(--color-accent); background-color: transparent; }
.dropdown-menu { 
    position: absolute; top: 100%; left: 0; margin-top: 0;
    background-color: #ffffff; 
    min-width: 300px; /* DÜZELTME: Menü tek satıra sığması için genişletildi */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 3px solid var(--color-accent);
    display: none; z-index: 9999; padding: 10px 0; border-radius: 0 0 5px 5px;
}
.dropdown:hover .dropdown-menu { display: block; animation: fadeInUp 0.3s ease; }
.dropdown-menu li a { 
    color: #555 !important; padding: 12px 20px !important; 
    text-transform: none; font-weight: 500; border-bottom: 1px solid #f9f9f9; font-size: 14px;
}
.dropdown-menu li a:hover { background-color: #f8f9fa; color: var(--color-accent) !important; padding-left: 25px !important; }
.dropdown-menu li:last-child a { border-bottom: none; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.nav-right { display: flex; align-items: center; gap: 20px; }
.search-input { padding: 10px 15px; border: 1px solid #e0e0e0; border-radius: 30px; background: #fff; color: #333; outline: none; font-size: 14px; width: 250px; transition: all 0.3s; }
.search-input:focus { border-color: var(--color-accent); box-shadow: 0 0 5px rgba(51, 153, 255, 0.2); }
.mobile-menu-btn { display: none; color: var(--color-primary); font-size: 24px; cursor: pointer; padding: 10px; margin-left: auto; }

/* HERO */
.hero { position: relative; height: 600px; overflow: hidden; }
.hero-slide { position: absolute; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: none; } /* Perde (Overlay) tamamen kaldırıldı. */
.hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenburnsZoom 6s ease-in-out infinite; transform-origin: center center; }
@keyframes kenburnsZoom { 0% { transform: scale(1); } 100% { transform: scale(1.25); } }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: left; color: white; max-width: 1400px; width: 90%; }
.hero-content h1 { 
    font-size: 48px; 
    font-weight: bold; 
    margin-bottom: 20px; 
    line-height: 1.2; 
    animation: slideInLeft 1s ease-out;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8); /* Yazı Gölgesi */
}
.hero-content p { 
    font-size: 18px; 
    margin-bottom: 30px; 
    max-width: 600px; 
    line-height: 1.6; 
    animation: slideInLeft 1s ease-out 0.2s backwards;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8); /* Yazı Gölgesi */
}
.slider-nav { position: absolute; bottom: 30px; right: 30px; z-index: 3; display: flex; gap: 15px; }
.slider-btn { width: 50px; height: 50px; border: 2px solid white; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: white; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.slider-btn:hover { background: var(--color-accent); border-color: var(--color-accent); transform: scale(1.1); }
.hero-decoration { position: absolute; bottom: -50px; right: -50px; z-index: 2; width: 300px; height: 300px; pointer-events: none; }

/* HİZMETLER (YENİ TASARIM) */
.services-section { padding: 60px 0; background-color: #f9f9f9; overflow: hidden; }
.section-header { max-width: 1280px; margin: 0 auto 30px auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.section-header h2 { font-size: 32px; font-weight: 700; color: var(--color-primary); }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button { background: white; border: 1px solid #ddd; color: var(--color-primary); width: 45px; height: 45px; border-radius: 4px; cursor: pointer; transition: all 0.3s; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.carousel-controls button:hover { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.carousel-container { max-width: 1280px; margin: 0 auto; padding: 0 15px; overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.5s ease-in-out; gap: 30px; padding-bottom: 20px; }


/* YENİ HİZMET KARTI - RESİMLİ VE MODERN */
.service-card { 
    flex: 0 0 calc(33.333% - 20px); 
    height: 500px; /* Sabit yükseklik */
    position: relative; 
    overflow: hidden; 
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Daha belirgin gölge */
}
.card-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center center;
    transition: transform 0.6s ease-in-out;
}
.service-card:hover .card-background {
    transform: scale(1.1); /* Zoom efekti */
}
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Karartma efekti (Yazı okunurluğu için hafif koyu) */
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 100%); 
    transition: background 0.3s ease;
    z-index: 1;
}
.service-card:hover .card-overlay {
    /* Üzerine gelince karartmayı hafiflet */
    background: linear-gradient(to top, rgba(51, 153, 255, 0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: white; /* Yazı rengi beyaz */
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5); /* Okunurluk için gölge */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.arrow-btn { 
    background: var(--color-accent); 
    color: white; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s;
}
.service-card:hover .arrow-btn { 
    transform: translateX(10px); 
}


/* PARALLAX */
.parallax-section {
    background-image: url('img/parallax.jpg'); 
    min-height: 400px;
    background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;
    position: relative; display: flex; align-items: center; justify-content: center; color: white; text-align: center;
}
.parallax-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(33, 43, 54, 0.85); z-index: 1; }
.parallax-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; padding: 0 20px; }
.stats-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 40px; }
.stat-item h3 { font-size: 50px; font-weight: 700; color: var(--color-accent); margin-bottom: 10px; }
.stat-item p { font-size: 18px; font-weight: 500; color: #e0e0e0; text-transform: uppercase; letter-spacing: 1px; }

/* PORTFOLYO */
.portfolio-section { padding: 80px 0; background-color: #ffffff; }
.portfolio-header { text-align: center; margin-bottom: 50px; }
.portfolio-header h2 { font-size: 36px; font-weight: 700; color: var(--color-primary); margin-bottom: 15px; }
.filter-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.filter-btn { padding: 10px 25px; border: 2px solid #e0e0e0; background: white; color: #666; font-weight: 600; font-size: 14px; text-transform: uppercase; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover, .filter-btn.active { background: var(--color-accent); color: white; border-color: var(--color-accent); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.portfolio-item { position: relative; height: 300px; overflow: hidden; cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(33, 43, 54, 0.85); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s; }
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { color: white; font-size: 18px; margin-bottom: 10px; transform: translateY(20px); transition: transform 0.3s; text-align: center; padding: 0 10px; }
.portfolio-item:hover .portfolio-overlay h4 { transform: translateY(0); }
.portfolio-icon { width: 40px; height: 40px; background: var(--color-accent); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; transform: translateY(20px); transition: transform 0.3s 0.1s; }
.portfolio-item:hover .portfolio-icon { transform: translateY(0); }

/* LOGO BAND */
.logo-band-slider { padding: 15px 0; background-color: #ffffff; overflow: hidden; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.logo-band-header { text-align: center; margin-bottom: 30px; }
.logo-band-header h2 { font-size: 26px; font-weight: 700; color: var(--color-primary); text-transform: uppercase; letter-spacing: 1px; }
.logo-band-container { max-width: 100%; margin: 0 auto; white-space: nowrap; }
.logo-track { display: inline-block; animation: slide-logos 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
.logo-track img { height: 60px; width: auto; margin: 0 40px; opacity: 1; transition: all 0.3s; display: inline-block; vertical-align: middle; object-fit: contain; }
.logo-track img:hover { opacity: 0.8; }
@keyframes slide-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* BLOG & CTA */
.blog-section { padding: 80px 0; background-color: #ffffff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.blog-card { background: #fff; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-image { position: relative; height: 220px; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-image img { transform: scale(1.1); }
.blog-date { position: absolute; top: 15px; left: 15px; background: var(--color-accent); color: white; padding: 5px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; text-align: center; }
.blog-content { padding: 25px; }
.blog-category { font-size: 12px; color: var(--color-accent); font-weight: 700; margin-bottom: 10px; letter-spacing: 1px; }
.blog-content h3 { font-size: 20px; font-weight: 600; color: var(--color-primary); margin-bottom: 12px; line-height: 1.4; }
.blog-content p { font-size: 14px; color: #666; margin-bottom: 20px; line-height: 1.6; }
.read-more { color: var(--color-primary); font-size: 14px; font-weight: 600; text-decoration: none; transition: color 0.3s; display: inline-flex; align-items: center; gap: 5px; }
.read-more:hover { color: var(--color-accent); }
.cta-section { background-color: var(--color-primary); color: white; padding: 80px 0; background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.0) 100%); }
.cta-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px; }
.cta-content { max-width: 600px; }
.cta-content h2 { font-size: 40px; font-weight: 700; margin-bottom: 15px; line-height: 1.2; }
.cta-content p { font-size: 16px; margin-bottom: 30px; line-height: 1.6; color: #ddd; }
.cta-buttons { display: flex; gap: 15px; }
.cta-button-light { padding: 15px 30px; border: 1px solid white; background: transparent; color: white; text-decoration: none; font-weight: 600; transition: all 0.3s; cursor: pointer; }
.cta-button-light:hover { background: white; color: var(--color-primary); }
.cta-button-accent { padding: 15px 30px; border: none; background: var(--color-accent); color: white; text-decoration: none; font-weight: 600; transition: all 0.3s; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.cta-button-accent:hover { background: #5cafff; }

/* FOOTER */
.main-footer { background-color: var(--color-footer); color: #ddd; padding: 80px 0 0 0; font-size: 15px; }
.footer-container { max-width: 1400px; margin: 0 auto; padding: 0 20px 40px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1; min-width: 250px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 18px; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; background-color: var(--color-accent); height: 3px; width: 50px; }
.footer-col .logo img { height: 50px; filter: none; margin-bottom: 20px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #ddd; text-decoration: none; transition: color 0.3s; display: flex; align-items: center; }
.footer-col ul li a:hover { color: var(--color-accent); padding-left: 5px; }
.footer-social-links { margin-top: 20px; display: flex; gap: 10px; }
.footer-social-links a { display: inline-block; width: 35px; height: 35px; line-height: 35px; text-align: center; background: rgba(255, 255, 255, 0.1); color: white; border-radius: 50%; transition: all 0.3s; }
.footer-social-links a:hover { background: var(--color-accent); }
.footer-bottom { background-color: #111; color: #888; padding: 20px 0; text-align: center; font-size: 14px; margin-top: 20px; }

@media (max-width: 1024px) {
    .top-bar { display: none; }
    .nav-menu { display: none; position: absolute; top: 90px; left: 0; right: 0; background: #ffffff; flex-direction: column; padding: 20px; gap: 0; }
    .nav-menu.active { display: flex; }
    .nav-menu li a { padding: 15px; }
    .hero-content h1 { font-size: 36px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .search-input { display: none; }
    body { padding-top: 0; }
}
@media (max-width: 768px) {
    .service-card { flex: 0 0 100%; height: 450px; }
    .stats-grid { flex-direction: column; gap: 30px; }
    .footer-col { min-width: 100%; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
}