/* 
* Style.css
* Optimized and compressed version
* Last updated: 2025-01-29
*/

/* Variables */
:root {
    --font-Noto: 'Noto Serif', serif;
    --font-Bebas: 'Bebas Neue', serif;
    --font-Monts: 'Montserrat', sans-serif;
    --col-orange: #FF7A00;
    --swiper-navigation-size: 20px;
}

/* Base Styles */
body {
    font-family: var(--font-Bebas);
    color: #ffffff;
    background: #17171b;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1336px !important;
    padding: 0 20px;
    margin: 0 auto;
}

/* Typography */
p {
    font-family: var(--font-Noto) !important;
}

.fmon, .title {
    font-family: var(--font-Monts);
}

.fbeb {
    font-family: var(--font-Bebas);
}

.fnoto {
    font-family: var(--font-Noto);
}

.farimo {
    font-family: 'Arimo', sans-serif;
}

.text-orange {
    color: var(--col-orange);
}

/* Header Styles */
.header-home {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(23, 23, 27, 0.05), rgba(23, 23, 27, 0), rgba(23, 23, 27, 0.98), rgb(23, 23, 27)), url("../img/header_bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    margin-top: -70px;
}

.header-home-texts {
    text-align: center;
    min-height: 885px;
    padding-top: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.header-home-texts .title {
    font-weight: bold;
    font-size: 2.5rem;
    line-height: 3rem;
    text-transform: uppercase;
}

.header-home-texts .text {
    margin: 30px auto;
    font-size: 1rem;
    max-width: 440px;
}

/* Services Section */
.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: space-evenly;
    margin-top: -160px;
    gap: 30px;
}

.service-mob,
.service {
    position: relative;
    min-height: 425px;
    border-radius: 10px;
    transition: ease 0.2s;
    z-index: 9;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-inner-1 {
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.service-inner-2 {
    padding: 0 30px 40px;
    transition: background-color ease-in 0.2s;
}

.service-inner-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

/* Service Hover Effects */
.service:hover {
    border: 1px solid var(--col-orange);
    transform: translateY(-50px);
}

.service:hover .service-inner-2 {
    background: #000000;
}

.service:hover .service-img {
    filter: grayscale(0%);
}

.service:hover .service-number {
    color: white;
    -webkit-text-stroke: 1px #ffffff;
}

.service:hover .service-more {
    visibility: visible;
}

/* Service Components */
.service-number {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-37%);
    z-index: 10;
    -webkit-text-stroke: 1px var(--col-orange);
    color: transparent;
    font-size: 75px;
    font-family: var(--font-Bebas);
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    z-index: -1;
    position: absolute;
    transition: ease-in 0.2s;
}

.service-title {
    font-family: var(--font-Monts);
    font-weight: bold;
    margin-bottom: 15px;
}

.service-text {
    font-family: var(--font-Noto);
    line-height: 1.3;
    min-height: 110px;
}

/* Service More Link */
.service-more {
    visibility: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 0;
}

.service-more .more {
    text-transform: uppercase;
    color: var(--col-orange);
    font-family: var(--font-Monts);
    font-weight: bold;
}

.more.new {
    border-radius: 5px;
    color: black;
    font-family: var(--font-Bebas);
    font-weight: bold;
    font-size: 18px;
    background: var(--col-orange);
    padding: 3px 5px;
}

/* Buttons */
.btn-custom {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn,
.btn::after {
    padding: 15px 100px;
    font-size: 1.4rem;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
    position: relative;
    letter-spacing: 1.4px;
}

.btn::after {
    --move1: inset(50% 50% 50% 50%);
    --move2: inset(31% 0 40% 0);
    --move3: inset(39% 0 15% 0);
    --move4: inset(45% 0 40% 0);
    --move5: inset(45% 0 6% 0);
    --move6: inset(14% 0 61% 0);
    clip-path: var(--move1);
    content: 'REZERVÄ’T';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}

/* Button Hover Effects */
.btn:hover::after {
    animation: glitch_4011 1s;
    text-shadow: 10 10px 10px black;
    animation-timing-function: steps(2, end);
    text-shadow: -3px -3px 0px #ec8c0e, 3px 3px 0px #8026c9;
    background-color: transparent;
    border: 3px solid rgb(236, 140, 14);
}

.btn:hover {
    text-shadow: -1px -1px 0px #ec8c0e, 1px 1px 0px #6e1ab2;
    background-color: transparent;
    border: 1px solid rgb(236, 140, 14);
    box-shadow: 0px 10px 10px -10px rgb(236, 140, 14);
}

/* Button Animation */
@keyframes glitch_4011 {
    0% {
        clip-path: var(--move1);
        transform: translate(0px, -10px);
    }
    10% {
        clip-path: var(--move2);
        transform: translate(-10px, 10px);
    }
    20% {
        clip-path: var(--move3);
        transform: translate(10px, 0px);
    }
    30% {
        clip-path: var(--move4);
        transform: translate(-10px, 10px);
    }
    40% {
        clip-path: var(--move5);
        transform: translate(10px, -10px);
    }
    50% {
        clip-path: var(--move6);
        transform: translate(-10px, 10px);
    }
    60% {
        clip-path: var(--move1);
        transform: translate(10px, -10px);
    }
    70% {
        clip-path: var(--move3);
        transform: translate(-10px, 10px);
    }
    80% {
        clip-path: var(--move2);
        transform: translate(10px, -10px);
    }
    90% {
        clip-path: var(--move4);
        transform: translate(-10px, 10px);
    }
    100% {
        clip-path: var(--move1);
        transform: translate(0);
    }
}

/* Layout Utilities */
.overlayer {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(0, 0, 0, 0.3);
}

/* Background Patterns */
.home-content {
    background-image: url('../img/pattern/p_content_bg.svg'), 
                      url('../img/pattern/p_content_bg.svg'), 
                      linear-gradient(to bottom, rgb(23 23 27 / 100%), rgb(23 23 27 / 100%));
    background-size: 70%, 70%, cover;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: -80% 22%, 222% 65%, center;
}

/* Swiper Styles */
.swiper-pagination-bullet {
    width: 50px;
    height: 5px;
    border-radius: 0;
    background: #fff;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--col-orange) !important;
}

.swiper-button-next, 
.swiper-button-prev {
    position: absolute;
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
}

/* Responsive Utilities */
.mob-show,
.mob-sm-show,
.mob-md-show,
.mob-lg-show,
.mob-xl-show,
.mob-xxl-show {
    display: none !important;
}

/* Media Queries */
@media (max-width: 1400px) {
    .mob-xxl-show {
        display: flex !important;
    }
    .mob-xxl-hide {
        display: none;
    }
}

@media (max-width: 1200px) {
    .mob-xl-show {
        display: flex !important;
    }
    .mob-xl-hide {
        display: none;
    }
    .horizontal-line {
        left: 65%;
        width: 170px;
    }
}

@media (max-width: 992px) {
    .mob-lg-show {
        display: flex !important;
    }
    .mob-lg-hide {
        display: none;
    }
    .transition,
    .transition-2 {
        padding: 40px;
    }
    .info-box {
        gap: 100px;
    }
    .home-about {
        padding: 100px 0;
        gap: clamp(50px, 100px, 320px);
    }
    .header-home-texts {
        min-height: 770px !important;
        padding-bottom: 80px !important;
    }
}

@media (max-width: 768px) {
    .mob-md-show {
        display: flex !important;
    }
    .mob-md-hide {
        display: none;
    }
    .ps-9 {
        padding-left: 50px;
    }
    .mobile-hide {
        display: none;
    }
    .mobile-show {
        display: block;
    }
}

@media (max-width: 576px) {
    .mob-sm-show {
        display: flex !important;
    }
    .mob-sm-hide {
        display: none;
    }
    .service:hover::before,
    .service:hover .diff,
    .service:hover .offer-card-content {
        transform: translateY(0px);
    }
}