@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

@font-face {
	font-family: 'KG Corner of the Sky';
	src: url('../fonts/KGCorneroftheSky.eot');
	src: url('../fonts/KGCorneroftheSky.eot?#iefix') format('embedded-opentype'),
		url('../fonts/KGCorneroftheSky.woff') format('woff'),
		url('../fonts/KGCorneroftheSky.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'webfontregular';
    src: url('../fonts/bauhaus_heavy_t.-webfont.woff2') format('woff2'),
         url('../fonts/bauhaus_heavy_t.-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Mandala';
    src:url('../fonts/Mandala.ttf.woff') format('woff'),
        url('../fonts/Mandala.ttf.svg#Mandala') format('svg'),
        url('../fonts/Mandala.ttf.eot'),
        url('../fonts/Mandala.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

/* =========================================================================
   BASE
   ========================================================================= */

body {
    font-family: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #e8f5e9;
    background-image: none;
    overflow-x: hidden;
    color: #333;
}

/* =========================================================================
   HEADER
   ========================================================================= */

#headerContainer {
    display: block;
    height: inherit;
    width: 100%;
    background-color: #fff;
    border-bottom: 6px solid #cf3d6e;
    padding: 15px 0;
}

.mainTitle {
    font-family: 'webfontregular';
    font-size: 42px;
    color: #086921;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #479e2b;
}

.subTitle {
    font-family: 'Mandala';
    font-size: 22px;
    color: #479e2b;
    margin-top: -15px;
}

#phoneTop {
    font-family: 'Mandala';
    font-size: 22px;
    color: #cf3d6e;
}

#topBunny1 img, #topBunny2 img {
    width: 55%;
    height: auto;
}

h2, .h2 {
    font-family: 'Mandala';
    font-size: 22px;
    color: #479e2b;
    margin-top: 30px;
}

h3 {
    font-family: 'webfontregular';
    color: #cf3d6e;
    font-size: 24px;
    margin-bottom: 20px;
}

h4 {
    color: #fcbc90;
    font-size: 14px;
    font-weight: 700;
    margin-top: 20px;
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */

#navContainer {
    padding: 0;
    background-color: #e8f5e9;
}

#headerShelf {
    background-color: #a67e54;
    display: inline-block;
    height: 20px;
    border-bottom: solid 4px #997456;
    border-top: solid 4px #bc9a80;
    width: 100%;
    z-index: 2;
    position: relative;
}

.navMenu {
    height: 105px;
}

.navMenu ul {
    position: relative;
    top: -25px;
}

.navMenu ul li {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    color: #fff;
    list-style: none;
    display: inline-block;
    width: 90px;
    font-size: 11px;
}

#mainTrain {
    position: relative;
    top: -50px;
}

.trailerContent {
    background-color: #5fae72;
    min-height: 52px;
    padding: 5px;
    border-radius: 4px;
    border: solid 3px #fff;
    padding-bottom: 17px;
}

.trailer img {
    width: 100%;
    height: auto;
    position: relative;
    top: -17px;
    padding-bottom: 16px;
}

.trailer a {
    color: #fff;
    text-decoration: none;
}

.trailer a:hover .trailerContent {
    opacity: 0.85;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

#mainTrain img {
    width: 90px;
}

#trailer1 { background-color: #77c7f0; }
#trailer2, #trailer8 { background-color: #f7ae10; }
#trailer3, #trailer9 { background-color: #ef78ae; }
#trailer4, #trailer10 { background-color: #cf3d6e; }
#trailer5, #trailer11 { background-color: #e1524d; }
#trailer6 { background-color: #a678ef; }
#trailer7 { background-color: #ef9f78; }

#left-corner, #right-corner {
    display: inline;
    position: absolute;
    top: -100px;
    z-index: -1;
    pointer-events: none;
}

#left-corner { left: -75px; }
#right-corner { right: -75px; }

/* =========================================================================
   MAIN CONTENT
   ========================================================================= */

.pageTitle {
    font-family: 'webfontregular';
    color: #cf3d6e;
    padding-left: 2%;
    z-index: 1;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

#contentContainer {
    display: block;
    overflow: hidden;
    background-color: #fff;
    height: inherit;
    padding: 40px 35px;
    margin-top: 40px;
    font-size: 16px;
    line-height: 1.8;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}

#contentContainer p {
    font-family: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #444;
}

#contentContainer li {
    font-family: 'Nunito', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin-bottom: 8px;
}

.sideImages img {
    width: 100%;
    margin-bottom: 25px;
    border-radius: 12px;
    border: 3px solid #cf3d6e;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.staffImage img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.staffImage img:hover {
    transform: scale(1.03);
}

.staffImage {
    margin-bottom: 25px;
    margin-top: 20px;
}

.staffImage p {
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
    color: #333;
}

/* Staff page */
.staff-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
}

.staff-section {
    margin-top: 40px;
}

.staff-section-title {
    font-family: 'webfontregular';
    color: #cf3d6e;
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e9;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
}

.staff-grid--management {
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto;
}

.staff-card {
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.staff-card__image {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.staff-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.staff-card__info {
    padding: 12px 8px;
}

.staff-card__name {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

.staff-card__role {
    font-size: 12px;
    color: #479e2b;
    margin: 4px 0 0;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

@media screen and (max-width: 1024px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .staff-grid--management {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .staff-grid--management {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footerToy {
    display: inline-block;
}

.footerToy img {
    width: 120px;
    height: auto;
}

#toyRight {
    text-align: right;
}

#footerTop {
    background-color: #a67e54;
    display: inline-block;
    height: 20px;
    border-bottom: solid 4px #997456;
    border-top: solid 4px #bc9a80;
    width: 100%;
}

#footerContent {
    background-color: #5d4037;
    display: inline-block;
    height: inherit;
    color: #fff;
    letter-spacing: 0.5px;
    padding: 30px 0;
    font-size: 14px;
    line-height: 1.8;
}

#footer1 ul {
    padding-left: 0;
}

#footer1 ul li {
    list-style: none;
    margin-bottom: 5px;
}

#footer1 ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

#footer1 ul li a:hover {
    color: #fcbc90;
}

#footerBottom {
    background-color: #a67e54;
    display: inline-block;
    height: 64px;
    border-top: solid 4px #bc9a80;
    color: #fcf8e3;
    letter-spacing: 0.5px;
    font-size: 13px;
    line-height: 64px;
}

#footerRight {
    text-align: right;
}

#footerRight a {
    color: #fcf8e3;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.7;
}

#footerRight a:hover {
    opacity: 1;
}

#trainContainerPortrait {
    display: none;
}

/* =========================================================================
   MOBILE MENU
   ========================================================================= */

#trainContainerPortrait {
    display: none;
}

#menuToggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #479e2b;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    margin: 15px auto;
    width: fit-content;
}

#menuToggle .menu-label {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
}

/* Overlay */
#menuOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

body.menu-open #menuOverlay {
    display: block;
}

/* Slide-in panel */
#mobileNav {
    position: fixed;
    top: 0;
    right: -90vw;
    width: 85vw;
    max-width: 400px;
    height: 100%;
    background-color: #fff;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

#mobileNav.open {
    right: 0;
}

#mobileNavHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 3px solid #479e2b;
    background-color: #f9f9f9;
}

.mobileNavTitle {
    font-family: 'webfontregular';
    font-size: 22px;
    color: #479e2b;
}

#menuClose {
    font-size: 32px;
    color: #cf3d6e;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

#mobileNav ul {
    list-style: none;
    padding: 15px 20px;
    padding-top: 35px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#mobileNav ul li {
    border-bottom: none;
    width: 100%;
    display: block;
}

#mobileNav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

#mobileNav ul li a:active {
    transform: scale(0.95);
    opacity: 0.85;
}

#mobileNav ul li a:active {
    transform: scale(0.95);
    opacity: 0.85;
}

#mobileNav ul li:nth-child(1) a { background-color: #77c7f0; }
#mobileNav ul li:nth-child(2) a { background-color: #f7ae10; }
#mobileNav ul li:nth-child(3) a { background-color: #ef78ae; }
#mobileNav ul li:nth-child(4) a { background-color: #cf3d6e; }
#mobileNav ul li:nth-child(5) a { background-color: #e1524d; }
#mobileNav ul li:nth-child(6) a { background-color: #a678ef; }
#mobileNav ul li:nth-child(7) a { background-color: #ef9f78; }
#mobileNav ul li:nth-child(8) a { background-color: #f7ae10; }
#mobileNav ul li:nth-child(9) a { background-color: #ef78ae; }
#mobileNav ul li:nth-child(10) a { background-color: #cf3d6e; }
#mobileNav ul li:nth-child(11) a { background-color: #e1524d; }

.mobileNavFooter {
    padding: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.mobileNavFooter p {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media screen and (max-width: 1024px) {
    #trainContainer {
        display: none;
    }

    #menuToggle {
        display: flex;
    }

    .mainTitle {
        font-size: 32px;
    }

    #trainContainerPortrait {
        display: block;
        z-index: 5;
        padding-left: 0;
        width: 100%;
    }

    .navMenu {
        height: auto;
    }

    #contentContainer {
        padding: 25px 20px;
        margin-top: 20px;
    }

    .sideImages {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 480px) {
    #topBunny1 img {
        width: 40%;
        height: auto;
    }

    #topBunny2 {
        display: none;
    }

    #left-corner, #right-corner {
        display: none;
    }

    .mainTitle {
        font-size: 26px;
    }

    .subTitle {
        font-size: 16px;
    }

    #phoneTop {
        font-size: 18px;
    }

    #contentContainer {
        padding: 20px 15px;
    }

    .pageTitle {
        font-size: 22px;
    }
}
