*, *::before, *::after {
    box-sizing: border-box;
}

body,
html {
    background-color: #342B2C;
    padding: 0;
    margin: 0;
    width: 100%;
    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #342B2C #1B1A18;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center
}

.background-wrap {
    width: calc(100% - 14px);
    height: auto;
    margin: 10px auto;
    border-radius: 35px;
    background: #1B1A18;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 10px;
    left: 7px;
    width: calc(100% - 14px);
    height: 70px;
    z-index: 9999;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    transition: all 0.4s ease;
}

.navbar-logo {
    margin-left: 50px;
    cursor: pointer;
    transition: all 0.35s ease;
}

.navbar-logo img {
    width: 130px;
}

.navbar-logo:hover {
    transform: scale(0.97);
}

.navbar-logo:active {
    transform: scale(0.9);
}

.nav-links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    margin-left: auto;
    margin-right: 27%;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 17px;

    cursor: pointer;
    transition: all 0.35s ease;
}

.nav-link:hover {
    color: #F79346;
}


.navbar.scrolled {
    top: -1px;
}

.navbar.scrolled::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #1b1a1850;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    z-index: -2;
}

/* Agar scroll bo'lganda linklar rangini ham o'zgartirmoqchi bo'lsangiz: */
.navbar.scrolled .nav-link {}


.nav-btn {
    padding: 16px 40px;
    margin-right: 55px;

    text-decoration: none;
    color: #fff;
    font-family: 'Godber';

    border-radius: 9999px;
    background: #F79346;

    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #6f4e37;
    transform: scale(1.06);
}

.nav-btn:active {
    background-color: #7c5940db;
    transform: scale(0.95);
}


/* Footer */

footer {
    position: relative;
    width: 70%;
    height: auto;

    margin-top: 70px;
    color: #ffffff;

    background-color: #342B2C;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto;
}

.footer-logo img {
    width: 250px;
}

.footer-column-wrap {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 140px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 8px;
}

.footer-column a img {
    width: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-column a img:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0px 5px 15px rgba(247, 147, 70, 0.4);
    background-color: #F7934615;
}

.footer-column a img:active {
    transform: scale(0.95);
}

.footer-column h2 {
    color: #F79346;
    font-family: 'GeneraBold';
    font-size: 27px;

    margin-top: 0;
    margin-bottom: 5px;
}

.footer-column a {
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;

    margin: 0;

    transition: color 0.2s ease, transform 0.35s ease;
}

.footer-column a:hover {
    color: #F79346;
    transform: translateX(10px) scale(1.02);
}



.footer-line {
    width: 100%;
    height: 1.4px;
    margin: 0 auto;
    margin-top: 45px;
    margin-bottom: 40px;

    background-color: #ffffff30;
}


.footer-bottom {
    width: 100%;
    height: auto;

    margin-bottom: 35px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
}

.footer-bottom-text {
    color: #ffffff50;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 300;
}

.footer-bottom-links a {
    text-decoration: none;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;

    transition: all 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff70;
}

body.no-scroll {
    overflow: hidden;
}

/* --- Burger Menu Styles --- */
.burger-menu {
    display: none;
    cursor: pointer;
    margin-right: 50px;
    z-index: 10000;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-only, .mobile-only-btn {
    display: none;
}

/* --- Media Queries for style.css --- */

@media screen and (max-width: 1024px) {
    .nav-links {
        margin-right: 5%;
    }
    .footer-column-wrap {
        gap: 50px;
    }

    .footer-container {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    body, html {
        overflow-x: hidden;
    }
    
    .nav-links {
        position: fixed;
        left: 0;
        top: -100vh;
        opacity: 0;
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding-top: 60px;
        background-color: #1B1A18f7;
        backdrop-filter: blur(10px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: top 0.5s ease, opacity 0.5s ease;
        z-index: -1;
    }

    .nav-links.nav-active {
        top: 0;
        opacity: 1;
    }
    
    .nav-link {
        font-size: 28px;
        margin: 15px 0;
    }

    .burger-menu {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-only-btn {
        display: block;
        margin-top: 20px;
        margin-right: 0;
        font-size: 20px;
        padding: 12px 50px;
    }

    footer {
        width: 90%;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 40px;
    }

    .footer-column-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-column {
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .navbar-logo {
        margin-left: 20px;
    }
    .navbar-logo img {
        width: 100px;
    }
    .burger-menu {
        margin-right: 20px;
    }
}

/* --- Scroll Reveal Animations --- */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(3px);
    transition: all 0.6s ease-out;
}
.hidden-left {
    opacity: 0;
    transform: translateX(-40px);
    filter: blur(3px);
    transition: all 0.6s ease-out;
}
.hidden-right {
    opacity: 0;
    transform: translateX(40px);
    filter: blur(3px);
    transition: all 0.6s ease-out;
}
.hidden-nav {
    opacity: 0;
    transform: translateY(-15px);
    transition: all 0.4s ease-out;
}
.show {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
}