/*
Theme Name: GDPEDU
Theme URI: https://cormo.pl
Author: Cormo
Author URI: http://cormo.pl/
Version: 1.0
Text Domain: gdp
*/

@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');

:root {
    --primary-color: #FAFAFB;
    --secondary-color: #CAE1F5;
    --tertiary-color: #3C5F7D;
    --purple-color: #8F7DE4;
    --dark-purple-color: #795D90;
    --green-color: #63AD7D;
    --off-white-color: #FBFBFA;

    --primary-font-color: #3C5F7D;
    --secondary-font-color: #4C385D;
    
    --font-primary: "Onest", serif;

    --button-color-primary: #fff;
    --button-background-primary: #3C5F7D;

    --status-available-color-circle: #6DC28A;
    --status-available-color: #CAF1D7;
    --status-unavailable-color-circle: #fa4040;
    --status-unavailable-color: #faadad;
}

html { margin: 0!important; padding: 0!important;}
body { background-color: var(--primary-color); font-family: var(--font-primary); color: var(--primary-font-color);}

h1, h2, h3, h4, h5, h6 { margin-bottom: 1.25rem; }
p { margin-bottom: 2.5rem; }

a { color: inherit; }

h2 { font-size: 2.25rem!important; }    

.text-category { color: var(--primary-font-color)!important; font-size: 0.813rem; font-weight: 600;}
.text-primary { color: var(--primary-color)!important; }
.text-secondary { color: var(--secondary-font-color)!important; }
.text-dark-purple { color: var(--dark-purple-color)!important; }
.text-off-white { color: var(--off-white-color)!important; }

.bg-secondary {background-color: var(--secondary-color)!important; }
.bg-tertiary { background-color: var(--tertiary-color)!important; }
.bg-purple { background-color: var(--purple-color)!important;  }
.bg-green { background-color: var(--green-color)!important;  }

.border-radius-8 { border-radius: 8px; }
.border-radius-16 { border-radius: 16px; }
.border-radius-24 { border-radius: 24px; }
.border-radius-32 { border-radius: 32px; }
.border-radius-40 { border-radius: 40px; }

.fw-300 { font-weight: 300; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

.fs-18 { font-size: 1.125rem; }
.fs-24 { font-size: 1.5rem; }
.fs-26 { font-size: 1.625rem; }
.fs-28 { font-size: 1.75rem; }
.fs-45 { font-size: 2.813rem; }
.fs-48 { font-size: 3rem; }
.fs-60 { font-size: 3.75rem; }
.fs-64 { font-size: 4rem; }
.fs-76 { font-size: 4.75rem; }

.lh-18 { line-height: 1.125rem; }
.lh-28 { line-height: 1.75rem; }
.lh-32 { line-height: 2rem; }
.lh-66 { line-height: 4.125rem; }
.lh-83 { line-height: 5.188rem; }

.ls--5 { letter-spacing: -5%; }

.padding-custom-1 { padding: 7px 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.padding-custom-2 { padding: 10px 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.padding-custom-3 { padding: 72px 88px; }
.padding-custom-4 { padding-top: 56px; padding-bottom: 56px;}
.padding-custom-5 { padding-top: 80px; padding-bottom: 56px;}
.padding-custom-6 { padding: 32px; }
.padding-custom-7 { padding: 40px 64px; }

.py-container { padding-top: 4rem; padding-bottom: 4rem; }

.h-450 { height: 450px; }
.h-167 { max-height: 200px; }
.min-h-254 { min-height: 254px;}
.max-h-400 { max-height: 600px; }
.max-w-1200 { max-width: 1200px; }
.max-w-1600 { max-width: 1600px; }
.w-fit-content { width: fit-content; }

.mb--27 { margin-bottom: -1.688rem!important; }
.mt-32 { margin-top: 2rem!important; }
.mt-40 { margin-top: 2.5rem!important; }
.mt-48 { margin-top: 3rem!important; }
.mt-64 { margin-top: 4rem!important; }
.mt-80 { margin-top: 5rem!important; }

.z-10 { z-index: 10; }

.btn { padding: 16px 20px!important; border-radius: 8px; font-size: 1.125rem!important; font-weight: 500!important; border: none; }
.btn-primary { color: var(--button-color-primary)!important; background-color: var(--button-background-primary)!important; }

.slick-track { display: flex!important; }

/* navbar */

.navbar-toggler { box-shadow: none !important; width: 40px; height: 40px; padding: 11px 10px; transition: all 0.3s; border: none!important; transform: scale(1.15);}
.navbar-toggler span { display: block; height: 2px; margin-bottom: 5px; border-radius: 1px; background: #254478; width: 20px; transition: all 0.4s; }
.navbar-toggler span:nth-child(1) {  transform-origin: -4px 7px; }
.navbar-toggler span:nth-child(2) { width: 15px; transform-origin: 10px -7px; }
.navbar-toggler:not(.collapsed) span:nth-child(1) { transform: rotate(45deg); width: 10px; }
.navbar-toggler:not(.collapsed) span:nth-child(2) { transform: rotate(-45deg); width: 10px; }
.navbar-toggler:not(.collapsed) span:nth-child(3) { opacity: 0; }
.nav-offers.active { background: #04BAEE; }

.navbar { background-color: var(--primary-color);}
.navbar-nav { gap: 1rem; }
.nav-link { position: relative; display: inline-block; }
.nav-link::after { content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 3px;  background-color: var(--secondary-color); transition: width 0.3s ease, left 0.3s ease; }
.nav-link:hover::after { width: 100%; left: 0; }
.active .nav-link::after { width: 100%; left: 0; }
.navbar-nav .nav-item .nav-link { font-weight: 500; color: var(--font-primary); }

/* end */

/* content */
.header-2 { font-weight: 300; font-size: 3.75rem!important; line-height: 4.125rem; margin-bottom: 0;}
.header-3 { font-weight: 400; font-size: 2rem!important; line-height: 2.125rem; margin-bottom: 0;}
.header-4 { font-weight: 400; font-size: 2.125rem!important; line-height: 2.125rem; margin-bottom: 0;}
.header-5 { font-weight: 400; font-size: 1.75rem!important; line-height: 1.938rem; margin-bottom: 0;}
.header-6 { font-weight: 300; font-size: 3rem!important; line-height: 3.125rem; margin-bottom: 0;  }

.content-2 { font-size: 1.5rem!important; margin-bottom: 0; line-height: 1.938rem; }
.content-3 { font-size: 1.125rem; margin-bottom: 0; line-height: 1.563rem; }

.menu-footer { padding-left: 0; list-style: none; margin-bottom: 0; display: flex; flex-direction: column; gap: 8px;}
.menu-footer a { text-decoration: none; }

.background-image-1 { background-image: url('./img/background-purple.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.background-image-2 { background-image: url('./img/background-footer.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }

.slick-dots li button:before { font-size: 16px!important; }
.slick-dots li.slick-active button:before { color: var(--tertiary-color)!important; }
.slick-dots li button:before { color: var(--tertiary-color)!important; }

.status { font-size: 0.813rem; }
.status-circle { width: 8px; height: 8px; border-radius: 50%; display: block;}
.status.available { background-color: var(--status-available-color); }
.status.available .status-circle { background-color: var(--status-available-color-circle); }
.status.unavailable { background-color: var(--status-unavailable-color); }
.status.unavailable .status-circle { background-color: var(--status-unavailable-color-circle); }

.carousel-control-next-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233C5F7D'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); }
.carousel-control-prev-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233C5F7D'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); }
.carousel-indicators [data-bs-target] { background-color: var(--button-background-primary); }

.form label { font-weight: 600; margin-top: 1rem; width: 100%;}
.form .input-form { margin-top: 0.5rem; width: 100%; border: 1px solid #9DB6CB; border-radius: 6px; padding: 18px; color: var(--primary-font-color); outline: none;}

.form select { appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="6"><path d="M0 0l5 6 5-6z" fill="%239DB6CB"/></svg>')
  no-repeat right 18px center;
  background-size: 10px 6px;
}

.wpcf7-submit { padding: 16px 20px!important; border-radius: 8px; font-size: 1.125rem!important; font-weight: 500!important; border: none; color: var(--button-color-primary)!important; background-color: var(--button-background-primary)!important; min-width: 180px; margin-top: 24px;}
.wpcf7 form .wpcf7-response-output { margin-top: -1rem!important; }

.contact-icon { background-color: var(--secondary-color); padding: 12px; border-radius: 8px; }
.contact-content { font-size: 2.188rem; }

.product-image-container { position: relative; min-height: 257px; height: 100%; width: 100%; overflow: hidden; }
.product-main-image,
.product-hover-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.product-main-image img,
.product-hover-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-hover-image { opacity: 0; transition: opacity 0.5s ease; }
.product-image-container-2:hover .product-hover-image { opacity: 1; }
.product-image-container-2:hover .product-main-image { opacity: 0; }
.product-main-image { transition: opacity 0.3s ease;}

/* end */

/* duperele */
.hover-transform-1 { transition: all 0.3s ease; }
.hover-transform-1:hover { transform: scale(1.03); }

.wpcf7-submit, .btn { transition: all 0.3s ease; }
.wpcf7-submit:hover, .btn:hover { transform: scale(1.03); }
/* end */


/* search */
.products-search-container { position: relative; display: flex; align-items: center; }
.search-toggle-container { cursor: pointer; z-index: 20; padding: 10px; }
.search-toggle-icon { width: 20px; height: 20px; transition: transform 0.3s ease; }
.products-search-form { position: absolute; right: 0; width: 0; overflow: hidden; transition: width 0.3s ease; opacity: 0; }
.products-search-form.active { width: 300px; opacity: 1; }
.input-group { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; background-color: white; }
.input-group input.form-control { border: none; padding: 10px 15px; flex-grow: 1; outline: none; }
.search-submit { background: none; border: none; padding: 8px 15px; cursor: pointer; }
.search-submit img { width: 18px; height: 18px; }
.search-results-container { position: absolute; top: 100%; right: 0; width: 300px; max-height: 300px; overflow-y: auto; background-color: white; border: 1px solid #ddd; border-radius: 0 0 8px 8px; z-index: 1000; display: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.search-result-item { padding: 10px 15px; border-bottom: 1px solid #eee; cursor: pointer; transition: background-color 0.2s; }
.search-result-item:hover { background-color: #f5f5f5; }
.search-result-item img { width: 50px; height: 50px; object-fit: cover; margin-right: 10px; border-radius: 4px; }
.search-result-title { font-weight: 600; color: #333; }
.search-no-results { padding: 15px; text-align: center; color: #666; }
.card-content { display: grid; grid-template-rows: auto 1fr auto; height: 100%;}
/* end */

/* .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.image-wrapper .overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(109 115 157 / 40%);
    pointer-events: none;
    border-radius: 16px;
    transition: all 0.5s ease-in-out;
}

.image-wrapper:hover .overlay {
    background-color: unset;
} */


@media only screen and (max-width: 992px) {
    .navbar-collapse { display: flex; flex-direction: column; align-items: start; }
    .products-search-container { order: 99; }
}

@media only screen and (max-width: 1024px) {
    .mt-laptop-16 { margin-top: 16px!important; }
    .mt-laptop-32 { margin-top: 32px!important; }

    .header-2 { margin-bottom: 1.5rem;}

    .padding-custom-3 { padding: 32px 32px; }
    .padding-custom-7 { padding: 32px 32px; }
}

@media only screen and (max-width: 500px) {
    .py-container { padding-top: 1.5rem; padding-bottom: 1.5rem; }

    .padding-custom-3 { padding: 32px 16px; }
    .padding-custom-4 { padding-left: 0!important; padding-right: 0!important; padding-bottom: 0!important;}
    .padding-custom-6 { padding: 32px 16px; }
    .padding-custom-7 { padding: 32px 12px; }

    .fs-mobile-16 { font-size: 1rem; }
    .fs-mobile-20 { font-size: 1.25rem; }
    .fs-mobile-32 { font-size: 2rem; }
    .fs-mobile-35 { font-size: 2.2rem; }
    .fs-mobile-40 { font-size: 2.5rem; }
    .fs-mobile-44 { font-size: 2.75rem; }

    .lh-mobile-24 { line-height: 1.5rem; }
    .lh-mobile-50 { line-height: 3.125rem; }

    .mt-mobile-0 { margin-top: 0!important; }
    .mt-mobile-16 { margin-top: 16px!important; }
    .mt-mobile-32 { margin-top: 32px!important; }
    .mt-mobile-48 { margin-top: 48px!important; }

    .header-2 { font-size: 2.55rem!important; line-height: 2.825rem;}
    .header-3 { font-size: 1.75rem!important; line-height: 1.9rem;}
    .header-4 { font-size: 1.75rem!important; line-height: 1.9rem;}
    .header-5 { font-size: 1.75rem!important; line-height: 1.838rem;}
    .header-6 { font-size: 1.9rem!important; line-height: 2.138rem;}

    .content-2 { font-size: 1.1rem; line-height: 1.338rem; }

    .h-mobile-350 { height: 350px; }

    .btn, .wpcf7-submit { width: 100%; }

    .contact-content { font-size: 1.25rem; }
    .contact-icon img { width: 24px; height: 24px; }
}
