/*
Theme Name: Buddy Fred's
Theme URI: https://buddyandfredshardware.com/
Author: Suite 171
Author URI: null
Description: Custom theme for Buddy & Fred's Hardware shop
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buddyfreds
Tags: shop, hardware
*/
body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}
/* top bar and footer bar **/
.topbar {
	background: #000;
	color: #fff;
}
.bottom-bar{
	background: #000;
	color: #fff;
}
/* Slide-in drawer animation */
#drawer {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}
#drawer.open {
    transform: translateX(0);
}

.carousel-slide {
    display: none;
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
}
.carousel-slide.active {
    display: block;
}

/* contact page style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
p {
    margin-bottom: 10px !important;
}
h4{
    margin-bottom: 15px !important;
}
.main-nav a, .main-nav button{
	color: #000;
}
.main-nav-dropdown {
	border-color: #000;
	border-top-color: transparent;
}
.main-nav-dropdown li {
	color: #000;
}
.main-nav-dropdown li.text-white {
	color: #000;
}
.main-nav-dropdown-submenu{
	background: #fff;
    border-left: transparent;
}
.main-nav-dropdown-submenu a {
	color: #000;
}
.contact-header {
    background: #ffcc28;
    color: #fff;
    text-align: center;
}

.contact-header h1 {
    font-size: 2rem;
    font-weight: 600;
}

.page-container {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    padding: 0 40px;
    gap: 50px;
}
.page-container .page-content{
    flex: 1;
}
.contact-container {
    display: flex;
    justify-content: space-between;
    margin: 40px auto;
    padding: 0 20px;
    gap: 40px;
}

.form-container {
    flex: 2;
}

.contact-info {
    flex: 1;
    font-size: 0.95rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-info h4 {
    margin-top: 20px;
    margin-bottom: 5px;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 0.9rem;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #aaa;
    border-radius: 2px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: outline 0.2s ease, border-color 0.2s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline-offset: 1px;
    border-color: #ffcc29;
}

.form-group {
    display: flex;
    justify-content: space-between;
}

.form-group div {
    flex: 1;
}

textarea {
    resize: none;
}

.submit-btn,.wpcf7-submit {
    background: #fff;
    border: 1px solid #ffcc29;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ae8e00c1;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
	.page-container{
		display: block;
	}

    .form-group {
        flex-direction: column;
    }
	.footer-nav-sm a {
		font-size: 18px;
	}
	
}
/* logo size 25% larger on desktop view */
@media (min-width: 1024px) {
.site-logo{
	scale:1.25;
	}
}
