/*
Theme Name: RemoteMadamTheme
Theme URI: https://remotemadam.com
Author: RemoteMadam
Author URI: https://remotemadam.com
Description: A production-ready WordPress theme for RemoteMadam. Built with modern WordPress standards, full site editing support, and optimized for performance.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: remotemadamtheme
Tags: custom-background, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, theme-options, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================
   TABLE OF CONTENTS
   ============================================

   1. CSS Reset & Base Styles
   2. Typography
   3. Layout & Grid
   4. Header & Navigation
   5. Main Content Area
   6. Sidebar & Widgets
   7. Footer
   8. WooCommerce Styles
   9. Tutor LMS Styles
   10. Responsive Design
   11. Utility Classes

   ============================================ */

/* ============================================
   1. CSS RESET & BASE STYLES
   ============================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #F8FAFC;
	background-color: #090909;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: #F8FAFC;
	font-family: 'Poppins', sans-serif;
}

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: 0 0 1rem;
}

/* ============================================
   3. LAYOUT & GRID
   ============================================ */

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

/* Header styles are now in assets/css/header.css to avoid conflicts */

/* ============================================
   5. MAIN CONTENT AREA
   ============================================ */

.entry-header {
	margin-bottom: 2rem;
}

.entry-title {
	margin-bottom: 0.5rem;
}

.entry-meta {
	font-size: 0.875rem;
	color: #9CA3AF;
}

.entry-content {
	margin-bottom: 2rem;
}

/* ============================================
   6. SIDEBAR & WIDGETS
   ============================================ */

.widget-area {
	padding: 2rem 0;
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	margin-bottom: 1rem;
	font-size: 1.25rem;
}

/* ============================================
   7. FOOTER
   ============================================ */

.site-footer {
	background-color: #1F2937;
	color: #F8FAFC;
	padding: 3rem 0;
	margin-top: auto;
}

.site-info {
	text-align: center;
	font-size: 0.875rem;
}

/* ============================================
   8. WOOCOMMERCE STYLES
   ============================================ */

/* WooCommerce base styles will be added here */

/* ============================================
   9. TUTOR LMS STYLES
   ============================================ */

/* Tutor LMS base styles will be added here */

/* ============================================
   10. RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
	h1 { font-size: 2rem; }
	h2 { font-size: 1.75rem; }
	h3 { font-size: 1.5rem; }

	.main-navigation ul {
		flex-direction: column;
		gap: 0.5rem;
	}
}

/* ============================================
   11. UTILITY CLASSES
   ============================================ */

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

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

.alignleft {
	float: left;
	margin-right: 1.5rem;
}

.alignright {
	float: right;
	margin-left: 1.5rem;
}
