@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

/* Фирменные цвета */
:root {
    --brand-dark-purple: #36265D;
    --brand-dark-teal: #1D6E76;
    --brand-teal: #45A99D;
    --brand-yellow: #F7C75E;
    --brand-white: #FFFFFF;
    --brand-black: #000000;
    
    /* Дополнительные оттенки для градиентов и состояний */
    --brand-dark-purple-light: #4a2f7a;
    --brand-dark-teal-light: #2a8a92;
    --brand-teal-light: #5bb8b0;
    --brand-yellow-light: #f9d16b;
    --brand-yellow-dark: #e6b84a;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--brand-white);
}

/* Скрываем блок ошибок Blazor сразу */
#blazor-error-ui {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Кастомная анимация спиннера */
@keyframes custom-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner-rotate {
    animation: custom-spin 1s linear infinite !important;
}

/* Remove default Blazor styles */
.page, .sidebar, .top-row, .content {
    display: none !important;
}

.main-layout {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.site-header {
    background: var(--brand-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--brand-dark-purple);
}

.logo img {
    height: 32px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--brand-dark-teal);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-teal);
}

/* Blazor NavLink active state */
.nav-link[aria-current="page"] {
    color: var(--brand-teal);
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--brand-dark-teal);
    color: var(--brand-dark-teal);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--brand-teal);
    color: var(--brand-white);
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Footer Styles */
.site-footer {
    background: var(--brand-dark-purple);
    color: var(--brand-white);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--brand-white);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--brand-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--brand-white);
}

.footer-bottom {
    border-top: 1px solid var(--brand-dark-teal);
    padding-top: 1rem;
    text-align: center;
    color: var(--brand-teal);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--brand-dark-purple) 0%, var(--brand-dark-teal) 100%);
    color: var(--brand-white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filters */
.filters {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--brand-dark-purple);
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid var(--brand-dark-teal);
    border-radius: 6px;
    background: var(--brand-white);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.empty-state h3 {
    color: var(--brand-dark-purple);
    margin-bottom: 1rem;
}

.empty-state p {
    color: var(--brand-dark-teal);
    margin-bottom: 2rem;
}

/* Support Page */
.support-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.support-section {
    background: var(--brand-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.support-section h2 {
    color: var(--brand-dark-purple);
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--brand-teal);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    color: var(--brand-dark-purple);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--brand-dark-teal);
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h3 {
    color: var(--brand-dark-purple);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--brand-dark-teal);
    font-size: 1.1rem;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: var(--brand-teal);
}

.btn-primary {
    color: var(--brand-white);
    background-color: var(--brand-dark-teal);
    border-color: var(--brand-dark-teal);
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid var(--brand-teal);
}

.invalid {
    outline: 1px solid var(--brand-yellow);
}

.validation-message {
    color: var(--brand-yellow);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none !important;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    visibility: hidden !important;
    opacity: 0 !important;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

/* Увеличиваем размер шрифта навигационного бренда */
.top-row .navbar-brand,
.navbar .navbar-brand,
a.navbar-brand {
    font-size: 1.875rem !important; /* Увеличиваем в 1.5 раза от стандартного 1.25rem */
    font-weight: bold !important;
    line-height: 1.2 !important;
}

/* Убираем выделение фокуса с заголовков */
h1:focus, h2:focus, h3:focus, h4:focus, h5:focus, h6:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Video is now shown on all devices */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(54, 38, 93, 0.8) 0%, rgba(29, 110, 118, 0.8) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--brand-white);
    max-width: 600px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

section h2 {
    font-size: 2.5rem;
    color: var(--brand-dark-purple);
    margin-bottom: 2rem;
    text-align: center;
}

/* Grids */
.templates-grid, .books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Book Template Card */
.book-template-card {
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bestseller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--brand-yellow);
    color: var(--brand-dark-purple);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-teal);
    color: var(--brand-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.book-info {
    padding: 1.5rem;
}

.book-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--brand-dark-purple);
    margin-bottom: 0.5rem;
}

.book-description {
    color: var(--brand-dark-teal);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.audience, .age-range {
    background: var(--brand-teal);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--brand-white);
}

.book-price {
    margin-bottom: 1rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--brand-dark-teal);
    margin-right: 0.5rem;
}

.discounted-price {
    color: var(--brand-yellow);
    font-weight: bold;
    font-size: 1.1rem;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--brand-dark-purple);
}

/* Book Card */
.book-card {
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.book-card .book-cover {
    height: 200px;
}

.book-card .book-info {
    padding: 1.5rem;
}

.book-author {
    color: var(--brand-dark-teal);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.book-pages {
    color: var(--brand-dark-teal);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--brand-dark-teal);
    color: var(--brand-white);
    border: none;
}

.btn-primary:hover {
    background: var(--brand-teal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 110, 118, 0.3);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Template Details */
.template-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.template-header {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.template-cover {
    position: relative;
    flex: 0 0 300px;
}

.template-cover img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.template-info {
    flex: 1;
}

.template-info h1 {
    font-size: 2.5rem;
    color: var(--brand-dark-purple);
    margin-bottom: 1rem;
}

.template-description {
    font-size: 1.1rem;
    color: var(--brand-dark-teal);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.template-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.template-price {
    margin-bottom: 2rem;
}

.template-gallery, .template-pages {
    margin-bottom: 3rem;
}

.template-gallery h2, .template-pages h2 {
    font-size: 2rem;
    color: var(--brand-dark-purple);
    margin-bottom: 1.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.page-preview {
    background: var(--brand-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.page-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-text {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--brand-dark-teal);
    line-height: 1.4;
}

.loading {
    text-align: center;
    padding: 4rem;
    font-size: 1.2rem;
    color: var(--brand-dark-teal);
}

/* Book Thumbnail Styles */
.book-thumbnail-square {
    aspect-ratio: 1;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-thumbnail-square:hover {
    transform: scale(1.05);
}

.book-thumbnail-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* Book Cover Square */
.book-cover-square {
    aspect-ratio: 1;
    max-width: 400px;
    width: 100%;
}

.book-cover-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Styles */
.faq-answer {
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 0;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .support-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .templates-grid, .books-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
    
    .template-header {
        flex-direction: column;
        gap: 2rem;
    }
    
    .template-cover {
        flex: none;
    }
    
    .template-info h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .pages-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        z-index: 50;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .mobile-menu-item {
        display: block;
        padding: 0.75rem 1.5rem;
        color: #374151;
        text-decoration: none;
        border-bottom: 1px solid #f3f4f6;
        transition: background-color 0.2s ease;
    }
    
    .mobile-menu-item:hover {
        background-color: #f9fafb;
        color: #7c3aed;
    }
    
    .mobile-menu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-auth-section {
        border-top: 1px solid #e5e7eb;
        padding-top: 1rem;
        margin-top: 1rem;
    }
    
    .mobile-user-info {
        padding: 0.75rem 1.5rem;
        color: #6b7280;
        font-size: 0.875rem;
        border-bottom: 1px solid #f3f4f6;
    }
    
    .mobile-logout-btn {
        display: block;
        padding: 0.75rem 1.5rem;
        color: #374151;
        text-decoration: none;
        transition: background-color 0.2s ease;
    }
    
    .mobile-logout-btn:hover {
        background-color: #f9fafb;
        color: #7c3aed;
    }
    
    .mobile-login-section {
        padding: 1rem 1.5rem;
    }
    
    .mobile-login-btn {
        display: block;
        padding: 0.75rem 1.5rem;
        color: #374151;
        text-decoration: none;
        border-bottom: 1px solid #f3f4f6;
        transition: background-color 0.2s ease;
    }
    
    .mobile-login-btn:hover {
        background-color: #f9fafb;
        color: #7c3aed;
    }
    
    .mobile-register-btn {
        display: block;
        padding: 0.75rem 1.5rem;
        background-color: #7c3aed;
        color: white;
        text-decoration: none;
        text-align: center;
        border-radius: 0.375rem;
        margin-top: 0.5rem;
        transition: background-color 0.2s ease;
    }
    
    .mobile-register-btn:hover {
        background-color: #6d28d9;
        color: white;
    }
}

/* Hamburger Icon Animation */
.hamburger-icon {
    transition: transform 0.3s ease;
}

.hamburger-icon.open {
    transform: rotate(90deg);
}

/* Mobile Menu Overlay */
@media (max-width: 768px) {
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 40;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }
}
