/*
 Theme Name:   Hello Elementor Child
 Theme URI:
 Description:  A child theme for Hello Elementor
 Author:       U
 Author URI:
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Tags:
 Text Domain:  hello-elementor-child
*/

/* Custom styles for site ID 281 (mexxworks2) */

:root {
    --primary-color: #1b6ca4;
    --secondary-color: #062332;
    --background-color: #ecedef;
    --accent-color: #ffffff;
    --text-color: #0B0C0E;
}

/* Integrate root to elementor-kit ONLY ADJUST THE :ROOT IF COLORS NEED TO BE ADJUSTED */

.elementor-kit-14 {
    --e-global-color-primary: var(--primary-color) !important;
    --e-global-color-secondary: var(--secondary-color) !important;
    --e-global-color-text: var(--text-color) !important;
    --e-global-color-accent: var(--accent-color) !important;

    --e-global-typography-primary-font-family: "Barlow" !important;
    --e-global-typography-primary-font-weight: 600 !important;
    --e-global-typography-secondary-font-family: "Barlow" !important;
    --e-global-typography-secondary-font-weight: 400 !important;
    --e-global-typography-text-font-family: "Barlow" !important;
    --e-global-typography-text-font-weight: 400 !important;
    --e-global-typography-accent-font-family: "Barlow" !important;
    --e-global-typography-accent-font-weight: 500 !important;
}

/* After above integration the layout will shift/adjust to intended company style and the above styles/values will mostly be automaically filled because of this setup */

/* Body Background Color */
body { background-color: var(--background-color); }

/* Scrollbar customized */
body::-webkit-scrollbar {
	width: 0.6em;}
button.elementor-button.elementor-size-sm {
    cursor: pointer!important;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  background-size: auto 500%; /* Adjusted for vertical animation */
  border-radius: 0px;
  outline: 0px solid;
}

    /* Caret Down SVG - Default Color */
    .elementor-nav-menu--dropdown .e-font-icon-svg.e-fas-caret-down {
        transition: fill 0s ease-in-out;
		fill: var(--text-color) !important;
    }


/* Elementor Dropdown Menu - Mobile */
@media (max-width: 767px) { /* Targeting mobile */

    /* Caret Down SVG */
    .elementor-nav-menu--dropdown .e-font-icon-svg.e-fas-caret-down {
        transition: fill 0.0s ease-in-out; /* Smooth transition */
    }

    /* Change caret down color to white on hover */
    .elementor-nav-menu--dropdown a:hover .e-font-icon-svg.e-fas-caret-down {
        fill: var(--accent-color) !important;
    }

}

/* Base font and layout settings */

html {
    font-family: 'Barlow', sans-serif;
    font-size: 16px; /* Base font size */
    font-weight:300;
    line-height: 32px; /* Base line height */
    box-sizing: border-box;
	color: var(--text-color);
}

body {
    font-size: 16px; /* Body font size */
    font-weight:300;
    line-height: 32px; /* Corresponds to line height */
	margin:0px;
	overflow-x: hidden;
}

/* Headings DESKTOP */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700; /* Bold headings */
    margin: 0;
}

h1 {
    font-size: 42px; /* Desktop */
    line-height: 70px!important;
}

h2 {
    font-size: 33px; /* Desktop */
    line-height: 57px!important;
}

h3 {
    font-size: 26px; /* Desktop */
    line-height: 46px!important;
}

h4 {
    font-size: 20px; /* Desktop */
    line-height: 38px;
}

h5 {
    font-size: 16px; /* Desktop */
    line-height: 32px;
}

h6 {
    font-size: 13px; /* Desktop */
    line-height: 28px;
}

/* Headings en logo formaat TABLET */
@media (max-width: 1186px) {

    h1 {
        font-size: 33px; /* Same as desktop h2 */
        line-height: 57px!important;
    }
    h2 {
        font-size: 26px; /* Same as desktop h3 */
        line-height: 46px!important;
    }
    h3 {
        font-size: 20px; /* Same as desktop h4 */
        line-height: 38px!important;
    }
    h4 {
        font-size: 16px; /* Same as desktop h5 */
        line-height: 32px;
    }
    h5 {
        font-size: 13px; /* Same as desktop h6 */
        line-height: 28px;
    }
    h6 {
        font-size: 11px; /* Slightly smaller for h6 */
        line-height: 24px;
    }
}


/* Headings en logo formaat MOBILE */
@media (max-width: 767px) {

    h1 {
        font-size: 26px; /* Same as desktop h3 */
        line-height: 46px!important;
    }
    h2 {
        font-size: 20px; /* Same as desktop h4 */
        line-height: 38px!important;
    }
    h3 {
        font-size: 16px; /* Same as desktop h5 */
        line-height: 32px!important;
    }
    h4 {
        font-size: 13px; /* Same as desktop h6 */
        line-height: 28px;
    }
    h5 {
        font-size: 11px; /* Smaller */
        line-height: 24px;
    }
    h6 {
        font-size: 10px; /* Very small */
        line-height: 20px;
    }

    body {
        background-color: var(--background-color); /* Mobile solid background */
    }
}

/* ALLE */

/* Links en rechts maken met spanID="makeLeft" */
#makeLeft {float:left;}
#makeRight {float:right;}

/* Pictogram afstanden */
.pic {margin-bottom:-4px;}
.picto {margin-bottom:-1px;}

/* Link Hover Colors (wit op donker) */
.white a {color:var(--accent-color);text-decoration:none!important; font-weight:300;}
.white a:hover {text-decoration:underline!important;}

/* Link Hover Colors (headers and footers) (donker op wit) */
.whitehf a {color:var(--accent-color);text-decoration:none!important; font-weight:300;}
.whitehf a:hover {color:var(--accent-color);text-decoration:underline!important;}

/* Link Hover Colors (donker op wit) */
.dark a:hover {color: var(--primary-color);}

/* Link Hover Colors (wit op donker) */
.light,
.reverse {
    color: var(--accent-color) !important;
}

.light a,
.reverse a {
    color: var(--accent-color);
}

/* Paragraphs and Text */
p {
    margin: 0px; /* No spacing after paragraphs */
    line-height: 32px; /* Matches the body line height */
    max-width: 1280px; /* Maintain consistent content width */
}

a {
    color: var(--primary-color); /* Link color */
}

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 0 0 1.5rem;
    padding: 0 0 0 20px; /* Indent list items */
    line-height: 32px; /* Consistent with body line height */
}

/* Body Elementor Button Style */

body .elementor-button {border-radius: 0px; padding: 20px 32px; background-color: var(--primary-color);}

.elementor-nav-menu--main .elementor-nav-menu a {
    transition: .0s!important;}

.elementor-button {
    transition: all .0s!important;}

.elementor-nav-menu--main .elementor-nav-menu a { transition: .0s; transition-duration: 0.0s;}

/* Button Styles */
button, .button, .elementor-button {
    /* Typography */
    font-family: inherit; /* Use inherited font family */
    font-size: 16px; /* Adjust as needed */
    font-weight: 300;
    text-transform: uppercase; /* Example styling, adjust as needed */
    letter-spacing: 0px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.0); /* Text shadow for normal state */
    color: var(--accent-color); /* Maintain readable Text color */
    text-decoration: none;

    /* Background */
    /* background: linear-gradient(120deg, var(--primary-color), var(--secondary-color)); /* Gradient background */
	background-color: var(--text-color);
    background-size: 200% 200%; /* Enhance gradient effect */
    transition: background-position 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */

    /* Box Shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.0); /* Example shadow */

    /* Borders */
    border: none; /* No border */
    border-radius: 0px; /* No rounding on corners */

    /* Padding */
    padding: 20px 32px; /* Top/Bottom: 20px, Left/Right: 32px */
}

/* Button Hover State */
button:hover, .button:hover, .elementor-button:hover {
	background-color: var(--secondary-color);
    background-position: 100% 0; /* Animate gradient background */
    color: var(--accent-color); /* Maintain text color */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.0); /* Slightly larger shadow on hover */
	text-decoration:none;
}

/* Optional - Responsive Adjustments */
@media (max-width: 767px) {
    button, .button, .elementor-button {
        padding: 16px 24px; /* Reduce padding for smaller screens */
    }
}

/* Form Field Styles */
form .elementor-field-textual,
form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="tel"],
form input[type="url"],
form input[type="number"],
form input[type="search"],
form input[type="date"],
form textarea,
form select {
    /* Typography */
    font-family: 'Barlow', sans-serif; /* Updated font family */
    font-size: 16px; /* Font size */
    line-height: 1.5;
    color: var(--text-color); /* Normal text color */
    background-color: var(--background-color) !important; /* Background color */

    /* Borders */
    border: none; /* No border */
    border-radius: 0px; /* No border radius */

    /* Padding */
    padding: 12px 32px; /* Top/Bottom: 12px, Left/Right: 32px */

    /* Box Shadow */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.0); /* Subtle shadow for depth */

    /* Transition */
    transition: all 0.3s ease; /* Smooth transition effects */
}

/* Form Field Focus State */
form .elementor-field-textual:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="tel"]:focus,
form input[type="url"]:focus,
form input[type="number"]:focus,
form input[type="search"]:focus,
form input[type="date"]:focus,
form textarea:focus,
form select:focus {
    color: var(--text-color); /* Focus text color */
    background-color: var(--background-color); /* Focus background color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.0); /* Enhanced shadow on focus */
    outline: none; /* Remove default browser outline */
    border: 1px solid var(--text-color); /* Accent border color on focus */
}

/* Form Labels */
form label {
    font-size: 14px; /* Label font size */
    color: var(--text-color); /* Label color */
    margin-bottom: 8px; /* Spacing below label */
    display: block; /* Ensure labels are on their own line */
}

/* Textarea Specific */
form textarea {
    resize: none; /* Prevent resizing */
    padding: 12px 32px; /* Match padding with input fields */
}

/* Form Field Error State (Optional) */
form .error {
    border: 1px solid #ff0000; /* Red border for error */
    background-color: #ffe6e6; /* Light red background */
    color: #ff0000; /* Red text color */
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    form .elementor-field-textual,
    form input[type="text"],
    form input[type="email"],
    form input[type="password"],
    form input[type="tel"],
    form input[type="url"],
    form input[type="number"],
    form input[type="search"],
    form input[type="date"],
    form textarea,
    form select {
        padding: 10px 24px; /* Reduce padding for smaller screens */
    }

    form label {
        font-size: 12px; /* Smaller label font size for mobile */
    }

}

/* Design Plug Under Construction Logo */
.logo {
    background: linear-gradient(to left, var(--text-color) 20%, var(--primary-color) 30%, var(--secondary-color) 70%, var(--text-color) 80%);
    background-size: 500% auto;
    animation: logoShine 3s ease-in-out infinite;
    display: block;
    margin: 0 auto;
    -webkit-mask-image: url('https://designplug.nl/wp-content/uploads/site-connection/design-plug.svg');
    mask-image: url('https://designplug.nl/wp-content/uploads/site-connection/design-plug.svg');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center center;
    mask-position: center center;
    margin-bottom: 0px;
    width: 275px;
    height: 32px;
}

/* Container for the logo and DNS status */
@keyframes logoShine {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.wip-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wip-container .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

#update-site-url-btn {
    cursor: pointer;
	border-radius:16px;
	color: var(--accent-color);
    margin-top: 20px;
    background-color: (var--primary-color);
    transition: transform 0.3s ease;
}

#update-site-url-btn:hover {
	color: var(--accent-color);
	background-color: (var--secondary-color);
    transform: scale(1.03);
}

#redirect-site-url-btn {
    cursor: pointer;
	border-radius:16px;
	color: var(--accent-color);
    margin-top: 20px;
 background-color: (var--primary-color);
    transition: transform 0.3s ease;
}

#redirect-site-url-btn:hover {
    color: var(--accent-color);
 background-color: (var--secondary-color);
    transform: scale(1.03);
}

#dns-status {
    margin-top: 32px;
    font-size: 16px !important;
    font-weight: bold !important;
    background-color: var(--accent-color) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    color: var(--text-color) !important;
    text-align:center;
}

/* DNS Status Styling */

#dns-status.dns-success {
    color: green!important;
}

#dns-status.dns-error {
    color: red!important;
}

#ssl-status {
    display: none;
}

/* SSL Status Styling */
#ssl-status {
    margin-top: 32px;
    font-size: 16px !important;
    font-weight: bold !important;
    background-color: var(--accent-color) !important;
    border-radius: 16px !important;
    padding: 32px !important;
    color: var(--text-color) !important;
    text-align: center;
}

/* Different state colors for SSL status */
#ssl-status.ssl-success {
    color: green !important;
}
#ssl-status.ssl-pending {
    color: orange !important;
}
#ssl-status.ssl-installing {
    color: orange !important;
}

/* WooCommerce CSS-styling */

/* Woo Hover Image Animation*/

.woocommerce ul.products li.product a img {
    transition: transform 0.3s ease-in-out;
}

.woocommerce ul.products li.product a:hover img {
    transform: scale(1.03);
}

/* Woo Breadcrumb*/
.woocommerce .woocommerce-breadcrumb {
    margin: 0px;
    padding: 0px;
}

/* Ensure all product items have the same height */
.products.elementor-grid .product {
    display: flex;
    flex-direction: column;
    height: 100%; /* Makes each product item take full height */
}

/* Ensure the product title and price take up available space */
.products.elementor-grid .product a.woocommerce-LoopProduct-link {
    flex-grow: 1; /* This pushes the button to the bottom */
}

/* Align the button to the bottom */
.products.elementor-grid .product .button {
    align-self: flex-end;
}

#branda-cookie-notice .cookie-notice-container .branda-cn-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

#branda-cookie-notice .button, #branda-cookie-notice .button:link {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

    .site-title.show, .copyright.show, .page-header, .site-footer {
        display: none;
    }

    .site-description.show {
        display: none;
    }

.topbar a {color: var(--accent-color)!important; font-weight:300!important; font-size:13px!important;}
.logistiek-tekst {
  display: none; /* hide by default */
}

.logistiek:hover .logistiek-tekst {
  display: block; /* show when hovering .logistiek */
}
/* Prevent swiper bullets from causing horizontal scroll */
.swiper-pagination {
  max-width: 90vw;
  overflow-x: auto;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Hide scrollbars (optional) */
.swiper-pagination::-webkit-scrollbar {
  display: none;
}

.swiper-pagination {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}
.swiper-container, .elementor-widget-container {
  overflow-x: hidden;
}
