/* form popup */
.bg-dark-custom {
    background-color: rgb(50, 50, 50);
}

#popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-light {
    box-shadow: 0px 10px 30px rgba(255, 255, 255, 0.1);
}

.svg-background {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bs-primary);
    border-radius: 50%;
    padding: 10px;
}

#formPopup {
    display: none;
    position: fixed;
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bs-secondary);
    z-index: 1000;
    text-align: center;
}

/* contact form */
.form-check-input:checked {
    background-color: var(--bs-light);
}

.form-check-input[type=checkbox] {
    border-radius: 0.25em;
    width: 30px;
    height: 30px;
    margin-right: 5px;
}

.bg-gradient-form {
    background: linear-gradient(to right, var(--bs-primary), var(--bs-secondary));
}

.form-check-label {
    cursor: pointer;
}

/* price list */
.pricing-card {
    border-radius: 1rem;
    color: #fff;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, var(--bs-primary), var(--bs-secondary));
}

/* btn-white */
.buy-button {
    position: relative;
    font-size: 25px;
    background-color: var(--bs-white);
    color: rgb(81, 81, 81);
    border-top-left-radius: 25px;
}

.buy-button:hover {
    background-color: rgb(248, 248, 248);
    color: #000;
}

.pricing-card:hover {
    transform: scale(1.03);
}

.price {
    font-size: 5rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.plan-features {
    margin: 1rem 0;
}

.plan-features p {
    padding: 0.5rem 0;
    margin: 0;
}

/* services and advantages */
.services-card {
    max-width: 400px;
}

/* about */
.about-img {
    width: 100%;
    height: auto;
}

@media (min-width: 992px) {
    .about-img {
        width: 30%;
    }
}

/* hero */
@media (min-width: 992px) {
    .aspect-lg-square {
        aspect-ratio: 2/1;
    }
}

.kinetic-hero {
    background: linear-gradient(rgba(var(--bs-primary-rgb), 0.5), rgba(var(--bs-dark-rgb), 0.5)), 
                        url('https://images.pexels.com/photos/8292830/pexels-photo-8292830.jpeg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
    color: white;
    padding: 100px 0;
}

.hero-title {
    color: #ffd34e;
}

.content-wrapper {
    position: relative;
    z-index: 3;
}

.floating-image {
    position: relative;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 30px 30px 0px rgba(0, 0, 0, 0.3);
}

.shape-accent {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--accent);
    bottom: -30px;
    right: -30px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%);
    z-index: -1;
    opacity: 0.8;
}

/* HEADER */
/* arrow */
.arrow {
    display: inline-block;
    transform: scale(1.3);
    transform-origin: center;
}

/* Hidden checkbox */
.dropdown-toggle {
    display: none;
}

/* Label acts like a link */
.dropdown-label {
    cursor: pointer;
}

/* Dropdown menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 150px;
    z-index: 100;
}

.dropdown-menu li {
    margin: 0.5rem 0;
}

.dropdown-menu li a {
    color: black;
    text-decoration: none;
}

/* Show dropdown when checkbox is checked */
.dropdown-toggle:checked + .dropdown-label + .dropdown-menu {
    display: block;
}

.burger-toggle {
    display: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin-left: 20px;
    position: relative;
    z-index: 101;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

@media (min-width: 960px) {
    .nav {
        justify-content: flex-end;
    }
}

@media (max-width: 960px) {
    .header {
        justify-content: space-between;
        padding: 15px 20px;
        position: relative;
    }

    .dropdown-menu {
        left: 0;
        min-width: 250px;
    }

    .burger-menu {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: auto;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: all 0.5s ease;
        z-index: 100;
        padding-bottom: 40px;
        padding-top: auto;
    }

    .nav ul {
        flex-direction: column;
        gap: 30px !important;
        padding-left: 30px;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Анимация бургер-иконки */
    #burger-toggle:checked ~ .burger-menu span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #burger-toggle:checked ~ .burger-menu span:nth-child(2) {
        opacity: 0;
    }

    #burger-toggle:checked ~ .burger-menu span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }

    /* Показываем меню при активации чекбокса */
    #burger-toggle:checked ~ .nav {
        left: 0;
    }
}

body {
    font-family: system-ui, sans-serif;
}

/* font-size for large headings */
.fs-custom {
    font-size: clamp(19px, 5vw, 30px);
}

/* btn-white */
.btn-white {
    background-color: var(--bs-white);
    color: #000;
}

.btn-white:hover {
    background-color: rgb(248, 248, 248);
    color: #000;
}
