/*
Theme Name: FreelanceLaunchpad Beginner
Theme URI: https://freelancelaunchpad.com/themes/beginner/
Description: A clean, modular, beginner-friendly WordPress theme with seamless FreelanceLaunchpad plugin integration. Features responsive design, performance optimization, and endless customization possibilities through modular architecture.
Author: Martin Salter - FreelanceLaunchpad
Author URI: https://freelancelaunchpad.com/
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flp-beginner
Tags: responsive, custom-menu, custom-logo, custom-header, custom-background, threaded-comments, translation-ready, featured-images, footer-widgets, full-width-template, theme-options
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ==========================================================================
   CORE RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* ==========================================================================
   HEADER STYLES
   ========================================================================== */

.site-header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

/* ==========================================================================
   NAVIGATION STYLES
   ========================================================================== */

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #007cba;
}

/* ==========================================================================
   MOBILE MENU TOGGLE - HIDDEN BY DEFAULT
   ========================================================================== */

.mobile-menu-toggle {
    display: none !important;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    z-index: 1001;
}

/* Force hide on desktop and tablet */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
        visibility: hidden !important;
    }
}

.mobile-menu-toggle .hamburger {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==========================================================================
   RESPONSIVE NAVIGATION
   ========================================================================== */

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-navigation.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem;
    }
    
    .main-navigation li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation li:last-child {
        border-bottom: none;
    }
    
    .main-navigation a {
        display: block;
        padding: 1rem 0;
    }
}

/* ==========================================================================
   CONTENT STYLES
   ========================================================================== */

.site-main {
    min-height: 60vh;
    padding: 2rem 0;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* ==========================================================================
   FOOTER STYLES
   ========================================================================== */

.site-footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 2rem 0;
    text-align: center;
    color: #666;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ==========================================================================
   FREELANCELAUNCHPAD PLUGIN INTEGRATION STYLES
   ========================================================================== */

/* Page Builder Integration */
.fl-page-builder-content {
    max-width: 100%;
}

/* Icon Toolkit Integration */
.fl-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}