/* 
 * Andhra Ghumaghumalu - Main Stylesheet
 * Authentic Andhra Cuisine
 */

/* ========================================
   CORE RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   PRELOADER STYLES
======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgb(148, 103, 41);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

#preloader.slide-down {
    transform: translateY(100%);
}

.brand-title {
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin-bottom: 8vh;
    text-align: center;
    line-height: 0.9;
    color: #000000;
    animation: 
        entrance 1s ease-out forwards,
        hollowPulse 3s infinite ease-in-out 1s;
    transform-origin: center center;
    white-space: normal;
    max-width: 95vw;
}

@keyframes hollowPulse {
    0% { color: #000000; -webkit-text-stroke: 0px transparent; }
    50% { color: transparent; -webkit-text-stroke: 1px #000000; }
    100% { color: #000000; -webkit-text-stroke: 0px transparent; }
}

@keyframes entrance {
    0% { opacity: 0; transform: scale(0.95, 1.5); filter: blur(5px); }
    100% { opacity: 1; transform: scale(1, 2.2); filter: blur(0); }
}

.tagline-container {
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
    font-family: 'Manrope', sans-serif;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.tagline {
    color: #000000;
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    text-align: center;
}

.tagline.visible { opacity: 0.9; transform: translateY(0); }

.loader-dots { display: flex; gap: 10px; margin-bottom: 10vh; }

.dot {
    width: 8px;
    height: 8px;
    background-color: #000000;
    border-radius: 50%;
    opacity: 0.6;
    animation: bounce 1.4s infinite ease-in-out both;
}

.dot:nth-child(1) { animation-delay: -0.32s; }
.dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

.footer-connection {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    font-family: 'Manrope', sans-serif;
    color: #1a1a1a;
    padding: 0 20px;
}

.est-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    opacity: 0.6;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    display: inline-block;
    padding-bottom: 4px;
}

.connection-text {
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    font-weight: 300;
    font-style: italic;
    min-height: 1.5em;
    transition: opacity 0.8s ease;
}

/* ========================================
   ANNOUNCEMENT BAR
======================================== */
.announcement-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.announcement-bar span {
    opacity: 0.9;
}

/* ========================================
   HEADER STYLES
======================================== */
.site-header {
    background: #ffffff;
    padding: 5px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    width: 100px;
    height: 70px;
    object-fit: contain;
}

.header-brand-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-icon {
    font-size: 1.4rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
}

.header-icon:hover {
    color: #946729;
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* ========================================
   NAVIGATION
======================================== */
.main-nav {
    background: #fff;
    padding: 12px 20px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-top: 5px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
}

.nav-links a {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #946729;
    border-bottom-color: #946729;
}

/* ========================================
   INFO BAR
======================================== */
.info-bar {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ========================================
   HERO SECTION WITH SLIDER
======================================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-banner-img.mobile-banner {
    display: none;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #fff;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: #fff;
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Manrope', sans-serif;
    color: #888;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ========================================
   CATEGORIES SECTION
======================================== */
.categories-section {
    padding: 60px 20px 80px;
    background: #ffffff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.category-box:hover {
    transform: translateY(-5px);
}

.category-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
    background-color: #f5f5f5;
}

.category-box:hover .category-image-wrapper {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.category-box:hover img {
    transform: scale(1.05);
}

.category-info {
    text-align: center;
}

.category-name {
    font-family: 'Manrope', sans-serif;
    color: #1a1a1a;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.category-name::after {
    content: '→';
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.category-box:hover .category-name {
    color: #946729;
}

.category-box:hover .category-name::after {
    transform: translateX(4px);
}

/* ========================================
   NEW YEAR SPECIAL CARD - Gradient Overlay
======================================== */
.ny-special-wrapper {
    position: relative;
    overflow: hidden;
}

.ny-special-wrapper img {
    position: relative;
    z-index: 1;
    object-fit: cover !important;
}

.ny-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    pointer-events: none;
    z-index: 10;
}

.ny-offer-text {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    animation: pulse-glow 2s ease-in-out infinite;
    display: block;
    position: relative;
    z-index: 11;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 215, 0, 0.4);
    }
    50% {
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.7);
    }
}

/* Hover effect for NY Special card */
.ny-special-box:hover .ny-gradient-overlay {
    height: 55%;
}

.ny-special-box:hover .ny-offer-text {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Responsive - Mobile adjustments for NY text */
@media (max-width: 768px) {
    .ny-offer-text {
        font-size: 0.75rem !important;
        letter-spacing: 1px !important;
        padding: 0 5px;
    }
    
    .ny-gradient-overlay {
        height: 45% !important;
        padding-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .ny-offer-text {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }
    
    .ny-gradient-overlay {
        height: 40% !important;
        padding-bottom: 10px !important;
    }
}

/* ========================================
   BLOG SECTION (TEXT ONLY)
======================================== */
.blog-section {
    padding: 100px 20px;
    background: #f9f4ef;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.blog-content {
    padding: 0;
}

.blog-date {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: #946729;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-excerpt {
    font-family: 'Manrope', sans-serif;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    color: #946729;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 15px;
}

.blog-link::after {
    content: '→';
}

/* ========================================
   ITEMS GRID (CATEGORY PAGE) - Modern Minimal Design
======================================== */
.items-section {
    padding: 40px 20px 60px;
    background: #f8f8f8;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Modern Minimal Card Design - Pure White & Black */
.item-card {
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
}

.item-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Square Image Container - Flexible for uploaded images */
.item-image-wrapper {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.item-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.item-card:hover .item-image-wrapper img {
    transform: scale(1.02);
}

.item-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    font-size: 3rem;
    opacity: 0.3;
    color: #000;
    background: #f5f5f5;
}

/* Veg/Non-Veg Indicator */
.item-veg-indicator {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.item-veg-indicator.veg {
    border-color: #22c55e;
}

.item-veg-indicator.veg::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.item-veg-indicator.nonveg {
    border-color: #b91c1c;
}

.item-veg-indicator.nonveg::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #b91c1c;
}

/* Card Content */
.item-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* No description - compact layout */
.item-content.no-description {
    padding: 15px;
}

.item-content.no-description .item-title {
    margin-bottom: 0;
}

.item-content.no-description .item-tags {
    margin-top: 10px;
    padding-top: 0;
    border-top: none;
}

.item-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: #000000;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.item-description {
    font-family: 'Manrope', sans-serif;
    color: #000000;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    opacity: 0.7;
}

.item-see-more {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    color: #000000;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 15px;
    display: inline-block;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.item-see-more:hover {
    opacity: 1;
}

/* Tags at Bottom */
.item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.item-tag {
    font-family: 'Manrope', sans-serif;
    font-size: 0.7rem;
    color: #000000;
    padding: 4px 10px;
    border: 1px solid rgba(0,0,0,0.2);
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Price and Add Button */
.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.item-price {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
}

.item-add-btn {
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    border: none;
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.item-add-btn:hover {
    background: #333333;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    color: #000000;
    margin-bottom: 10px;
    font-weight: 700;
}

.empty-text {
    font-family: 'Manrope', sans-serif;
    color: #000000;
    opacity: 0.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.empty-btn {
    display: inline-block;
    padding: 14px 35px;
    background: #000000;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.empty-btn:hover {
    background: #333333;
}

/* ========================================
   PAGE HERO / BANNER (Compact)
======================================== */
.page-hero {
    background: linear-gradient(135deg, #946729 0%, #7a5521 100%);
    padding: 30px 20px;
    text-align: center;
}

.page-hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.page-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.breadcrumb {
    font-family: 'Manrope', sans-serif;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    margin-top: 10px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: #1a1a1a;
    padding: 60px 20px;
    text-align: center;
}

.footer-brand {
    font-size: 2rem;
    color: #946729;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-text {
    font-family: 'Manrope', sans-serif;
    color: #888;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile Header */
    .site-header {
        padding: 12px 15px;
    }
    
    .header-left {
        flex: 1;
        justify-content: center;
    }
    
    .header-logo {
        width: 45px;
        height: 45px;
    }
    
    .header-brand-name {
        font-size: 1.1rem;
    }
    
    .header-right {
        position: absolute;
        right: 15px;
        gap: 15px;
    }
    
    .header-right .header-icon:not(:last-child) {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
        position: absolute;
        left: 15px;
    }
    
    /* Mobile Nav */
    .main-nav {
        padding: 10px 15px;
    }
    
    .nav-links {
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    
    .nav-links a {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    
    /* Mobile Banner */
    .hero-banner-img.desktop-banner {
        display: none;
    }
    
    .hero-banner-img.mobile-banner {
        display: block;
        border-radius: 8px;
    }
    
    .hero-section {
        padding: 10px;
    }
    
    .hero-slide {
        border-radius: 8px;
        overflow: hidden;
    }
    
    .slider-arrows {
        display: none;
    }
    
    .slider-controls {
        bottom: 15px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    
    /* Info bar mobile */
    .info-bar {
        font-size: 0.65rem;
        padding: 10px 15px;
        letter-spacing: 0.5px;
    }
    
    .announcement-bar {
        font-size: 0.7rem;
        padding: 8px 15px;
    }
    
    /* Items Grid Mobile - 2 COLUMNS */
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .item-content {
        padding: 12px;
    }
    
    .item-title {
        font-size: 0.85rem;
    }
    
    .item-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 6px;
    }
    
    .item-see-more {
        font-size: 0.65rem;
        margin-bottom: 10px;
    }
    
    .item-tags {
        padding-top: 10px;
        gap: 5px;
    }
    
    .item-tag {
        font-size: 0.6rem;
        padding: 3px 7px;
    }
    
    .item-footer {
        padding: 12px;
    }
    
    .item-price {
        font-size: 0.9rem;
    }
    
    .item-add-btn {
        padding: 8px 14px;
        font-size: 0.65rem;
    }
    
    .item-veg-indicator {
        top: 8px;
        left: 8px;
        width: 14px;
        height: 14px;
    }
    
    .item-veg-indicator.veg::after {
        width: 6px;
        height: 6px;
    }
    
    .item-veg-indicator.nonveg::after {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-bottom: 6px solid #b91c1c;
    }
    
    /* Page Hero Mobile - Compact */
    .page-hero {
        padding: 20px 15px;
    }
    
    .page-hero-title {
        font-size: 1.3rem;
    }
    
    .page-hero-subtitle {
        font-size: 0.75rem;
    }
    
    .breadcrumb {
        font-size: 0.7rem;
        margin-top: 8px;
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-image-wrapper {
        border-radius: 0;
    }
    
    .category-name {
        font-size: 0.75rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
    }
    
    .blog-card {
        padding: 20px;
    }
}

/* ========================================
   ARC CATEGORY SLIDER - MOBILE ONLY
======================================== */
.arc-slider-section {
    display: none;
    width: 100%;
    padding: 30px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.arc-slider-title {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.8;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.arc-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.arc-slider-wrapper::before,
.arc-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 10;
    pointer-events: none;
}

.arc-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f8f8, transparent);
}

.arc-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f8f8, transparent);
}

.arc-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 20px;
    width: 100%;
    align-items: center;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.arc-slider-track::-webkit-scrollbar {
    display: none;
}

.arc-slider-track:active {
    cursor: grabbing;
}

.arc-category-item {
    flex: 0 0 90px;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    -webkit-user-drag: none;
    user-select: none;
}

.arc-image-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    border: 2.5px solid #1a1a1a;
    transition: transform 0.2s ease;
    background-color: #f5f5f5;
}

.arc-category-item:active .arc-image-wrapper {
    transform: scale(0.92);
}

.arc-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.arc-category-label {
    font-size: 0.7rem;
    color: rgba(26, 26, 26, 0.8);
    text-align: center;
    transition: color 0.3s ease, font-weight 0.3s ease;
    letter-spacing: 0.3px;
    font-family: 'Manrope', sans-serif;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .arc-slider-section.mobile-only {
        display: block;
    }
}

@media (max-width: 480px) {
    .arc-category-item {
        flex: 0 0 80px;
        width: 80px;
    }
    
    .arc-image-wrapper {
        width: 80px;
        height: 80px;
        border: 2px solid #1a1a1a;
        box-shadow: 0 5px 14px rgba(0,0,0,0.18);
    }
    
    .arc-slider-track {
        gap: 18px;
        padding: 12px 15px;
    }
    
    .arc-slider-title {
        font-size: 0.85rem;
    }
    
    .arc-category-label {
        font-size: 0.65rem;
    }
}
