/* Reset & Base */
:root {
    /* Color Palette Refinement */
    --primary: #FF7A00; /* More vibrant, corporate orange */
    --primary-hover: #E66A00;
    --navy-deep: #0A1128; /* Deeper, richer navy */
    --navy-muted: #16203B;
    --navy-border: #2A3655;
    --bg-light: #FFFFFF; 
    --bg-light-gray: #F4F7FB; /* Cooler, cleaner gray */
    
    --text-dark: #1E293B;
    --text-gray: #516379; /* Softer text gray for better contrast and elegance */
    --text-light: #94A3B8; 
    --white: #FFFFFF;
    
    /* Animation & Shadows */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Smoother easing */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 24px 48px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Typography & Fonts (Critical Adjustments) */
body { 
    font-family: 'Inter', -apple-system, sans-serif; 
    color: var(--text-dark); 
    background-color: var(--bg-light); 
    line-height: 1.7; /* Increased for better readability */
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Utilities & Spacing */
.container { 
    width: 100%; 
    max-width: 1320px; /* Wider container for premium feel */
    margin: 0 auto; 
    padding: 0 24px; 
}
.section-padding { padding: 120px 0; } /* Increased section spacing */
.bg-dark { background-color: var(--navy-deep); color: var(--white); }
.bg-light-gray { background-color: var(--bg-light-gray); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.italic { font-style: italic; }

/* Buttons & Controls */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px 36px; /* Larger hit area */
    font-size: 15px; 
    font-weight: 600; 
    border-radius: 50px; /* Pill shape for premium feel */
    cursor: pointer; 
    transition: var(--transition); 
    border: none; 
    letter-spacing: 0.5px;
}
.btn-primary { 
    background-color: var(--primary); 
    color: var(--white); 
}
.btn-primary:hover { 
    background-color: var(--primary-hover); 
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 122, 0, 0.25); 
}
.btn-outline { 
    background-color: transparent; 
    color: var(--white); 
    border: 1.5px solid rgba(255, 255, 255, 0.4); 
}
.btn-outline:hover { 
    background-color: var(--white); 
    color: var(--navy-deep);
    border-color: var(--white); 
}
.btn-block { width: 100%; }

/* Header */
.header { 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; 
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid rgba(15, 23, 42, 0.05); 
    z-index: 1000; 
    transition: var(--transition); 
}
.header.scrolled { 
    background-color: rgba(10, 17, 40, 0.95); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); 
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo { display: flex; align-items: center; gap: 16px; }
.logo-img { height: 44px; }
.logo-text { font-size: 18px; font-weight: 800; color: var(--navy-deep); transition: var(--transition); letter-spacing: -0.5px; }
.header.scrolled .logo-text, .header.scrolled .hamburger { color: var(--white); }
.nav-menu ul { display: flex; gap: 40px; }
.nav-link { 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-dark); 
    transition: var(--transition); 
}
.nav-link:hover { color: var(--primary); }
.header.scrolled .nav-link { color: rgba(255, 255, 255, 0.8); }
.header.scrolled .nav-link:hover { color: var(--primary); }
.hamburger { display: none; cursor: pointer; color: var(--navy-deep); transition: var(--transition); }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 90px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(90deg, rgba(10, 17, 40, 0.9) 0%, rgba(10, 17, 40, 0.6) 60%, rgba(10, 17, 40, 0.2) 100%); 
}
.hero-content { max-width: 800px; }
.hero-title { 
    font-size: 72px; 
    font-weight: 800; 
    color: var(--white); 
    line-height: 1.05; 
    margin-bottom: 24px; 
    letter-spacing: -0.03em;
}
.hero-title .highlight { color: var(--primary); }
.hero-desc { font-size: 20px; color: rgba(255, 255, 255, 0.85); margin-bottom: 48px; max-width: 600px; line-height: 1.7; font-weight: 400; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* Sections Shared */
.section-subtitle { 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--primary); 
    text-transform: uppercase; 
    letter-spacing: 2.5px; 
    display: block; 
    margin-bottom: 16px; 
}
.section-title { 
    font-size: 44px; 
    font-weight: 800; 
    margin-bottom: 24px; 
    line-height: 1.15; 
    letter-spacing: -0.02em;
}
.section-desc { font-size: 18px; color: var(--text-gray); margin-bottom: 20px; line-height: 1.8; }

/* Hakkımızda */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image img { 
    border-radius: 20px; 
    box-shadow: var(--shadow-md); 
    width: 100%; height: 560px; 
    object-fit: cover; 
}

/* Hizmetlerimiz */
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 72px; gap: 40px; }
.services-header > div { max-width: 650px; }
.services-desc { max-width: 450px; font-size: 18px; color: rgba(255,255,255,0.7); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card { 
    background-color: rgba(22, 32, 59, 0.5); 
    border: 1px solid rgba(255, 255, 255, 0.06); 
    padding: 48px 40px; 
    border-radius: 20px; 
    transition: var(--transition); 
}
.service-card:hover { 
    border-color: rgba(255, 122, 0, 0.4); 
    background-color: rgba(22, 32, 59, 0.9); 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.service-icon { 
    width: 64px; height: 64px; 
    background-color: rgba(255, 122, 0, 0.1); 
    color: var(--primary); 
    border-radius: 14px; 
    display: flex; align-items: center; justify-content: center; 
    margin-bottom: 32px; 
    transition: var(--transition); 
}
.service-card:hover .service-icon { background-color: var(--primary); color: var(--white); }
.service-icon span { font-size: 32px; }
.service-title { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--white); letter-spacing: -0.5px; }
.service-text { color: rgba(255, 255, 255, 0.65); line-height: 1.7; }
.service-card-wide { grid-column: span 2; display: flex; gap: 40px; align-items: center; }
.service-card-wide .service-icon { margin-bottom: 0; flex-shrink: 0; }

/* İstatistikler */
.stats { background-color: var(--primary); color: var(--navy-deep); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-size: 64px; font-weight: 800; margin-bottom: 8px; line-height: 1; letter-spacing: -2px; }
.stat-label { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.9; }

/* Projelerimiz */
.projects-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.projects-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.filter-btn { 
    padding: 12px 28px; 
    background-color: transparent; 
    border: 1px solid #E2E8F0; 
    border-radius: 50px; 
    font-size: 14px; 
    font-weight: 600; 
    color: var(--text-gray); 
    cursor: pointer; 
    transition: var(--transition); 
}
.filter-btn:hover, .filter-btn.active { 
    background-color: var(--navy-deep); 
    color: var(--white); 
    border-color: var(--navy-deep); 
}
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.project-card { 
    background-color: var(--white); 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: var(--shadow-sm); 
    transition: var(--transition); 
    border: 1px solid #F1F5F9; 
}
.project-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--shadow-hover); 
}
.project-img-wrapper { height: 280px; overflow: hidden; }
.project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.project-card:hover .project-img-wrapper img { transform: scale(1.08); }
.project-info { padding: 32px; }
.project-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.project-tag { 
    font-size: 11px; 
    font-weight: 700; 
    color: var(--primary); 
    background-color: rgba(255, 122, 0, 0.1); 
    padding: 6px 12px; 
    border-radius: 6px; 
    letter-spacing: 1px; 
}
.project-location { font-size: 13px; color: var(--text-gray); display: flex; align-items: center; gap: 6px; }
.project-location span { font-size: 16px; }
.project-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; transition: color 0.3s; letter-spacing: -0.5px; }
.project-card:hover .project-title { color: var(--primary); }
.project-desc { font-size: 15px; color: var(--text-gray); line-height: 1.7; }

/* İletişim */
.contact-headline { font-size: 56px; font-weight: 800; color: var(--white); margin-bottom: 24px; letter-spacing: -0.03em; }
.contact-subheadline { font-size: 20px; color: var(--text-light); margin-bottom: 80px; font-weight: 400; }
.contact-info-title { margin-bottom: 48px; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 80px; }
.contact-card { 
    background-color: rgba(22, 32, 59, 0.4); 
    border: 1px solid var(--navy-border); 
    border-radius: 20px; 
    padding: 48px 32px; 
    display: flex; flex-direction: column; align-items: center; 
    transition: var(--transition); 
}
.contact-card:hover { border-color: rgba(255, 122, 0, 0.4); background-color: rgba(22, 32, 59, 0.8); transform: translateY(-5px); }
.contact-icon { 
    width: 72px; height: 72px; 
    background-color: rgba(255, 122, 0, 0.1); 
    color: var(--primary); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin-bottom: 24px; 
}
.contact-icon span { font-size: 32px; }
.contact-card-title { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.contact-card-text { color: var(--text-light); font-size: 16px; line-height: 1.6; text-align: center; }
.contact-large { font-size: 22px; font-weight: 600; color: var(--white); }
.contact-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: left; }
.form-title { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 32px; letter-spacing: -0.5px; }
.contact-form { 
    background-color: rgba(22, 32, 59, 0.4); 
    padding: 48px; 
    border-radius: 20px; 
    border: 1px solid var(--navy-border); 
}
.form-group { margin-bottom: 24px; }
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 18px 24px; 
    background-color: rgba(10, 17, 40, 0.8); 
    border: 1px solid var(--navy-border); 
    border-radius: 12px; 
    color: var(--white); 
    font-family: inherit; 
    font-size: 16px; 
    transition: var(--transition); 
}
.form-group input:focus, .form-group textarea:focus { 
    outline: none; 
    border-color: var(--primary); 
    background-color: rgba(10, 17, 40, 1);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.1); 
}
.map-wrapper { height: 100%; display: flex; flex-direction: column; }
.map-container { 
    flex-grow: 1; 
    min-height: 400px; 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--navy-border); 
}
.map-img { width: 100%; height: 100%; object-fit: cover; filter: invert(0.9) hue-rotate(180deg) brightness(0.7) contrast(1.2); }

/* Footer */
.footer { background-color: #050914; border-top: 1px solid var(--navy-border); padding: 80px 0 40px; color: var(--text-light); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 650px; margin: 0 auto 48px; }
.footer-logo { display: flex; align-items: center; gap: 16px; color: var(--primary); margin-bottom: 24px; }
.footer-icon { font-size: 40px; }
.footer-logo h2 { color: var(--white); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.footer-desc { margin-bottom: 32px; font-size: 16px; line-height: 1.8; color: rgba(255,255,255,0.6); }
.social-links { display: flex; gap: 16px; }
.social-link { 
    width: 48px; height: 48px; 
    background-color: var(--navy-muted); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    transition: var(--transition); 
    color: var(--white); 
    font-weight: bold; 
    font-size: 18px; 
}
.social-link:hover { background-color: var(--primary); color: var(--white); transform: translateY(-4px); }
.footer-bottom { border-top: 1px solid var(--navy-border); padding-top: 32px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.4); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .services-grid, .projects-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
    .service-card-wide { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 24px; }
    .about-container, .contact-content-grid { grid-template-columns: 1fr; gap: 56px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 56px; }
    .section-padding { padding: 96px 0; }
}

@media (max-width: 768px) {
    .nav-menu { 
        position: fixed; top: 90px; left: -100%; 
        width: 100%; height: calc(100vh - 90px); 
        background-color: var(--bg-light); 
        flex-direction: column; transition: var(--transition); 
        padding: 48px 24px; 
        box-shadow: var(--shadow-md); 
    }
    .header.scrolled .nav-menu { background-color: var(--navy-deep); }
    .nav-menu.active { left: 0; }
    .nav-menu ul { flex-direction: column; gap: 32px; text-align: center; }
    .nav-link { font-size: 20px; }
    .hamburger { display: block; }
    .hero-title { font-size: 40px; }
    .services-grid, .projects-grid, .contact-cards { grid-template-columns: 1fr; }
    .services-header { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 48px; }
    .stats-grid { grid-template-columns: 1fr; gap: 48px; }
    .section-title { font-size: 32px; }
    .contact-headline { font-size: 40px; }
    .section-padding { padding: 80px 0; }
}
