/* Blog Page Styles */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main {
    padding: 2rem 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.blog-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.blog-meta span {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.blog-excerpt {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-content {
    font-size: 1.05rem;
    color: #333;
    padding: 2rem;
}

.blog-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.blog-content h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: #2c3e50;
    margin: 3rem 0 1.5rem 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.blog-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.blog-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    color: #34495e;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.blog-content h4 {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    color: #34495e;
    margin: 1.5rem 0 0.5rem 0;
    font-weight: 600;
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.blog-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.blog-content li {
    margin-bottom: 0.8rem;
    position: relative;
}

.blog-content li strong {
    color: #2c3e50;
}

.search-terms {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.search-terms li {
    font-weight: 500;
    color: #e74c3c;
}

.service-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.area-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.area-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.area-item h3,
.area-item h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
}

.area-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.location-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.location-item:hover::before {
    transform: scale(1);
}

.location-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.location-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.location-item p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0;
}

.guide-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.guide-item:hover {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.guide-item h4 {
    color: #2c3e50;
    margin: 0 0 0.8rem 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    line-height: 1.3;
}

.guide-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.cta-section p {
    margin: 0 0 2rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background: white;
    color: #667eea;
}

.btn--primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn--secondary:hover {
    background: white;
    color: #667eea;
}

/* Trending Products Section */
.trending-products-blog {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.trending-products-blog h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 2rem;
    border: none;
    padding: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.trending-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.trending-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.trending-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trending-item:hover img {
    transform: scale(1.05);
}

.trending-item h3 {
    color: #2c3e50;
    margin: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    line-height: 1.3;
}

.trending-item .price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 1rem 1rem;
}

.trending-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-products {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.featured-products h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.product-card h4 {
    color: #2c3e50;
    margin: 1rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    line-height: 1.3;
}

.product-card .price {
    color: #e74c3c;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 1rem 1rem;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.badge:nth-child(1) { background: #e74c3c; }
.badge:nth-child(2) { background: #f39c12; }
.badge:nth-child(3) { background: #27ae60; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main {
        padding: 1rem 0;
    }
    
    .blog-container {
        padding: 0.5rem;
    }
    
    .blog-header {
        margin-bottom: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .service-areas {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .guide-sections {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trending-products-blog {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 1.2rem 0.8rem;
    }
    
    .blog-content {
        padding: 1rem;
    }
    
    .blog-content .lead {
        padding: 1rem;
        font-size: 1.1rem;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .trending-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .area-item,
    .guide-item {
        padding: 1.2rem;
    }
    
    .trending-products-blog {
        padding: 1rem;
    }
    
    .featured-products {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 360px) {
    .blog-container {
        padding: 0.3rem;
    }
    
    .blog-content {
        padding: 0.8rem;
    }
    
    .area-item,
    .guide-item {
        padding: 1rem;
    }
    
    .trending-item h3,
    .product-card h4 {
        margin: 0.8rem;
    }
    
    .trending-item .price,
    .product-card .price {
        margin: 0 0.8rem 0.8rem;
    }
}