:root {
    --blue: #a2dff7;
    --blue-dark: #5bb9df;

    --pink: #ffb7b2;
    --pink-dark: #ff8f89;

    --yellow: #ffeead;
    --yellow-dark: #f3d95b;

    --mint: #b2f7ef;
    --mint-dark: #4ecdc4;

    --red: #ff6b6b;
    --red-dark: #d94d4d;

    --purple: #cdb4db;

    --text: #2d3142;
    --muted: #697386;

    --cream: #fffaf5;
    --background: #f8fbfe;

    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;
}


/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
}

button,
a {
    font-family: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
.logo {
    font-family: "Fredoka", sans-serif;
}

a {
    color: inherit;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 7%;

    background: rgba(255, 255, 255, 0.97);

    position: sticky;
    top: 0;

    z-index: 1000;

    border-radius: 0 0 28px 28px;

    box-shadow: 0 8px 30px rgba(45, 49, 66, 0.06);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.45rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo .n1 {
    color: var(--red);
}

.logo .n2 {
    color: var(--mint-dark);
}

.logo .n3 {
    color: #ffd93d;
}

.logo-text {
    margin-left: 8px;
    color: var(--text);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;

    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    position: relative;

    text-decoration: none;
    color: var(--text);

    font-size: 1rem;
    font-weight: 800;

    padding: 10px 4px;

    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--red);
}

.active-link {
    color: var(--red) !important;
}

.active-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 2px;

    height: 4px;

    border-radius: 10px;

    background: var(--red);
}


/* Mobile Menu */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    border: none;
    border-radius: 14px;

    background: var(--yellow);

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 22px;
    height: 3px;

    border-radius: 10px;

    background: var(--text);
}


/* =========================================
   GENERAL
========================================= */

.page-content {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 70px 7%;
}

.section-kicker {
    display: inline-block;

    color: var(--red);

    font-size: 0.82rem;
    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 12px;
}

.section-header,
.catalog-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.catalog-header h1,
.section-header h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);

    line-height: 1.05;

    margin: 0 0 20px;
}

.catalog-header h1 span,
.section-header h2 span {
    color: var(--red);
}

.catalog-header p,
.section-header p {
    color: var(--muted);

    font-size: 1.08rem;

    line-height: 1.7;

    margin: 0 auto;
}


/* =========================================
   HERO
========================================= */

.hero {
    max-width: 1400px;

    min-height: 730px;

    margin: 0 auto;

    padding: 65px 7% 80px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;

    padding: 9px 17px;

    background: var(--yellow);

    border-radius: 50px;

    font-size: 0.8rem;
    font-weight: 900;

    letter-spacing: 1px;

    margin-bottom: 18px;

    box-shadow: 0 5px 0 var(--yellow-dark);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.3rem);

    line-height: 0.98;

    margin: 0;

    letter-spacing: -1px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero p {
    max-width: 600px;

    color: var(--muted);

    font-size: 1.15rem;

    line-height: 1.75;

    margin: 28px 0;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 16px;

    align-items: center;
}


/* Main button */

.btn-playful {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 16px 28px;

    background: var(--red);

    color: white;

    text-decoration: none;

    border-radius: 18px;

    font-size: 1.05rem;

    font-weight: 900;

    box-shadow: 0 6px 0 var(--red-dark);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.btn-playful:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--red-dark);
}

.btn-playful:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--red-dark);
}


/* Secondary */

.btn-secondary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 25px;

    border: 3px solid var(--text);

    border-radius: 18px;

    color: var(--text);

    text-decoration: none;

    font-weight: 900;

    background: white;

    transition: 0.2s ease;
}

.btn-secondary:hover {
    background: var(--text);
    color: white;
}


/* Hero features */

.hero-features {
    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 35px;
}

.hero-features div {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 0.85rem;
}

.hero-features span {
    font-size: 1.2rem;
}


/* Hero image */

.hero-img {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.hero-img-box {
    width: 100%;
    height: 500px;

    display: flex;

    align-items: center;
    justify-content: center;

    position: relative;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(162, 223, 247, 0.45) 0%,
            rgba(255, 255, 255, 0) 68%
        );
}

.hero-img-box img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    position: relative;

    z-index: 2;

    animation: float 6s ease-in-out infinite;
}

.hero-loader {
    position: absolute;

    width: 55px;
    height: 55px;

    border: 5px solid #e8eef2;

    border-top-color: var(--red);

    border-radius: 50%;

    animation: spin 0.8s linear infinite;

    z-index: 1;
}

.hero-loader.hidden {
    display: none;
}


/* Decorative shapes */

.hero-decoration {
    position: absolute;

    z-index: 3;

    font-size: 2rem;

    animation: floatSmall 4s ease-in-out infinite;
}

.decoration-one {
    top: 15%;
    left: 3%;
}

.decoration-two {
    right: 5%;
    top: 12%;

    animation-delay: 1s;
}

.decoration-three {
    left: 10%;
    bottom: 15%;

    font-size: 2.4rem;

    animation-delay: 2s;
}


/* =========================================
   HOME INTRO
========================================= */

.home-intro {
    padding: 30px 7% 90px;
}


/* =========================================
   TOY CATALOG
========================================= */

.toy-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(270px, 1fr));

    gap: 28px;

    margin-top: 55px;
}

.toy-card {
    background: white;

    padding: 22px;

    border-radius: 30px;

    text-align: center;

    border: 3px solid transparent;

    cursor: pointer;

    box-shadow:
        0 10px 35px rgba(45, 49, 66, 0.06);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.toy-card:hover {
    transform: translateY(-8px);

    border-color: var(--blue);

    box-shadow:
        0 18px 40px rgba(45, 49, 66, 0.1);
}

.toy-card:focus-visible {
    outline: 4px solid var(--yellow-dark);
    outline-offset: 4px;
}

.toy-image-wrapper {
    width: 100%;
    height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #fafcfd;

    border-radius: 22px;

    overflow: hidden;

    margin-bottom: 20px;
}

.toy-card img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 15px;

    transition: transform 0.3s ease;
}

.toy-card:hover img {
    transform: scale(1.05);
}

.toy-number {
    display: inline-block;

    background: var(--yellow);

    border-radius: 50px;

    padding: 5px 11px;

    font-size: 0.7rem;

    font-weight: 900;

    margin-bottom: 10px;
}

.toy-card h3 {
    font-size: 1.35rem;

    line-height: 1.2;

    margin: 0 0 10px;
}

.toy-age {
    display: inline-block;

    background: #ffe9e7;

    color: var(--red-dark);

    padding: 7px 13px;

    border-radius: 50px;

    font-size: 0.82rem;

    font-weight: 900;
}


/* =========================================
   MODAL
========================================= */

.modal {
    display: none;

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(20, 24, 35, 0.78);

    backdrop-filter: blur(5px);

    z-index: 2000;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    width: 100%;
    max-width: 1150px;

    max-height: 92vh;

    overflow: hidden;

    background: white;

    border-radius: 35px;

    position: relative;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.25);

    animation: modalIn 0.25s ease;
}

.modal-body {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    min-height: 600px;
}


/* Close */

.close-modal {
    position: absolute;

    right: 20px;
    top: 18px;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: white;

    color: var(--text);

    font-size: 2rem;

    line-height: 1;

    z-index: 100;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);

    transition: 0.2s ease;
}

.close-modal:hover {
    background: var(--red);
    color: white;

    transform: rotate(90deg);
}


/* Gallery */

.gallery-side {
    padding: 45px;

    background: white;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.gallery-label {
    width: 100%;

    color: var(--muted);

    font-size: 0.75rem;

    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 15px;
}

.slider-container {
    position: relative;

    width: 100%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.slider-window {
    width: 100%;
    height: 420px;

    overflow: hidden;

    border-radius: 28px;

    background: #fafcfd;
}

.slider-track {
    height: 100%;

    display: flex;

    transition:
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-track img {
    min-width: 100%;

    width: 100%;

    height: 100%;

    object-fit: contain;

    padding: 20px;
}


/* Arrows */

.nav-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: var(--blue);

    color: var(--text);

    font-size: 2rem;

    line-height: 1;

    z-index: 10;

    display: flex;

    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);

    transition: 0.2s ease;
}

.nav-arrow:hover {
    background: var(--yellow);

    transform:
        translateY(-50%)
        scale(1.08);
}

.prev {
    left: 12px;
}

.next {
    right: 12px;
}


/* Thumbnails */

.thumb-strip {
    display: flex;

    gap: 12px;

    margin-top: 18px;

    max-width: 100%;

    overflow-x: auto;

    padding: 5px;
}

.thumb-strip img {
    flex: 0 0 auto;

    width: 70px;
    height: 70px;

    object-fit: cover;

    border-radius: 15px;

    border: 3px solid #e9edf0;

    cursor: pointer;

    transition: 0.2s ease;
}

.thumb-strip img:hover {
    border-color: var(--blue);
}

.active-thumb {
    border-color: var(--red) !important;

    transform: scale(1.05);
}


/* Product information */

.info-side {
    padding: 65px 45px;

    background: var(--cream);

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.info-badge {
    display: inline-block;

    width: fit-content;

    padding: 7px 13px;

    background: var(--yellow);

    border-radius: 50px;

    font-size: 0.72rem;

    font-weight: 900;

    letter-spacing: 0.5px;

    margin-bottom: 14px;
}

.info-side h2 {
    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.05;

    margin: 0 0 15px;
}

.modal-age {
    width: fit-content;

    background: #ffe5e5;

    color: var(--red-dark);

    padding: 8px 15px;

    border-radius: 50px;

    font-size: 0.85rem;

    font-weight: 900;

    margin-bottom: 20px;
}

.modal-desc {
    color: var(--muted);

    font-size: 1rem;

    line-height: 1.7;

    margin: 0 0 25px;
}


/* Specs */

.toy-specs {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-bottom: 20px;
}

.toy-specs span {
    display: block;

    padding: 10px 14px;

    background: white;

    border-radius: 12px;

    font-size: 0.88rem;

    font-weight: 800;
}


/* Enquiry */

.enquiry-note {
    color: var(--muted);

    background: rgba(162, 223, 247, 0.25);

    border-radius: 14px;

    padding: 12px 14px;

    font-size: 0.85rem;

    line-height: 1.5;

    margin-bottom: 5px;
}


/* WhatsApp */

.wa-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    padding: 17px 20px;

    margin-top: 18px;

    background: var(--whatsapp);

    color: white;

    text-decoration: none;

    border-radius: 18px;

    font-size: 1.05rem;

    font-weight: 900;

    box-shadow: 0 6px 0 var(--whatsapp-dark);

    transition: 0.15s ease;
}

.wa-btn:hover {
    transform: translateY(-2px);

    box-shadow: 0 8px 0 var(--whatsapp-dark);
}

.wa-btn:active {
    transform: translateY(3px);

    box-shadow: 0 3px 0 var(--whatsapp-dark);
}


/* =========================================
   CONTACT
========================================= */

.contact-page {
    min-height: 80vh;
}

.contact-grid {
    max-width: 1150px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.contact-card-item {
    background: white;

    padding: 38px 28px;

    border-radius: 30px;

    text-align: center;

    border: 3px solid var(--blue);

    box-shadow:
        0 10px 30px rgba(45, 49, 66, 0.05);

    transition: 0.25s ease;
}

.contact-card-item:hover {
    transform: translateY(-7px);

    border-color: var(--pink);
}

.featured-contact {
    border-color: var(--mint);
}

.icon-circle {
    width: 80px;
    height: 80px;

    margin: 0 auto 20px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 2.5rem;

    background: #f5f9fb;
}

.contact-label {
    display: block;

    color: var(--red);

    font-size: 0.75rem;

    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 8px;
}

.contact-card-item h3 {
    margin: 0 0 12px;

    font-size: 1.35rem;
}

.contact-card-item p {
    margin: 0;

    color: var(--muted);

    line-height: 1.6;
}

.wa-small-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 20px;

    padding: 12px 20px;

    background: var(--whatsapp);

    color: white;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 900;

    box-shadow: 0 4px 0 var(--whatsapp-dark);

    transition: 0.15s ease;
}

.wa-small-btn:hover {
    transform: translateY(-2px);
}


/* Contact CTA */

.contact-bottom {
    max-width: 850px;

    margin: 70px auto 0;

    padding: 50px 30px;

    text-align: center;

    background: var(--yellow);

    border-radius: 35px;
}

.contact-bottom-icon {
    font-size: 3rem;

    margin-bottom: 10px;
}

.contact-bottom h2 {
    font-size: 2.2rem;

    margin: 0 0 10px;
}

.contact-bottom p {
    color: var(--text);

    margin: 0 0 25px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    margin-top: 60px;

    padding: 45px 7% 30px;

    text-align: center;

    background: white;

    border-radius: 40px 40px 0 0;

    box-shadow: 0 -5px 30px rgba(45, 49, 66, 0.04);
}

.footer-logo {
    font-family: "Fredoka", sans-serif;

    font-size: 1.5rem;

    font-weight: 700;

    margin-bottom: 10px;
}

.footer-logo .n1 {
    color: var(--red);
}

.footer-logo .n2 {
    color: var(--mint-dark);
}

.footer-logo .n3 {
    color: #ffd93d;
}

.site-footer > p {
    color: var(--muted);

    margin: 0 0 20px;
}

.footer-links {
    display: flex;

    justify-content: center;

    gap: 25px;

    margin-bottom: 25px;
}

.footer-links a {
    text-decoration: none;

    font-weight: 800;

    color: var(--text);
}

.footer-links a:hover {
    color: var(--red);
}

.site-footer .copyright {
    font-size: 0.8rem;

    margin: 0;

    color: #9aa2ad;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

@keyframes floatSmall {
    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 55px;

        gap: 20px;
    }

    .hero-text {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero p {
        max-width: 700px;
    }

    .hero-img {
        min-height: 420px;
    }

    .hero-img-box {
        height: 420px;
    }

    .hero-features {
        justify-content: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-height: 94vh;

        overflow-y: auto;
    }

    .gallery-side {
        padding: 35px 30px 20px;
    }

    .slider-window {
        height: 350px;
    }

    .info-side {
        padding: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .navbar {
        padding: 12px 5%;

        border-radius: 0 0 20px 20px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo-text {
        margin-left: 5px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;

        position: absolute;

        left: 5%;
        right: 5%;

        top: calc(100% + 8px);

        padding: 12px;

        flex-direction: column;

        gap: 3px;

        background: white;

        border-radius: 20px;

        box-shadow:
            0 15px 40px rgba(45, 49, 66, 0.12);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        width: 100%;

        padding: 13px 16px;

        border-radius: 12px;
    }

    .nav-links a:hover {
        background: #f8fafb;
    }

    .active-link::after {
        display: none;
    }


    .page-content {
        padding: 50px 5%;
    }

    .hero {
        min-height: auto;

        padding: 50px 5% 60px;

        gap: 5px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;

        max-width: 330px;
    }

    .hero-features {
        gap: 12px;

        justify-content: center;
    }

    .hero-features div {
        font-size: 0.75rem;
    }

    .hero-img {
        min-height: 330px;
    }

    .hero-img-box {
        height: 330px;
    }

    .decoration-one {
        left: 0;
    }

    .decoration-two {
        right: 0;
    }

    .toy-grid {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 40px;
    }

    .toy-card {
        padding: 18px;
    }

    .toy-image-wrapper {
        height: 230px;
    }


    /* Modal mobile */

    .modal {
        padding: 8px;
    }

    .modal-content {
        border-radius: 25px;

        max-height: 96vh;
    }

    .close-modal {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;

        font-size: 1.7rem;
    }

    .gallery-side {
        padding: 25px 15px 15px;
    }

    .slider-window {
        height: 270px;

        border-radius: 20px;
    }

    .slider-track img {
        padding: 10px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;

        font-size: 1.6rem;
    }

    .prev {
        left: 7px;
    }

    .next {
        right: 7px;
    }

    .thumb-strip img {
        width: 60px;
        height: 60px;
    }

    .info-side {
        padding: 25px 20px 30px;
    }

    .info-side h2 {
        font-size: 2rem;
    }

    .wa-btn {
        padding: 15px;
    }


    /* Contact */

    .contact-grid {
        margin-top: 40px;
    }

    .contact-card-item {
        padding: 30px 20px;
    }

    .contact-bottom {
        margin-top: 45px;

        padding: 40px 20px;
    }

    .contact-bottom h2 {
        font-size: 1.8rem;
    }


    /* Footer */

    .site-footer {
        margin-top: 35px;

        padding: 35px 5% 25px;
    }

    .footer-links {
        gap: 18px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}