@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- Genel Tipografi ve Renkler --- */
:root {
    --modern-yellow: #FFC107; /* Canlı taksi sarısı */
    --modern-dark: #1A1A1A;
    --modern-light: #F8F9FA;
    --modern-text: #4A4A4A;
}

body, h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: 'Poppins', sans-serif !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--modern-dark) !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

p {
    color: var(--modern-text) !important;
    line-height: 1.8 !important;
    font-size: 16px !important;
}

/* --- Butonlar (Modern, Yuvarlak, Gölgeli) --- */
.elementor-button, .jkit-button-wrapper, .wp-block-button__link {
    border-radius: 50px !important;
    background-color: var(--modern-yellow) !important;
    color: var(--modern-dark) !important;
    font-weight: 600 !important;
    padding: 15px 35px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.elementor-button:hover, .jkit-button-wrapper:hover, .wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 25px rgba(255, 193, 7, 0.6) !important;
    background-color: #FFB300 !important;
    color: #000 !important;
}

/* Buton içindeki ikonlar */
.elementor-button-icon i, .jkit-button-wrapper i {
    margin-right: 10px !important;
    font-size: 1.1em !important;
}

/* --- Görseller (Yuvarlak Köşeler ve Gölgeler) --- */
.elementor-widget-image img {
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
}

.elementor-widget-image img:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
}

/* --- İkon Kutuları ve Kartlar (Kaldırma Efekti) --- */
.elementor-icon-box-wrapper, .jkit-icon-box-wrapper, .testimonial-box {
    background: #ffffff !important;
    padding: 40px 30px !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.elementor-icon-box-wrapper:hover, .jkit-icon-box-wrapper:hover, .testimonial-box:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--modern-yellow) !important;
}

/* İkon Renkleri */
.elementor-icon i, .jki, .fas, .fab, .elementor-icon-box-icon i, .jkit-icon-box .icon i {
    color: var(--modern-yellow) !important;
    transition: all 0.3s ease !important;
}

.elementor-icon-box-wrapper:hover .elementor-icon i, 
.jkit-icon-box-wrapper:hover .icon i {
    transform: scale(1.1) !important;
}

/* --- İlerleme Çubukları (Progress Bars) --- */
.skill-track {
    border-radius: 30px !important;
    background-color: #e9ecef !important;
    height: 12px !important;
}

.skill-bar {
    border-radius: 30px !important;
    background-color: var(--modern-yellow) !important;
    box-shadow: 0 3px 10px rgba(255, 193, 7, 0.5) !important;
}

.skill-title {
    font-weight: 600 !important;
    color: var(--modern-dark) !important;
}

/* --- Navbar / Menü Düzenlemeleri --- */
.jkit-nav-menu .jkit-menu > li > a {
    font-weight: 500 !important;
    font-size: 16px !important;
    text-transform: capitalize !important;
    transition: color 0.3s ease !important;
}

.jkit-nav-menu .jkit-menu > li > a:hover {
    color: var(--modern-yellow) !important;
}

.jkit-nav-menu .jkit-menu > li.current-menu-item > a {
    color: var(--modern-yellow) !important;
    font-weight: 700 !important;
}

/* --- Yorumlar (Testimonials) --- */
.testimonial-box {
    margin: 15px !important;
}
.profile-name {
    color: var(--modern-dark) !important;
    font-weight: 700 !important;
}
.profile-des {
    color: var(--modern-yellow) !important;
    font-weight: 500 !important;
}

/* --- Footer --- */
.elementor-location-footer {
    background-color: var(--modern-dark) !important;
    color: #fff !important;
}

.elementor-location-footer h2, 
.elementor-location-footer h3, 
.elementor-location-footer p, 
.elementor-location-footer a,
.elementor-location-footer span {
    color: #fff !important;
}

.elementor-location-footer .elementor-icon i,
.elementor-location-footer .fas,
.elementor-location-footer .fab {
    color: var(--modern-yellow) !important;
}

/* Footer içindeki linklerin hover durumu */
.elementor-location-footer a:hover {
    color: var(--modern-yellow) !important;
}

/* --- Custom Floating Buttons --- */
.joinchat {
    display: none !important;
}

.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff !important;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #fff !important;
}

.floating-phone {
    left: 30px;
    background-color: #007bff; /* Mavi renk telefon için */
    animation: pulse-blue 2s infinite;
}

.floating-whatsapp {
    right: 30px;
    background-color: #25d366; /* WhatsApp yeşili */
    animation: pulse-green 2s infinite;
}

.floating-phone i, .floating-whatsapp i {
    color: #fff !important;
}

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

@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); }
}

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.pulse-logo {
    animation: pulse 1.5s infinite;
    max-width: 200px;
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* --- Fix Text Visibility on Dark Backgrounds --- */
.elementor-element-74404870, 
.elementor-element-1d6df7a5 {
    color: #ffffff !important;
}
.elementor-element-1d6df7a5 .heading-title,
.elementor-element-1d6df7a5 p,
.elementor-element-1d6df7a5 .skill-title,
.elementor-element-1d6df7a5 .number-percentage {
    color: #ffffff !important;
}

/* Fix "Sivas Taksi 'yi Arayın" button text color */
.elementor-element-670ee6a5 .elementor-icon-box-title a {
    color: #1A1A1A !important;
    font-weight: 700;
}

/* Hide old Elementor sections to replace with custom design */
div[data-elementor-type="header"],
section[data-id="4b55eaf8"],
section[data-id="441e3677"],
section[data-id="38036e5e"] {
    display: none !important;
}

/* --- Custom Header & Hero --- */
.custom-header {
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1000;
}
.top-bar {
    background-color: #0A2A5E; /* Kurumsal Lacivert */
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 2px solid #FFC107;
}
.top-bar .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: flex-end;
}
.top-bar a {
    color: #ffffff !important;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: #FFC107 !important;
}
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.main-header .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 60px;
}
.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
}
.nav-menu a {
    text-decoration: none;
    color: #0A2A5E !important;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.nav-menu a.active, .nav-menu a:hover {
    color: #FFC107 !important;
}
.header-btn {
    background-color: #FFC107;
    color: #1A1A1A;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    line-height: 1.2;
    transition: all 0.3s ease;
}
.header-btn:hover {
    background-color: #FFB300;
    transform: translateY(-2px);
}
.header-btn .btn-text {
    font-size: 12px;
}
.header-btn .btn-phone {
    font-size: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #0A2A5E;
    cursor: pointer;
    padding: 5px;
}
.mobile-call-btn {
    display: none;
    background-color: #FFC107;
    color: #1A1A1A;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}
.mobile-call-btn i {
    margin-right: 5px;
}
.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    z-index: 100;
}
.mobile-only-action {
    display: none;
}

.custom-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0 120px;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
}
.custom-hero .container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1;
    max-width: 55%;
    position: relative;
}
.hero-text h1 {
    color: white !important;
    font-size: 54px !important;
    line-height: 1.2 !important;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.taxi-wrapper {
    position: relative;
    display: block;
    width: 110%;
    margin-left: -5%;
    margin-top: 10px;
    animation: taxi-drive 8s ease-in-out infinite;
    z-index: 10;
}

.hero-taxi-img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 15px 15px rgba(0,0,0,0.5));
}

/* Headlight beam simulating car lights */
.taxi-wrapper::before {
    content: '';
    position: absolute;
    top: 55%;
    left: -40%; 
    width: 60%;
    height: 80px;
    background: radial-gradient(ellipse at right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translateY(-50%);
    opacity: 0;
    animation: taxi-lights 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes taxi-drive {
    0% { transform: translateX(150vw); }
    30% { transform: translateX(0); }
    55% { transform: translateX(0); }
    100% { transform: translateX(-150vw); }
}

@keyframes taxi-lights {
    0%, 35% { opacity: 0; }
    40%, 100% { opacity: 1; }
}

/* --- Floating Call & WhatsApp Buttons --- */
.floating-btn {
    position: fixed;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 99999;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-ring 2s infinite;
}
.floating-btn:hover {
    transform: scale(1.1);
}
.floating-phone {
    left: 25px;
    background-color: #007bff;
}
.floating-whatsapp {
    right: 25px;
    background-color: #25D366;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(0,0,0, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0,0,0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0, 0); }
}
.floating-phone { animation: pulse-blue 2s infinite; }
.floating-whatsapp { animation: pulse-green 2s infinite; }

@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Typewriter Effect --- */
.typewriter-text {
    overflow: hidden; /* Ensures the content is not revealed until the animation */
    border-right: .15em solid #FFC107; /* The typwriter cursor */
    white-space: normal; /* Allow text to wrap to next line */
    margin: 0 auto 20px auto; /* Gives that scrolling effect as the typing happens */
    animation: 
      blink-caret .75s step-end infinite;
    display: inline-block;
    text-align: center;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #FFC107; }
}

@media (max-width: 992px) {
    .typewriter-text {
        white-space: normal;
        animation: none;
        border-right: none;
    }
}

.hero-form-box {
    background-color: #0A2A5E;
    padding: 30px;
    border-radius: 15px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}
.hero-form-box h3 {
    color: white !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    text-align: center;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    color: #1A1A1A !important;
    background-color: #ffffff !important;
}
.form-group input::placeholder {
    color: #666666 !important;
}
.submit-btn {
    width: 100%;
    background-color: #FFC107;
    color: #1A1A1A;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}
.submit-btn:hover {
    background-color: #FFB300;
}

.custom-features {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}
.custom-features .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 300px;
}
.feature-icon {
    font-size: 40px;
    color: #0A2A5E;
}
.feature-text h4 {
    margin: 0 0 5px 0 !important;
    font-size: 18px !important;
}
.feature-text p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666 !important;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        background-color: #FFC107;
        color: #1A1A1A;
        border-radius: 8px;
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
    }
    .mobile-call-btn {
        display: none;
    }
    .mobile-only-action {
        display: flex;
        margin-top: 30px;
        width: 100%;
        justify-content: center;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 300px;
        max-width: 100%;
        height: 100vh;
        background: #ffffff;
        box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        padding: 80px 30px 40px;
    }
    .nav-menu.open {
        right: 0;
    }
    .mobile-menu-close {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .nav-menu a {
        font-size: 18px;
    }

    .hero-content {
        flex-direction: column;
    }
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 36px !important;
    }
    .hero-form-box {
        width: 100%;
        margin-top: 30px;
    }
    .main-header .container {
        flex-direction: row; /* Keep logo and hamburger inline */
        justify-content: space-between;
    }
}
