/**
 * AboExit - Custom Styles
 */

/* Loader Styles - KALDIRILIYOR */
/* Eski loader kodlarını referans olması için yorum satırı olarak tutuyoruz */
/*
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

/* İçeriği her zaman göster */
#main-content {
    display: block; /* none yerine block yaparak içeriğin hemen görünmesini sağlıyoruz */
}

/* Aşağıdaki kodlar artık kullanılmıyor, referans için tutuldu */
/*
body.sayfa-yuklendi #main-content {
    display: block;
}

body.sayfa-yuklendi #loader-wrapper {
    display: none;
}

#loader {
    width: 200px;
    height: 200px;
    transform: scale(0.1);
    opacity: 0;
    animation: zoomFadeIn 1.2s forwards ease-out;
}

@keyframes zoomFadeIn {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
*/

:root {
    --primary: #b38e5d;
    --primary-light: #f5efe5;
    --secondary: #8e7761;
    --success: #95a986;
    --danger: #c27c7c;
    --warning: #d9bc8c;
    --info: #8ca9b3;
    --light: #f9f6f2;
    --dark: #5a4a3f;
    --body-color: #3d3229;
    --body-bg: #fdfaf5;
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--body-color);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.section-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

/* Custom styles for beige arrow links */
.mehr-erfahren-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mehr-erfahren-link:hover {
    color: var(--secondary);
}

.mehr-erfahren-link svg, 
.mehr-erfahren-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.mehr-erfahren-link:hover svg,
.mehr-erfahren-link:hover i {
    transform: translateX(3px);
}

/* Navbar */
.navbar {
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
}

.brand-text {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.navbar-brand:hover .brand-text {
    color: var(--secondary);
}

.navbar .nav-link {
    font-weight: 500;
    padding: 1rem 1rem;
    color: var(--dark);
    transition: color 0.3s ease;
}

.navbar .nav-link:hover, 
.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .navbar-toggler {
    border: none;
    padding: 0.25rem 0.75rem;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

/* Top Bar */
.top-bar {
    font-size: 0.875rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover,
.top-bar a.active {
    color: #ffffff;
}

/* Language Switcher */
.language-switcher a {
    text-decoration: none;
}

/* Flag Icons */
.lang-flag {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.lang-flag img {
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-flag.active img {
    box-shadow: 0 0 0 2px var(--primary);
}

.lang-flag:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #b38e5d 0%, #d5bc95 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.svg');
    background-position: center;
    background-size: cover;
    opacity: 0.1;
}

.hero h1 {
    font-weight: 800;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-primary-light {
    background-color: var(--primary-light);
}

.bg-custom-beige {
    background-color: var(--primary);
}

/* Services Section */
.service-card {
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
}

/* Convert blue links to beige theme */
.btn-link.text-primary {
    color: var(--primary) !important;
}

/* Select2 Özel Stilleri */
.select2-container--bootstrap-5 .select2-selection {
    min-height: 38px;
    border: 1px solid #ced4da;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: var(--primary-light);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__option--highlighted {
    background-color: var(--primary-light);
    color: #000;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__option--selected {
    background-color: var(--primary);
}

/* Büyük dropdown için */
.select2--large .select2-results__options {
    max-height: 300px;
    overflow-y: auto;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection,
.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(223, 199, 166, 0.25);
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field {
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.select2-container--bootstrap-5 .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(223, 199, 166, 0.25);
    outline: none;
}

.btn-link.text-primary:hover {
    color: var(--secondary) !important;
    text-decoration: none;
}

/* Icon arrows in beige theme */
.btn-link .fas.fa-arrow-right {
    transition: transform 0.3s ease-in-out;
}

.btn-link:hover .fas.fa-arrow-right {
    transform: translateX(3px);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* How It Works */
.step-card {
    padding: 2rem;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: 100%;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

/* Testimonials */
.testimonial-card {
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.testimonial-quote {
    color: var(--primary-light);
    font-size: 2.5rem;
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0.7;
}

.testimonial-avatar img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/* Contact CTA */
.contact-cta {
    background-image: linear-gradient(135deg, #b38e5d 0%, #d5bc95 100%);
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* FAQ Tabs */
.nav-pills .nav-link {
    color: #666;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary);
    color: white;
}

.nav-pills .nav-link:hover:not(.active) {
    color: var(--primary);
}

.accordion-button {
    font-weight: 600;
    padding: 1.25rem;
    background-color: #fff;
    color: var(--dark);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

.accordion-body {
    padding: 1.25rem;
    background-color: #fff;
}

/* Forms */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(179, 142, 93, 0.25);
}

.form-label {
    font-weight: 500;
}

/* Footer */
.footer {
    font-size: 0.875rem;
}

.footer h5 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Analysis Form */
.analysis-form {
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 2rem;
}

/* Subscription Check */
.check-result {
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-top: 1.5rem;
}

.check-result.positive {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success);
}

.check-result.negative {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid var(--danger);
}

.check-result.warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .hero {
        padding: 3rem 0;
        text-align: center;
    }
    
    .features {
        justify-content: center;
    }
    
    .step-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Category Cards */
.category-card {
    background-color: var(--light); /* Temiz, açık bir arka plan için --light kullanılıyor */
    border: 1px solid var(--primary-light); /* Hafif bir kenarlık */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px; /* Boyutu ihtiyaca göre ayarla */
    height: 60px; /* Boyutu ihtiyaca göre ayarla */
    background-color: var(--light); /* İkon dairesi için açık arka plan */
    border-radius: 50%;
    margin: 0 auto 1rem; /* Ortala ve altına boşluk ekle */
}

.category-icon .fas {
    color: var(--primary) !important; /* İkonun kendi rengi */
}
