/**
 * Main stylesheet
 *
 * @package camper-jack-service
 */

/* Base styles */
@import url('bulma.min.css');

/* Custom color overrides */
@import url('custom-colors.css');

/* Global styles */
@import url('global/typography.css');
@import url('global/header.css');
@import url('global/footer.css');

/* Component styles */
@import url('components/buttons.css');
@import url('components/forms.css');
@import url('components/scroll-hijacking.css');
/* woocommerce styles */
@import url('woocommerce.css');

/* Custom hero styles */
.hero-camper {
    background-size: cover;
    background-position: center;
    height: 500px;
}

/* WooCommerce Message */
.woocommerce-message {
    background-color: #effaf3;
    color: #257942;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* General utility classes */
body.mini-cart-open {
    overflow: hidden;
}

/* GTranslate Styling */
.cj-top-bar-translate {
    display: inline-block;
    margin-right: 15px;
    vertical-align: middle;
}

.cj-top-bar-translate .gt_container {
    margin: 0 !important;
}

.cj-top-bar-translate .gt_container .switcher {
    width: auto !important;
}

.cj-top-bar-translate .gt_container .switcher .selected {
    background: transparent !important;
    border: none !important;
}

.cj-top-bar-translate .gt_container .switcher .selected a {
    border: none !important;
    color: white !important;
    padding: 3px 5px !important;
    font-size: 0.85rem !important;
}

.cj-top-bar-translate .gt_container .switcher .selected a:hover {
    text-decoration: none;
}

.cj-top-bar-translate .gt_container .switcher .option {
    border-top: none !important;
    border-radius: 0 0 4px 4px;
}

/* The language dropdown in the main navigation that we no longer use */
.cj-language-dropdown .gt_container {
    display: none !important;
} 

/* Form Input Styling */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
    background-color: #ffffff;
    color: #000000 !important;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 16px;
    line-height: 1.5;
    width: 100%;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color, #ff8c00);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

input::placeholder,
textarea::placeholder {
    color: #828282 !important;
}

/* Cart Updating Overlay */
.cart-updating-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-updating-overlay:after {
    content: "";
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

strong, h1, h2, h3, h4, h5, h6, th {
    color: #000000!important;
}