/* LeaderClimate - Custom Styles */

/* Hero carousel: responsive aspect ratio */
.hero-carousel-frame {
    aspect-ratio: 3.2 / 1;
}
@media (max-width: 640px) {
    .hero-carousel-frame {
        aspect-ratio: 16 / 9;
    }
}
@media (min-width: 641px) and (max-width: 1024px) {
    .hero-carousel-frame {
        aspect-ratio: 16 / 9;
    }
}

/* Mark GEO CAPS font - replace with actual font URL when available */
@font-face {
    font-family: 'Mark GEO CAPS';
    src: local('Mark GEO CAPS');
    font-weight: bold;
    font-style: normal;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #333437;
}

::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Glass card effect */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(220, 38, 38, 0.5);
}

/* ---------- Mobile Drawer ---------- */
.ls-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 60;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.ls-mobile-overlay--active {
    opacity: 1;
    visibility: visible;
}

.ls-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 82%;
    max-width: 340px;
    height: 100vh;
    height: 100dvh;
    background: #1a1a1c;
    z-index: 70;
    transition: right .35s cubic-bezier(.4, 0, .2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.ls-mobile-drawer--open {
    right: 0;
}

.ls-mobile-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #111113;
    border-bottom: 2px solid #2d6a2e;
    flex-shrink: 0;
}

.ls-mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, border-color .25s ease;
    flex-shrink: 0;
}
.ls-mobile-close:hover {
    background: #2d6a2e;
    border-color: #2d6a2e;
    color: #fff;
    transform: rotate(90deg);
}

.ls-mobile-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 0;
}

.ls-mobile-item {
    display: flex;
    align-items: center;
    padding: 15px 22px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: .01em;
    border-left: 3px solid transparent;
    position: relative;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.ls-mobile-item__icon {
    width: 20px;
    margin-right: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
    transition: color .2s ease;
}
.ls-mobile-item::after {
    content: '\203A';
    position: absolute;
    right: 22px;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.3);
    transition: right .22s ease, color .22s ease;
    font-weight: 300;
}
.ls-mobile-item:hover,
.ls-mobile-item:active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border-left-color: #2d6a2e;
}
.ls-mobile-item:hover .ls-mobile-item__icon {
    color: #2d6a2e;
}
.ls-mobile-item:hover::after {
    right: 18px;
    color: #2d6a2e;
}
.ls-mobile-item--accent {
    color: #8bc48c;
}
.ls-mobile-item--accent .ls-mobile-item__icon {
    color: #2d6a2e;
}

.ls-mobile-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 10px 20px;
}

.ls-mobile-contact {
    margin: 8px 16px 12px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}
.ls-mobile-contact__title {
    color: #2d6a2e;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 12px;
}
.ls-mobile-contact__item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.78);
    font-size: .88rem;
    font-weight: 500;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color .2s ease;
}
.ls-mobile-contact__item:last-child {
    margin-bottom: 0;
}
.ls-mobile-contact__item:not(.ls-mobile-contact__item--static):hover {
    color: #fff;
}
.ls-mobile-contact__icon {
    width: 16px;
    margin-right: 10px;
    color: #2d6a2e;
    text-align: center;
    flex-shrink: 0;
}

.ls-mobile-drawer__footer {
    padding: 14px 20px;
    background: #111113;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.ls-mobile-drawer__footer p {
    color: rgba(255, 255, 255, 0.35);
    font-size: .72rem;
    text-align: center;
    margin: 0;
}

/* Responsive tweaks */
@media (min-width: 414px) and (max-width: 767px) {
    .ls-mobile-drawer {
        max-width: 360px;
    }
    .ls-mobile-item {
        padding: 16px 24px;
        font-size: 1.02rem;
    }
}
@media (max-width: 413px) {
    .ls-mobile-drawer {
        width: 88%;
        max-width: 310px;
    }
    .ls-mobile-drawer__header {
        padding: 14px 16px;
    }
    .ls-mobile-close {
        width: 36px;
        height: 36px;
    }
    .ls-mobile-item {
        padding: 13px 18px;
        font-size: .95rem;
    }
    .ls-mobile-contact {
        margin: 8px 12px 10px;
        padding: 12px;
    }
}
@media (max-width: 359px) {
    .ls-mobile-drawer {
        width: 100%;
        max-width: none;
    }
    .ls-mobile-item {
        padding: 12px 16px;
        font-size: .92rem;
    }
}
@media (min-width: 1024px) {
    .ls-mobile-drawer,
    .ls-mobile-overlay {
        display: none !important;
    }
}
