/*
Theme Name: LiteTheme
Theme URI: https://example.com/litetheme
Author: Your Name
Author URI: https://example.com
Description: A sophisticated WordPress theme with dual logos, advanced navigation, comprehensive customizer options, tooltip system, and configurable footer.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: litetheme
Tags: two-columns, three-columns, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, full-width-template, theme-options
*/

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Typography and Spacing */
p {
    margin-top: 0.5em;
    margin-bottom: 1.2em;
    line-height: 1.7;
}

p:first-child {
    margin-top: 0;
}

.entry-content p,
.page-content p,
.comment-content p {
    margin-top: 0.6em;
    margin-bottom: 1.3em;
}

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

/* Header Styles */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    min-height: 100px;
}

.site-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-left-wrapper {
    flex: 1;
}

.logo-left {
    max-height: 80px;
    width: auto;
}

.logo-right-wrapper {
    flex: 0 0 auto;
    margin-left: 20px;
}

.logo-right {
    max-width: 100px;
    max-height: 100px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 28px;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
.main-navigation {
    background: #0073aa;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.main-navigation a:hover {
    background: rgba(255,255,255,0.1);
}

/* Dropdown Menus */
.main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #005a87;
    min-width: 200px;
    display: none;
    flex-direction: column;
    box-shadow: 0 3px 5px rgba(0,0,0,0.2);
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

.main-navigation li:hover > ul {
    display: flex;
}

/* Banner Area */
.banner-area-container {
    margin: 0;
    padding: 0;
}

.banner-area-widget {
    margin: 0;
    padding: 0;
}

/* Content Area */
.site-content {
    padding: 40px 0;
    min-height: 500px;
}

/* Remove spacing when banner is present */
.banner-area-container + .site-content {
    padding-top: 40px;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-row {
    margin-bottom: 30px;
}

.footer-widget h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
}

/* Old Tooltip Styles - Commented out to prevent conflicts with new tooltip system
.tooltip-trigger {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #0073aa;
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    min-width: 250px;
    max-width: 400px;
    display: none;
    z-index: 1000;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    white-space: normal;
    word-wrap: break-word;
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-trigger:hover .tooltip-content {
    display: block;
}

.tooltip-heading {
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 16px;
}

.tooltip-subheading {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 14px;
    opacity: 0.8;
}

.tooltip-text {
    font-size: 14px;
    line-height: 1.4;
}
*/

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #005a87;
}

/* Responsive */
@media (max-width: 768px) {
    .site-logos {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .logo-right-wrapper {
        display: none; /* Hide right banner on mobile to save space */
    }
    
    .main-navigation ul {
        flex-direction: column;
    }
    
    .main-navigation ul ul {
        position: static;
        width: 100%;
    }
    
    .footer-widgets {
        display: block !important;
        grid-template-columns: none !important;
    }
}

@media (max-width: 768px) {
    /* Hide header content but keep navigation on mobile */
    .header-top {
        display: none;
    }
    
    /* Add padding to body to account for fixed navbar */
    body {
        padding-top: 50px;
    }
    
    /* Fix footer widgets stacking properly on mobile */
    .footer-widgets {
        display: block !important;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        clear: both;
    }
}

