/* Renkli Kalem - Modern Header Top Premium Design */

/* --- Global Container Ayarı --- */
.container {
    max-width: 1400px !important;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: auto;
    margin-left: auto;
}

.rk-header-top {
    background: linear-gradient(90deg, #c81c00 0%, #FF2400 100%);
    padding: 8px 0;
    font-size: 13px;
    color: #fff;
    border-bottom: 2px solid rgba(0,0,0,0.05);
}

.rk-header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO SUBTITLE H1 - GLOBAL & MOBILE */
.logo, .nav-logo {
    position: relative;
    display: inline-block !important;
}

/* LOGO SUBTITLE CONTAINER */
.logo-subtitle {
    position: absolute;
    bottom: 8px;
    right: 0;
    white-space: nowrap;
    pointer-events: none;
}

.logo-subtitle h1, .logo-subtitle span, .logo-subtitle p {
    display: inline !important;
    font-family: "Familjen Grotesk", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #595959;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-transform: capitalize;
    letter-spacing: 0px;
}

/* MOBILE SPECIFIC ADJUSTMENTS */
@media (max-width: 767px) {
    .logo-subtitle {
        bottom: -7px; 
    }
    .logo-subtitle h1, .logo-subtitle span {
        font-size: 13px;
        letter-spacing: -0.85px;
    }
}



/* MAINLINE KURUMSAL GRADIENT EŞLEMESİ */
.mainline {
    background: linear-gradient(90deg, #c81c00 0%, #FF2400 100%) !important;
    padding: 0 !important;
}

/* 404 ERROR PAGE STYLES */
.error-section {
    position: relative;
    padding: 120px 0;
    background-color: #ffffff;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    display: block;
    font-size: 250px;
    line-height: 1em;
    font-weight: 900;
    background: linear-gradient(135deg, #FF2400 0%, #c81c00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-family: 'Familjen Grotesk', sans-serif;
    letter-spacing: -10px;
}

.error-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 20px;
}

.error-content .text {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-section .theme-btn {
    padding: 15px 45px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: #FF2400;
    color: #fff;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(255, 36, 0, 0.2);
    animation: floatButton 3s ease-in-out infinite;
}

@keyframes floatButton {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.error-section .theme-btn:hover {
    background: #2f2f2f;
    animation-play-state: paused; /* Hoverda animasyonu durdurup daha stabil bir his verelim */
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .error-code { font-size: 160px; letter-spacing: -5px; }
    .error-content h3 { font-size: 28px; }
    .error-section { padding: 80px 0; }
}

.maintext {
    max-width: 55%;
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 5;
}

.maintitle, .maindesc {
    width: 100%;
    text-align: center;
}

.maintitle h2, .maindesc p {
    display: block !important;
    width: 100%;
    text-align: center !important;
}


.rk-top-left .rk-service-num a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.rk-top-left .rk-service-num a i {
    background: rgba(255, 255, 255, 0.15);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.rk-top-left .rk-service-num a:hover i {
    background: #fff;
    color: #FF2400;
    transform: scale(1.1);
}

.rk-contact-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rk-contact-list li {
    margin-left: 20px;
}

.rk-contact-list li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.rk-contact-list li a i {
    background: rgba(255, 255, 255, 0.15);
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
}

.rk-contact-list li a:hover i {
    background: #fff;
    color: #FF2400;
    transform: scale(1.1);
}

/* --- İletişim Sayfası & Harita Modernizasyonu --- */

.rk-contact-map-area {
    position: relative;
    overflow: hidden;
    height: 480px;
    display: flex;
    align-items: center;
    background: #f8f8f8;
}

.rk-modern-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.rk-map-overlay-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
    width: 100%;
}

.rk-map-overlay-content h1 {
    color: #fff;
    font-weight: 800;
    font-size: 60px;
    letter-spacing: -2px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.rk-custom-breadcrumb {
    pointer-events: auto;
    background: rgba(255,255,255,0.05); /* Çok düşük opasite */
    display: inline-flex;
    align-items: center;
    padding: 8px 25px 8px 10px;
    border-radius: 50px;
    margin-top: 15px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.rk-breadcrumb-home-icon {
    background: rgba(255, 36, 0, 0.15); /* Üst bar stili */
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    margin-right: 12px;
    color: #FF2400;
    transition: all 0.3s;
    font-size: 14px;
    display: inline-block;
}

.rk-custom-breadcrumb a:hover .rk-breadcrumb-home-icon {
    background: #FF2400;
    color: #fff;
    transform: scale(1.1);
}

.rk-info-card {
    padding: 35px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.rk-info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.rk-info-item i {
    font-size: 22px;
    color: #FF2400;
    background: rgba(255, 36, 0, 0.08);
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 14px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.rk-info-item:hover i {
    background: #FF2400;
    color: #fff;
    transform: translateY(-3px);
}

.rk-info-item .label {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 2px;
}

.rk-info-item .value {
    font-size: 17px;
    color: #222;
    font-weight: 700;
    display: block;
}

.rk-premium-form-wrap {
    padding: 35px;
    background: #fff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
}

.rk-premium-form-wrap h4 {
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.rk-form-input {
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 20px;
    border: 2px solid #f2f2f2;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s;
}

.rk-form-input:focus {
    border-color: #FF2400;
    outline: none;
    background: #fff;
    box-shadow: 0 8px 20px rgba(255, 36, 0, 0.08);
}

.rk-submit-btn {
    background: linear-gradient(90deg, #c81c00 0%, #FF2400 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    font-size: 14px;
}

.rk-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 36, 0, 0.25);
}

/* Google Haritası Saf Gri Tonlama (Yolların kaybolmaması için kontrast müdahalesi kaldırıldı) */
.leaflet-tile-pane {
    filter: grayscale(100%);
}
.rk-marker-icon {
    display: block;
    width: 60px !important;
    height: 60px !important;
    filter: drop-shadow(0 15px 15px rgba(255, 36, 0, 0.4)) drop-shadow(0 8px 8px rgba(0,0,0,0.3));
}

.rk-corporate-pin {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF2400 0%, #b31c00 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    border: 3px solid #fff;
    position: relative;
}

.rk-corporate-pin::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.3);
}

/* Modern Toast Notification */
.rk-toast-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: #FF2400; /* Default error / brand color */
    color: #fff;
    padding: 16px 25px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    font-weight: 600;
    font-size: 15px;
    z-index: 9999;
    transform: translateY(-100px); /* Üstten inmesi için eksi değer */
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
}

.rk-toast-notification.rk-toast-show {
    transform: translateY(0);
    opacity: 1;
}

.rk-toast-success {
    background: #1a1a1a;
    border-left: 6px solid #FF2400; /* Siyah-Kırımız Kurumsal Tema */
}

.rk-toast-error {
    background: #c81c00;
}

/* CREATIVE CONTACT SECTION */
.rk-creative-contact-section {
    padding: 100px 0 100px 0;
    position: relative;
    z-index: 10;
    background: transparent;
}

.rk-creative-info-card {
    background: linear-gradient(135deg, #1f1f1f 0%, #111 100%);
    padding: 50px 40px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(255, 36, 0, 0.15), 0 8px 20px rgba(255, 36, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.rk-info-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}
.rk-info-header p {
    color: #aaa;
    font-size: 15px;
    margin-bottom: 35px;
}

.rk-info-item-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.rk-icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 36, 0, 0.15);
    color: #FF2400;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.rk-info-item-modern:hover .rk-icon-box {
    background: #FF2400;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

.rk-info-item-modern .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rk-info-item-modern .value {
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 3px;
    line-height: 1.4;
}

.rk-info-item-modern .value a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}
.rk-info-item-modern .value a:hover {
    color: #FF2400;
}

.rk-decorative-circle {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255,36,0,0.1) 0%, rgba(255,36,0,0) 100%);
    border-radius: 50%;
    z-index: 1;
}

/* CREATIVE FORM WRAP */
.rk-creative-row {
    display: flex;
    flex-wrap: wrap; /* for mobile */
    align-items: stretch;
}
.rk-creative-row > [class*="col-"] {
    display: flex;
}

.rk-creative-form-wrap {
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    width: 100%;
}

.rk-form-header h3 {
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}
.rk-form-header p {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}



/* ICON INPUT STYLES */
.rk-icon-input {
    position: relative;
    width: 100%;
    margin-bottom: 25px; /* Dış boşluğu wrapper'a taşıdık */
}

/* GRİ AYIRICI ÇİZGİ (İkon ile Placeholder Arasında) */
.rk-icon-input::before {
    content: '';
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1.5px;
    background-color: #e0e0e0;
    z-index: 2;
}

.rk-icon-input i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF2400; /* İlk andan itibaren kırmızı */
    font-size: 16px;
    width: 18px;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 2;
}

/* Textarea için özel üst hizalama */
.rk-textarea-icon i {
    top: 18px; /* Padding alanına göre ilk satırın tam hizasına alındı */
    transform: none;
}
.rk-textarea-icon::before {
    height: 22px;
    top: 15px;
    transform: none;
}

.rk-icon-input .rk-form-input {
    padding-left: 65px !important; /* Çizgi geldiği için placeholder metnini biraz daha sağa ittik */
    margin-bottom: 0 !important; /* İç elemanın aşağı doğru esnetme yapmasını engelliyor */
}

/* FOCUS Efekti İyileştirmesi */
.rk-icon-input:focus-within i {
    transform: translateY(-50%) scale(1.1); /* Sadece tıklandığında hafif büyüsün */
}
.rk-textarea-icon:focus-within i {
    transform: scale(1.1);
}

/* CREATIVE BUTTON */
.rk-creative-btn {
    background: linear-gradient(90deg, #FF2400 0%, #c81c00 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.rk-creative-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 36, 0, 0.25);
}

.rk-creative-btn i {
    transition: transform 0.4s;
}

.rk-creative-btn:hover i {
    transform: translateX(5px) translateY(-5px);
}

@media (max-width: 768px) {
    .rk-contact-map-area { height: 350px; }
    .rk-map-overlay-content h1 { font-size: 32px; }
    .container { width: 100% !important; padding-left: 15px !important; padding-right: 15px !important; }
    .rk-creative-info-card, .rk-creative-form-wrap {
        margin-top: 20px;
        padding: 30px 20px;
    }
}
