/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #eef2ff;
    min-height: 100vh;
}

p {
        text-align: justify;
        text-justify: inter-word;
      }
 h1, h2 {
        text-align: center;
        color:#667eea ;
      }
      
      h2 {
        color:#667eea ;
      }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}



/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #2a5298;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.breadcrumb-link:hover {
    background-color: rgba(42, 82, 152, 0.1);
    color: #1e3c72;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #666;
    font-size: 12px;
}

.breadcrumb-current {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-weight: 500;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
}

.breadcrumb-icon {
    font-size: 14px;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-overlay {
        display: block;
    }
    
    .nav-menu-container {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        width: 100%;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        justify-content: flex-start;
        border-radius: 8px;
        margin-bottom: 2px;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 8px;
        margin: 5px 0 10px 20px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
    
    .dropdown-header {
        padding: 10px 15px 5px;
        font-size: 11px;
    }
    
    .dropdown-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .nav-icon {
        font-size: 18px;
        min-width: 24px;
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 13px;
        padding: 4px 8px;
    }
    
    .logo a {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .main-navigation {
        width: 100%;
        left: -100%;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    .container {
        padding: 0 15px;
    }
}



/* Main Content Wrapper */
.main-content-wrapper {
    min-height: calc(100vh - 200px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Introduction */
.page-intro {
    text-align: center;
    padding: 3rem 0;
    color: #667eea;
    margin-bottom: 2rem;
}

.page-intro h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px #667eeac2;
}

.intro-text {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 ;

}

/* Category Header */
.category-header {
    text-align: center;
    padding: 2rem 0;
    color: #667eea;
    margin-bottom: 2rem;
}

.category-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px #667eeac2;
}

.category-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 ;
}

/* Layout Styles */
.main-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.content-left {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* Search Section */
.search-section {
    margin-bottom: 2rem;
}

.search-bar {
    display: flex;
    margin-bottom: 1rem;
    position: relative;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.search-bar:focus-within {
    border-color: #667eea;
}

#search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

#search-input::placeholder {
    color: #999;
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.4rem;
    color: #999;
    cursor: pointer;
    display: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.search-clear:hover {
    background-color: #f0f0f0;
    color: #666;
}


/* Text Arts Grid */
.text-arts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.text-art-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.text-art-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.art-display {
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.art-display:hover {
    background-color: #f8f9ff;
}

.art-display pre {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: pre;
    overflow: auto;
    text-align: left;
    margin: 0;
    color: #333;
    max-width: 100%;
}

/* Updated Art Actions - Bottom of card */
.art-actions {
    display: flex;
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
    margin-top: auto;
}

.share-art-btn,
.copy-art-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #667eea;
    font-weight: 500;
    font-size: 0.9rem;
}

.share-art-btn:hover {
    background-color: #667eea;
    color: white;
}

.copy-art-btn:hover {
    background-color: #4CAF50;
    color: white;
}

.copy-art-btn {
    border-left: 1px solid #eee;
}

/* Loading Indicator */
.loading-indicator {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-indicator p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* No More Content */
.no-more-content {
    text-align: center;
    padding: 2rem;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-more-content p {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.about-section h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #555;
}

.about-section ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.about-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Sidebar Styles */
.sidebar .categories,
.trending-arts,
.quick-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.sidebar h2,
.sidebar h3 {
    margin-bottom: 1rem;
    color: #667eea;
    font-weight: 600;
    text-align: center;
}

.sidebar h2 {
    font-size: 1.3rem;
}

.sidebar h3 {
    font-size: 1.1rem;
}

.sidebar .category-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar .category-btn {
    padding: 0.8rem 1rem;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.sidebar .category-btn:hover,
.sidebar .category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}



/* Quick Info */
.quick-info ul {
    list-style: none;
    margin: 0;
}

.quick-info li {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    padding-left: 1rem;
}

/* Footer */
footer {
    background: #667eea;
    color: white;
    padding: 3rem 0 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: white;
    line-height: 1.6;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Notification */
#notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: green;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* Animation for copied state */
.text-art-card.copied {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    animation: copied 0.6s ease;
}

.text-art-card.copied .art-display pre {
    color: white;
}

@keyframes copied {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Smooth fade-in animation for new cards */
.text-art-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .top-header-content {
        padding: 0 15px;
        font-size: 12px;
    }
    
    .site-title {
        font-size: 14px;
    }
    
    .bookmark-text {
        font-size: 11px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: white;
        transition: left 0.3s ease;
        z-index: 9999;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-navigation.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 80px 0 20px 0;
        width: 100%;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        padding: 15px 20px;
        justify-content: space-between;
        border-radius: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: #f8f9fa;
        border-radius: 0;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 400px;
    }
    
    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu a {
        padding: 8px 20px;
        font-size: 13px;
           background-color: #f8f9fa;
        border-radius: 5px;
    }
    
    .dropdown-menu a:hover {
       padding-left: 45px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .page-intro h1 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .category-header h1 {
        font-size: 2rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        order: 2;
    }
    
    .content-left {
        order: 1;
    }
    
    .text-arts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sidebar .category-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        flex: 100%;
        text-align: center;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-intro h1 {
        font-size: 1.8rem;
    }
    
    .category-header h1 {
        font-size: 1.8rem;
    }
    
    .text-arts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .art-display pre {
        font-size: 0.7rem;
    }
    
    .logo a {
        font-size: 18px;
    }
    
    .sidebar .category-buttons {
        grid-template-columns: 1fr;
    }
    
    .main-navigation {
        width: 100%;
        left: -100%;
    }
    
    .about-section,
    .sidebar .categories,
    .trending-arts,
    .quick-info {
        padding: 1.5rem;
    }
}



/* No results message */
.no-results-message {
    margin: 1rem 0;
}

.no-results-message div {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.no-results-message h3 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.no-results-message p {
    color: #666;
}

/* Mobile Scroll Optimization */
@media (max-width: 768px) {
    /* Ensure smooth scrolling on mobile */
    html {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Optimize touch targets */
    .text-art-card {
        touch-action: manipulation;
    }
    
    .art-display {
        touch-action: manipulation;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Prevent zoom on double tap */
    .art-actions button {
        touch-action: manipulation;
    }
    
    /* Mobile loading indicator positioning */
    .loading-indicator {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    /* Improve scroll performance */
    .text-arts-grid {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Mobile debug styles (development only) */
    #mobile-debug {
        font-family: monospace;
        white-space: nowrap;
    }
}

/* Additional mobile-specific optimizations */
@supports (-webkit-overflow-scrolling: touch) {
    .main-content-wrapper {
        -webkit-overflow-scrolling: touch;
    }
}

/* Scroll sentinel for intersection observer */
#scroll-sentinel {
    position: relative;
    bottom: 50px;
    width: 100%;
    height: 1px;
    background: transparent;
    pointer-events: none;
}








 

/* Main Header Styles */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-text {
    color: #333;
}

.logo-domain {
    color: #667eea;
    margin-left: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile menu toggle animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu-container {
    display: flex;
    align-items: center;
}

.mobile-header {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    color: #667eea;
}

.nav-icon {
    margin-right: 8px;
    font-size: 16px;
}

.nav-text {
    font-size: 14px;
}

.dropdown-arrow {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    min-width: 280px;
    max-width: 320px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-header {
    padding: 16px 20px 12px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 16px;
}

.dropdown-list {
    padding: 12px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(4px);
}

.dropdown-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.dropdown-item span:not(.dropdown-icon) {
    font-size: 14px;
    font-weight: 500;
}

.dropdown-item small {
    color: #666;
    font-size: 12px;
    margin-top: 2px;
    display: block;
}

/* Nav Overlay */
.nav-overlay {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-navigation.active {
        transform: translateX(0);
    }
    
    .nav-overlay {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: transparent;
        z-index: 1;
    }
    
    .nav-menu-container {
        background: white;
        width: 300px;
        height: 100vh;
        padding: 0;
        display: flex;
        flex-direction: column;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 2;
        position: relative;
    }
    
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
       
    }
    
    .mobile-logo {
        color: #333;
        font-size: 18px;
        font-weight: bold;
    }
    
    .mobile-close {
        background: none;
        border: none;
        color: #333;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-close:hover {
        background-color: #e9ecef;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px 0;
        overflow-y: auto;
        flex: 1;
    }
    
    .nav-item {
        margin: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 16px 24px;
        border-radius: 0;
        justify-content: flex-start;
        border-bottom: 1px solid #e0e0e0;
        color: #333;
    }
    
    .nav-link:hover {
        background-color: #f8f9fa;
        transform: none;
        padding-left: 32px;
        color: #667eea;
    }
    
    .nav-icon {
        margin-right: 12px;
        font-size: 18px;
        width: 24px;
    }
    
    .nav-text {
        font-size: 16px;
    }
    
    /* Mobile Dropdown Styles */
    .nav-dropdown {
        position: relative;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #fff;
        border-radius: 0;
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        border: none;
    }
    
    .nav-dropdown.mobile-active .dropdown-menu {
        max-height: 600px;
    }
    
    .dropdown-header {
        color: #666;
        font-size: 12px;
        padding: 12px 24px 8px;
        background: #e9ecef;
        margin: 0;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
        padding: 8px;
        gap: 2px;
    }
    
    .dropdown-list {
        padding: 8px;
    }
    
    .dropdown-item {
        padding: 12px 24px;
        margin-bottom: 2px;
        border-radius: 6px;
        color: #555;
    }
    
    .dropdown-item:hover {
        background-color: white;
        transform: none;
        color: #667eea;
    }
    
    .dropdown-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown.mobile-active .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-container {
        padding: 0 15px;
    }
    
    .nav-link {
        padding: 10px 12px;
    }
    
    .nav-text {
        font-size: 13px;
    }
    
    .dropdown-menu {
        min-width: 260px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .header-container {
        padding: 0 15px;
        height: 60px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .nav-menu-container {
        width: 280px;
    }
    
    .mobile-header {
        padding: 15px;
    }
    
    .mobile-logo {
        font-size: 16px;
    }
}



/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Focus states for accessibility */
.nav-link:focus,
.dropdown-item:focus,
.mobile-close:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}



.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }



.mini-art-card{
    overflow: scroll;
}

