/* -------------------- Base Styles -------------------- */
body, html {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: #f4f4f4;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    color: #444;
}

legend {
    padding: 7px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

label {
    font-size: 12px;
    font-weight: normal;
}

button:focus {
    outline: none !important;
}

/* -------------------- Container -------------------- */
#container {
    width: 100%;
    min-height: 100%;
    position: relative;
    margin-bottom: 300px;
}

/* -------------------- Alerts -------------------- */
#alert {
    z-index: 9999;
    position: fixed;
    top: 30%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
}
@media (min-width: 992px) {
    #alert { width: 600px; margin-left: -300px; }
}
#alert .alert {
    margin-bottom: 15px;
}
#alert .alert-primary { box-shadow: 0 0 0 5px rgba(0,123,255,0.1); }
#alert .alert-success { box-shadow: 0 0 0 5px rgba(40,167,69,0.1); }

/* -------------------- Top Bar -------------------- */
#top {
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    margin-bottom: 20px;
    padding-bottom: 5px;
}
#top ul.list-inline {
    margin-bottom: 0;
}
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
    font-size: 1.1em;
    color: var(--bs-gray-600, #6c757d);
    line-height: 40px;
    vertical-align: middle;
    padding: 10px 0 5px 0;
}

/* -------------------- Logo -------------------- */
#logo {
    text-align: center;
    margin: 7px 0;
}
#logo img { max-width: 200px; }
@media (min-width: 768px) { #logo { text-align: left; } }

/* -------------------- Search -------------------- */
#search {
    margin-bottom: 10px;
}
#search .form-control-lg {
    height: 40px;
    font-size: 12px;
    line-height: 20px;
    padding: 0 10px;
}
#search .btn-lg {
    font-size: 15px;
    line-height: 18px;
    padding: 0.57rem 35px;
    text-shadow: 0 1px 0 #FFF;
}

/* -------------------- Cart -------------------- */
#cart {
    margin-bottom: 10px;
}
#cart .img-thumbnail { min-width: 100px; }
#cart .btn-lg {
    font-size: 15px;
    line-height: 18px;
    padding: 14px 35px;
}
#cart .dropdown-menu {
    background: #eee;
}
#cart .dropdown-menu li {
    min-width: 300px;
}
@media (max-width: 768px) {
    #cart .dropdown-menu li { min-width: 100%; }
}

/* -------------------- Menu -------------------- */
#menu {
    background-color: #f8f9fa !important; /* light grey like WordPress menu */
    border: 1px solid #888 !important;
    border-radius: 8px !important;
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
}

/* Menu links */
#menu ul.navbar-nav,
#menu ul.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 25px;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

#menu li a,
#menu a.nav-link {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #212529 !important;     /* default menu text color */
    /* preserve existing padding and other stuff you already have */
}

#menu li a:hover,
#menu a.nav-link:hover {
    color: #80656b !important;       /* hover color like WP */
}

/* Dropdown menus */
#menu .dropdown-menu {
    background-color: #f8f9fa !important;
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
}

/* Responsive menu */
@media (max-width: 992px) {
    #menu > ul { flex-direction: column !important; }
    #menu > ul > li > a { padding: 0.5rem 1rem !important; }
}

/* -------------------- Product Thumbs -------------------- */
.product-thumb {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.product-thumb:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }

.product-thumb .image {
    text-align: center;
}

.product-thumb .image a:hover { opacity: 0.8; }

.product-thumb .description {
    padding: 15px;
    margin-bottom: 45px;
}

.product-thumb .description h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.product-thumb .button {
    display: flex;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.product-thumb .button button {
    width: 33.33%;
    border: none;
    border-top: 1px solid var(--bs-border-color, #dee2e6);
    background-color: var(--bs-tertiary-bg, #f8f9fa);
    color: #495057;
    line-height: 38px;
    text-align: center;
}

.product-thumb .button button:hover {
    background-color: #ddd;
    color: #333;
    cursor: pointer;
}

.product-thumb .button button + button {
    border-left: 1px solid var(--bs-border-color, #dee2e6);
}

/* Ensure icons inside products are properly aligned */
.product-thumb i,
.product-thumb .fa {
    vertical-align: middle;
    margin-right: 5px;
    font-size: 14px;
}

/* -------------------- Footer -------------------- */
footer, #footer {
    background-color: #2c2c2c;
    color: #ccc;
    padding: 30px 0;
}

footer a, #footer a {
    color: #bbb;
    text-decoration: none;
}

footer a:hover, #footer a:hover { color: #fff; }

footer h5 {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    margin: 10px 0;
}







/* -------------------- Buttons -------------------- */
.btn, .btn-primary {
    background-color: #555;
    border-color: #444;
    color: #fff;
    border-radius: 25px;
    padding: 8px 18px;
}

.btn:hover, .btn-primary:hover {
    background-color: #333;
    border-color: #222;
}






/* -------------------- Breadcrumb -------------------- */
.breadcrumb {
    margin: 0 0 20px 0;
    padding: 8px 0;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 4px;
    background-color: var(--bs-tertiary-bg, #f8f9fa);
}

.breadcrumb i { font-size: 15px; }

.breadcrumb > li.breadcrumb-item {
    text-shadow: 0 1px 0 #FFF;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
}

.breadcrumb > li.breadcrumb-item > a { text-decoration: none; }

.breadcrumb > li.breadcrumb-item:after {
    content: "";
    display: block;
    position: absolute;
    top: -3px;
    right: -5px;
    width: 29px;
    height: 29px;
    border-right: 1px solid var(--bs-border-color, #dee2e6);
    border-bottom: 1px solid var(--bs-border-color, #dee2e6);
    transform: rotate(-45deg);
}

/* -------------------- Links -------------------- */
a {
    color: #555;
    text-decoration: none;
}
a:hover { color: #333; text-decoration: underline; }

/* -------------------- Input fields -------------------- */
input[type="text"], input[type="password"], select, textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
}

/* -------------------- Background Image -------------------- */
html {
    background-image: url('https://www.bushtobeachfabrication.com/wp-content/uploads/2025/09/background-scaled.jpg') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-color: #f4f4f4 !important;
}

body,
#container, .container, #content, .wrapper, .main {
    background: transparent !important;
}

/* -------------------- Slideshow -------------------- */
#slideshow0,
#slideshow0 .carousel-inner,
.carousel-inner {
    background-color: #ffffff !important;
    width: 100% !important;
    margin: 0;
    padding: 0;
}

/* -------------------- Container Width -------------------- */
.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Fix the alignment of the buttons/icons in product boxes */
.product-thumb .button {
    display: flex !important;
    justify-content: space-between !important; /* spread buttons evenly */
    align-items: center !important;            /* vertically center icons */
    width: 100% !important;
    bottom: 0;
    position: absolute;
    left: 0;
    padding: 0;                                 /* remove extra padding */
}

.product-thumb .button button {
    flex: 1;                                    /* equal width for all buttons */
    display: flex;
    justify-content: center;                    /* center the icon inside button */
    align-items: center;                        /* vertically center */
    padding: 8px 0;                             /* adjust vertical spacing */
    border-left: 1px solid var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
}

.product-thumb .button button:first-child {
    border-left: none;                          /* no left border on first button */
}

/* Add gap between top menu and slideshow */
#menu {
    margin-bottom: 20px !important; /* adds space below menu */
}

#menu li a i {
    margin-right: 6px;        /* space between icon and text */
    vertical-align: middle;   /* align with text */
    font-size: 16px;          /* adjust size */
    color: inherit;           /* use the same color as the link */
}

#menu .nav-link i {
    margin-right: 6px;        /* space between icon and text */
    font-size: 14px;          /* match the text height */
    vertical-align: middle;   /* aligns icon with text */
    line-height: 1;           /* prevent extra height */
}

#menu li a,
#menu a.nav-link {
    padding-top: 0.005rem !important;
    padding-bottom: 0.005rem !important;
}

#logo img {
    max-width: 240px; /* increase from 200px */
    height: auto;     /* keeps aspect ratio */
}

#menu {
    border-color: #999 !important; /* slightly darker than before */
}




