/* Navigation and Button Styles - WolfeWare
 * Created: 03/24/2025
 * This file contains shared navigation and button styles for consistent UI across all pages
 */

/* Navigation Styles */
nav {     
    background-color: #2c2c2c;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: auto;
    display: inline-block;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

nav li {
    width: 100%;
    text-align: center;
    padding: 0 5px;
    box-sizing: border-box;
}

nav a {    
    display: block;
    padding: 12px 20px;
    margin: 8px 0;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1em;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: #3a3a3a;
    border: none;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-width: 140px;
}

nav a:link, nav a:visited { 
    color: #ffffff;
}

nav a:hover { 
    background-color: #f46e00;
    transform: translateX(10px);
    box-shadow: 0 2px 8px rgba(244,110,0,0.3);
} 

nav a.active {
    background-color: #f46e00;
    box-shadow: 0 2px 8px rgba(244,110,0,0.3);
}

/* Button Styles */
.btn, 
button[type="submit"],
.subscribe-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #f46e00;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

.btn:hover, 
button[type="submit"]:hover,
.subscribe-btn:hover {
    background-color: #d25c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(210, 92, 0, 0.3);
}

.btn:active,
button[type="submit"]:active,
.subscribe-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(210, 92, 0, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 8px rgba(90, 98, 104, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-green {
    background-color: #4CAF50;
}

.btn-green:hover {
    background-color: #3d8b40;
    box-shadow: 0 4px 8px rgba(61, 139, 64, 0.3);
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    nav {
        width: auto;
        max-width: 100%;
        padding: 12px;
    }
    
    nav li {
        padding: 0 4px;
    }
    
    nav a {
        padding: 10px 15px;
        font-size: 1em;
        min-height: 40px;
        margin: 6px 0;
        width: 100%;
        box-sizing: border-box;
        min-width: 120px;
    }
    
    .btn, 
    button[type="submit"],
    .subscribe-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        padding: 10px;
        width: 100%;
    }
    
    nav li {
        padding: 0 3px;
    }
    
    nav a {
        margin: 5px 0;
        min-height: 35px;
        padding: 8px 12px;
        width: 100%;
        box-sizing: border-box;
        min-width: 100px;
    }
    
    .btn, 
    button[type="submit"],
    .subscribe-btn {
        padding: 8px 16px;
        font-size: 14px;
        width: 100%;
    }
}