/*
Theme Name: ADF Minimalist
Description: Clean, minimalist theme for Airline Dispatchers Federation - Internal Use Only
Version: 1.0
Author: Airline Dispatchers Federation
License: All Rights Reserved
License URI: See LICENSE file
Text Domain: adf
*/

/* Reset and Base Styles */
* {
    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;
    background-color: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #03254e;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

a {
    color: #03254e;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3c424f;
}

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

/* Header */
.site-header {
    background-color: #03254e;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.site-title:hover {
    color: #e0e0e0;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.current {
    border-bottom-color: #e0e0e0;
}

/* Member Status Indicator */
.member-status {
    background-color: rgba(255,255,255,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-left: 1rem;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.content-area {
    background-color: white;
}

/* Post/Page Content */
.entry-header {
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

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

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

.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Member-Only Content Styling */
.member-content {
    background-color: #f8f9fa;
    border: 1px solid #03254e;
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.member-content::before {
    content: "Members Only";
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: #03254e;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #03254e;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: #3c424f;
    color: white;
}

.btn-secondary {
    background-color: #3c424f;
}

.btn-secondary:hover {
    background-color: #03254e;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #03254e;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #03254e;
    box-shadow: 0 0 0 2px rgba(3, 37, 78, 0.1);
}

/* Footer */
.site-footer {
    background-color: #3c424f;
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #e0e0e0;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
    font-size: 0.875rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* Footer Collapsible Panels */
.footer-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-toggle::after {
    content: '+';
    float: right;
    transition: transform 0.3s ease;
}

.footer-toggle.active::after {
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation {
        margin-top: 1rem;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: rgba(3, 37, 78, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-menu.toggled {
        display: flex;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .member-status {
        margin: 1rem 0 0 0;
    }
    
    .footer-toggle {
        display: block;
    }
    
    .footer-section > *:not(.footer-toggle) {
        display: none;
    }
    
    .footer-section.active > *:not(.footer-toggle) {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-section {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 1rem 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .container {
        padding: 0 15px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

/* WordPress Specific */
.wp-block-group {
    margin-bottom: 2rem;
}

.aligncenter {
    text-align: center;
}

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

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