/*
Theme Name: DLVidTik Theme
Theme URI: https://dlvidtik.id
Author: DLVidTik Team
Author URI: https://dlvidtik.id
Description: Thème WordPress léger, rapide et optimisé SEO pour DLVidTik - TikTok Downloader Platform
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dlvidtik
Tags: custom-header, custom-menu, featured-images, threaded-comments, translation-ready, seo-optimized

DLVidTik Theme, Copyright 2024
DLVidTik Theme is distributed under the terms of the GNU GPL
*/

/**
 * TABLE DES MATIÈRES
 * 
 * 1. Reset & Base
 * 2. Typography
 * 3. Layout
 * 4. Header
 * 5. Navigation
 * 6. Content
 * 7. Sidebar
 * 8. Footer
 * 9. Responsive
 * 10. Utilities
 */

/* =========================================
   1. RESET & BASE
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1e293b;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2563eb;
}

/* =========================================
   3. LAYOUT
   ========================================= */

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* =========================================
   4. HEADER
   ========================================= */

.site-header {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* =========================================
   5. NAVIGATION
   ========================================= */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    display: inline-block;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 20px;
    color: #1e293b;
    font-weight: 500;
}

.main-navigation a:hover {
    background: #f1f5f9;
}

/* =========================================
   6. CONTENT
   ========================================= */

.site-main {
    padding: 0;
}

.entry-header {
    margin-bottom: 2rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.entry-content {
    line-height: 1.8;
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   7. SIDEBAR
   ========================================= */

.sidebar {
    padding: 20px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

/* =========================================
   8. FOOTER
   ========================================= */

.site-footer {
    background: #1e293b;
    color: #ffffff;
    padding: 40px 0 20px;
    margin-top: 60px;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 15px;
    }
}

/* =========================================
   10. UTILITIES
   ========================================= */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
