*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep: #040810;
    --bg-dark: #0a1628;
    --bg-card: rgba(20, 45, 85, 0.75);
    --border-glass: rgba(100, 160, 230, 0.35);
    --blue: #2d7bf5;
    --blue-light: #4a9aff;
    --teal: #1a9e8f;
    --teal-light: #25c2b0;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.55);
    --text-dim: rgba(255, 255, 255, 0.35);
    --font: 'Inter', sans-serif;
    /* Form alanları — cam panel / gece mavisi paleti (beyaz yerine) */
    --input-surface: rgba(14, 32, 62, 0.88);
    --input-surface-focus: rgba(20, 44, 82, 0.95);
    --input-border: rgba(88, 145, 220, 0.4);
    --input-text: rgba(228, 236, 255, 0.96);
    --input-placeholder: rgba(130, 168, 220, 0.5);
    --input-icon: rgba(120, 165, 220, 0.65);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: radial-gradient(ellipse at 50% 30%, #0c1528 0%, #040810 70%);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ==================== PARTICLE CANVAS ==================== */

#particleCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ==================== BACKGROUND GLOWS ==================== */

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: rgba(45, 123, 245, 0.12);
    top: -150px;
    left: -150px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: rgba(26, 158, 143, 0.08);
    bottom: 10%;
    right: -100px;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: rgba(45, 123, 245, 0.07);
    bottom: -80px;
    left: 30%;
}

/* ==================== MAIN WRAPPER ==================== */

.main-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ==================== GLASS PANEL ==================== */

.glass-panel {
    position: relative;
    width: 100%;
    max-width: 880px;
    background: var(--bg-card);
    border: 1px solid rgba(140, 185, 255, 0.25);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    overflow: hidden;
    z-index: 2;
    box-shadow:
        0 8px 80px rgba(0, 0, 0, 0.6),
        0 0 120px rgba(45, 123, 245, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 60px rgba(30, 60, 120, 0.08);
    animation: panelFadeIn 0.7s ease-out;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(50, 85, 140, 0.25) 0%, rgba(20, 40, 80, 0.1) 30%, transparent 60%);
    pointer-events: none;
}

/* ==================== NAVBAR ==================== */

.navbar {
    display: flex;
    align-items: center;
    padding: 18px 32px;
    border-bottom: 1px solid rgba(120, 175, 240, 0.15);
    position: relative;
    z-index: 2;
    background: rgba(10, 20, 45, 0.3);
}

.nav-left {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
}

.logo-e {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo:hover .logo-e {
    transform: scale(1.05);
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 3px;
    margin-left: -2px;
    margin-top: -1px;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-menu li a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--white);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blue-light);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

.nav-right {
    flex-shrink: 0;
}

.btn-login {
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-light);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(74, 154, 255, 0.4);
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    background: rgba(74, 154, 255, 0.06);
}

.btn-login:hover {
    background: rgba(74, 154, 255, 0.1);
    border-color: rgba(74, 154, 255, 0.5);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 200;
    margin-left: auto;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==================== PANEL CONTENT ==================== */

.panel-content {
    padding: 40px 48px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel-title {
    font-size: 30px;
    font-weight: 500;
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* ==================== TAB BUTTONS ==================== */

.tab-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    border: none;
    border-radius: 14px;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.tab-btn[data-tab="arac"] {
    background: linear-gradient(135deg, #1656b8, #2d7bf5);
    box-shadow: 0 6px 30px rgba(45, 123, 245, 0.45);
}

.tab-btn[data-tab="arac"].active {
    box-shadow: 0 8px 40px rgba(45, 123, 245, 0.6);
    transform: translateY(-1px);
}

.tab-btn[data-tab="arac"]:not(.active) {
    background: linear-gradient(135deg, #12386a, #1a5599);
    box-shadow: 0 3px 20px rgba(45, 123, 245, 0.2);
    opacity: 0.8;
}

.tab-btn[data-tab="emlak"] {
    background: linear-gradient(135deg, #0e7868, #18b5a0);
    box-shadow: 0 6px 30px rgba(26, 158, 143, 0.45);
}

.tab-btn[data-tab="emlak"].active {
    box-shadow: 0 8px 40px rgba(26, 158, 143, 0.6);
    transform: translateY(-1px);
}

.tab-btn[data-tab="emlak"]:not(.active) {
    background: linear-gradient(135deg, #0a4a3d, #0d6358);
    box-shadow: 0 3px 20px rgba(26, 158, 143, 0.2);
    opacity: 0.8;
}

.tab-btn:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

.tab-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* ==================== SEARCH AREA ==================== */

.search-area {
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.search-area.search-area--wide {
    max-width: 640px;
}

.search-box {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    background: var(--input-surface);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 400;
    color: var(--input-text);
    outline: none;
    transition: all 0.3s ease;
    color-scheme: dark;
}

.search-box input::placeholder {
    color: var(--input-placeholder);
}

.search-box input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(45, 123, 245, 0.2);
    background: var(--input-surface-focus);
}

.search-dropdown-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--input-icon);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-dropdown-btn:hover {
    color: var(--blue-light);
}

/* ==================== ARAÇ FORM ==================== */

.arac-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arac-form .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.arac-form .form-row input {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    background: var(--input-surface);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--input-text);
    outline: none;
    transition: all 0.3s ease;
    color-scheme: dark;
}

.arac-form .form-row input::placeholder {
    color: var(--input-placeholder);
}

.arac-form .form-row input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(45, 123, 245, 0.2);
    background: var(--input-surface-focus);
}

.arac-form .form-row input[type="number"] {
    max-width: 120px;
}

.arac-form .form-row select {
    flex: 1;
    min-width: 120px;
    padding: 12px 2.25rem 12px 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: var(--input-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a9aff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--input-text);
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    color-scheme: dark;
    accent-color: var(--blue);
}

.arac-form .form-row select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(45, 123, 245, 0.2);
    background-color: var(--input-surface-focus);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a9aff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

/* Native select açılır liste (tarayıcı desteği değişken) */
.arac-form .form-row select option {
    background: #0c1a32;
    color: var(--input-text);
}

.arac-form .form-row select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ==================== EMLAK PANEL ==================== */

/* hidden özniteliği ile çakışmaması için flex yalnızca görünürken (display:flex [hidden]'ı ezer) */
.emlak-panel {
    width: 100%;
}

.emlak-panel:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Sihirbaz üst: adım çubuğu + meta */
.emlak-wizard-top {
    width: 100%;
    margin-bottom: 4px;
}

.emlak-stepper__bar {
    height: 6px;
    border-radius: 6px;
    background: rgba(20, 50, 70, 0.85);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid rgba(80, 160, 150, 0.2);
}

.emlak-stepper__fill {
    height: 100%;
    width: 25%;
    border-radius: 6px;
    background: linear-gradient(90deg, #0d9488, #18b5a0, #2d7bf5);
    box-shadow: 0 0 16px rgba(24, 181, 160, 0.45);
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.emlak-stepper__list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding: 0 2px;
    margin: 0 0 12px;
}

.emlak-stepper__item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    opacity: 0.45;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.emlak-stepper__item.is-done {
    opacity: 0.85;
}

.emlak-stepper__item.is-active {
    opacity: 1;
    transform: translateY(-2px);
}

.emlak-stepper__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    background: rgba(30, 65, 95, 0.9);
    border: 2px solid rgba(100, 160, 230, 0.25);
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.emlak-stepper__item.is-done .emlak-stepper__num {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.45), rgba(45, 123, 245, 0.3));
    border-color: rgba(24, 181, 160, 0.5);
    color: var(--teal-light);
    font-size: 15px;
}

.emlak-stepper__item.is-active .emlak-stepper__num {
    background: linear-gradient(135deg, #0e7868, #18b5a0);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(26, 158, 143, 0.45);
    font-size: 13px;
}

.emlak-stepper__label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emlak-stepper__item.is-active .emlak-stepper__label {
    color: rgba(255, 255, 255, 0.92);
}

.emlak-step-meta {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin: 0 0 6px;
    font-weight: 500;
}

.emlak-step-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin: 0 0 14px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.emlak-inline-alert {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 12px;
    border: 1px solid transparent;
    transition: opacity 0.25s ease;
}

.emlak-inline-alert:not([hidden]) {
    animation: emlakAlertIn 0.35s ease;
}

@keyframes emlakAlertIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.emlak-inline-alert--error {
    background: rgba(180, 60, 60, 0.2);
    border-color: rgba(255, 120, 120, 0.35);
    color: #fecaca;
}

.emlak-inline-alert--info {
    background: rgba(45, 123, 245, 0.12);
    border-color: rgba(74, 154, 255, 0.3);
    color: rgba(200, 220, 255, 0.95);
}

.emlak-inline-alert--success {
    background: rgba(26, 158, 143, 0.15);
    border-color: rgba(37, 194, 176, 0.35);
    color: rgba(180, 245, 230, 0.98);
}

.emlak-options-status {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.45;
    min-height: 1.45em;
}

.emlak-options-status.emlak-options-status--error {
    color: #f0a8a8;
}

.emlak-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.emlak-form .form-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.emlak-form .form-row--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.emlak-form .form-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 600px) {
    .emlak-form .form-row--3 {
        grid-template-columns: 1fr;
    }
}

.emlak-section-title {
    font-size: 15px;
    font-weight: 600;
    color: rgba(36, 200, 175, 0.95);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(80, 140, 130, 0.25);
    letter-spacing: 0.2px;
}

/* Sihirbazda üst başlık tekrarını önle */
.emlak-panel.emlak-mode-wizard .emlak-section-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 520px) {
    .emlak-stepper__label {
        display: none;
    }

    .emlak-stepper__num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.emlak-form .form-row select,
.emlak-form .form-row input[type="number"] {
    flex: 1;
    min-width: 100px;
    padding: 12px 2.25rem 12px 16px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--input-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2325c2b0' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    border: 1px solid rgba(80, 160, 150, 0.35);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--input-text);
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
    color-scheme: dark;
}

.emlak-form .form-row input[type="number"] {
    background-image: none;
    padding: 12px 16px;
    cursor: text;
}

.emlak-form .form-row select:focus,
.emlak-form .form-row input[type="number"]:focus {
    border-color: var(--teal-light);
    box-shadow: 0 0 0 3px rgba(26, 158, 143, 0.2);
    background-color: var(--input-surface-focus);
}

.emlak-form .form-row select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.emlak-form .form-row select option {
    background: #0c1a32;
    color: var(--input-text);
}

.emlak-input-label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 120px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.emlak-input-label input {
    width: 100%;
}

.emlak-toggle-row {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.emlak-toggle-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.emlak-toggle-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.emlak-toggle {
    width: 56px;
    height: 28px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.25s ease;
}

.emlak-toggle.off {
    background: #334155;
}

.emlak-toggle.on {
    background: linear-gradient(90deg, #0d9488, #22c55e);
}

.emlak-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    transition: left 0.25s ease;
}

.emlak-toggle.off::after {
    left: 3px;
}

.emlak-toggle.on::after {
    left: 31px;
}

.emlak-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(80, 140, 130, 0.2);
}

.btn-wizard-next {
    font-family: var(--font);
    padding: 12px 28px;
    border-radius: 12px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--white);
    background: linear-gradient(135deg, #0e7868, #18b5a0);
    box-shadow: 0 4px 20px rgba(26, 158, 143, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-wizard-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26, 158, 143, 0.5);
}

.btn-wizard-next:active {
    transform: translateY(0);
}

.btn-secondary {
    font-family: var(--font);
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(100, 160, 230, 0.4);
    background: rgba(20, 45, 85, 0.5);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--blue-light);
    background: rgba(30, 60, 110, 0.65);
}

.btn-secondary--primary {
    border-color: rgba(32, 200, 175, 0.55);
    background: rgba(14, 90, 80, 0.55);
}

.btn-secondary--primary:hover {
    border-color: var(--teal-light);
    background: rgba(14, 110, 95, 0.75);
}

/* Wizard: tek adım görünsün */
.emlak-panel.emlak-mode-wizard .emlak-field-group {
    display: none;
}

.emlak-panel.emlak-mode-wizard .emlak-field-group.emlak-step-visible {
    display: block;
}

/* Sponsor formu — aynı palet + select ok */
.sponsor-form-container .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234a9aff' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    accent-color: var(--blue);
}

.sponsor-form-container .form-group select:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.sponsor-form-container .form-group select option {
    background: #0c1a32;
    color: var(--input-text);
}

/* ==================== RESULT BOX ==================== */

.result-box {
    width: 100%;
    padding: 14px 20px;
    background: rgba(26, 158, 143, 0.15);
    border: 1px solid rgba(26, 158, 143, 0.4);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.result-box-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.result-box .result-label {
    font-size: 14px;
    color: var(--text-muted);
}

.result-box .result-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-light);
}

.result-emlak-range {
    padding-top: 10px;
    border-top: 1px solid rgba(26, 158, 143, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.result-range-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.result-range-label {
    color: var(--text-muted);
}

.result-range-val {
    font-weight: 600;
    color: rgba(251, 191, 36, 0.95);
}

.btn-primary {
    width: 100%;
    max-width: 320px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #1a5ac0, #2d7bf5);
    border: none;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 20px rgba(45, 123, 245, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(45, 123, 245, 0.5);
    background: linear-gradient(135deg, #2060cc, #3a88ff);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ==================== BAR CHART DECORATION ==================== */

.bar-chart-deco {
    position: fixed;
    right: 6%;
    bottom: 28%;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    z-index: 0;
    opacity: 0.45;
}

.bar {
    width: 8px;
    height: var(--h);
    background: linear-gradient(180deg, rgba(60, 140, 255, 0.7), rgba(45, 123, 245, 0.15));
    border-radius: 2px 2px 0 0;
    animation: barGrow 2s ease-out var(--delay) both;
}

/* ==================== PLACEHOLDER SECTIONS ==================== */

.section {
    position: relative;
    z-index: 1;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: var(--bg-deep);
}

.section:nth-child(even) {
    background: rgba(10, 22, 40, 0.8);
}

.section-container {
    max-width: 800px;
    text-align: center;
}

.section-container h2 {
    font-size: 42px;
    font-weight: 600;
    color: var(--blue-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.section-container p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==================== İLETİŞİM ==================== */

.section--contact {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(45, 123, 245, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 90% 60%, rgba(26, 158, 143, 0.1) 0%, transparent 45%),
        var(--bg-deep);
}

.section-container--contact {
    max-width: 720px;
    width: 100%;
    text-align: center;
}

.contact-header {
    margin-bottom: 36px;
}

#contact .contact-heading {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
    margin: 0 0 18px;
    background: linear-gradient(135deg, #e8f2ff 0%, var(--blue-light) 45%, var(--teal-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-lede {
    margin: 0 auto;
    max-width: 560px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 400;
}

.contact-panel {
    text-align: left;
    border-radius: 20px;
    border: 1px solid rgba(140, 185, 255, 0.22);
    background: rgba(20, 45, 85, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        0 12px 60px rgba(0, 0, 0, 0.45),
        0 0 80px rgba(45, 123, 245, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.contact-panel__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 22px 26px;
    background: linear-gradient(135deg, rgba(14, 120, 104, 0.45) 0%, rgba(22, 86, 184, 0.35) 100%);
    border-bottom: 1px solid rgba(100, 160, 230, 0.2);
}

.contact-panel__brand-mark {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: var(--white);
    text-indent: 0.15em;
}

.contact-panel__brand-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.55);
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 10px 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-details__item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 14px;
    border-radius: 14px;
    transition: background 0.25s ease, transform 0.2s ease;
}

.contact-details__item:hover {
    background: rgba(45, 123, 245, 0.08);
}

.contact-details__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(100, 160, 230, 0.28);
    background: rgba(10, 24, 48, 0.65);
    color: var(--blue-light);
}

.contact-details__icon--user {
    color: var(--teal-light);
    border-color: rgba(26, 158, 143, 0.35);
    background: rgba(13, 60, 55, 0.35);
}

.contact-details__icon--mail {
    color: #7ec8ff;
}

.contact-details__icon--phone {
    color: var(--teal-light);
    border-color: rgba(26, 158, 143, 0.35);
}

.contact-details__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.contact-details__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.4);
}

.contact-details__value {
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}

.contact-details__link {
    font-size: 17px;
    font-weight: 600;
    color: var(--teal-light);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    word-break: break-all;
}

.contact-details__link:hover {
    color: #5ee0d0;
    text-shadow: 0 0 20px rgba(37, 194, 176, 0.35);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 520px) {
    #contact .contact-heading {
        font-size: 30px;
    }

    .contact-lede {
        font-size: 15px;
    }

    .contact-panel__brand-mark {
        font-size: 20px;
        letter-spacing: 0.2em;
    }

    .contact-details__item {
        grid-template-columns: 48px 1fr;
        padding: 12px 10px;
    }

    .contact-details__icon {
        width: 48px;
        height: 48px;
    }
}

/* ==================== ANIMATIONS ==================== */

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes barGrow {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: var(--h);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .main-wrapper {
        padding: 20px 12px;
    }

    .glass-panel {
        border-radius: 16px;
    }

    .navbar {
        padding: 14px 20px;
    }

    .nav-center {
        display: none;
    }

    .nav-center.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(12, 25, 50, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-glass);
        padding: 16px 0;
        z-index: 100;
    }

    .nav-center.open .nav-menu {
        flex-direction: column;
        gap: 4px;
    }

    .nav-center.open .nav-menu li a {
        display: block;
        padding: 10px 24px;
        font-size: 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-login {
        font-size: 12px;
        padding: 6px 14px;
        margin-right: 12px;
    }

    .panel-content {
        padding: 28px 20px 36px;
    }

    .panel-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .tab-group {
        gap: 10px;
    }

    .tab-btn {
        padding: 12px 28px;
        font-size: 15px;
        border-radius: 12px;
    }

    .tab-icon {
        width: 20px;
        height: 20px;
    }

    .search-box input {
        padding: 12px 42px 12px 16px;
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
    }

    .arac-form .form-row {
        flex-direction: column;
    }

    .arac-form .form-row input[type="number"] {
        max-width: none;
    }

    .bar-chart-deco {
        display: none;
    }

    .logo-e {
        height: 28px;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .panel-title {
        font-size: 19px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 6px;
    }

    .tab-icon {
        width: 18px;
        height: 18px;
    }
}
