:root {
    --dek-primary: #b08253; /* Kurumsal Bronz */
    --dek-primary-hover: #966b3f;
    --dek-primary-light: #f5ede4;
    --dek-primary-dark: #7a552e;
    --dek-dark: #181b1f; /* Kurumsal Siyah / Koyu Antrasit */
    --dek-dark-surface: #20242a;
    --dek-dark-elevated: #282e36;
    --dek-charcoal: #2e343e;
    --dek-slate: #5b6472;
    --dek-light-bg: #f8f9fa;
    --dek-light-surface: #ffffff;
    --dek-border: rgba(176, 130, 83, 0.2);
    --dek-border-light: #e6eaee;
    --dek-text-primary: #181b1f;
    --dek-text-muted: #6b7280;
    --dek-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--font-body);
    color: #e2e8f0;
    background-color: #0f1216;
    overflow-x: hidden;
    line-height: 1.65;
}

body.theme-moderndark,
.theme-moderndark {
    background-color: #0f1216 !important;
    color: #e2e8f0 !important;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

/* Top Contact Bar & Language Dropdown */
.top-contact-bar {
    position: relative;
    z-index: 1050;
}

.top-contact-bar .dropdown {
    position: relative;
    z-index: 1060;
}

.top-contact-bar .dropdown-menu {
    z-index: 1070 !important;
}

/* Navbar */
.navbar-dek {
    background: rgba(24, 27, 31, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(176, 130, 83, 0.25);
    transition: var(--dek-transition);
    padding: 0.85rem 0;
    position: relative;
    z-index: 1020;
}

.navbar-dek .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 1rem !important;
    transition: var(--dek-transition);
    position: relative;
}

.navbar-dek .nav-link:hover,
.navbar-dek .nav-link.active {
    color: var(--dek-primary);
}

.dropdown-menu-dek {
    background: var(--dek-dark-surface);
    border: 1px solid rgba(176, 130, 83, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.dropdown-menu-dek .dropdown-item {
    color: #e2e8f0;
    font-size: 0.9rem;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    transition: var(--dek-transition);
}

.dropdown-menu-dek .dropdown-item:hover {
    background: rgba(176, 130, 83, 0.15);
    color: var(--dek-primary);
    transform: translateX(4px);
}

/* Custom Buttons */
.btn-dek-primary {
    background: linear-gradient(135deg, #c79664 0%, #a27443 100%);
    color: #ffffff !important;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.6rem;
    border-radius: 6px;
    letter-spacing: 0.02em;
    transition: var(--dek-transition);
    box-shadow: 0 4px 15px rgba(176, 130, 83, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-dek-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(176, 130, 83, 0.5);
    background: linear-gradient(135deg, #d3a473 0%, #b08253 100%);
    color: #ffffff !important;
}

.btn-dek-outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    padding: 0.72rem 1.55rem;
    border-radius: 6px;
    transition: var(--dek-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-dek-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-dek-dark {
    background: var(--dek-dark);
    color: #ffffff;
    border: 1px solid var(--dek-charcoal);
    padding: 0.7rem 1.5rem;
    border-radius: 6px;
    transition: var(--dek-transition);
}

.btn-dek-dark:hover {
    background: var(--dek-charcoal);
    color: var(--dek-primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--dek-dark);
    color: #ffffff;
    padding: 6rem 0;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.38;
    transform: scale(1.03);
    transition: transform 10s ease;
}

.hero-section:hover .hero-bg-overlay {
    transform: scale(1.08);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(24, 27, 31, 0.96) 20%, rgba(24, 27, 31, 0.75) 60%, rgba(24, 27, 31, 0.45) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    background: rgba(176, 130, 83, 0.15);
    border: 1px solid rgba(176, 130, 83, 0.4);
    color: var(--dek-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.hero-title span {
    background: linear-gradient(135deg, #ffffff 40%, var(--dek-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Section Header */
.section-tag {
    color: var(--dek-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dek-dark);
    margin-bottom: 1rem;
}

.section-title.light {
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--dek-slate);
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border: 1px solid #eaedf1;
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    height: 100%;
    transition: var(--dek-transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--dek-primary);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(176, 130, 83, 0.3);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: var(--dek-primary-light);
    color: var(--dek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: var(--dek-transition);
}

.service-card:hover .service-icon-box {
    background: var(--dek-primary);
    color: #ffffff;
    transform: scale(1.08);
}

/* Project Cards */
.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eaedf1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: var(--dek-transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--dek-dark-surface);
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.08);
}

.project-badge-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(24, 27, 31, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.project-badge-loc {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(176, 130, 83, 0.95);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
}

.project-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Feature Steps */
.step-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.2rem 1.8rem;
    text-align: center;
    position: relative;
    transition: var(--dek-transition);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--dek-primary);
    transform: translateY(-6px);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dek-primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(176, 130, 83, 0.4);
}

/* Region Box */
.region-box {
    background: linear-gradient(135deg, #20242a 0%, #181b1f 100%);
    border: 1px solid rgba(176, 130, 83, 0.35);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.region-box::after {
    content: '';
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(176, 130, 83, 0.15) 0%, transparent 70%);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #b08253 0%, #875c31 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 3.5rem;
    box-shadow: 0 15px 40px rgba(176, 130, 83, 0.35);
}

/* Footer */
.footer-dek {
    background: #111316;
    color: #a0aec0;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-dek h5 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-dek h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--dek-primary);
}

.footer-dek a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--dek-transition);
}

.footer-dek a:hover {
    color: var(--dek-primary);
    padding-left: 5px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: var(--dek-transition);
}

.social-link:hover {
    background: var(--dek-primary);
    color: #ffffff !important;
    transform: translateY(-3px);
    padding-left: 0 !important;
}

/* Floating Mobile Bar */
.floating-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(24, 27, 31, 0.98);
    border-top: 1px solid rgba(176, 130, 83, 0.3);
    padding: 0.75rem 1rem;
    z-index: 1040;
    backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
    .floating-mobile-bar {
        display: none !important;
    }
}

/* Admin Styles */
.admin-sidebar {
    background: var(--dek-dark);
    min-height: 100vh;
    border-right: 1px solid var(--dek-charcoal);
}

.admin-sidebar .nav-link {
    color: #a0aec0;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: var(--dek-transition);
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(176, 130, 83, 0.18);
    color: var(--dek-primary);
}

.admin-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    padding: 1.5rem;
}

.stat-card {
    border-radius: 12px;
    padding: 1.5rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================================================
   Form Controls & Placeholder Styling for ModernDark Theme
   ========================================================================== */
.form-control, .form-select {
    background-color: #121519 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #f8fafc !important;
    font-size: 0.95rem;
    transition: var(--dek-transition);
}

.form-control:focus, .form-select:focus {
    background-color: #0d1013 !important;
    border-color: var(--dek-primary) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.25rem rgba(176, 130, 83, 0.25) !important;
}

/* Placeholder Colors - Clearly Visible in Dark Mode */
.form-control::placeholder,
textarea.form-control::placeholder,
input.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    font-weight: 400;
}

.form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.form-control::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

.form-control:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}

/* Specific overrides for bg-black form inputs */
.bg-black.form-control,
.bg-black.form-select {
    background-color: #111418 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
}

.bg-black.form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
}

/* ==========================================================================
   ModernDark Core Theme Surfaces & Contrast Harmony
   ========================================================================== */
.theme-moderndark .bg-black {
    background-color: #0b0d10 !important;
}

.theme-moderndark .bg-dark {
    background-color: #171a1f !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.theme-moderndark .bg-white {
    background-color: #14171c !important;
    color: #e2e8f0 !important;
}

.theme-moderndark .bg-light {
    background-color: #111418 !important;
    color: #e2e8f0 !important;
}

.theme-moderndark .border-light-subtle {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.theme-moderndark .text-dark {
    color: #ffffff !important;
}

.theme-moderndark .text-muted {
    color: #94a3b8 !important;
}

.theme-moderndark .text-secondary {
    color: #94a3b8 !important;
}

.theme-moderndark .service-card {
    background: #171a1f !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
}

.theme-moderndark .service-card h3 {
    color: #ffffff !important;
}

.theme-moderndark .project-card {
    background: #171a1f !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.theme-moderndark .project-body h3 a {
    color: #ffffff !important;
}

.theme-moderndark .accordion-item {
    background-color: #171a1f !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.theme-moderndark .accordion-button {
    background-color: #171a1f !important;
    color: #ffffff !important;
}

.theme-moderndark .accordion-button:not(.collapsed) {
    background-color: #20252c !important;
    color: var(--dek-primary) !important;
}

.theme-moderndark .accordion-body {
    background-color: #171a1f !important;
    color: #94a3b8 !important;
}

.theme-moderndark .feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: rgba(176, 130, 83, 0.15);
    color: var(--dek-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}