/*
Theme Name: Onprotech Güvenlik
Theme URI: https://onprotech.com.tr
Author: Onprotech
Author URI: https://onprotech.com.tr
Description: Profesyonel güvenlik sistemleri şirketi için modern, SEO uyumlu WordPress teması. Kamera sistemleri, alarm sistemleri ve access control hizmetleri için tasarlanmıştır.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onprotech
Domain Path: /languages
Tags: security, corporate, responsive, seo-friendly, dark-theme, modern

Onprotech Güvenlik Sistemleri WordPress Teması
*/

/* Theme base styles */
:root {
    --primary: #3B9ED9;
    --primary-dark: #2E7DB4;
    --primary-light: #5CB3E8;
    --secondary: #E6732F;
    --secondary-dark: #C45A1F;
    --secondary-light: #FF8F4D;
    --dark: #0a0a0f;
    --darker: #050508;
    --dark-light: #12121a;
    --gray: #1a1a24;
    --text: #e8e8ec;
    --text-muted: #8a8a9a;
    --success: #00ff88;
    --warning: #ffb800;
    --danger: #ff3366;
}

/* WordPress Core Alignment */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* WordPress Gallery */
.wp-caption {
    background: var(--gray);
    border: 1px solid rgba(0, 212, 255, 0.1);
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
    color: var(--text-muted);
}

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--gray);
    clip: auto !important;
    clip-path: none;
    color: var(--text);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress Blocks */
.wp-block-button__link {
    background: var(--primary);
    color: var(--dark);
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
}

.wp-block-quote {
    border-left: 4px solid var(--primary);
    background: var(--gray);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.wp-block-pullquote {
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    color: var(--text);
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-author .avatar {
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.comment-metadata {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-content {
    background: var(--gray);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

/* Widgets */
.widget {
    background: var(--gray);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.widget-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: var(--primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.page-numbers {
    padding: 0.8rem 1.2rem;
    background: var(--gray);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--gray);
    padding: 1rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumbs .current {
    color: var(--text-muted);
}

/* ======================================
   FLOATING WHATSAPP BUTTON - SAG ALT
   ====================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 62px;
    height: 62px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    display: block;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
    background: #128C7E;
}

@keyframes whatsapp-pulse {
    0%   { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
    50%  { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8), 0 0 0 12px rgba(37, 211, 102, 0.12); }
    100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5); }
}

/* ======================================
   FLOATING PHONE BUTTON - SOL ALT
   ====================================== */
.phone-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #3B9ED9 0%, #2E7DB4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(59, 158, 217, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: phone-pulse 2.5s infinite;
    animation-delay: 0.5s;
}

.phone-float svg {
    width: 30px;
    height: 30px;
    display: block;
}

.phone-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(59, 158, 217, 0.7);
}

@keyframes phone-pulse {
    0%   { box-shadow: 0 4px 20px rgba(59, 158, 217, 0.5); }
    50%  { box-shadow: 0 4px 30px rgba(59, 158, 217, 0.8), 0 0 0 12px rgba(59, 158, 217, 0.12); }
    100% { box-shadow: 0 4px 20px rgba(59, 158, 217, 0.5); }
}

/* ======================================
   KESIF FORMU BOLUMU
   ====================================== */
.kesif-section {
    padding: 6rem 5%;
    background: var(--gray);
    position: relative;
}

.kesif-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #3B9ED9 0%, #2E7DB4 100%);
}

.kesif-inner {
    max-width: 900px;
    margin: 0 auto;
}

.kesif-form-wrap {
    background: var(--dark);
    border: 1px solid rgba(59, 158, 217, 0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.kesif-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.kesif-form .form-group {
    margin-bottom: 1.2rem;
}

.kesif-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kesif-form .form-group input,
.kesif-form .form-group textarea,
.kesif-form .form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--gray);
    border: 1px solid rgba(59, 158, 217, 0.25);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.kesif-form .form-group input:focus,
.kesif-form .form-group textarea:focus,
.kesif-form .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 158, 217, 0.15);
}

.kesif-form .form-group select option {
    background: var(--gray);
    color: var(--text);
}

.kesif-form .form-group textarea {
    min-height: 130px;
    resize: vertical;
}

.kesif-form-submit {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-kesif {
    background: linear-gradient(135deg, #3B9ED9 0%, #2E7DB4 100%);
    color: #0a0a0f;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 158, 217, 0.4);
}

.btn-kesif:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59, 158, 217, 0.6);
}

.kesif-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.kesif-whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float svg { width: 28px; height: 28px; }

    .phone-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 56px;
        height: 56px;
    }
    .phone-float svg { width: 26px; height: 26px; }

    .kesif-form .form-row {
        grid-template-columns: 1fr;
    }

    .kesif-form-wrap {
        padding: 1.5rem;
    }
}
