<?php
/**
 * TNTbasic Theme - style.css (THIS GOES AT THE TOP)
 */

/*
Theme Name: TNTbasic
Description: Clean, modern WordPress theme optimized for the block editor. No ads, no bloat, just pure functionality.
Version: 1.0.0
Author: Texas Notary Tools
Text Domain: tntbasic
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

TNTbasic is a lightweight, block-editor-first theme designed for clean, professional websites.
*/

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-main {
    flex: 1;
    padding: 2rem 0;
}

.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 2rem 0;
    margin-top: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: #1f2937;
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #3b82f6;
}

/* ==========================================================================
   CONTENT STYLES
   ========================================================================== */

.entry-header {
    margin-bottom: 2rem;
    text-align: center;
}

.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.entry-meta {
    color: #6b7280;
    font-size: 0.875rem;
}

.entry-content {
    max-width: 65ch;
    margin: 0 auto;
}

/* ==========================================================================
   BLOCK EDITOR SUPPORT
   ========================================================================== */

.wp-block-group {
    margin-bottom: 2rem;
}

.wp-block-cover {
    margin-bottom: 2rem;
}

.wp-block-image {
    margin-bottom: 1rem;
}

.wp-block-button .wp-block-button__link {
    background-color: #3b82f6;
    border-radius: 0.375rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover {
    background-color: #2563eb;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .site-main {
        padding: 1rem 0;
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.alignwide {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
}

/* ==========================================================================
   NO ADS - CLEAN EXPERIENCE
   ========================================================================== */

/* Hide any potential ad containers */
.ad, .ads, .advertisement, .banner-ad,
[class*="ad-"], [id*="ad-"], [class*="ads-"], [id*="ads-"] {
    display: none !important;
}

/**
 * functions.php
 */