/* 
   Babilli Yapı Dekor - Kurumsal Stil Dosyası
   Renk Paleti:
   - Lacivert (Güven): #0f2027
   - Kırmızı (Vurgu): #c92a2a
   - Beyaz (Arka Plan): #ffffff
   - Açık Gri (İkincil Arka Plan): #f8f9fa
*/

:root {
    --primary-color: #0f2027; /* Koyu Lacivert */
    --secondary-color: #0f2027; /* İkincil Lacivert */
    --accent-color: #c92a2a; /* Canlı Kırmızı (Logo uyumu) */
    --accent-hover: #a02020; /* Koyu Kırmızı */
    --icon-color: #c92a2a; /* İkonlar için Kırmızı */
    --text-dark: #0f2027; /* Metinler için Lacivert */
    --text-light: #0f2027; /* İkincil metinler için Lacivert */
    --white: #ffffff; /* Beyaz */
    --bg-light: #f8f9fa; /* Açık arka planlar */
    
    /* Fontlar - Daha Yumuşak Çizgiler */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Nunito', sans-serif;
    
    /* Diğer */
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(255, 255, 255, 0.1);
    --shadow-md: 0 10px 20px rgba(255, 255, 255, 0.15);
    --shadow-lg: 0 15px 30px rgba(255, 255, 255, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 42, 42, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 42, 42, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95); /* Siyah arka plan yok edildi */
    border-bottom: 4px solid var(--accent-color); /* Resim kısmını bölen kırmızı çizgi */
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 5px 0; /* Logoya kadar iyice daraltıldı */
}

header.scrolled {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 250px; 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo img:hover {
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px; 
    color: var(--white); /* Metin Beyaz */
}

.logo-text strong {
    color: var(--accent-color);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 15px; /* Butonlar arası boşluk */
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-heading);
    padding: 10px 20px;
    border-radius: 4px;
}

.nav-menu .btn-contact::after {
    display: none;
}

.nav-menu .btn-contact:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-slider {
    max-width: 800px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--white);
}

.hero p {
    font-size: 22px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
    padding-left: 50px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.hero h1 {
    font-size: 64px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

.hero h1 .highlight {
    color: var(--accent-color);
}

.hero p {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   Titles
   ========================================================================== */
.section-title {
    margin-bottom: 50px;
}

.section-title.center {
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
}

.section-title.center .title-line {
    margin: 0 auto 20px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.about-features {
    margin-top: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
}

.about-features i {
    color: var(--icon-color);
    font-size: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: var(--white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border-bottom: 4px solid var(--accent-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stat-card:nth-child(3) {
    grid-column: span 2;
}

.stat-icon {
    font-size: 40px;
    color: var(--icon-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-card p {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 14px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--text-dark);
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(201, 42, 42, 0.1);
    color: var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--accent-color);
    color: var(--white);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(201, 42, 42, 0.15);
}

.contact-info {
    background: linear-gradient(135deg, #e3000f 0%, #8b0000 100%);
    color: var(--white);
    padding: 80px 60px;
    position: relative;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info .section-title h2 {
    color: var(--white);
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
}

.contact-info p {
    opacity: 1;
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.8;
    font-weight: 500;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
}

.info-item i {
    font-size: 28px;
    color: #ffffff;
    margin-top: 5px;
    text-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 5px;
    color: #ffffff;
}

.info-item p {
    margin-bottom: 0;
    opacity: 0.7;
}

.contact-form-container {
    padding: 70px 60px;
    background-color: #ffffff;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border: 2px solid transparent;
    border-bottom: 2px solid #eaeaea;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(201, 42, 42, 0.05);
    border-bottom-color: var(--accent-color);
    background-color: #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.form-group button {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(201, 42, 42, 0.2);
    transition: all 0.4s ease;
}
.form-group button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(201, 42, 42, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background-color: #ffffff;
    border-top: 4px solid var(--accent-color);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 250px; 
    background-color: transparent;
    mix-blend-mode: multiply;
    filter: brightness(1.1) contrast(1.5); /* Resmi hafif gri arka plandan kurtarıp tam şeffaf yapmak için eklendi */
    padding: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-logo img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(201, 42, 42, 0.4);
}

.footer-logo p {
    color: var(--text-dark);
    margin-top: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: rgba(0,0,0,0.6);
    font-weight: 500;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .stat-card:nth-child(3) { grid-column: auto; }
    .about-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: inset 0 5px 10px rgba(0,0,0,0.05);
    }

    .nav-menu.active { left: 0; }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero { padding-top: 100px; text-align: center; }
    .subtitle::before { display: none; }
    .subtitle { padding-left: 0; }
    .hero-buttons { justify-content: center; }
    .contact-info, .contact-form-container { padding: 40px 30px; }
    .footer-content { flex-direction: column; gap: 30px; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .hero-buttons { flex-direction: column; }
}

/* ==========================================================================
   Projects / Gallery Section (Home & Subpage)
   ========================================================================== */
.featured-projects, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item, .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 300px;
    transition: var(--transition);
}

.project-item img, .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay, .gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.6) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
    opacity: 1;
}

.project-item:hover img, .gallery-item:hover img {
    transform: scale(1.1);
}

.project-item:hover .project-overlay, .gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 0%, rgba(10, 25, 47, 0.4) 100%);
}

.project-overlay h3, .project-overlay h4, .gallery-overlay h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 5px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9);
    transform: none;
}

.project-overlay p, .gallery-overlay span {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    transform: none;
}

/* Projects Page Specific */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-header h1 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: 15px;
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-btn {
    padding: 10px 25px;
    background-color: var(--white);
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    text-transform: uppercase;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--text-dark);
    color: var(--white);
}

.gallery-overlay {
    background: rgba(10, 25, 47, 0.85);
    opacity: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay-content {
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.view-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.view-btn:hover {
    background-color: var(--white);
    color: var(--accent-color);
}

/* ==========================================================================
   Founder / Heritage Section
   ========================================================================== */
.founder-section {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    border-top: 4px solid var(--accent-color);
}

.founder-quote {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.founder-quote::before {
    content: '\201C'; /* Büyük tırnak işareti */
    font-family: var(--font-heading);
    font-size: 120px;
    color: rgba(197, 160, 89, 0.15); /* Saydam Altın */
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1;
    z-index: 0;
}

.founder-quote p {
    font-size: 24px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.founder-info h4 {
    color: var(--accent-color);
    font-size: 22px;
    margin-bottom: 5px;
}

.founder-info span {
    font-size: 14px;
    color: rgba(15, 32, 39, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.heritage-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-dark);
    padding: 5px 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.fade-left.active, .reveal.fade-right.active {
    transform: translateX(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ==========================================================================
   Google Maps Wrapper
   ========================================================================== */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

/* ==========================================================================
   Services Accordion & Pillars
   ========================================================================== */
.core-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.pillar-badge {
    background-color: var(--primary-color); /* Katı Siyah/Lacivert zemin */
    padding: 35px 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.pillar-badge i {
    margin-right: 0;
    font-size: 42px;
    color: var(--icon-color);
    margin-bottom: 5px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.pillar-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pillar-badge:hover i {
    transform: scale(1.15) translateY(-5px);
}

/* ==========================================================================
   Editorial Bento Grid (Aşama 6.1)
   ========================================================================== */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(420px, auto);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(15, 32, 39, 0.95) 0%, rgba(15, 32, 39, 0.75) 60%, rgba(15, 32, 39, 0.4) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; }

.bento-card:hover .bento-bg {
    transform: scale(1.08);
}



.bento-title { color: var(--white); font-size: 24px; font-family: var(--font-heading); font-weight: 600; margin-bottom: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }

.bento-title i {
    color: var(--icon-color);
}







.bento-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Geniş kartlar için iki sütunlu liste */
.span-2 .bento-content ul, 
.row-span-2 .bento-content ul {
    column-count: 2;
    column-gap: 20px;
}

.bento-content li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    break-inside: avoid-column;
}

.bento-content li:last-child {
    border-bottom: none;
}

.bento-content li i {
    color: var(--icon-color);
    margin-top: 4px;
    font-size: 13px;
}

/* Span Classes for Asymmetry */
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }
.row-span-2 { grid-row: span 2; }

@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(450px, auto);
    }
    .span-2, .span-1 { grid-column: span 1; }
    .bento-card:nth-child(odd) { grid-column: span 2; }
    .span-2 .bento-content ul, 
    .row-span-2 .bento-content ul {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-card:nth-child(odd) { grid-column: span 1; }
    .bento-card {
        min-height: 450px;
    }
    /* Mobil'de liste her zaman görünsün */
    
    .bento-title {
    color: var(--text-dark);
        margin-bottom: 15px;
        color: var(--white);
    }
    .bento-overlay {
        background: rgba(15, 32, 39, 0.85);
    }
}

.nav-menu a.btn-contact {
    background-color: var(--accent-color);
    color: var(--white);
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}

.pillar-badge i {
    margin-right: 0;
    font-size: 42px;
    color: var(--icon-color);
    margin-bottom: 5px;
    transition: transform 0.4s ease, color 0.4s ease;
}

.pillar-badge:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.pillar-badge:hover i {
    transform: scale(1.15) translateY(-5px);
}

/* ==========================================================================
   Editorial Bento Grid (Aşama 6.1)
   ========================================================================== */
.bento-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(420px, auto);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.bento-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0.1) 100%);
    transition: background 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 35px;
}

.bento-card:hover .bento-bg {
    transform: scale(1.08);
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(to top, rgba(15, 32, 39, 0.98) 0%, rgba(15, 32, 39, 0.85) 60%, rgba(15, 32, 39, 0.6) 100%);
}

.bento-title {
    color: var(--white);
    font-size: 26px;
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), margin 0.5s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.bento-title i {
    color: var(--icon-color);
}



.bento-card:hover .bento-title {
    transform: translateY(-15px);
    margin-bottom: 15px;
    color: var(--white);
}

.bento-card:hover 

.bento-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Geniş kartlar için iki sütunlu liste */
.span-2 .bento-content ul, 
.row-span-2 .bento-content ul {
    column-count: 2;
    column-gap: 20px;
}

.bento-content li {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    break-inside: avoid-column;
}

.bento-content li:last-child {
    border-bottom: none;
}

.bento-content li i {
    color: var(--icon-color);
    margin-top: 4px;
    font-size: 13px;
}

/* Span Classes for Asymmetry */
.span-2 { grid-column: span 2; }
.span-1 { grid-column: span 1; }
.row-span-2 { grid-row: span 2; }

@media (max-width: 1024px) {
    .bento-container {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(450px, auto);
    }
    .span-2, .span-1 { grid-column: span 1; }
    .bento-card:nth-child(odd) { grid-column: span 2; }
    .span-2 .bento-content ul, 
    .row-span-2 .bento-content ul {
        column-count: 1;
    }
}

@media (max-width: 768px) {
    .bento-container {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-card:nth-child(odd) { grid-column: span 1; }
    .bento-card {
        min-height: 450px;
    }
    /* Mobil'de liste her zaman görünsün */
    
    .bento-title {
    color: var(--text-dark);
        margin-bottom: 15px;
        color: var(--white);
    }
    .bento-overlay {
        background: rgba(15, 32, 39, 0.85);
    }
}

.nav-menu a.btn-contact {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 28px;
    box-shadow: 0 4px 15px rgba(201, 42, 42, 0.3);
    margin-left: 10px;
}

.nav-menu a.btn-contact:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(201, 42, 42, 0.5);
    color: var(--white);
}

/* ==========================================================================
   Waving Flag Animation
   ========================================================================== */
.waving-flag {
    display: inline-block;
    cursor: pointer;
    animation: wave-flag 2.5s infinite ease-in-out alternate;
    transform-origin: left center;
    transition: transform 0.3s;
}

.waving-flag:hover {
    filter: brightness(1.1);
}

@keyframes wave-flag {
    0% { transform: perspective(300px) rotateY(-15deg) rotateX(2deg); }
    100% { transform: perspective(300px) rotateY(15deg) rotateX(-2deg); }
}

/* ==========================================================================
   Splash Screen
   ========================================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff; /* Beyaz arka plan ile logo şeffaflaştırması çalışır */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

#splash-screen .splash-logo {
    height: 350px;
    margin-bottom: 50px;
    mix-blend-mode: multiply; /* Beyaz logo arka planını yok eder */
    filter: brightness(1.1) contrast(1.5);
    animation: pulseLogo 3s infinite alternate;
}

@keyframes pulseLogo {
    0% { transform: scale(0.95); filter: drop-shadow(0 0 10px rgba(201, 42, 42, 0.2)) brightness(1.1) contrast(1.5); }
    100% { transform: scale(1.05); filter: drop-shadow(0 0 40px rgba(201, 42, 42, 0.7)) brightness(1.1) contrast(1.5); }
}

.splash-buttons {
    display: flex;
    gap: 30px;
}

.splash-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--text-dark); /* Yazı rengi koyu yapıldı */
    padding: 15px 50px;
    font-size: 20px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 8px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    z-index: 1;
}

.splash-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: all 0.4s ease;
    z-index: -1;
}

.splash-btn:hover::before {
    left: 0;
}

.splash-btn:hover {
    box-shadow: 0 10px 20px rgba(201, 42, 42, 0.4);
    transform: translateY(-3px);
    color: var(--white);
}
.bento-content { 
    color: rgba(255,255,255,0.85); 
    max-height: none !important; 
    opacity: 1 !important; 
    overflow: visible !important; 
    transition: all 0.3s; 
}
.bento-card {
    height: auto !important;
    min-height: 420px;
}
.bento-overlay {
    position: relative !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(15, 32, 39, 0.95) 0%, rgba(15, 32, 39, 0.75) 60%, rgba(15, 32, 39, 0.4) 100%) !important;
    padding: 30px !important;
}
.bento-title {
    transform: none !important;
    margin-bottom: 15px !important;
}

/* Production Performance Enhancements */
.services, .projects, .about, .contact, footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
:focus-visible {
  outline: 2px solid #E30613;
  outline-offset: 3px;
}
