/* ===== --- ===== IMPORT:FONT ===== --- ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ===== --- ===== ROOT:COLOR ===== --- ===== */
:root {
    --primary-color: #d6993c;
    --background-color: #fcf0d6;
    --heading-color: #C1121F;
    --paragraph-color: #1A1A1A;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

::selection{
    background: var(--primary-color);
    color: #fff;
}

/* ===== --- ===== BASIC ===== --- ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;
    color: var(--heading-color);
}

body {
    scroll-behavior: smooth;
    background-color: var(--background-color);
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    cursor: grab;
}

.custom-scrollbar {
    overflow-y: auto;
    max-height: 300px;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

/* ===== --- ===== NAVBAR ===== --- ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 15px 0px;
    margin: 20px 40px;
    background-color: transparent;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}

.desktop-nav {
    display: block;
}

.mobile-nav {
    display: none;
}

.nav-container {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 40px;
}

.nav-container.scrolled img {
    filter: brightness(1000%) contrast(1000%);
}

.nav-logo-identic {
    width: 14vw;
    height: auto;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.nav-container h1 {
    color: var(--heading-color);
    font-weight: 800;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: var(--heading-color);
    font-weight: 900;
}

.navbar .nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--heading-color);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.navbar .nav-links a.active::before,
.navbar .nav-links a:hover::before {
    width: 100%;
    height: 3px;
    border-radius: 3px;
}

.nav-school-btn {
    width: 170px;
    height: 45px;
    border-radius: 5px;
    padding: 5px 30px;
    text-align: center;
    background-color: var(--heading-color);
    border: 3px solid var(--heading-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--heading-color);
    transition: all .3s ease-in-out;
}
.nav-school-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 0 3px rgb(255, 241, 215) inset,
                0 4px 12px rgba(0,0,0,0.08);
}

.nav-school-btn p {
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all .3s ease-in-out;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 16px;
    font-weight: 500;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--heading-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }

    .nav-container h1 {
        font-size: 25px;
    }    

    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        justify-content: center;
        align-items: center;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        z-index: 999;
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-links {
        list-style: none;
        text-align: center;
    }

    .mobile-nav-links li {
        margin: 40px 0;
    }

    .mobile-nav-links a {
        text-decoration: none;
        color: white;
        font-size: 20px;
        transition: all .3s ease;
    }

    .mobile-nav-links a:hover {
        color: var(--primary-color);
    }
        
    .mobile-nav-links a.active::before,
    .mobile-nav-links a:hover::before {
        width: 100%;
    }

    .burger-menu {
        display: flex;
        z-index: 999999;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-container .burger-menu.active span:nth-child(1),
    .nav-container .burger-menu.active span:nth-child(3) {
        background: white;
    }    

    .nav-container.scrolled .burger-menu.active span:nth-child(1),
    .nav-container.scrolled .burger-menu.active span:nth-child(3) {
        background: var(--heading-color);
    }    

    .nav-school-btn {
        display: none;
    }
}

/* ===== --- ===== MAIN CONTENT ===== --- ===== */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    
    background: url(images/hero-section-catalog.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-section .wrapper {
    text-align: center;
}

.hero-section .wrapper h1 {
    color: white;
    font-size: 64px;
    font-weight: 900;
    text-align: center;
    justify-content: center;
    width: 100%;
}
.hero-section .wrapper p {
    color: var(--background-color);
    font-size: 20px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-section .wrapper h1 {
        font-size: 46px;
    }
    .hero-section .wrapper p {
        font-size: 20px;
    }
}

.hero-section .wrapper a button {
    background-color: var(--heading-color);
    color: white;
    font-size: 20px;
    font-weight: 500;
    padding: 7px 45px;
    margin-top: 10px;
    border-radius: 50px;
    border: 3px solid var(--heading-color);
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.hero-section .wrapper a button:hover {
    background-color: transparent;
    color: white;
    border: 3px solid white;
}

.custom-shape-divider-bottom-1755467566 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1755467566 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1755467566 .shape-fill {
    fill: var(--background-color);
}

/* = Main Catalog = */
.main-catalog {
    width: 100%;
    display: flex;
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.main-catalog .wrapper1 {
    width: 90%;
}
.main-catalog .wrapper1 .container {
    background-color: #fff7ec;
    padding: 20px 30px;
    border-radius: 15px;
}

.main-catalog .wrapper1 section {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 25px 0;
    align-items: center;
}
.main-catalog .wrapper1 section h1 {
    width: 30%;
    font-size: 37px;
}
.main-catalog .wrapper1 section div {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 10px;
}
.main-catalog .wrapper1 section div p {
    width: 60%;
    text-align: right;
}
.main-catalog .wrapper1 section div a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-catalog .wrapper1 section div button {
    text-align: center;
    background-color: var(--heading-color);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 7px 30px;
    border-radius: 5px;
    border: 3px solid var(--heading-color);
    cursor: pointer;
    transition: all .3s ease-in-out;
}
.main-catalog .wrapper1 section div button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgb(255, 241, 215) inset,
                0 4px 12px rgba(0,0,0,0.08);
}

@media (max-width: 1000px) {
    .main-catalog .wrapper1 section,
    .main-catalog .wrapper1 section div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .main-catalog .wrapper1 section h1,
    .main-catalog .wrapper1 section div p {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main-catalog .wrapper1 section h1 {
        margin-top: -15px;
    }
    .main-catalog .wrapper1 section div p {
        display: none;
    }
}

.main-catalog .wrapper1 .container {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.main-catalog .wrapper1 .item {
    flex: 1 1 calc(33.333% - 10px);
    min-width: 200px;
    height: 320px;
    background: none;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

@media (max-width: 1000px) {
    .main-catalog .wrapper1 .item {
        flex: 1 1 calc(50% - 10px);
        height: 360px;
    }
}

@media (max-width: 690px) {
    .main-catalog .wrapper1 {
        width: 79%;
    }

    .main-catalog .wrapper1 .item {
        flex: 1 1 100%;
    }
}

.main-catalog .wrapper1 .item .text-content {
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.main-catalog .wrapper1 .item .text-content h2 {
    background-color: var(--heading-color);
    width: max-content;
    color: white;
    padding: 0 5px;
}
.main-catalog .wrapper1 .item .text-content p {
    color: black;
}

.main-catalog .wrapper1 .item a {
    width: 100%;
    height: 75%;
}

.main-catalog .wrapper1 .item a .box {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}
.main-catalog .wrapper1 .item a .box.qr-mode {
    background-size: contain !important;
}
.main-catalog .wrapper1 .item a .box:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 3px var(--heading-color) inset,
                0 4px 12px rgba(0,0,0,0.2);
}

/* ===== --- ===== FOOTER ===== --- ===== */
footer {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 80px;
    background-color: var(--heading-color);
    border-radius: 25px 25px 0 0;
}

footer .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
}

footer .wrapper h1 {
    font-size: 50px;
    color: white;
}

footer .wrapper .footer-widget {
    width: calc(20% - 30px);
    margin: 0 15px 10px;
    padding: 0 12px;
}

footer .wrapper .footer-widget:nth-child(1) {
    width: calc(40% - 50px);
    margin-right: 15px;
}

footer .wrapper .footer-widget .logo {
    margin-bottom: 30px;
    vertical-align: middle;
    width: 300px;
    height: auto;
    filter: brightness(1000%) contrast(1000%);
}

footer .desc {
    color: rgba(255, 255, 255, 0.73);
    font-weight: 300;
}

footer .wrapper .footer-widget p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
}

footer .wrapper .footer-widget .socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

footer .wrapper .footer-widget .socials li {
    list-style: none;
}

footer .wrapper .footer-widget .socials li a {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    color: #ffffff;
    background-color: white;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

footer .wrapper .footer-widget .socials li a:hover {
    background-color: var(--primary-color);
}

footer .wrapper .footer-widget h6 {
    color: white;
    margin: 10px 0 35px;
    font-size: 20px;
    font-weight: 600;
}

footer .wrapper .footer-widget .links li {
    list-style: none;
}

footer .wrapper .footer-widget .links li a {
    color: rgba(255, 255, 255, 0.73);
    font-size: 16px;
    text-decoration: none;
    text-transform: capitalize;
    line-height: 32px;
    transition: all 0.3s ease-out;
}

footer .wrapper .footer-widget .links li a:hover {
    color: var(--primary-color);
}

footer .copyright-wrapper {
    padding: 20px 0;
    border-top: 1px solid rgba(88, 89, 120, 0.4);
}

footer .copyright-wrapper p {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

footer .copyright-wrapper p a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-out;
    background-color: var(--primary-color);
    padding: 0 7px;
    border-radius: 2px;
}

footer .copyright-wrapper p a:hover {
    font-weight: 800;
}

@media (max-width: 992px) {
    footer .container {
        max-width: 960px;
    }

    footer .wrapper .footer-widget,
    footer .wrapper .footer-widget:nth-child(1) {
        width: calc(50% - 30px);
    }
}

@media (max-width: 768px) {
    footer .container {
        max-width: 720px;
    }

    footer .wrapper .footer-widget,
    footer .wrapper .footer-widget:nth-child(1) {
        width: 100%;
        margin: 0 10px 50px;
    }
}