/*
Theme Name: KeyNote Pro
Theme URI: https://victoriaransburg.com
Author: Victoria Ransburg
Author URI: https://victoriaransburg.com
Description: Professional modern theme with teal & charcoal color scheme. Fully compatible with Elementor and WordPress editor.
Version: 2.0
Text Domain: keynotepro
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
*/

/* ===== MODERN TEAL & CHARCOAL COLOR PALETTE ===== */
:root {
    --primary: #2A9D8F;    /* Vibrant teal - main brand color */
    --secondary: #E9C46A;  /* Soft gold - accents, highlights */
    --accent: #264653;     /* Charcoal blue - text & structure */
    --light: #F8F9FA;      /* Clean white - backgrounds */
    --dark: #212529;       /* Dark gray - main text */
    --gray: #495057;       /* Medium gray - secondary text */
    --border: #dee2e6;     /* Light borders */
    --success: #28a745;    /* Success messages */
}

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
    font-size: 16px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

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

/* ===== HEADER STYLES ===== */
.site-header {
    background: var(--accent);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.site-title-section .site-title {
    margin: 0;
}

.site-title-section .site-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title-section .site-description {
    color: var(--secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== MAIN NAVIGATION - HORIZONTAL ===== */
.main-navigation ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-navigation a:hover,
.main-navigation a:focus {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.main-navigation .current-menu-item a {
    background: var(--primary);
    color: #ffffff;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 200px);
}

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

/* Content Styling */
.entry-header {
    text-align: center;
    margin-bottom: 3rem;
}

.entry-title {
    color: var(--accent);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.entry-content h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.entry-content h3 {
    color: var(--accent);
    margin: 1.5rem 0 1rem;
}

/* ===== FOOTER STYLES ===== */
.site-footer {
    background: var(--accent);
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* ===== FOOTER NAVIGATION - VERTICAL ===== */
.footer-navigation ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-navigation li {
    display: block;
    margin: 0 0 15px 0;
}

.footer-navigation a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    font-size: 1rem;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
    padding-left: 10px;
}

.footer-widget-area {
    margin-bottom: 30px;
}

.widget-title {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.site-info {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--secondary);
    font-size: 0.9rem;
}

/* ===== BUTTON STYLES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    font-size: 1rem;
}

.btn:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 157, 143, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    border-color: var(--secondary);
    color: var(--accent);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary);
}

/* ===== ELEMENTOR COMPATIBILITY ===== */
.elementor-page .main-content {
    margin-top: 0;
}

.elementor-page .site-header {
    position: relative;
}

/* Ensure Elementor sections have proper spacing */
.elementor-section {
    position: relative;
}

/* ===== WORDPRESS EDITOR COMPATIBILITY ===== */
.wp-block-group, .wp-block-columns, .wp-block-image {
    margin-bottom: 2rem;
}

.alignwide {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .main-content {
        margin-top: 120px;
    }
    
    .entry-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .main-navigation a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .site-title-section .site-title a {
        font-size: 1.2rem;
    }
    
    .entry-title {
        font-size: 1.8rem;
    }
}