@font-face {
    font-family: 'NeueMontreal';
    src: url('../fonts/PPNeueMontreal-Regular.woff2') format('woff2'),
         url('../fonts/PPNeueMontreal-Regular.woff') format('woff'),
         url('../fonts/PPNeueMontreal-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'InstrumentSerif';
    src: url('../fonts/InstrumentSerif-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100svh;
}

@media (max-width: 380px) {
    .text-7xl {
        font-size: 3.5rem !important;
    }
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.common-container {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.common-container-thin {
    max-width: 800px;
}

.hero-with-image {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    width: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    .hero-with-image {
        background-image: url('../images/m_hero.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 80vh;
        width: 100%;
        position: relative;
    }
}

.bg-bees {
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.badge {
    background-color: #b06516;
    border-radius: 9999px;
    padding: 14px 16px;
    color: white;
}

.info-panels {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0.3rem
}

.panel {
    position: relative;
    color: white;
    background-color: #b06516;
    font-weight: 600;
    text-align: center;
    clip-path: polygon(17px 0%, calc(100% - 17px) 0%, 100% 50%, calc(100% - 17px) 100%, 17px 100%, 0% 50%);
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.panel-content {
    padding: 1rem 3rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .info-panels {
        padding: 1rem;
        gap: 0.3rem;
    }

    .panel {
        min-height: 50px;
        max-width: 95%;
        width: fit-content;
    }

    .panel-content {
        padding: 0.8rem 1.5rem;
        font-size: 14px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .panel {
        max-width: 100%;
        width: auto;
    }

    .panel-content {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        white-space: normal;
    }
}

#mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.show {
    opacity: 1;
    visibility: visible;
}

#mobile-menu .menu-content {
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

#mobile-menu.show .menu-content {
    transform: translateY(0);
    opacity: 1;
}

.menu-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.show .menu-item {
    opacity: 1;
    transform: translateX(0);
}

#mobile-menu.show .menu-item:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.show .menu-item:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.show .menu-item:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.show .menu-item:nth-child(4) { transition-delay: 0.4s; }

.menu-close-btn {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

#mobile-menu.show .menu-close-btn {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

.menu-contact {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.show .menu-contact {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.menu-logo {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.show .menu-logo {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.2s;
}

.menu-item {
    text-decoration: none;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#nav-logo {
    transition: opacity 0.3s ease;
}

#mobile-nav.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#mobile-nav.scrolled #menu-open-btn {
    border-color: #b06516;
    background: rgba(176, 101, 22, 0.1);
}

#mobile-nav.scrolled #menu-open-btn svg path {
    stroke: #b06516;
}

#desktop-nav {
    transition: all 0.3s ease;
}

#desktop-nav #desktop-nav-logo {
    transition: all 0.3s ease;
}

#desktop-nav #desktop-menu-items {
    transition: all 0.3s ease;
}

#desktop-nav .desktop-menu-item {
    transition: all 0.3s ease;
}

#desktop-nav #desktop-contact-btn {
    transition: all 0.3s ease;
}

#desktop-nav.scrolled {
    transition: all 0.3s ease;
}

#desktop-nav.scrolled #desktop-menu-items {
    background: white;
    color: #b06516;
    box-shadow: 0px 0px 25.1px 0px rgba(245, 233, 218, 0.5);
    border-radius: 99999px;
    padding: 0 0.5rem;
}

#desktop-nav.scrolled .desktop-menu-item {
    color: #b06516;
}

#desktop-nav.scrolled #desktop-nav-logo path {
    fill: #b06516;
}

#desktop-nav.scrolled .desktop-menu-item:hover {
    background-color: #f5e9da;
}

#desktop-nav.scrolled .desktop-menu-item.active {
    background-color: #f5e9da;
    color: #b06516;
}

#desktop-nav .desktop-menu-item.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

#desktop-nav.scrolled #desktop-contact-btn {
    border-color: #b06516;
    background: transparent;
    color: #b06516;
}

#desktop-nav.scrolled #desktop-contact-btn:hover {
    background: #b06516;
    color: white;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(176, 101, 22, 0.1);
    border-top: 3px solid #b06516;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.loader-bee {
    width: 31px;
    height: 18px;
    animation: float 2s ease-in-out infinite;
    z-index: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.scroll-indicator {
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}

/* Contact links */
a[href^="mailto:"], a[href^="tel:"] {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

a[href^="mailto:"]:hover, a[href^="tel:"]:hover {
    opacity: 0.8;
}

.text-primary.underline:hover {
    opacity: 0.8;
}

.text-white.underline:hover {
    opacity: 0.9;
}


