@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');
@import "tailwindcss";

/* CSS specific pentru layout-ul "sabif". Păstrați minimal până la implementarea design-ului. */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat/static/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

/* html,
body {
    max-width: 100dvw !important;
    overflow-x: hidden !important;
} */

:root {
    /* Culori */
    --gri: #e1e1e1;
    --sabif: #ed7d31;
    --negru: #060606;
    --negru-secundar: #252322;
    --sabifdark: #ba5a18;
    --sabifsoft: #f5e1eb;
    --sabifsoft2: #fae8f1;
    --sabifgri: #ebebeb;
    --sabifblue: #0000fe;
    --grifaundal: #e8e9eb;

    /* Spațieri */
    --s10: 10px;
    --s20: 20px;
    --s40: 40px;
    --s80: 80px;
    --s100: 100px;
}

.font-montserrat {
    font-family: Montserrat !important;
}

a {
    text-decoration: none;
    color: var(--negru-secundar);
    transition: 0.3s all ease;
}

a:hover {
    color: var(--sabif);
}

html,
body {
    height: 100%
}

html {
    font: 16px/1.6 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif;
}

body {
    margin: 0;
    background-color: #fff;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem 0;
    font-family: Oxygen;
    /* 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial, sans-serif; */
    font-weight: 700;
    line-height: 1.2
}

* {
    font-family: Oxygen;
}

.sabif-btn {
    background-color: var(--sabifdark);
    color: #fff;
    padding: var(--s20) var(--s40);
    border-radius: 5px;
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
}

.sabif-btn:hover {
    background-color: var(--sabif);
}

.btn-sabif {
    background-color: var(--sabifblue) !important;
    color: #ffffff !important;
}

.btn-sabif:hover {
    opacity: 0.9;
    background-color: var(--sabif) !important;
    color: #ffffff !important;
}

a.inline-block.rounded-full {
    background: white;
}

footer a {
    color: white;
}

header {
    transition: all 0.3s ease-in-out;
}

header.is-sticky {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.max-h-250px {
    max-height: 250px !important;
}

a.flex.items-center.justify-center.rounded-full.border.border-white.px-5.py-2.text-base.font-medium.text-white.hover\:bg-white.hover\:text-dark {
    background: white;
}

.bg-white p.text-base.text-white\/80 {
    color: white;
    margin-bottom: 20px;
}

a.inline-flex.items-center.justify-center.rounded-lg.bg-primary.px-6.py-3.text-base.font-medium.text-white.transition.hover\:bg-primary\/90 {
    color: white;
}

.bg-blue-50\/50.dark\:bg-dark-2\/50.p-6.rounded-xl.border.border-blue-100.dark\:border-dark-3 {
    margin: 0 10px;
}

/* temporar pentru prezentare */

.hero-slider {
    max-height: 65dvh;
    min-height: 100%;
}

.hero-slide {
    min-height: 65dvh;
    background-position: center !important;
    background-size: 100% auto !important;
    position: relative;
}

.hero-slide:after {
    content: " ";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to left, transparent 0%, #00000020 65%, #00000050 100%);


    position: absolute;
}



.hero-slide-inner {
    position: relative;
    z-index: 1;
}

.hero-extra {
    position: relative;
}

.hero-extra:after {
    content: " ";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to left, transparent 0%, #00000015 75%, #00000040 100%);
    position: absolute;
}

.hero-extra h3 {
    font-size: 2rem;
}

.btn-extra.btn-sabif {
    background-color: var(--sabif) !important;
    max-width: max-content !important;
}

.btn-extra.btn-sabif:hover {
    background-color: var(--sabifblue) !important;
}

.review-image {
    margin-top: 20px;
}

.review-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.orange-button {
    background-color: var(--sabif) !important;
    color: white !important;
    border-color: var(--sabif) !important;
}

.orange-button:hover {
    background-color: white !important;
    color: #060606 !important;
    border-color: white !important;
}

.bg-orange {
    background-color: var(--sabif) !important;
}

.bg-h-blue:hover {
    background-color: var(--sabifblue) !important;
}

.text-white {
    color: white !important;
}

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

.mission-small {
    max-height: 56dvh;
}

.mission-small img {
    object-fit: cover;
    max-height: 56dvh;
}


.border-b.border-stroke.py-2.md\:py-3.dark\:border-dark-3 span.pr-2 {
    padding-right: 10px
}

.mt40 {
    margin-top: 40px !important;
}

.mb40 {
    margin-bottom: 40px !important;
}

.mb100 {
    margin-bottom: 100px !important;
}

.hidden-menu {
    display: none;
}


@media screen and (max-width:768px) {
    .webmenu {
        padding: 20px 10px;
    }

    .webmenu nav#navbarCollapse {
        top: 50px;
    }

    .hero-slide {
        min-height: 450px;
        background-repeat: no-repeat !important;
        background-size: auto 100% !important;
        background-position: center !important;
    }

    .hero-slide-inner {
        justify-content: center;
    }

    .smpx-6 {
        padding-inline: calc(var(--spacing) * 6) !important;
    }

    .review-image {
        margin-bottom: calc(var(--spacing) * 9);
    }

    .border-b.border-stroke.py-2.md\:py-3.dark\:border-dark-3 {
        padding-left: 20px;
    }

    .border-b.border-stroke.py-2.md\:py-3.dark\:border-dark-3 span.pr-2 {
        padding-right: 5px
    }

    .card-main__image img {
        max-height: 100%;
        padding: 0 !important;
        object-fit: cover;
        width: 100%;
    }

    .card-main__image {
        padding: 0;
        max-height: 150px;
    }

    .absolute.right-0.top-0.-z-0.opacity-10 svg {
        height: 50px;
        width: 50px;
    }

    .blog-section .mb-8.overflow-hidden.rounded-sm {
        max-height: 200px;
        object-fit: cover;
        object-position: center;
    }

    .dnonemb {
        display: none;
    }
}

header.scrolled .to-hide {
    height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    border: none;
}

.to-hide {
    height: auto;
    max-height: 200px;
    opacity: 1;
    transition: all 0.4s ease-in-out;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.collapsible-section {
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.header-scrolled .collapsible-section {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: none !important;
}