/*
 Theme Name:   Blocksy Child - Heylander
 Theme URI:    https://heylander.eu
 Description:  Child theme voor Heylander.eu
 Author:       Wannes Heyvaerts
 Author URI:   https://heylander.eu
 Template:     blocksy
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  blocksy-child
*/

/*
 * Heylander Custom Styles
 * ======================
 * Alleen kleuren en branding - layout via Blocksy Customizer
 */

/* ========================================
   HEYLANDER KLEUREN - Warm Wijn Palet
   ======================================== */

:root {
    /* Heylander Brand Colors */
    --heylander-bordeaux: #722F37;
    --heylander-bordeaux-hover: #5a252c;
    --heylander-bruin: #5D4037;
    --heylander-goud: #D4A574;
    --heylander-goud-hover: #c49562;
    --heylander-creme: #FAF6F0;
    --heylander-rood: #DB4C40;

    /* Overschrijf Blocksy thema kleuren */
    --theme-palette-color-1: #722F37 !important; /* Primair: bordeaux */
    --theme-palette-color-2: #5D4037 !important; /* Secundair: bruin */
    --theme-palette-color-3: #3d2a24 !important; /* Donker: tekst */
    --theme-palette-color-4: #D4A574 !important; /* Accent: goud */
    --theme-palette-color-5: #FAF6F0 !important; /* Licht: crème */
    --theme-palette-color-6: #ffffff !important; /* Wit */
    --theme-palette-color-7: #f5ebe0 !important; /* Licht crème */
    --theme-palette-color-8: #ffffff !important; /* Header achtergrond: WIT */
}

/* Header expliciet wit houden + voldoende hoogte voor logo */
header,
.site-header,
[data-id="header"],
.header-row {
    background-color: #ffffff !important;
}

/* Header row voldoende hoogte voor logo */
[data-row="middle"],
.header-row[data-row="middle"] {
    min-height: 110px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Links in bordeaux - alleen content links, niet logo/header */
article a,
.entry-content a,
.page-content a,
main a:not(.site-logo):not(.ct-logo):not(.custom-logo-link),
.widget a {
    color: var(--heylander-bordeaux);
}

article a:hover,
.entry-content a:hover,
.page-content a:hover,
main a:hover:not(.site-logo):not(.ct-logo):not(.custom-logo-link),
.widget a:hover {
    color: var(--heylander-bordeaux-hover);
}

/* ========================================
   BUTTONS - Heylander Bordeaux
   ======================================== */

/* WooCommerce buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.wp-element-button {
    background-color: var(--heylander-bordeaux) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .button:hover,
.wp-element-button:hover {
    background-color: var(--heylander-bordeaux-hover) !important;
    transform: translateY(-2px);
}

/* Alle andere buttons */
button,
.button,
input[type="submit"],
.wp-block-button__link {
    background-color: var(--heylander-bordeaux) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
    background-color: var(--heylander-bordeaux-hover) !important;
}

/* Elementor buttons - duidelijk bordeaux */
.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-button-wrapper .elementor-button,
a.elementor-button,
.elementor-widget a.elementor-button {
    background-color: #722F37 !important;
    color: #ffffff !important;
    border: 2px solid #722F37 !important;
    border-radius: 8px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.elementor-button:hover,
.elementor-widget-button .elementor-button:hover,
a.elementor-button:hover {
    background-color: #5a252c !important;
    border-color: #5a252c !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Outline variant - voor secundaire knoppen */
.elementor-button.elementor-button-outline,
.elementor-button[style*="background-color: transparent"],
.elementor-button[style*="background: transparent"] {
    background-color: transparent !important;
    color: #722F37 !important;
    border: 2px solid #722F37 !important;
}

.elementor-button.elementor-button-outline:hover {
    background-color: #722F37 !important;
    color: #ffffff !important;
}

/* ========================================
   PRIJZEN - Heylander Stijl
   ======================================== */

/* Normale prijs in bordeaux */
.woocommerce .price,
.woocommerce-Price-amount {
    color: var(--heylander-bordeaux);
    font-weight: 600;
}

/* Uitverkoop prijs in rood */
.woocommerce .price ins {
    color: var(--heylander-rood);
    text-decoration: none;
}

/* Oude prijs doorgestreept */
.woocommerce .price del {
    color: #999;
}

/* ========================================
   UITVERKOOP BADGE
   ======================================== */

.woocommerce span.onsale {
    background-color: var(--heylander-rood);
}

/* ========================================
   PRODUCT CARDS - Knoppen centreren
   ======================================== */

/* Alles in product cards centreren */
[data-products] .product,
.woocommerce ul.products li.product {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Knoppen - block element, gecentreerd */
[data-products] .product a.button,
[data-products] .product .button,
[data-products] .product .add_to_cart_button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce .product a.button.add_to_cart_button {
    display: block !important;
    width: fit-content !important;
    min-width: 180px !important;
    margin: 10px auto !important;
    float: none !important;
    text-align: center !important;
}

/* ========================================
   PRODUCT CARDS - Hover effecten
   ======================================== */

/* Product card hover - subtiele lift */
[data-products] .product,
.woocommerce ul.products li.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-products] .product:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Afbeelding hover - zoom effect */
[data-products] .product img,
.woocommerce ul.products li.product img {
    transition: transform 0.3s ease;
}

[data-products] .product:hover img,
.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* ========================================
   HEADER & MENU - Warme sfeer
   ======================================== */

/* Menu links - groter en duidelijker */
.ct-menu > li > a,
nav.ct-menu a,
[data-menu] > li > a,
[data-id="menu"] a,
.menu-item a {
    color: #5D4037 !important; /* Warm bruin - goed leesbaar op wit */
    font-size: 15px !important; /* Groter dan standaard 12px */
    font-weight: 600 !important; /* Semi-bold voor betere leesbaarheid */
    letter-spacing: 0.5px !important;
    transition: color 0.3s ease;
}

.ct-menu > li > a:hover,
nav.ct-menu a:hover,
[data-menu] > li > a:hover,
[data-id="menu"] a:hover,
.menu-item a:hover {
    color: #722F37 !important; /* Bordeaux bij hover */
}

/* Actief menu item */
.ct-menu > li.current-menu-item > a,
.ct-menu > li.current_page_item > a {
    color: #722F37 !important; /* Bordeaux voor actieve pagina */
}

/* Site titel VERBERGEN als er een logo afbeelding is */
.site-title,
[data-id="logo"] .site-title {
    display: none !important; /* Verberg de tekst onder het logo */
}

/* Logo afbeelding - past netjes in header */
.site-logo img,
.ct-logo img,
.custom-logo,
[data-id="logo"] img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    max-height: 90px !important; /* Past netjes in 110px header */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ========================================
   FOOTER - Wit & Leesbaar
   ======================================== */

footer,
.site-footer {
    background-color: #ffffff !important; /* Wit voor leesbaarheid */
    color: #5D4037 !important; /* Warm bruin tekst */
    border-top: 2px solid #FAF6F0 !important; /* Subtiele scheidingslijn */
}

footer p,
footer span,
footer li,
.site-footer p,
.site-footer span,
.site-footer li {
    color: #5D4037 !important; /* Warm bruin */
}

footer a,
.site-footer a {
    color: #722F37 !important; /* Bordeaux - opvallend op wit */
    text-decoration: underline;
}

footer a:hover,
.site-footer a:hover {
    color: #5a252c !important; /* Donkerder bordeaux bij hover */
}

/* ========================================
   ALGEMENE SFEER
   ======================================== */

/* Selectie kleur */
::selection {
    background-color: var(--heylander-bordeaux);
    color: #fff;
}

/* Focus states */
a:focus,
button:focus,
input:focus {
    outline-color: var(--heylander-bordeaux);
}

/* Headings - bordeaux ipv geel/goud */
h1, h2, h3, h4, h5, h6 {
    color: var(--heylander-bordeaux) !important;
}

/* Elementor headings en titels */
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title,
.elementor h1, .elementor h2, .elementor h3,
.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3 {
    color: var(--heylander-bordeaux) !important;
}

/* FORCEER bordeaux op alle Elementor titels - maximale specificiteit */
.elementor-heading-title,
.elementor-widget-heading .elementor-heading-title,
.elementor-element .elementor-heading-title,
.elementor-widget-container .elementor-heading-title,
h1.elementor-heading-title,
h2.elementor-heading-title,
h3.elementor-heading-title {
    color: #722F37 !important; /* Bordeaux - hardcoded */
}

/* Hero/banner secties met achtergrond foto - witte tekst */
.elementor-section.elementor-section-height-full .elementor-heading-title,
.elementor-section-boxed .elementor-heading-title,
section[style*="background-image"] .elementor-heading-title,
section[style*="background-image"] h1,
section[style*="background-image"] h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Blockquotes */
blockquote {
    border-left-color: var(--heylander-goud);
    background-color: var(--heylander-creme);
}

