/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* General */

/* Font family */
body {
    font-family: "Inter", sans-serif;
    color: rgb(75, 85, 99);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    font-weight:500;
}

/* Johannes */
body {
    font-family: 'Inter', sans-serif;
}

/* Brand colors */
.brand-purple {
    background-color: #6B46C1;
}
.brand-purple-text {
    color: #6B46C1;
}
.brand-purple-border {
    border-color: #6B46C1;
}
.brand-purple:hover {
    background-color: #5534A5;
}

/* Carousel slide animation */
.carousel-slide {
    transition: transform 0.3s ease;
}
.carousel-slide:hover {
    transform: translateY(-4px);
}

/* Background image styling with fallback color */
.bg-image-placeholder {
    background-color: #F0F0F0;
    background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb), linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 1px solid #d1d5db;
}

.section-left-bg {
    background-color: #ffffff;
    background-image: url(/wp-content/uploads/2025/09/left-background-image.webp);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain; /* keeps full image visible */
}


/* UPDATED: Slower, smoother fade-in animation styles */
.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.animate-fade-left {
    transform: translateX(60px) scale(0.92);
}
.animate-fade-right {
    transform: translateX(-60px) scale(0.92);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Individual animation delays for staggered effects - INCREASED */
.fade-delay-100 { transition-delay: 0.30s; }
.fade-delay-200 { transition-delay: 0.30s; }
.fade-delay-300 { transition-delay: 0.45s; }
.fade-delay-400 { transition-delay: 0.30s; }
.fade-delay-500 { transition-delay: 0.75s; }
.fade-delay-600 { transition-delay: 0.30s; }
.fade-delay-700 { transition-delay: 1.05s; }

/* Product image hover effects */
.product-image {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.1);
}

.right-align-bg-img { 
    background-image: url('/wp-content/uploads/2025/09/right-background-image.webp');
    background-repeat: no-repeat;     
    background-attachment: inherit;
    background-position: right;
    background-size: auto 1660px;
}

/* RESPONSIVE FIX: Hide large decorative background images on smaller screens */
@media (max-width: 1024px) {
    .right-align-bg-img, .section-left-bg {
        background-image: none;
    }
}

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


/* Nathaniel */
/* header */
.site-header-wrapper {
    background-color: #F8F9FA;
    padding:0px 20px;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
    /* position: sticky; */
}
/* Logo */
.site-branding {
    max-width:110px;
}
.site-navigation ul.menu li.get-in-touch a {
    padding: 6px 20px;
}
.get-in-touch a {
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}
#back-to-top {
    position: fixed;
    bottom:40px;
    right:40px;
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    padding:10px;
}

/* Homepage */

/* Brand colors */
.brand-purple {
    background-color: #6B46C1;
}
.brand-purple-text {
    color: #6B46C1;
}
.brand-purple-border {
    border-color: #6B46C1;
}
.brand-purple:hover {
    background-color: #5534A5;
}

/* Carousel slide animation */
.carousel-slide {
    transition: transform 0.3s ease;
}
.carousel-slide:hover {
    transform: translateY(-4px);
}

/* Background image styling with fallback color */
.bg-image-placeholder {
    background-color: #F0F0F0;
    background-image: linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb), linear-gradient(45deg, #e5e7eb 25%, transparent 25%, transparent 75%, #e5e7eb 75%, #e5e7eb);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: 1px solid #d1d5db;
}

.section-left-bg {
    background-color: #ffffff;
    background-image: url(/wp-content/uploads/2025/09/left-background-image.webp);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain; /* keeps full image visible */
}


/* UPDATED: Slower, smoother fade-in animation styles */
.fade-in {
    opacity: 0;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.animate-fade-left {
    transform: translateX(60px) scale(0.92);
}
.animate-fade-right {
    transform: translateX(-60px) scale(0.92);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Individual animation delays for staggered effects - INCREASED */
.fade-delay-100 { transition-delay: 0.30s; }
.fade-delay-200 { transition-delay: 0.30s; }
.fade-delay-300 { transition-delay: 0.45s; }
.fade-delay-400 { transition-delay: 0.30s; }
.fade-delay-500 { transition-delay: 0.75s; }
.fade-delay-600 { transition-delay: 0.30s; }
.fade-delay-700 { transition-delay: 1.05s; }

/* Product image hover effects */
.product-image {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05) rotate(2deg);
    filter: brightness(1.1);
}

.right-align-bg-img { 
    background-image: url('/wp-content/uploads/2025/09/right-background-image.webp');
    background-repeat: no-repeat;     
    background-attachment: inherit;
    background-position: right;
    background-size: auto 1660px;
}

/* RESPONSIVE FIX: Hide large decorative background images on smaller screens */
@media (max-width: 1024px) {
    .right-align-bg-img, .section-left-bg {
        background-image: none;
    }
}

/* a:active, a:hover {
    color: #fff;
} */

/* Page */
.page-content {
    padding:40px 20px;
}

.entry-title {
    font-size: 25px;
    font-weight: 600;
    margin: 30px 0;
    text-align: center;
    text-transform: uppercase; 
}

/* Form */
.form-container {
    position: inherit;
}
.grey-block-mobile{
    display:block;
}
.grey-block-desktop{
    display:none;
}
.grey-block {
    background: #F0F0F0;
    height: 100%;
    min-height: 1000px;
    width: 50%;
    position: absolute;
    top: 30%;
    right: 0;
    z-index: -1;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}


/* Product Grid Container */
.product-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Individual Product Item */
.product-grid-item {
    position: relative;
}

/* Hide the actual radio button */
.product-grid-item input[type="radio"] {
    position: absolute; 
    top:45%;
    right: 20px;
} 

/* The visible card that the user clicks */
.product-grid-item .product-card {
    border: 2px solid #9B9B9B;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-grid-item .product-card:hover {
    border-color: #71537D;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Style for when the radio button is selected */
.product-grid-item input[type="radio"]:checked + .product-card {
    border-color: #71537D;
    border-width: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Card content styling */
.product-card-content {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.product-card-content .product-image {
    flex: 0 0 90px;
    max-width: 150px;
    margin-bottom: 0;
    margin-right: 0;
}
.product-card img {
    max-width: 100%;
    height: 100px; /* Adjust as needed */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.product-card-content .product-details {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card-content .product-input {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.product-card h3 {
    margin-top: 0;
    font-size: 14px;
    flex-grow: 1; /* Pushes stock count to the bottom */
}

.product-card .product-description {
    font-size: 12px;
    line-height:15px;
    color: #555;
    margin-bottom: 10px;
    font-weight:500;
}

.product-card .product-stock {
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
    margin-top: auto; /* Aligns to the bottom */
}

/* Submit Button styling */
.product-submit-button-wrap {
    text-align: center;
    margin-top: 25px;
}


.margin-30 {
    margin-bottom: 20px !important;
}

.consent_box {
    transform: scale(1.2);
    /* margin-right: 15px; */
    height:20px;
    float:left;
}

/* Basic styling for the form */
#product-enquiry-form { 
    margin: 20px; 
    padding-top: 55px; 
    position: relative; 
    /* font-family: "Open Sans",sans-serif;  */
}
.form-row { margin-bottom: 15px; }
.form-row label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-row label span { display: block; font-weight: normal; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"] { width: 100%; padding: 8px; box-sizing: border-box; border: 1px solid #ccc; border-radius: 4px; }
.product-option { width: 100%; }
.product-options { display: flex; justify-content: space-between; gap: 15px; text-align: center; width: 100%; }
#form-messages { padding: 10px; margin-top: 15px; border-radius: 4px; display: none; }
#form-messages.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
#form-messages.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
#submit-button, .tracking-button { 
    background-color: #71537D; 
    color: #ffffff; 
    padding: 10px 20px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight:600; 
    margin-top:20px;
    text-decoration: none !important;
    width:100%;
    display: block;
    position: relative;
}

/* Image styling - left aligned */
.product img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 20px;
    flex-shrink: 0;
}

/* Text container - middle aligned and takes up available space */
.text-content {
    flex: 1;
    text-align: left;
    margin-right: 20px;
}

.product-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.product-description {
    font-size: 14px;
    color: #666;
}

/* Custom purple radio button */
input[type="radio"] {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

input[type="radio"]:checked {
    border-color: #8e44ad;
    background-color: #8e44ad;
}

input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

input[type="radio"]:hover {
    border-color: #8e44ad;
}

/* Footer */
.footer-desktop {
    display: none;
}
.footer-mobile {
    display: block;
    text-align: center;
}
.footer-mobile .footer-branding {
    text-align: center;
    padding: 20px 10px 0 10px;
    margin-bottom: 20px;
}
.footer-mobile .footer-branding img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
    display: inherit;
}
.footer-mobile .site_url {
    color:#959595;
    font-size: 14px;
    text-decoration: none;
}
.footer-mobile .site-navigation ul {
    margin:20px auto;
    padding:0;
    text-align: center;
}

.footer-mobile .site-navigation li a {
    color:#959595;
    font-size: 14px;
    text-decoration: none;
}


/* Responsive Design */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
    .product-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .product-card h3 {
        font-size: 20px;
    }

    .product-card-content .product-image {
        flex: 0 0 140px;
        max-width: 150px;
    }
    .product-card img {
        max-width: 100%;
        height: 150px; /* Adjust as needed */
    }

    #product-enquiry-form { 
       margin: 20px auto; 
    }

    .footer-mobile {
        display: none;
    }
    .footer-desktop {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 0 auto;
    }
    .site-footer:not(.dynamic-footer) {
        background-color: #000000;
        color: #ffffff;
        padding: 100px 0;
        /* text-align: center; */
        font-size: 14px;
        width:100%;
        margin-top:40px;
        max-width:100%;
    }
    .site-footer a {
        color: #ffffff;
        text-decoration: none;
    }

    .site-footer .footer-branding {
        align-items: center;
        margin-bottom: 10px;
    }
    .site-footer .footer-branding img {
        max-width: 250px;
        height: auto;
        margin-bottom: 30px;
    }
    .site-footer .footer-branding p {
        color:#959595;
    }

    /* Legal Nav */
    .site-footer .footer-legal .wigdet-title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 30px;
        color:#FFFFFF;
        /* text-transform: uppercase; */
    }
    .site-footer .site-navigation ul.menu {
        list-style: none;
        padding: 0;
        margin: 0;
        display: block;
    }
    .site-footer .site-navigation ul.menu li {
        margin-bottom: 8px;
    }
    .site-footer .site-navigation ul.menu li a {
        display: block;
        padding: 0 0;
        color:#959595;
        font-size: 16px;
    }

    .site-header:not(.dynamic-header){
        max-width:1200px;
    }

    .site-footer .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        max-width: 1200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

    .entry-title {
        font-size: 30px;
        margin: 50px 0;
    }

    .form-container {
        position: relative;
    }
    .grey-block-mobile{
        display:none;
    }
    .grey-block-desktop{
        display:block;
        height: 95%;
        width: 50%;
        top: 0;
        right: 0;
    }

    #product-enquiry-form { 
        width: 70%;
        /* margin: 20px auto; */
    }

    .product-card .product-description {
        font-size: 15px;
        line-height:20px;
    }


}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
    .site-header:not(.dynamic-header){
        max-width:1536px;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 

    .site-footer .footer-content {
        max-width: 1536px;
    }
}

