/*
 Theme Name:   C-Secure
 Theme URI:    https://generatepress.com
 Description:  C-Secure theme
 Author:       Clarq
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
    --black: #000000;
    --blackish: #0a0a0a;
    --dark-gray: #2d2d2d;
    --charcoal: #38393f;
    --medium-gray: #7f7f7f;
    --muted-teal: #79938e;
    --pale-gray: #f4f4f4;
    --light-gray: #f5f5f5;
    --off-white: #fcfcfc;
    --white: #fff;
}

@font-face {
    font-family: "SuezOne";
    src: url('assets/fonts/SuezOne-Regular.ttf');
}

@font-face {
    font-family: "Mulish";
    src: url('assets/fonts/Mulish-Regular.ttf');
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: Mulish, sans-serif;
    background-color: var(--white);
}

h2 {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* animatieklasse */
.animate-slide-top {
    -webkit-animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-top 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    opacity: 1 !important;
    position: relative;
    top: 100px;
}

@-webkit-keyframes slide-top {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
    }
}

@keyframes slide-top {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-100px);
        transform: translateY(-100px);
    }
}


h2, h3, h4, h5, h6 {
    font-family: Mulish, sans-serif;
}

h1 {
    font-size: 45px;
    font-family: SuezOne, sans-serif;
}

.boxed, .post-19474 {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.df-ui-nav .df-ui-btn:before {
    color: black !important;
    filter: none !important;
}

.text-media + .collection .boxed {
    padding-top: 0;
}

section.text-media:has(+ section.collection) .boxed {
    padding-bottom: 20px;
}

/* Colors */
.bg-green {
    background-color: var(--muted-teal);
}

/* Buttons */
.button {
    padding: 10px 25px;
    margin-top: 15px;
    background-color: transparent !important;
    border: 2px solid var(--dark-gray);
    color: var(--dark-gray);
    border-radius: 100px;
}

.bg-green .button {
    border: 2px solid var(--white);
    color: var(--white);
}


.social-link {
    background-image: url('/wp-content/uploads/2025/06/Leather_c-secure_2019_pattern.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    margin: -80px auto 0 auto;
}


    .social-link li {
        border: 2px solid white;
        padding: 25px!important;
    }

/* Header */
.main-navigation .main-nav ul li > a {
    font-weight: 200;
    font-size: 16px;
    line-height: 90px;
    text-transform: uppercase;
    font-family: Mulish, sans-serif;
    color: var(--medium-gray);
    padding-left: 16px;
    padding-right: 16px;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
    color: var(--black);
}

#masthead {
    position: relative;
    transition: all 0.3s ease;
}

#masthead.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 1;
}

#masthead.sticky.animate {
    animation: fadeDown 0.4s ease;
}

@keyframes fadeDown {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

body.admin-bar #masthead.sticky {
    top: 32px;
}


/* Footer */
.site-footer .footer-widgets, .site-info {
    background-color: var(--charcoal);
    padding: 70px 0 20px !important;
}

.site-footer .footer-widgets .inside-footer-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.site-footer .footer-widgets .widget-title {
    font-weight: bold;
    font-size: 15px;
    margin-bottom: 15px;
}

.site-footer .footer-widgets .menu li {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: 9px 0;
    margin-bottom: 0;
}

.site-footer .footer-widgets .menu li a {
    font-size: 13px;
}

.site-footer .footer-widgets *, .site-info * {
    color: var(--white);
}

.site-footer .footer-widgets a {
    color: #cccccc;
    text-decoration: none;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: #6c847e;
    padding: 16px;
    border-radius: 5px;
    display: none;
    z-index: 999;
    transition: background 0.3s ease;
    cursor: pointer;
    height: 38px;
}

#back-to-top .back-to-top {
    display: block;
    width: 10px;
    height: 6px;
    background-image: url("/wp-content/themes/generatepress_child/images/back-to-top-arrow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
}

#back-to-top:hover {
    background: #333;
}

/* single-product */
body.single-product .site-content {
    display: block;
}

body.single-product .boxed {
    max-width: 1200px;
    margin: 0 auto;
}

body.single-product .boxed .images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

body.single-product .boxed .images .featured-image {
    margin-top: 0;
}

body.single-product .post-navigation {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 40px auto;
}

body.single-product .post-navigation a {
    font-family: Mulish, sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--black);
}

#wpsl-result-list li * {
    color: var(--muted-teal);
}


/* Downloads */
.downloads-wrapper {
    margin-bottom: 3em;
}

.downloads-wrapper .group-toggle:hover {
    background-color: #f0f0f0;
}

.downloads-wrapper .group-toggle {
    cursor: pointer;
    padding: 10px 10px 10px 32px; /* ruimte voor pijltje links */
    position: relative;
    font-size: 1.2em;
    margin: 0;
}

.downloads-wrapper .group-toggle::before {
    content: '›';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.3s ease;
    font-size: 1.2em;
    color: #555;
}

/* Als de bijbehorende groep open is, roteer het pijltje */
.downloads-wrapper .group-toggle.active::before {
    transform: translateY(-50%) rotate(90deg);
}

.downloads-wrapper .download-group.open {
    max-height: 10000px;
    margin: 1em 0;
}


.downloads-wrapper .download-group {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em;
}

.downloads-wrapper .download-item {
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ededed;
    border-radius: 10px;
}

.downloads-wrapper .download-item > div {
    flex-grow: 1;
}

.downloads-wrapper .download-item img {
    height: 200px;
    display: block;
    margin-bottom: 8px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}


.downloads-wrapper .download-button {
    display: inline-block;
    margin-top: 5px;
    background: #0073aa;
    color: #fff;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
}

.downloads-wrapper .hidden {
    display: none;
}



@media (max-width: 1200px) {
    body.single-product .post-navigation {
        margin: 40px 20px;
    }

    .downloads-wrapper .download-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-navigation .main-nav ul li > a, .main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
        line-height: 40px;
        color: var(--white);
    }

    .main-navigation li {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .main-navigation .main-nav > ul {
        padding: 10px;
    }

    .main-navigation, .main-navigation ul ul {
        background-color: #2e2e2e;
    }

    .slideout-navigation button.slideout-exit {
        text-align: right !important;
        color: var(--white) !important;
    }

    .mobile-menu-control-wrapper .menu-toggle, .mobile-menu-control-wrapper .menu-toggle:hover, .mobile-menu-control-wrapper .menu-toggle:focus, .has-inline-mobile-toggle #site-navigation.toggled {
        background-color: var(--white);
    }

    .downloads-wrapper .download-group {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 576px) {
    h1 {
        font-size: 35px;
    }

    .boxed {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .site-footer .footer-widgets .inside-footer-widgets {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .downloads-wrapper .download-group {
        grid-template-columns: repeat(1, 1fr);
    }

}
