/*
Theme Name: iGaming Child Theme
Description: Wordpress Child Theme based on new-theme
Author: Deividas Gabrielaitis
Requires at least: 6.0.0
Tested up to: 6.0.0
Requires PHP: 8.0
Version: 1
Template: new-theme
Text Domain: igaming-new-theme
*/

html body {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
}

.secondary-font {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

#main-menu li a {
    text-transform: uppercase;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.053em;
    color: #35314D;
    border: none !important
}

#footer_menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #35314D;
}
#footer_menu a {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.025em;
}

#footer_bottom_menu {
    display: flex;
    gap: 32px;
    flex-direction: row;
}

#footer_bottom_menu a {
    color: #fff;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.025em;
}

.igaming-btn {
    display: inline-flex;
    padding: 8px 48px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    text-decoration: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #AB052A 0%, #ED1848 98.08%);
    box-shadow: 0px 4px 7px 0px #8F002080;
    border-radius: 24px;
    letter-spacing: 0.1em;
}
.advantages-block .advantages-item:nth-child(1) .advantages-icon > div {
    border-color: #B2F0F4;
}
.advantages-block .advantages-item:nth-child(2) .advantages-icon > div {
    border-color: #F1B3F7;
}
.advantages-block .advantages-item:nth-child(3) .advantages-icon > div {
    border-color: #FAE0B3;
}
.advantages-block .advantages-item:nth-child(4) .advantages-icon > div {
    border-color: #B2F0F4;
}

/* Advantages scroll functionality */
.advantages-scroll-container {
    position: relative;
}

.advantages-scroll-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.advantages-scroll-btn {
    transition: all 0.3s ease;
    box-shadow: 0px 4px 7px 0px rgba(143, 0, 32, 0.5);
}

.advantages-scroll-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0px 6px 10px 0px rgba(143, 0, 32, 0.6);
}

.advantages-scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.advantages-scroll-btn:disabled:hover {
    transform: none;
    box-shadow: 0px 4px 7px 0px rgba(143, 0, 32, 0.5);
}

.advantages-scroll-btn svg {
    transition: transform 0.2s ease;
}

.advantages-scroll-btn:hover:not(:disabled) svg {
    transform: scale(1.1);
}

.advantages-scroll-wrapper {
    overflow: hidden;
}

/* On desktop (lg and up), show all items without scroll */
@media (min-width: 1024px) {
    .advantages-scroll-wrapper {
        overflow: visible;
    }
    
    .advantages-scroll-content {
        transform: none !important;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .advantages-item {
        flex: 1;
        min-width: 0 !important; /* Override mobile min-width and allow items to shrink */
        max-width: calc(25% - 1.125rem); /* Equal width with gap consideration */
    }
}

.advantages-scroll-content {
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.advantages-item {
    flex-shrink: 0;
}

@media all and (min-width: 1280px) {
    #main-menu li a {
        margin: 0 20px !important;
    }
}
@media all and (max-width: 1279px) {
    #main-menu {
        padding: 0 !important;
    }
    #main-menu li a {
        padding: 15px 0 !important;
    }
}
@media all and (max-width: 640px) {
    #footer_bottom_menu {
        gap: 16px
    }
}
@media all and (max-width: 768px) {
    .advantages-scroll-btn {
        width: 40px;
        height: 40px;
    }
    
    .advantages-scroll-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .advantages-scroll-buttons {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
}

@media all and (max-width: 500px) {
    .igaming-btn {
        width: 100%;
        justify-content: center;
    }
    
    .advantages-scroll-btn {
        width: 36px;
        height: 36px;
    }
    
    .advantages-scroll-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .advantages-scroll-buttons {
        gap: 0.5rem;
        margin-top: 1rem;
    }
}

.newsletter-form {
    padding: 80px;
    background: linear-gradient(90deg, #0133D7 0%, #01DEDB 100%);
    border: 4px solid #b2f0f4;
    border-radius: 32px;
    gap: 60px;
}
.newsletter-form input.email {
    background: white;
    padding: 8px 10px;
    border: 1px solid #D0D5DD;
    box-shadow: 0px 1px 2px 0px #1018280D;
    border-radius: 8px;
}
.newsletter-form input.email:placeholder {
    color: #000;
    opacity: 1;
}
.newsletter-form input[type="submit"] {
    margin: 0;
    display: inline-flex;
    padding: 8px 48px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    text-decoration: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #AB052A 0%, #ED1848 98.08%);
    box-shadow: 0px 4px 7px 0px #8F002080;
    border-radius: 24px;
    letter-spacing: 0.1em;
}
.newsletter-form input[type="submit"]:hover {
    cursor: pointer;
}
.newsletter-form .input-submit-row > p {
    display: flex;
    align-items: start;
    gap: 24px;
    flex-direction: row;
}
.newsletter-form .image {
    width: 222px;
    height: 225px;
}
.newsletter-form .image div {
    background-image: url('./assets/images/dice.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
.newsletter-form .newsletter-container {
    max-width: 700px;
}
.newsletter-form .newsletter-title {
    font-size: 56px;
    line-height: 68px;
}

@media all and (max-width: 1279px) {
    .newsletter-form {
        max-width: 100%;
    }
    .newsletter-form .image {
        display: none;
    }
    #main-menu .mega-menu-wrapper {
        border: none !important;
    }
    #main-menu .mega-menu-inner-wrapper {
        padding: 0 !important;
    }
    #main-menu .menu-block {
        margin: 0 !important;
    }
    #main-menu .mega-menu-wrapper {
        padding: 0 !important;
    }
}
@media all and (max-width: 1024px) {
    .newsletter-form .input-submit-row > p {
        flex-direction: column;
        gap: 0;
    }
    .newsletter-form .newsletter-title {
        font-size: 32px;
        line-height: 44px;
        text-align: center;
    }
    .newsletter-form input,
    .newsletter-form span:not(.wpcf7-spinner),
    .newsletter-form .input-submit-row > p {
        width: 100%;
    }
    .newsletter-form {
        padding: 20px;
    }
}
@media all and (max-width: 640px) {
    .contact-form .flex > p {
        flex-direction: column;
        width: 100%;
    }
}

#main-menu .menu-block {
    margin: 0 !important;
}
#main-menu .mega-menu-shadow {
    display: none;
}
#main-menu .mega-menu a.menu-item {
    padding: 8px 20px !important;
}
#main-menu .mega-menu-wrapper {
    border: 1px solid rgb(215, 203, 203);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: "Poppins", sans-serif;
    color: #5B5678;
}
.contact-form input:not([type="submit"]):not([type="checkbox"]),
.contact-form textarea {
    width: 100%;
    border: 1px solid #D0D6E3;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 16px;
    line-height: 24px;
    color: #5B5678;
    background: #fff;
}
.contact-form .flex > p {
    display: flex;
    gap: 24px;
}
.contact-form .checkbox label {
    display: flex;
    gap: 16px;
}
.contact-form .checkbox span {
    margin: 0;
}
.contact-form .checkbox a {
    text-decoration: underline;
    color: #5B5678;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #5B5678;
    opacity: 1;
}
.contact-form input[type="submit"] {
    margin: 0;
    opacity: 1 !important;
    display: inline-flex;
    padding: 8px 48px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    text-decoration: uppercase;
    background: radial-gradient(50% 50% at 50% 50%, #AB052A 0%, #ED1848 98.08%);
    box-shadow: 0px 4px 7px 0px #8F002080;
    border-radius: 24px;
    letter-spacing: 0.1em;
    font-family: "Bebas Neue", sans-serif;
}
.map-iframe iframe {
    width: 100%;
}
.content-block p {
    font-size: 18px;
    line-height: 24px;
    color: #5B5678;
    font-family: "Poppins", sans-serif;
    min-height: 24px;
    margin-bottom: 24px;
}

.content-block b,
.content-block strong {
    font-size: 24px;
    line-height: 30px;
    font-family: "Bebas Neue", sans-serif;
}

.footer-form {
    background: linear-gradient(90deg, #41109E 0%, #D401E6 100%);
    border: 4px solid #F1B3F7;
    border-radius: 18px;
    margin: 80px 0;
}
.footer-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px;
    z-index: 10;
    position: relative;
}
.footer-form-container .footer-form-title {
    font-size: 40px;
    line-height: 52px;
    letter-spacing: 0.02em;
    text-align: center;
}
.footer-form-container .footer-form-description {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    font-family: "Poppins", sans-serif;
}
.footer-form-container .row {
    display: flex;
    gap: 24px;
}
.footer-form-container .footer-form-content {
    font-family: "Poppins", sans-serif;
}
.footer-form-container input:not([type="checkbox"]):not([type="submit"]),
.footer-form-container textarea {
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    width: 100%;
    color: #8D899F;
}
.footer-form-container textarea {
    max-height: 130px;
}
.footer-form-container label {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-form-container .footer-form-checkbox span {
    margin: 0;
}
.footer-form-container .footer-form-checkbox label {
    display: flex;
    gap: 16px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
}
.footer-form-container .footer-form-checkbox a {
    text-decoration: underline;
}
.footer-form-container .footer-form-checkbox label input {
    height: 20px;
    width: 20px;
}

.footer-form-container input[type="submit"] {
    margin: 0;
    display: flex;
    width: 100%;
    padding: 8px 48px;
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    background: radial-gradient(50% 50% at 50% 50%, #AB052A 0%, #ED1848 98.08%);
    box-shadow: 0px 4px 7px 0px #8F002080;
    border-radius: 24px;
    letter-spacing: 0.1em;
    font-family: "Bebas Neue", sans-serif;
}
.footer-form-container .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 16px;
    color: #ff7c7c;
    font-weight: bold;
}
.footer-form .right-image {
    position: absolute;
    right: 40px;
    bottom: 40px;
    height: 350px;
    width: 575px;
    background-image: url('./assets/images/footer-form-bottom.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
}
.footer-form .left-image {
    position: absolute;
    left: 80px;
    top: 80px;
    height: 113px;
    width: 200px;
    background-image: url('./assets/images/diamonds.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
}
@media all and (max-width: 1279px) {
    .footer-form-container {
        padding: 40px 20px;
    }
    .footer-form-container .row {
        flex-direction: column;
    }
    .footer-form .left-image,
    .footer-form .right-image {
        display: none;
    }
    .footer-form .footer-form-title {
        font-size: 32px;
        line-height: 40px;
    }
}
