/**
 * CHEEFT THEME v3.0
 * ct-* class'ları için stiller (ust.blade.php ve alt.blade.php)
 * © 2024 Besco Otomotiv
 */

:root {
    --ct-primary: #cc0a2f;
    --ct-primary-dark: #a80826;
    --ct-primary-light: #e31e24;
    --ct-dark: #1a1a2e;
    --ct-white: #ffffff;
    --ct-gray-50: #f9fafb;
    --ct-gray-100: #f3f4f6;
    --ct-gray-200: #e5e7eb;
    --ct-gray-300: #d1d5db;
    --ct-gray-400: #9ca3af;
    --ct-gray-500: #6b7280;
    --ct-gray-600: #4b5563;
    --ct-gray-700: #374151;
    --ct-gray-800: #1f2937;
    --ct-gray-900: #111827;
    --ct-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --ct-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --ct-radius: 12px;
    --ct-radius-sm: 8px;
    --ct-transition: all 0.3s ease;
}

/* ========== LOADER ========== */
.ct-loader {
    position: fixed;
    inset: 0;
    background: var(--ct-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.ct-loader.hide {
    opacity: 0;
    pointer-events: none;
}

.ct-loader::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: var(--ct-primary);
    border-radius: 50%;
    animation: ctspin 1s linear infinite;
}

@keyframes ctspin {
    to { transform: rotate(360deg); }
}

/* ========== TOP BAR ========== */
.ct-topbar {
    background: linear-gradient(135deg, var(--ct-gray-900) 0%, var(--ct-dark) 100%);
    padding: 8px 0;
    font-size: 0.8125rem;
}

.ct-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.ct-topbar__left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-topbar__right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ct-topbar__link {
    color: var(--ct-gray-400);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--ct-transition);
}

.ct-topbar__link:hover {
    color: var(--ct-white);
}

.ct-topbar__link i {
    font-size: 14px;
}

.ct-topbar__slogan {
    color: var(--ct-gray-500);
    font-style: italic;
}

.ct-topbar__social {
    display: flex;
    gap: 8px;
}

.ct-topbar__social a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--ct-gray-400);
    transition: var(--ct-transition);
}

.ct-topbar__social a:hover {
    background: var(--ct-primary);
    color: var(--ct-white);
}

.ct-topbar__login {
    color: var(--ct-gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ct-topbar__login:hover {
    color: var(--ct-white);
}

/* ========== LANGUAGE DROPDOWN ========== */
.ct-lang {
    position: relative;
}

.ct-lang__btn {
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--ct-gray-300);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--ct-transition);
}

.ct-lang__btn:hover {
    background: rgba(255,255,255,0.2);
}

.ct-lang__btn i {
    font-size: 10px;
}

.ct-lang__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--ct-white);
    border-radius: var(--ct-radius-sm);
    box-shadow: var(--ct-shadow-lg);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ct-transition);
    z-index: 100;
}

.ct-lang__dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-lang__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--ct-gray-700);
    transition: var(--ct-transition);
}

.ct-lang__item:hover {
    background: var(--ct-gray-100);
    color: var(--ct-primary);
}

/* ========== USER DROPDOWN ========== */
.ct-user {
    position: relative;
}

.ct-user__btn {
    background: transparent;
    border: none;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ct-gray-300);
    cursor: pointer;
}

.ct-user__avatar {
    width: 28px;
    height: 28px;
    background: var(--ct-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-white);
    font-weight: 600;
    font-size: 0.75rem;
}

.ct-user__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: var(--ct-white);
    border-radius: var(--ct-radius-sm);
    box-shadow: var(--ct-shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ct-transition);
    z-index: 100;
}

.ct-user__dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-user__header {
    padding: 12px;
    border-bottom: 1px solid var(--ct-gray-200);
}

.ct-user__header strong {
    display: block;
    color: var(--ct-gray-900);
}

.ct-user__header small {
    color: var(--ct-gray-500);
    font-size: 0.75rem;
}

.ct-user__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--ct-gray-700);
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: var(--ct-transition);
}

.ct-user__item:hover {
    background: var(--ct-gray-100);
    color: var(--ct-primary);
}

.ct-user__item--danger:hover {
    background: #fef2f2;
    color: #dc2626;
}

.ct-user__divider {
    height: 1px;
    background: var(--ct-gray-200);
    margin: 5px 0;
}

/* ========== MAIN HEADER ========== */
.ct-header {
    background: var(--ct-white);
    padding: 15px 0;
    box-shadow: var(--ct-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.ct-header__inner {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ========== LOGO ========== */
.ct-logo {
    flex-shrink: 0;
}

.ct-logo__img {
    height: 45px;
    width: auto;
}

/* ========== SEARCH ========== */
.ct-search {
    flex: 1;
    max-width: 700px;
}

.ct-search__form {
    display: flex;
    background: var(--ct-gray-50);
    border: 2px solid var(--ct-gray-200);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--ct-transition);
}

.ct-search__form:focus-within {
    border-color: var(--ct-primary);
    box-shadow: 0 0 0 3px rgba(204, 10, 47, 0.1);
}

.ct-search__selects {
    display: flex;
    border-right: 1px solid var(--ct-gray-200);
}

.ct-search__select {
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--ct-gray-700);
    min-width: 120px;
    cursor: pointer;
}

.ct-search__select:focus {
    outline: none;
}

.ct-search__input-wrap {
    flex: 1;
    display: flex;
}

.ct-search__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 14px;
}

.ct-search__input:focus {
    outline: none;
}

.ct-search__btn {
    background: var(--ct-primary);
    border: none;
    padding: 10px 20px;
    color: var(--ct-white);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--ct-transition);
}

.ct-search__btn:hover {
    background: var(--ct-primary-dark);
}

/* ========== NAVBAR ========== */
.ct-navbar {
    background: var(--ct-gray-900);
}

.ct-navbar__inner {
    display: flex;
    align-items: stretch;
}

.ct-navbar__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.ct-navbar__item {
    position: relative;
}

.ct-navbar__link {
    display: block;
    padding: 14px 14px;
    color: var(--ct-gray-300);
    font-weight: 500;
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: var(--ct-transition);
}

.ct-navbar__link:hover,
.ct-navbar__item.active .ct-navbar__link {
    color: var(--ct-white);
    background: rgba(255,255,255,0.1);
}

/* Dropdown */
.ct-navbar__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--ct-white);
    border-radius: 0 0 var(--ct-radius-sm) var(--ct-radius-sm);
    box-shadow: var(--ct-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ct-transition);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
}

.ct-navbar__item:hover .ct-navbar__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-navbar__dropdown a {
    display: block;
    padding: 10px 15px;
    color: var(--ct-gray-700);
    font-size: 0.8125rem;
    transition: var(--ct-transition);
}

.ct-navbar__dropdown a:hover {
    background: var(--ct-gray-100);
    color: var(--ct-primary);
}

/* ========== CTA SECTION ========== */
.ct-cta {
    background: linear-gradient(135deg, var(--ct-primary) 0%, var(--ct-primary-dark) 100%);
    padding: 50px 0;
}

.ct-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.ct-cta__title {
    color: var(--ct-white);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px;
}

.ct-cta__text {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.ct-cta__actions {
    display: flex;
    gap: 12px;
}

/* ========== BUTTONS ========== */
.ct-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--ct-transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.ct-btn--white {
    background: var(--ct-white);
    color: var(--ct-primary);
}

.ct-btn--white:hover {
    background: var(--ct-gray-100);
}

.ct-btn--outline-white {
    background: transparent;
    border-color: var(--ct-white);
    color: var(--ct-white);
}

.ct-btn--outline-white:hover {
    background: var(--ct-white);
    color: var(--ct-primary);
}

/* ========== CERTIFICATES ========== */
.ct-certificates {
    background: var(--ct-gray-100);
    padding: 15px 0;
}

.ct-certificates__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ct-certificates__text {
    color: var(--ct-gray-600);
    font-size: 0.8125rem;
    flex: 1;
}

.ct-certificates__logos {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ct-certificates__logos img {
    height: 35px;
    opacity: 0.7;
    transition: var(--ct-transition);
}

.ct-certificates__logos img:hover {
    opacity: 1;
}

/* ========== FOOTER ========== */
.ct-footer {
    background: linear-gradient(180deg, var(--ct-gray-900) 0%, var(--ct-dark) 100%);
}

.ct-footer__top {
    padding: 50px 0 30px;
}

.ct-footer__widget {
    margin-bottom: 20px;
}

.ct-footer__logo img {
    height: 40px;
    margin-bottom: 15px;
}

.ct-footer__desc {
    color: var(--ct-gray-400);
    font-size: 0.875rem;
    line-height: 1.6;
}

.ct-footer__title {
    color: var(--ct-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ct-primary);
    display: inline-block;
}

.ct-footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--ct-gray-400);
    font-size: 0.875rem;
}

.ct-footer__contact i {
    color: var(--ct-primary);
    margin-top: 3px;
}

.ct-footer__contact a {
    color: var(--ct-gray-400);
}

.ct-footer__contact a:hover {
    color: var(--ct-white);
}

.ct-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-footer__links li {
    margin-bottom: 8px;
}

.ct-footer__links a {
    color: var(--ct-gray-400);
    font-size: 0.875rem;
    transition: var(--ct-transition);
}

.ct-footer__links a:hover {
    color: var(--ct-white);
    padding-left: 5px;
}

.ct-footer__social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.ct-footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: var(--ct-radius-sm);
    color: var(--ct-gray-400);
    transition: var(--ct-transition);
}

.ct-footer__social a:hover {
    background: var(--ct-primary);
    color: var(--ct-white);
}

.ct-footer__text {
    color: var(--ct-gray-500);
    font-size: 0.875rem;
}

.ct-footer__bottom {
    background: rgba(0,0,0,0.2);
    padding: 15px 0;
}

.ct-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ct-footer__copyright,
.ct-footer__credit {
    color: var(--ct-gray-500);
    font-size: 0.8125rem;
    margin: 0;
}

/* ========== SCROLL TOP ========== */
.ct-scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--ct-primary);
    border: none;
    border-radius: 50%;
    color: var(--ct-white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--ct-transition);
    box-shadow: var(--ct-shadow-lg);
    z-index: 99;
}

.ct-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ct-scroll-top:hover {
    background: var(--ct-primary-dark);
    transform: translateY(-3px);
}

/* ========== WHATSAPP ========== */
.ct-whatsapp {
    position: fixed;
    bottom: 75px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ct-white);
    font-size: 1.5rem;
    box-shadow: var(--ct-shadow-lg);
    z-index: 99;
    transition: var(--ct-transition);
}

.ct-whatsapp:hover {
    background: #128C7E;
    color: var(--ct-white);
    transform: scale(1.1);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .ct-topbar__inner {
        flex-wrap: wrap;
    }
    
    .ct-header__inner {
        flex-wrap: wrap;
    }
    
    .ct-search {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 15px;
    }
    
    .ct-search__selects {
        display: none;
    }
    
    .ct-cta__inner {
        flex-direction: column;
        text-align: center;
    }
    
    .ct-footer__bottom-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .ct-certificates__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ct-topbar__slogan {
        display: none;
    }
    
    .ct-navbar__link {
        padding: 12px 10px;
        font-size: 0.75rem;
    }
    
    .ct-cta {
        padding: 40px 0;
    }
    
    .ct-cta__title {
        font-size: 1.25rem;
    }
    
    .ct-cta__actions {
        flex-direction: column;
        width: 100%;
    }
    
    .ct-btn {
        justify-content: center;
    }
}

