/* Make logo white/inverted */
.custom-logo {
    filter: brightness(0) invert(1);
    max-height: 50px;
    width: auto;
}

/* Or use this for better control */
.site-logo img,
.custom-logo {
    filter: drop-shadow(0 0 0 #fff) brightness(0) invert(1);
}

/********** Header ********************************************************************/
.quick-search {border-bottom:1px solid rgba(255,255,255,0.3);}
.quick-search .form-control {background:transparent; border:none; box-shadow:none; color:#fff; padding:0px;}
.quick-search .form-control::placeholder {color:rgba(255,255,255,0.7);}
.quick-search .btn {background:transparent !important; border:none; padding:0px; color:#fff;}
.quick-search .btn:hover {color:#D98A2C;}
.badge {padding: 0.35em 0.45em; font-size: .55em; border-radius: 50%; margin: 0 0 0 -7px; background:#D98A2C; color:#1E1E1E;}

/* Header background - Dark Charcoal */
.site-header, .navbar {background-color:#a34d00  !important;}
.navbar-dark .navbar-nav .nav-link {color:#E8E0D5;}
.navbar-dark .navbar-nav .nav-link:hover {color:#D98A2C;}

/********** MainBanner **************************************************************************************************/
.carousel-caption,.max-width {bottom:auto; z-index:9;}
.overlay {background:rgba(0,0,0,0.42); z-index:1;}

/********** image hovereffect **************************************************************************************************/
.hovereffect img {position:relative; -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(-10px,0,0); transform: translate3d(-10px,0,0);}
.hovereffect:hover img {opacity: 0.4; filter: alpha(opacity=40); -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}

.hovereffect h2 {text-transform: uppercase; color: #fff; padding: 0.4em 0; background-color: transparent;}
.hovereffect h2:after {position: absolute; bottom:0; left:0; width:100%; height:2px; background:#D98A2C; content:''; -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s; -webkit-transform: translate3d(-100%,0,0); transform: translate3d(-100%,0,0);}
.hovereffect:hover h2:after {-webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}

.hovereffect a, .hovereffect p {color: #FFF; font-size:20px; opacity: 0; filter: alpha(opacity=0); -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s; -webkit-transform: translate3d(100%,0,0); transform: translate3d(100%,0,0);}
.hovereffect:hover a, .hovereffect:hover p {opacity: 1; filter: alpha(opacity=100); -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);}

/********** content ***************************************************************************************************/
/* Body background - Warm Cream */
body {background-color:#F9F6F0; color:#3E2A23;}

/* Content area styling */
.content-area, .main-content {background-color:#F9F6F0;}

/* Headings */
h1, h2, h3, h4, h5, h6 {color:#3E2A23;}

#newsletter { background: url(../images/newsbg.jpg) no-repeat center center; background-size:cover; min-height:auto; font-size:18px;}
#newsletter .form-control {height:60px; border-radius:0;}

/* Primary Buttons - Rust/Terracotta */
.btn-primary, 
.wpcf7-submit, 
input[type="submit"],
button[type="submit"] {
    background-color:#B15E3A !important;
    border-color:#B15E3A !important;
    color:#fff !important;
    transition: all 0.3s ease;
}
.btn-primary:hover, 
.wpcf7-submit:hover, 
input[type="submit"]:hover,
button[type="submit"]:hover {
    background-color:#D98A2C !important;
    border-color:#D98A2C !important;
    color:#1E1E1E !important;
}

/* Secondary Buttons */
.btn-secondary {background-color:#D98A2C; border-color:#D98A2C; color:#1E1E1E;}
.btn-secondary:hover {background-color:#C97E2A; border-color:#C97E2A; color:#fff;}

/********** Footer ***************************************************************************************************/
/* Footer background - Warm Dark Wood */
#Footer, footer, .site-footer {background-color:#000 !important; color:#D1C7B8;}
#Footer a {color:#D1C7B8; padding: 0px; text-decoration:none;}
#Footer a:hover, #Footer a.active {color:#D98A2C;}

.copyright {font-size:12px; color:#D1C7B8; padding:15px 0;}

/********** DROPDOWN-MENU *******************************************************************/
.dropdown-menu {
    display:none !important;
    background-color:#2C2C2C;
    border:1px solid #3E2A23;
}
.dropdown:hover .dropdown-menu {display: block !important;}

.dropdown-menu .menu-item {
    padding:0px;
    white-space:nowrap
}
.dropdown-menu .menu-item .nav-link {
    font-size:18px;
    color:#E8E0D5 !important;
}
.dropdown-menu .menu-item .nav-link:hover {
    background-color:#b98600;
    color:#ffffff !important;
}
.caret:after {
    display: inline-block; 
    width: 0; 
    height: 0; 
    margin-left: .255em; 
    vertical-align: .255em;  
    content: ""; 
    border-top: .3em solid; 
    border-right: .3em solid transparent; 
    border-bottom: 0; 
    border-left: .3em solid transparent;
}

/********** BREADCRUMB *******************************************************************/
.breadcrumb {
    background-color: transparent !important;
    padding: 0px !important;
    margin-top: 15px;
    font-size: 15px;
    padding-bottom: 15px !important;
    border-bottom: dashed 1px #c2c2c2;
}
.breadcrumb a { 
    color:#B15E3A !important;
}
.breadcrumb a:hover {
    color:#D98A2C !important;
}
.breadcrumb li.active:before {
    content: "\00BB";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
    margin-left: 5px;
    font-weight: 900;
}

/********** CONTACT FORM 7 *******************************************************************/
input.wpcf7-form-control.has-spinner.wpcf7-submit.btn.btn-primary.px-4.text-white {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* CF7 Input fields styling */
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
    background-color:#fff;
    border:1px solid #D1C7B8;
    color:#3E2A23;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color:#D98A2C;
    outline:none;
    box-shadow:0 0 0 2px rgba(217,138,44,0.2);
}

/********** ADDITIONAL WOODWORKING THEME STYLES *******************************************/
/* Card styling for product display */
.card, .product-item {
    background-color:#fff;
    border:1px solid #E8E0D5;
    border-radius:8px;
    transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .product-item:hover {
    transform:translateY(-5px);
    box-shadow:0 10px 20px rgba(0,0,0,0.1);
}

/* Pricing / tags */
.price, .product-price {
    color:#B15E3A;
    font-weight:bold;
}

/* Pagination */
.pagination .page-link {
    color:#B15E3A;
    background-color:#fff;
    border-color:#D1C7B8;
}
.pagination .page-item.active .page-link {
    background-color:#B15E3A;
    border-color:#B15E3A;
    color:#fff;
}
.pagination .page-link:hover {
    background-color:#D98A2C;
    border-color:#D98A2C;
    color:#1E1E1E;
}

/* Perfect alignment for newsletter form */
.newsletter-form-horizontal {
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-form-horizontal .form-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: nowrap;
}

/* Email input field */
.newsletter-form-horizontal .newsletter-input {
    flex: 1;
    height: 52px !important;
    padding: 0 20px !important;
    font-size: 16px;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    line-height: 52px !important;
    margin: 0 !important;
}

.newsletter-form-horizontal .newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form-horizontal .newsletter-input:focus {
    outline: none;
    border-color: #D98A2C !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 0 2px rgba(217, 138, 44, 0.2);
}

/* Subscribe button - SAME HEIGHT as input */
.newsletter-form-horizontal .newsletter-btn {
    height: 52px !important;
    padding: 0 32px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 50px !important;
    background-color: #a34d00 !important;
    border: none !important;
    color: #fff !important;
    line-height: 52px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 0 !important;
}

.newsletter-form-horizontal .newsletter-btn:hover {
    background-color: #D98A2C !important;
    color: #1E1E1E !important;
    transform: translateY(-2px);
}

/* Remove CF7 default styles */
.newsletter-form-horizontal .wpcf7-form-control-wrap {
    flex: 1;
    margin: 0 !important;
}

.newsletter-form-horizontal .wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive - stack on mobile */
@media (max-width: 576px) {
    .newsletter-form-horizontal .form-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .newsletter-form-horizontal .newsletter-input,
    .newsletter-form-horizontal .newsletter-btn {
        width: 100%;
    }
}