/* 
   ==========================================================================
   ONLINE ARAÇLAR SİTESİ - STİL SİSTEMİ (style.css)
   Google AdSense ve SEO Uyumlu Premium Tasarım
   ==========================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Tasarım Değişkenleri (Light Mode Varsayılan) */
:root {
    --font-primary: 'Outfit', sans-serif;
    
    /* Renk Paleti - Light Mode */
    --primary-hsl: 262, 80%, 50%;
    --primary: hsl(var(--primary-hsl));
    --primary-hover: hsl(262, 80%, 45%);
    --primary-light: hsl(262, 80%, 95%);
    
    --secondary-hsl: 174, 100%, 37%;
    --secondary: hsl(var(--secondary-hsl));
    --secondary-hover: hsl(174, 100%, 32%);
    --secondary-light: hsl(174, 100%, 95%);

    --accent-hsl: 342, 92%, 54%;
    --accent: hsl(var(--accent-hsl));

    --bg-main: hsl(210, 40%, 98%);
    --bg-card: hsl(0, 0%, 100%);
    --bg-nav: rgba(255, 255, 255, 0.8);
    
    --text-main: hsl(224, 56%, 12%);
    --text-muted: hsl(220, 16%, 50%);
    --text-on-primary: hsl(0, 0%, 100%);
    
    --border-color: hsl(220, 20%, 92%);
    --border-hover: hsl(262, 80%, 85%);
    
    --success: hsl(142, 72%, 29%);
    --success-bg: hsl(142, 72%, 95%);
    --danger: hsl(350, 89%, 46%);
    --danger-bg: hsl(350, 89%, 96%);
    --warning: hsl(45, 93%, 47%);
    --warning-bg: hsl(45, 93%, 95%);
    
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 32px -8px rgba(0, 0, 0, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* Dark Mode Değişkenleri */
[data-theme="dark"] {
    --primary-hsl: 262, 80%, 65%;
    --primary: hsl(var(--primary-hsl));
    --primary-hover: hsl(262, 80%, 70%);
    --primary-light: hsl(262, 40%, 16%);
    
    --secondary-hsl: 174, 80%, 50%;
    --secondary: hsl(var(--secondary-hsl));
    --secondary-hover: hsl(174, 80%, 55%);
    --secondary-light: hsl(174, 40%, 16%);

    --bg-main: hsl(224, 71%, 4%);
    --bg-card: hsl(222, 47%, 9%);
    --bg-nav: rgba(15, 23, 42, 0.8);
    
    --text-main: hsl(210, 40%, 98%);
    --text-muted: hsl(215, 20%, 65%);
    
    --border-color: hsl(223, 47%, 16%);
    --border-hover: hsl(262, 80%, 30%);
    
    --success: hsl(142, 72%, 50%);
    --success-bg: hsl(142, 40%, 12%);
    --danger: hsl(350, 89%, 60%);
    --danger-bg: hsl(350, 40%, 12%);
    --warning: hsl(45, 93%, 60%);
    --warning-bg: hsl(45, 40%, 12%);
    
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 12px 24px -4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 32px -8px rgba(0, 0, 0, 0.4);
}

/* CSS Sıfırlama (Reset) */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* ==========================================================================
   LAYOUT COMPONENTS (Header, Footer, Grid)
   ========================================================================== */

/* Header & Nav */
.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-primary);
}

.logo-icon svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.theme-toggle-btn,
.mobile-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle-btn:hover,
.mobile-menu-btn:hover {
    background-color: var(--border-color);
    color: var(--primary);
}

.theme-toggle-btn svg,
.mobile-menu-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Light / Dark Mode SVG Display */
.theme-toggle-btn .sun-icon {
    display: none;
}
[data-theme="dark"] .theme-toggle-btn .sun-icon {
    display: block;
}
[data-theme="dark"] .theme-toggle-btn .moon-icon {
    display: none;
}

.mobile-menu-btn {
    display: none;
}

/* Main Content Wrapper */
.main-wrapper {
    flex: 1;
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Footer */
.footer-wrapper {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 1.5rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-info .logo-area {
    margin-bottom: 1rem;
}

.footer-info .logo-area a {
    display: inline-flex;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links ul a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links ul a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   COMMON PAGES STYLES (Hero, Cards, Grid, Buttons)
   ========================================================================== */

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-section h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Search Bar Component */
.search-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 4px;
    display: flex;
    transition: var(--transition);
}

.search-container:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-input {
    flex: 1;
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-on-primary);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.search-btn:hover {
    opacity: 0.9;
}

/* Grid System for Tools */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.tool-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.tool-card:hover .tool-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-on-primary);
}

.tool-card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.tool-card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.5rem;
}

.tool-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
    flex: 1;
}

.tool-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: auto;
}

.tool-card-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.tool-card:hover .tool-card-link svg {
    transform: translateX(4px);
}

/* ==========================================================================
   ADSENSE CONTAINERS
   ========================================================================== */
.ad-container {
    background-color: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 2rem auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 90px;
}

.ad-container::before {
    content: 'REKLAM';
    position: absolute;
    top: 2px;
    left: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.ad-header {
    width: 728px;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 2rem;
}

.ad-sidebar {
    width: 300px;
    height: 250px;
    max-width: 100%;
}

.ad-inline {
    width: 100%;
    max-width: 728px;
    margin: 2rem auto;
}

/* ==========================================================================
   TOOL PAGE LAYOUT (Container, Details Content, Faq)
   ========================================================================== */

.tool-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.tool-workspace {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.tool-header-block {
    margin-bottom: 2rem;
}

.tool-header-block h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tool-header-block p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Form & Input Styles for Tools */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-on-primary);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    opacity: 0.95;
}

.btn-primary:disabled {
    background: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Drag and Drop Zone */
.drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    background-color: var(--bg-main);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background-color: var(--primary-light);
}

.drop-zone-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
}

.drop-zone-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.drop-zone h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.drop-zone p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Tool Actions & Results */
.result-box {
    margin-top: 2rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.result-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.result-box-title {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-family: monospace;
    font-size: 0.95rem;
    word-break: break-all;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

/* Sidebar Elements */
.sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Other Tools List in Sidebar */
.other-tools-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.other-tools-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: var(--text-muted);
}

.other-tools-list a:hover {
    background-color: var(--bg-main);
    color: var(--primary);
}

.other-tools-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.other-tools-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* SEO Content Area (300+ Words) & Accordion FAQ */
.seo-content-wrapper {
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
}

.seo-text {
    margin-bottom: 3rem;
}

.seo-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.seo-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.faq-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-card);
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-main);
}

.faq-question-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-question-icon svg {
    fill: currentColor;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 1.2rem 1.5rem;
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-question-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ==========================================================================
   TOOL SPECIFIC DETAILS (Range inputs, quality bars, file details)
   ========================================================================== */

/* File List & Progress */
.file-list {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.file-name {
    font-weight: 600;
}

.progress-bar-container {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.1s ease;
}

/* Range Input & Options */
.range-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.range-input {
    flex: 1;
    -webkit-appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

/* Color Tool Specific */
.color-picker-group {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.color-input-preview {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.color-input-preview::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-input-preview::-webkit-color-swatch {
    border: none;
}

/* Text Counters Grid */
.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.counter-card {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    text-align: center;
}

.counter-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.counter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Password Strength Meter */
.strength-meter {
    height: 6px;
    background-color: var(--border-color);
    border-radius: 3px;
    margin-top: 0.5rem;
    overflow: hidden;
    display: flex;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: var(--transition);
}

.strength-weak {
    background-color: var(--danger);
    width: 33.33%;
}

.strength-medium {
    background-color: var(--warning);
    width: 66.66%;
}

.strength-strong {
    background-color: var(--success);
    width: 100%;
}

/* Image Tool Previews */
.preview-images-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.preview-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    background-color: var(--bg-main);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-box img {
    max-height: 250px;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 4px;
    background-color: var(--bg-card);
}

/* Table Style */
.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th,
.data-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--bg-main);
    font-weight: 700;
}

.data-table tbody tr:hover {
    background-color: var(--primary-light);
}

/* Contact Page Form styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.info-item-text h4 {
    font-weight: 700;
    font-size: 1.05rem;
}

.info-item-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Toast Message */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-card);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1001;
    transform: translateY(150%);
    transition: var(--transition);
}

.toast-msg.show {
    transform: translateY(0);
}

.toast-success {
    border-left-color: var(--success);
}

.toast-success svg {
    color: var(--success);
}

.toast-msg svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Mobile Nav Styles */
.mobile-nav {
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    height: calc(100vh - 73px);
    background-color: var(--bg-card);
    z-index: 999;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav ul a {
    font-size: 1.25rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.mobile-nav ul a:hover,
.mobile-nav ul a.active {
    color: var(--primary);
}

/* QR Code Preview Box */
.qr-preview-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.qr-code-img {
    background-color: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    max-width: 250px;
}

/* Top Scroll Button */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--text-on-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 98;
    transform: translateY(150%);
    transition: var(--transition);
}

.scroll-top-btn.show {
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: scale(1.1) translateY(-2px);
    background-color: var(--primary-hover);
}

.scroll-top-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ==========================================================================
   MEDIA QUERIES (Responsive Web Design)
   ========================================================================== */

@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .tool-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .tool-workspace {
        padding: 1.5rem;
    }
    
    .preview-images-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Çerez Uyarı Bannerı)
   ========================================================================== */
.cookie-consent-banner {
    position: fixed;
    bottom: -200px;
    left: 1.5rem;
    right: 1.5rem;
    max-width: 450px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
}

.cookie-consent-banner.show {
    bottom: 1.5rem;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.cookie-icon {
    color: var(--primary);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.cookie-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-on-primary);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.cookie-btn-decline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn-decline:hover {
    background-color: var(--border-color);
}

@media (max-width: 576px) {
    .cookie-consent-banner {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

