/* --- RENK PALETİ VE DEĞİŞKENLER --- */
:root {
    --primary-green: #2E7D32;  /* Kurumsal Orman Yeşili */
    --light-green: #4CAF50;    /* İnovasyon ve Canlılık Yeşili */
    --earth-gray: #455A64;     /* Metinler için Toprak Grisi */
    --text-dark: #263238;      /* Başlıklar için Koyu Slate */
    --bg-light: #F9FBF9;       /* Göz yormayan, çok hafif yeşilimsi beyaz arka plan */
    --white: #FFFFFF;
}

/* --- GENEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--earth-gray);
    line-height: 1.6;
}

/* --- HEADER VE MENÜ (Ferah ve Modern) --- */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* --- LOGO AYARLARI --- */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 50px; 
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--light-green);
}

/* --- AÇILIR MENÜ (DROPDOWN) STİLLERİ --- */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    list-style: none;
    min-width: 260px;
    padding: 12px 0;
    margin-top: 0;
    border-top: 3px solid var(--primary-green); /* Üst kısma şık bir yeşil çizgi */
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 24px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #F4F7F4;
    color: var(--primary-green);
    padding-left: 30px; /* Üzerine gelince şık bir sağa kayma efekti */
}

/* Fare menünün üzerine geldiğinde alt menüyü gösterir */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Sağ Taraf - İletişim ve Dil */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-contact {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--light-green);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

/* --- DİL BAYRAKLARI (Eşit Boyutlandırma) --- */
.lang-flags {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lang-flags a {
    display: block;
    width: 30px;
    height: 20px; 
    border-radius: 3px;
    overflow: hidden; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.lang-flags img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.lang-flags a:hover {
    transform: translateY(-2px);
}

.lang-flags a:hover img, .lang-flags img.active {
    opacity: 1;
}

/* --- HERO (KARŞILAMA) BÖLÜMÜ --- */
.hero {
    height: 100vh;
    background: url('../images/anasayfa.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px; 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(10, 30, 20, 0.8), rgba(10, 30, 20, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-content h1 span {
    color: var(--light-green); 
}

.hero-content p {
    color: #E0E0E0;
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

/* --- FAALİYET ALANLARIMIZ (HİZMETLER) BÖLÜMÜ --- */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary-green);
}

.section-title p {
    color: var(--earth-gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
}

.card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.1); 
}

.card-content {
    padding: 30px 25px;
}

.card-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-content p {
    color: var(--earth-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--light-green);
}

/* --- KURUMSAL ÖZET (BİZ KİMİZ) BÖLÜMÜ --- */
.about-snippet {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-content h2 span {
    color: var(--primary-green);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--earth-gray);
}

.about-features {
    list-style: none;
    margin-bottom: 30px;
}

.about-features li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.about-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- GRUP ŞİRKETLERİMİZ (KART YAPISI) --- */
.group-companies {
    padding: 100px 0;
    background-color: #F0F4F1; 
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.group-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.group-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.group-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 125, 50, 0.15);
}

.group-logo {
    width: 100%;
    height: 160px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.group-logo img {
    max-width: 70%;
    max-height: 80px;
    object-fit: contain; 
    transition: transform 0.5s ease;
}

/* --- SADECE EURASIA TECHNIK LOGOSUNU BÜYÜTME ALANI --- */
.group-card img[alt*="Eurasia"] {
    max-width: 85%;    
    max-height: 250px;  
}

.group-card:hover .group-logo img {
    transform: scale(1.08); 
}

.group-content {
    padding: 30px 25px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

.group-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.group-content p {
    color: var(--earth-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; 
}

/* --- FOOTER (ALT BİLGİ) --- */
.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); 
}

.footer-col p {
    color: #B0BEC5;
    font-size: 0.95rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--light-green);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    color: #B0BEC5;
}

.footer-col ul li a {
    text-decoration: none;
    color: #B0BEC5;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #78909C;
    font-size: 0.9rem;
}