/*
Theme Name: Woroku
Theme URI: https://tumbustudio.com/woroku
Author: Tumbu Studio
Author URI: https://tumbustudio.com
Description: Professional news portal theme with modern design, mobile-first approach, and advanced features. Built with Tailwind CSS and Alpine.js.
Version: 3.0.0
Requires at least: 6.0
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: woroku
Tags: news, magazine, blog, responsive, mobile-first, tailwind-css

Woroku - Professional News Portal Theme
Created by Tumbu Studio with ❤️
*/

/* 
 * This file is required by WordPress but actual styles are loaded via:
 * - Tailwind CSS (CDN)
 * - custom.css (theme styles)
 * - main.css (additional styles)
 * 
 * All loaded through functions.php wp_enqueue_style()
 */

/* Basic Reset - Fallback if CSS doesn't load */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #dc2626;
    text-decoration: none;
}

a:hover {
    color: #b91c1c;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Basic */
header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Content Area */
.site-content {
    padding: 20px 0;
}

/* Footer Basic */
footer {
    background: #1f2937;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Post Item */
.post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.post-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Button */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #dc2626;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn:hover {
    background: #b91c1c;
    color: #fff;
}

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    padding: 5px;
    color: #6b7280;
}

.mobile-bottom-nav a.active {
    color: #dc2626;
}

/* Responsive */
@media (max-width: 767px) {
    body {
        padding-bottom: 70px; /* Space for bottom nav */
    }
}

/* WordPress Core Classes */
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

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

.aligncenter {
    display: block;
    margin: 0 auto 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 5px 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
