/*
Theme Name: CoffeManHits Theme
Theme URI: https://coffeemanhits.com/
Description: CoffeManHits LFMTE Theme
Version: 3.1
Author: Josh Abbott. Modified by: Inga Ozolina
*/

@charset "utf-8";

/* Import Google Fonts - Updated to include Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&family=Crimson+Pro:wght@300;400;500;600;700&display=swap');

/* Main font settings - Changed to Poppins */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #3e1e04;
    background-color: #c4923e;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #6a3005;
    margin-bottom: 0.75em;
}

/* Main styles for the top level of the main menu */
.lfm_menu_bar {
    background: linear-gradient(to bottom, #6a3005 0%, #c4923e 30%, #3e1e04 70%, #6a3005 100%);
    padding: 0 0 45px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(58, 30, 4, 0.3);
    border-bottom: 3px solid #3e1e04;
}

@media (max-width: 991.98px) {
    .lfm_menu_bar {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
}

/* Site logo styles */
.lfm_menu_logo {
    max-height: 45px;
    filter: drop-shadow(0 2px 4px rgba(58, 30, 4, 0.3));
}

@media (min-width: 992px) {
    .lfm_menu_logo {
        margin-right: 20px;
    }
}

/* Desktop View Settings */
@media (min-width: 992px) {
    body {
        margin: 0;
        background-color: #c4923e;
        background-repeat: repeat-x;
    }
    
    #headerwrapper {
        width: 100%;
        height: 300px;
        margin-right: auto;
        margin-left: auto;
        clear: both;
        background-color: #6a3005;
        box-shadow: 0 4px 15px rgba(58, 30, 4, 0.2);
    }
    
    #header {
        background-image: url(images/cmhheader.gif);
        background-repeat: no-repeat;
        background-color: #6a3005;
        background-position: center;
        width: 100%;
        max-width: 1300px;
        height: 300px;
        margin: 0 auto;
    }
    
    #footer {
        background-image: url(images/cmhfooter.jpg);
        background-repeat: no-repeat;
        background-position: center;
        width: 100%;
        max-width: 1300px;
        height: 150px;
        background-color: #6a3005;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }
    
    #footerwrapper {
        background-color: #6a3005;
        box-shadow: 0 4px 15px rgba(58, 30, 4, 0.2);
        width: 100%;
        position: relative;
        z-index: 1;
    }
}

/* Mobile View Settings */
@media (max-width: 992px) {
    body {
        margin: 0;
        background-color: #c4923e;
        /* Removed mobile header background image */
    }
    
    #footerwrapper {
        background-color: #6a3005;
        box-shadow: 0 -2px 10px rgba(58, 30, 4, 0.3);
        position: relative;
        z-index: 1;
    }
}

/* Navigation Links */
.lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link {
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 50%, #6a3005 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(58, 30, 4, 0.4);
}

.lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:hover {
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%);
    color: #ffffff;
}

@media (min-width: 992px) {
    .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
        margin: 0px 3px;
        padding: 8px 20px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        position: relative;
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link,
    .lfm_menu_bar .navbar-nav > .nav-item > .nav-link:hover {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
        content: "";
        background-color: transparent;
        width: calc(100% + 4px);
        height: 14px;
        position: absolute;
        bottom: -12px;
        left: -2px;
        border: 2px solid transparent;
        border-top: none;
    }
}

@media (max-width: 991.98px) {
    .lfm_menu_bar .navbar-nav > .nav-item > .nav-link {
        padding: 12px 20px;
        text-align: left;
        margin: 2px 0;
        border-radius: 6px;
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link {
        color: #ffffff;
        background: linear-gradient(135deg, #6a3005 0%, #3e1e04 100%);
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:hover {
        color: #ffffff;
        background: linear-gradient(135deg, #c4923e 0%, #6a3005 100%);
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item > .nav-link:after {
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-bottom: 0;
        border-left: 0.3em solid transparent;
        color: #ffffff;
        transform: rotate(-90deg);
        position: absolute;
        right: 1.25rem;
        transition: all 0.3s ease;
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_opened > .nav-link:after {
        color: #ffffff;
        transform: rotate(0deg);
    }
    
    .lfm_menu_bar .navbar-nav > .nav-item.lfm_tab_closed > .nav-link:after {
        color: #ffffff;
        transform: rotate(-90deg);
    }
}

/* Second level menu */
.lfm_menu_tab {
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%);
    position: absolute;
    display: none;
    left: 0;
    top: 100%;
    z-index: 999;
    width: 100%;
    font-weight: 600;
    border: 2px solid #3e1e04;
    box-shadow: 0 8px 20px rgba(58, 30, 4, 0.4);
    border-radius: 0 0 8px 8px;
}

li.lfm_tab_opened .lfm_menu_tab {
    display: flex;
}

@media (max-width: 991.98px) {
    .lfm_menu_tab {
        background: linear-gradient(135deg, #6a3005 0%, #c4923e 100%);
        position: relative;
        flex-direction: column;
        top: 0;
        padding: 8px 0;
        border-radius: 6px;
        margin-top: 5px;
    }
    
    li.lfm_tab_closed .lfm_menu_tab {
        display: none;
    }
}

.lfm_menu_tab > li > a {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    padding: 0 25px;
    line-height: 50px;
    color: #ffffff;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lfm_menu_tab > li > a:hover {
    background: linear-gradient(135deg, #c4923e 0%, #6a3005 50%, #c4923e 100%);
    color: #ffffff;
    transform: translateX(5px);
}

.lfm_menu_tab .dropdown-menu a {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    padding: 0 25px;
    line-height: 40px;
    color: #c4923e;
    text-decoration: none;
    white-space: nowrap;
    display: block;
    background-color: #3e1e04;
    transition: all 0.3s ease;
    border-bottom: 1px solid #c4923e;
}

.lfm_menu_tab .dropdown-menu a:hover {
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 100%);
    color: #c4923e;
    transform: translateX(5px);
}

@media (max-width: 991.98px) {
    .lfm_menu_tab > li > a {
        padding-left: 40px;
        line-height: 45px;
        width: 100%;
        border-bottom: 1px solid #c4923e;
    }
    
    .lfm_menu_tab .dropdown-menu a {
        padding-left: 60px;
        line-height: 35px;
        border-bottom: 1px solid #c4923e;
    }
}

/* Links */
a {
    color: #6a3005;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

a:hover {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: #c4923e;
    text-decoration-style: dotted;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* Buttons - General styling */
.buttonlink, button, input[type="submit"], input[type="button"], .btn {
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 50%, #6a3005 100%);
    border-radius: 12px;
    border: 2px solid #3e1e04;
    display: inline-block;
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 32px;
    margin: 6px 4px;
    text-decoration: none !important;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(58, 30, 4, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buttonlink:before, button:before, input[type="submit"]:before, input[type="button"]:before, .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.buttonlink:hover, button:hover, input[type="submit"]:hover, input[type="button"]:hover, .btn:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%);
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(58, 30, 4, 0.6);
    border-color: #c4923e;
}

.buttonlink:hover:before, button:hover:before, input[type="submit"]:hover:before, input[type="button"]:hover:before, .btn:hover:before {
    left: 100%;
}

/* FOOTER BUTTONS - Specific styling to fix conflicts */
.footer-nav-btn {
    font-family: 'Manrope', sans-serif !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 50%, #6a3005 100%) !important;
    border-radius: 12px !important;
    border: 2px solid #3e1e04 !important;
    display: inline-block !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    margin: 8px 6px !important;
    text-decoration: none !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 6px 20px rgba(58, 30, 4, 0.4) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
}

.footer-nav-btn:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: left 0.6s ease !important;
}

.footer-nav-btn:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%) !important;
    text-decoration: none !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 35px rgba(58, 30, 4, 0.6) !important;
    border-color: #c4923e !important;
}

.footer-nav-btn:hover:before {
    left: 100% !important;
}

.footer-nav-btn span {
    color: inherit !important;
}

.footer-nav-btn:hover span {
    color: inherit !important;
}

/* Ensure footer wrapper doesn't interfere with buttons */
#footerwrapper center,
#footerwrapper .nav-links {
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

/* Override any Bootstrap conflicts specifically for footer */
#footerwrapper .btn,
#footerwrapper .btn-primary,
#footerwrapper .btn-default {
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 50%, #6a3005 100%) !important;
    border: 2px solid #3e1e04 !important;
    color: #ffffff !important;
    text-transform: none !important;
}

#footerwrapper .btn:hover,
#footerwrapper .btn-primary:hover,
#footerwrapper .btn-default:hover {
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%) !important;
    border-color: #c4923e !important;
    color: #ffffff !important;
}

/* Info bar */
.infobar {
    width: 100%;
    padding: 20px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #6a3005 0%, #3e1e04 100%);
    box-shadow: 0 4px 15px rgba(58, 30, 4, 0.3);
}

.infobar h2 {
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Vertical center utility */
.vcenter {
    display: flex;
    align-items: center;
}

/* Text styles */
.lfm_title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #6a3005;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(58, 30, 4, 0.2);
    margin-bottom: 1em;
}

.lfm_descr {
    font-family: 'Poppins', sans-serif;
    color: #3e1e04;
    font-size: 20px;
    line-height: 1.7;
}

.lfm_descr_bold {
    font-family: 'Poppins', sans-serif;
    color: #3e1e04;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.7;
}

/* Icons */
.far, .fas {
    margin-right: 5px;
    color: #6a3005;
}

.feedicon {
    color: #c4923e;
    font-size: 22px;
    margin-right: 8px;
    filter: drop-shadow(0 1px 2px rgba(58, 30, 4, 0.3));
}

/* Profile pictures */
.profilepic_small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #6a3005;
    box-shadow: 0 2px 8px rgba(58, 30, 4, 0.3);
}

.profilepic_med {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    border: 3px solid #6a3005;
    box-shadow: 0 4px 12px rgba(58, 30, 4, 0.3);
}

.profilepic_large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid #6a3005;
    box-shadow: 0 8px 20px rgba(58, 30, 4, 0.3);
}

/* Additional styling for forms and inputs - Updated to remove gray colors */
input, textarea, select {
    font-family: 'Poppins', sans-serif;
    border: 2px solid #6a3005;
    border-radius: 6px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.95);
    color: #3e1e04;
    transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #c4923e;
    box-shadow: 0 0 10px rgba(196, 146, 62, 0.3);
    color: #3e1e04;
}

/* Placeholder text styling - Changed from gray to dark brown */
input::placeholder, textarea::placeholder {
    color: #3e1e04;
    opacity: 0.7;
}

/* Additional text color fixes for common gray text elements */
.text-muted, .muted, .small, small {
    color: #3e1e04 !important;
}

/* Textarea specific styling */
textarea {
    font-family: 'Poppins', sans-serif;
    color: #3e1e04;
    resize: vertical;
    min-height: 100px;
}

/* Select dropdown styling */
select {
    font-family: 'Poppins', sans-serif;
    color: #3e1e04;
    background-color: rgba(255, 255, 255, 0.95);
}

select option {
    color: #3e1e04;
    background-color: #ffffff;
}

/* Form labels */
label {
    font-family: 'Poppins', sans-serif;
    color: #3e1e04;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Ensure Bootstrap buttons don't conflict with custom styling */
.btn-primary, .btn-success, .btn-info, .btn-warning, .btn-danger {
    background: linear-gradient(135deg, #6a3005 0%, #c4923e 50%, #6a3005 100%) !important;
    border-color: #3e1e04 !important;
    color: #ffffff !important;
}

.btn-primary:hover, .btn-success:hover, .btn-info:hover, .btn-warning:hover, .btn-danger:hover {
    background: linear-gradient(135deg, #3e1e04 0%, #6a3005 50%, #3e1e04 100%) !important;
    border-color: #c4923e !important;
    color: #ffffff !important;
}

/* Mobile responsiveness for footer buttons */
@media (max-width: 768px) {
    .footer-nav-btn {
        font-size: 14px !important;
        padding: 10px 16px !important;
        margin: 4px 3px !important;
        display: inline-block !important;
        width: auto !important;
    }
    
    #footerwrapper center {
        padding: 15px 10px;
    }
    
    .lfm_title {
        font-size: 28px;
    }
    
    .lfm_descr, .lfm_descr_bold {
        font-size: 18px;
    }
    
    .buttonlink, button, input[type="submit"], input[type="button"], .btn {
        font-size: 18px;
        padding: 14px 24px;
    }
    
    a {
        font-size: 16px;
    }
    
    body {
        font-size: 16px;
    }
}

/* Fix for potential conflicts with page content */
.container table {
    background-color: transparent;
}

.container .table {
    color: #3e1e04;
}

.container .table td {
    background-color: transparent;
    border-color: #6a3005;
}