/* ================= GENEL AYARLAR ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fdf9ed;
    color: #747d8c;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: #2f3542;
    font-weight: 700;
}

.text-center { text-align: center; }

/* Renkler: Düz Koyu Kırmızı (#d32f2f) */
.orange-tag { 
    color: #d32f2f;
    font-weight: 600; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
    display: block; 
    text-transform: uppercase; 
    font-size: 14px;
}

.teal-bg { background-color: #00d2d3; }
.orange-bg { background-color: #d32f2f; }
.soft-blue-bg { background-color: #4facfe; }

.mt-30 { margin-top: 30px; }

.section-container { padding: 100px 10%; }
.section-header { margin-bottom: 50px; }
.section-header h2 { font-size: 36px; }

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(253, 249, 237, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* LOGO ALANI DÜZENLEMESİ */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    
    /* Yazı stilleri */
    font-size: 24px;
    font-weight: 700;
    
    /* BURASI DEĞİŞTİ: Eskiden #d32f2f (Kırmızı) idi, şimdi #2f3542 (Koyu Gri) oldu */
    color: #2f3542; 
    
    text-decoration: none;
}

/* Logo görselinin boyutunu sınırla */
.logo img {
    height: 40px; /* Navbar için uygun bir yükseklik */
    width: auto; /* Orantıyı koru */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 25px;
}

.nav-links a:hover { color: #d32f2f; }

.nav-links a.active {
    background-color: #d32f2f;
    color: white !important;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3);
}

/* ================= HERO ================= */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 10%;
    min-height: 100vh;
    padding-bottom: 50px;
    padding-top: 80px; 
}

.content-left { flex: 0.8; padding-right: 40px; }
h1 { font-size: 52px; line-height: 1.2; margin-bottom: 20px; }
.highlight { color: #d32f2f; }
.subtitle { font-size: 16px; line-height: 1.6; margin-bottom: 40px; }

.btn-primary {
    background-color: #d32f2f;
    color: white;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-primary:hover { 
    transform: translateY(-3px);
    background-color: #b71c1c;
}
.btn-icon { display: none; }

.image-right {
    flex: 1.2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.image-right img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: cover;
}

/* ================= SERVICES ================= */
.services-grid { display: flex; gap: 30px; }

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    flex: 1;
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-10px); }

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    padding: 15px;
}

.icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.service-card h3 { margin-bottom: 15px; }
.service-card p { margin-bottom: 25px; line-height: 1.6; }

.read-more {
    text-decoration: none;
    color: #d32f2f;
    font-weight: 600;
}

/* ================= ABOUT ================= */
.about-section { display: flex; align-items: center; gap: 50px; }
.about-content { flex: 1; }
.about-content h2 { font-size: 36px; margin-bottom: 20px; }
.lead-text { font-size: 18px; color: #2f3542; margin-bottom: 20px; }
.about-content p { line-height: 1.7; margin-bottom: 15px; }

.about-stats-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }

.stat-box {
    background-color: white; 
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.stat-box h3 { font-size: 32px; color: #d32f2f; margin-bottom: 10px; }

.highlight-stat { background-color: #d32f2f; } 
.highlight-stat h3 { color: white; }
.highlight-stat p { color: white; opacity: 0.9; }

.about-stats-grid .stat-box:nth-child(1),
.about-stats-grid .stat-box:nth-child(4) { background-color: #d32f2f; }

.about-stats-grid .stat-box:nth-child(1) h3,
.about-stats-grid .stat-box:nth-child(4) h3,
.about-stats-grid .stat-box:nth-child(1) p,
.about-stats-grid .stat-box:nth-child(4) p { color: white; }

.about-stats-grid .stat-box:nth-child(2),
.about-stats-grid .stat-box:nth-child(3) { background-color: white; }
.about-stats-grid .stat-box:nth-child(2) h3,
.about-stats-grid .stat-box:nth-child(3) h3 { color: #d32f2f; }
.about-stats-grid .stat-box:nth-child(2) p,
.about-stats-grid .stat-box:nth-child(3) p { color: #747d8c; }

/* ================= PROJECTS ================= */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.project-item {
    height: 250px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: white;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s;
    cursor: pointer;
}
.project-item:hover { transform: scale(1.03); }

.p-1 { background: linear-gradient(45deg, #d32f2f, #ff9f43); } 
.p-2 { background: linear-gradient(45deg, #00d2d3, #0abde3); }
.p-3 { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.p-4 { background: linear-gradient(45deg, #ff9f43, #d32f2f); }

/* ================= FOOTER ================= */
footer {
    background-color: #2f3542;
    color: #cdd0d4;
    padding: 80px 10% 20px;
    margin-top: 100px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col { flex: 1; min-width: 200px; }
.footer-logo { color: white; margin-bottom: 20px; display: inline-block;}
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; }
.footer-col ul li a {
    text-decoration: none;
    color: #cdd0d4;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: #d32f2f; }

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
}

.attribution-container {
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.6;
    line-height: 1.8;
}

.attribution-container a {
    color: #cdd0d4;
    text-decoration: none;
    transition: opacity 0.3s;
}

.attribution-container a:hover {
    opacity: 1;
    color: white;
    text-decoration: underline;
}