:root {
  --color-primary: #348b36;
  --color-secondary: #398643;
  --color-accent: #408080;
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;
  --color-light: #f8f9fa;
  --color-dark: #343a40;
  --color-text: #212529;
  --color-text_muted: #6c757d;
  --color-background: #ffffff;
  --color-background_alt: #f8f9fa;
  --color-border: #dee2e6;
  --color-link: #ffffff;
  --color-link_hover: #5a3d8a;
  --color-button_primary: #6c4ea7;
  --color-button_secondary: #6c757d;
  --color-header_bg: #ffffff;
  --color-header_text: #212529;
  --color-header_link: #348b36;
  --color-header_link_hover: #408080;
  --color-topbar_bg: #348b36;
  --color-topbar_text: #f7f8fb;
  --color-topbar_link: #f7f8fb;
  --color-topbar_link_hover: #348b36;
  --color-contact_bg: #ffffff;
  --color-contact_text: #212529;
  --color-contact_link: #007bff;
  --color-contact_link_hover: #0056b3;
  --color-footer_bg: #408080;
  --color-footer_text: #ffffff;
  --color-footer_link: #ffffff;
  --color-footer_link_hover: #c0c0c0;
  --color-menu_bg: #ffffff;
  --color-menu_text: #212529;
  --color-menu_hover: #6c4ea7;
  --color-card_bg: #ffffff;
  --color-card_border: #dee2e6;
}

/* Dinamik Renk Sistemi */
.theme-primary { color: #348b36 !important; }
.theme-secondary { color: #398643 !important; }
.theme-accent { color: #408080 !important; }
.theme-success { color: #28a745 !important; }
.theme-warning { color: #ffc107 !important; }
.theme-danger { color: #dc3545 !important; }
.theme-info { color: #17a2b8 !important; }

.bg-theme-primary { background-color: #348b36 !important; }
.bg-theme-secondary { background-color: #398643 !important; }
.bg-theme-accent { background-color: #408080 !important; }
.bg-theme-success { background-color: #28a745 !important; }
.bg-theme-warning { background-color: #ffc107 !important; }
.bg-theme-danger { background-color: #dc3545 !important; }
.bg-theme-info { background-color: #17a2b8 !important; }

.border-theme-primary { border-color: #348b36 !important; }
.border-theme-secondary { border-color: #398643 !important; }

/* Butonlar */
.btn-theme-primary {
    background-color: #6c4ea7 !important;
    border-color: #6c4ea7 !important;
    color: #ffffff !important;
}

.btn-theme-primary:hover {
    background-color: #614696 !important;
    border-color: #614696 !important;
}

.btn-theme-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

/* Linkler */
a {
    color: #ffffff !important;
}

a:hover {
    color: #5a3d8a !important;
}

/* Topbar */
.header-top,
.main-header .header-top {
    background-color: #348b36 !important;
    color: #f7f8fb !important;
}

.header-top .working-hours-info,
.header-top .working-hours-info span,
.header-top .social-links h5 {
    color: #f7f8fb !important;
}

.header-top a,
.header-top .social-links a {
    color: #f7f8fb !important;
}

.header-top a:hover,
.header-top .social-links a:hover {
    color: #348b36 !important;
}

/* Header */
.main-header {
    background-color: #ffffff !important;
    color: #212529 !important;
}

.main-header a {
    color: #348b36 !important;
}

.main-header a:hover {
    color: #408080 !important;
}

/* Header Lower (Ana menü kısmı) */
.header-lower {
    background-color: #ffffff !important;
}

/* Footer - Çok Spesifik Kurallar */
footer.footer,
.footer,
#footer {
    background-color: #408080 !important;
    color: #ffffff !important;
}

/* Footer tüm linkler */
footer.footer a,
.footer a,
#footer a,
footer.footer .support-item-footer a,
.footer .support-item-footer a,
footer.footer .contact-footer-content a,
.footer .contact-footer-content a,
footer.footer .tf-social a,
.footer .tf-social a,
footer.footer .footer-subscribe a,
.footer .footer-subscribe a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Footer link hover */
footer.footer a:hover,
.footer a:hover,
#footer a:hover,
footer.footer .support-item-footer a:hover,
.footer .support-item-footer a:hover,
footer.footer .contact-footer-content a:hover,
.footer .contact-footer-content a:hover,
footer.footer .tf-social a:hover,
.footer .tf-social a:hover,
footer.footer .footer-subscribe a:hover,
.footer .footer-subscribe a:hover {
    color: #c0c0c0 !important;
}

/* Footer alt bölümü */
.footer-bottom,
footer.footer .footer-bottom {
    background-color: #397373 !important;
}

.footer-bottom .text,
.footer-bottom .caption-1,
footer.footer .footer-bottom .text,
footer.footer .footer-bottom .caption-1 {
    color: #ffffff !important;
}

/* Footer başlıklar */
.footer .title-footer,
.footer .label,
.footer .caption-2,
footer.footer .title-footer,
footer.footer .label,
footer.footer .caption-2 {
    color: #ffffff !important;
}

/* Footer sosyal medya */
.footer .tf-social .item a,
footer.footer .tf-social .item a {
    background-color: transparent !important;
    border-color: #ffffff !important;
}

.footer .tf-social .item a:hover,
footer.footer .tf-social .item a:hover {
    background-color: #c0c0c0 !important;
    border-color: #c0c0c0 !important;
    color: #408080 !important;
}

/* Menü */
.main-menu .navigation > li > a {
    color: #212529 !important;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a {
    color: #6c4ea7 !important;
}

/* Kartlar */
.card {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
}

/* Tema Butonları - Çok Güçlü Kurallar */
.theme-btn,
.theme-btn.btn-one,
.theme-btn.btn-two,
.btn-one,
.btn-two,
a.theme-btn,
a.btn-one,
a.btn-two,
button.theme-btn,
button.btn-one,
button.btn-two {
    background-color: #348b36 !important;
    border-color: #348b36 !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.theme-btn:hover,
.theme-btn.btn-one:hover,
.theme-btn.btn-two:hover,
.btn-one:hover,
.btn-two:hover,
a.theme-btn:hover,
a.btn-one:hover,
a.btn-two:hover,
button.theme-btn:hover,
button.btn-one:hover,
button.btn-two:hover {
    background-color: #2c762d !important;
    border-color: #2c762d !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.theme-btn:before,
.theme-btn.btn-one:before,
.theme-btn.btn-two:before,
.btn-one:before,
.btn-two:before {
    background: #2e7d30 !important;
}

/* Buton içindeki linkler ve metinler */
.theme-btn a,
.theme-btn.btn-one a,
.theme-btn.btn-two a,
.btn-one a,
.btn-two a,
.theme-btn span,
.btn-one span,
.btn-two span {
    color: #ffffff !important;
    text-decoration: none !important;
}

.theme-btn:hover a,
.theme-btn.btn-one:hover a,
.theme-btn.btn-two:hover a,
.btn-one:hover a,
.btn-two:hover a,
.theme-btn:hover span,
.btn-one:hover span,
.btn-two:hover span {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Özel buton durumları */
.theme-btn:focus,
.theme-btn:active,
.btn-one:focus,
.btn-one:active,
.btn-two:focus,
.btn-two:active {
    background-color: #348b36 !important;
    border-color: #348b36 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.sec-title .sub-title {
    color: #408080 !important;
}

.funfact-block-one .inner-box {
    background: #348b36 !important;
}

.consultation-block-one .inner-box .icon-box {
    color: #348b36 !important;
}

.consultation-block-one .inner-box h3 a:hover {
    color: #348b36 !important;
}

.banner-carousel .content-box .lower-box .icon-box {
    background: #398643 !important;
}

.testimonial-section {
    background: #348b36 !important;
}

.testimonial-section .content-box .inner-box .tag {
    background: #398643 !important;
}

/* Form elementleri */
.form-control:focus {
    border-color: #348b36 !important;
    box-shadow: 0 0 0 0.2rem rgba(52, 139, 54, 0.25) !important;
}

/* Pagination */
.pagination .page-link {
    color: #348b36 !important;
}

.pagination .page-item.active .page-link {
    background-color: #348b36 !important;
    border-color: #348b36 !important;
}

/* Owl Carousel */
.owl-dots button.active {
    background: #348b36 !important;
}

.owl-nav button:hover {
    color: #348b36 !important;
}

/* İletişim Sayfası */
.contact-item {
    background-color: #ffffff !important;
    color: #212529 !important;
}

.contact-item h5 {
    color: #212529 !important;
}

.contact-item p {
    color: #212529 !important;
}

.contact-item a {
    color: #007bff !important;
    text-decoration: none !important;
}

.contact-item a:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
}

/* İletişim sayfası özel linkler */
.faq-sidebar .contact-item a,
.text-box .contact-item a {
    color: #007bff !important;
}

.faq-sidebar .contact-item a:hover,
.text-box .contact-item a:hover {
    color: #0056b3 !important;
}

/* Sözleşme linki - İletişim renk ayarlarını kullan */
.contract-text {
    color: #212529 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
}

.contract-link,
.contract-link:link,
.contract-link:visited,
.contract-link:active {
    color: #007bff !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.contract-link:hover,
.contract-link:focus {
    color: #0056b3 !important;
    text-decoration: underline !important;
}

/* İletişim sayfası telefon ve email linkleri */
.contact-item a[href^='tel:'],
.contact-item a[href^='mailto:'] {
    color: #007bff !important;
    font-weight: 500 !important;
}

.contact-item a[href^='tel:']:hover,
.contact-item a[href^='mailto:']:hover {
    color: #0056b3 !important;
}

/* İletişim ikon renkleri */
.contact-icon {
    background-color: rgba(0, 123, 255, 0.1) !important;
    color: #007bff !important;
}

.contact-icon i {
    color: #007bff !important;
}

/* Sidebar (navSidebar-button) - İletişim Renkleri */
.xs-sidebar-group.info-group.info-sidebar {
    background-color: #ffffff !important;
}

.xs-sidebar-group.info-group.info-sidebar .sidebar-textwidget {
    background-color: #ffffff !important;
}

.xs-sidebar-group.info-group.info-sidebar .sidebar-info-contents {
    background-color: #ffffff !important;
}

/* Sidebar metin renkleri */
.xs-sidebar-group.info-group.info-sidebar p,
.xs-sidebar-group.info-group.info-sidebar .content-box p,
.xs-sidebar-group.info-group.info-sidebar .contact-info h4,
.xs-sidebar-group.info-group.info-sidebar .contact-info ul li {
    color: #212529 !important;
}

/* Sidebar linkler */
.xs-sidebar-group.info-group.info-sidebar a,
.xs-sidebar-group.info-group.info-sidebar .contact-info ul li a,
.xs-sidebar-group.info-group.info-sidebar .social-box a {
    color: #007bff !important;
    text-decoration: none !important;
}

.xs-sidebar-group.info-group.info-sidebar a:hover,
.xs-sidebar-group.info-group.info-sidebar .contact-info ul li a:hover,
.xs-sidebar-group.info-group.info-sidebar .social-box a:hover {
    color: #0056b3 !important;
    text-decoration: none !important;
}

/* Sidebar telefon ve email linkleri */
.xs-sidebar-group.info-group.info-sidebar a[href^='tel:'],
.xs-sidebar-group.info-group.info-sidebar a[href^='mailto:'] {
    color: #007bff !important;
    font-weight: 500 !important;
}

.xs-sidebar-group.info-group.info-sidebar a[href^='tel:']:hover,
.xs-sidebar-group.info-group.info-sidebar a[href^='mailto:']:hover {
    color: #0056b3 !important;
}

/* Sidebar ikonlar */
.xs-sidebar-group.info-group.info-sidebar .contact-info ul li i,
.xs-sidebar-group.info-group.info-sidebar .social-box a i {
    color: #007bff !important;
}

.xs-sidebar-group.info-group.info-sidebar .social-box a:hover i {
    color: #0056b3 !important;
}

/* Sidebar kapatma butonu */
.xs-sidebar-group.info-group.info-sidebar .close-side-widget {
    color: #212529 !important;
}

.xs-sidebar-group.info-group.info-sidebar .close-side-widget:hover {
    color: #0056b3 !important;
}

/* Sidebar sosyal medya kutuları */
.xs-sidebar-group.info-group.info-sidebar .social-box li a {
    border-color: #007bff !important;
    background-color: transparent !important;
}

.xs-sidebar-group.info-group.info-sidebar .social-box li a:hover {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: #ffffff !important;
}

.xs-sidebar-group.info-group.info-sidebar .social-box li a:hover i {
    color: #ffffff !important;
}
