/**
 * Çekici Pro - Özel CSS
 * Ek stiller ve düzenlemeler
 *
 * @package Cekici_Pro
 */

/* ============================
   HİZMET DETAY SAYFASI
   ============================ */
.service-detail-page {
    background: var(--light-gray);
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

/* Sol Taraf - Form */
.service-form-side {
    position: sticky;
    top: 140px;
}

.service-form-box {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-box-header {
    background: var(--secondary-color);
    padding: 25px 30px;
    color: var(--white);
}

.form-box-header h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-box-header h3 i {
    color: var(--primary-color);
}

.form-box-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.service-contact-form {
    padding: 30px;
}

.service-contact-form .form-group {
    margin-bottom: 18px;
}

.service-contact-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-contact-form label i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.service-contact-form input,
.service-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.service-contact-form input:focus,
.service-contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 208, 0, 0.1);
}

.service-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.service-contact-form .form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
}

/* Hızlı Arama Kutusu */
.quick-call-box {
    background: var(--primary-color);
    padding: 20px 30px;
    text-align: center;
}

.quick-call-box p {
    margin: 0 0 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.quick-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 8px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.quick-call-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.quick-call-btn i {
    animation: shake 1.5s ease-in-out infinite;
}

/* Sağ Taraf - Hizmet Bilgisi */
.service-info-side {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.service-main-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-content-area {
    padding: 40px;
}

.service-content-area h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-content-area p {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Varsayılan Hizmet İçeriği */
.service-default-content {
    padding: 40px;
}

.service-intro {
    margin-bottom: 40px;
}

.service-intro h2 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.service-intro p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Özellik Grid */
.service-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    background: var(--light-gray);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    font-size: 1.5rem;
    margin: 0 auto 15px;
}

.feature-item h4 {
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Hizmet Kapsamı Liste */
.service-checklist {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.service-checklist h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.service-checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: var(--text-color);
}

.service-checklist li i {
    color: var(--success);
    font-size: 1.1rem;
}

/* Diğer Hizmetler */
.other-services-box {
    background: var(--secondary-color);
    padding: 30px 40px;
}

.other-services-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.other-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    color: var(--white);
    text-align: center;
    transition: var(--transition);
}

.other-service-item:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.other-service-item i {
    font-size: 1.8rem;
}

.other-service-item span {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .service-form-side {
        position: relative;
        top: 0;
        order: 2;
    }
    
    .service-info-side {
        order: 1;
    }
    
    .service-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-checklist ul {
        grid-template-columns: 1fr;
    }
    
    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-default-content,
    .service-content-area {
        padding: 25px;
    }
}

/* ============================
   MOBİL TELEFON BARI
   ============================ */
.mobile-phone-bar {
    display: none;
    background: var(--primary-color);
    padding: 10px 20px;
    text-align: center;
}

.mobile-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    font-weight: 700;
    font-family: var(--font-primary);
}

.mobile-phone-link i {
    animation: shake 1.5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .mobile-phone-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    }
    
    .site-footer {
        padding-bottom: 60px;
    }
    
    .whatsapp-float {
        bottom: 70px;
    }
    
    .scroll-top {
        bottom: 135px;
    }
}

/* ============================
   MOBİL NAVİGASYON OVERLAY
   ============================ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

/* ============================
   FORM HATA STİLLERİ
   ============================ */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: var(--error);
}

.form-group.has-error label {
    color: var(--error);
}

/* ============================
   HARİTA BÖLÜMÜ
   ============================ */
.map-section {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-wrapper iframe:hover {
    filter: grayscale(0%);
}

/* ============================
   ANİMASYON BAŞLANGIÇ STİLLERİ
   ============================ */
[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-down"] {
    transform: translateY(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

/* ============================
   SAYAÇ ANİMASYONU
   ============================ */
.counter-number {
    display: inline-block;
}

.counter-number.counting {
    animation: countUp 2s ease-out forwards;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   HOVER ETKİLERİ
   ============================ */
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    transition: var(--transition);
}

/* ============================
   FOCUS STİLLERİ (Erişilebilirlik)
   ============================ */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================
   PRİNT STİLLERİ
   ============================ */
@media print {
    .site-header,
    .whatsapp-float,
    .scroll-top,
    .mobile-phone-bar {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 40px 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
}

/* ============================
   HIGH CONTRAST MODE
   ============================ */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #FFD000;
        --secondary-color: #000000;
    }
    
    .btn-primary {
        border: 2px solid var(--secondary-color);
    }
}

/* ============================
   REDUCED MOTION
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ============================
   DARK MODE DESTEĞİ (Opsiyonel)
   ============================ */
/*
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --light-gray: #2d2d2d;
        --text-color: #ffffff;
    }
}
*/

/* ============================
   SELECTION STİLİ
   ============================ */
::selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* ============================
   SCROLLBAR STİLİ
   ============================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--light-gray);
}

/* ============================
   PLACEHOLDER STİLLERİ
   ============================ */
::placeholder {
    color: #999;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #999;
}

::-ms-input-placeholder {
    color: #999;
}

/* ============================
   LOADING SKELETON
   ============================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ============================
   TOOLTIP
   ============================ */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 10px);
}

/* ============================
   BADGE STİLLERİ
   ============================ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

.badge-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.badge-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--error);
}

/* ============================
   RESPONSIVE FİXLER
   ============================ */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

