/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

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

/* Header Styles */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    font-weight: 300;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 220px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.search-toggle button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: var(--transition);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.search-toggle button:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.search-toggle button svg {
    width: 100%;
    height: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.search-overlay.active {
    display: flex;
}

.search-container {
    width: 90%;
    max-width: 700px;
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 20px 60px 20px 30px;
    font-size: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 0;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.search-container input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.close-search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-search:hover {
    transform: translateY(-50%) scale(1.2);
}

.search-results {
    margin-top: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin-bottom: 10px;
    border-left: 3px solid transparent;
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: white;
}

.search-result-item h3 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.search-result-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1920&q=80') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.featured-article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.featured-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.featured-article:hover .featured-article-image img {
    transform: scale(1.05);
}

.featured-article-content {
    padding: 20px 0;
}

.featured-article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-article-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.featured-article-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.read-more:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    text-decoration: none;
    color: inherit;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.category-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-content {
    padding: 30px;
}

.category-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    animation: fadeInUp 0.6s ease-out;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-image {
    transform: scale(1.1);
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-primary);
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 15px;
}

.article-read-more {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.article-read-more:hover {
    gap: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination button,
.pagination a {
    padding: 12px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination button:hover:not(:disabled),
.pagination a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Article Detail Page */
.article-detail {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    animation: fadeIn 0.8s ease-out;
}

.article-header {
    margin-bottom: 40px;
}

.article-header-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-header h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.2;
}

.article-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 50px;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.article-body h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.article-body p {
    margin-bottom: 20px;
}

.article-body img {
    width: 100%;
    height: auto;
    margin: 40px 0;
    border-radius: 4px;
}

.article-inline-image {
    margin: 40px 0;
    text-align: center;
}

.article-inline-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

/* Products Section */
.products-section {
    margin: 60px 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
}

.products-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

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

.product-card {
    background: var(--bg-white);
    padding: 25px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-brand {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.product-link:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
}

.social-icons a svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.search-toggle a,
.search-toggle button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    text-decoration: none;
    color: inherit;
}

.search-toggle a svg,
.search-toggle button svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.search-toggle a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* About & Contact Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}

.page-content {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.9;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.page-content h2 {
    font-size: 2.2rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.contact-form {
    max-width: 600px;
    margin: 40px auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .main-nav.active {
        max-height: 500px;
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-nav ul li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 10px 0 10px 20px;
        background: var(--bg-light);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .categories-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .featured-article-content h2 {
        font-size: 2rem;
    }
}

/* Search Page Styles */
.search-page-section {
    padding: 60px 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.search-page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.search-box-large {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--text-light);
    pointer-events: none;
}

.search-input-wrapper input {
    width: 100%;
    padding: 18px 50px 18px 60px;
    font-size: 1.1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    font-family: inherit;
}

.search-input-wrapper input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

.clear-btn:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

.search-filters {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-filters label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.search-filters select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-white);
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.search-filters select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(15, 52, 96, 0.1);
}

.search-stats {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: var(--bg-white);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.search-stats p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.popular-searches {
    text-align: center;
    padding: 40px 20px;
}

.popular-searches h3 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.tag:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.search-results-container {
    margin-top: 40px;
}

.search-results-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.search-category-group {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-category-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
}

.search-results-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.search-result-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.search-result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.search-result-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--border-color);
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.search-result-card:hover .search-result-image img {
    transform: scale(1.1);
}

.search-result-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-category-badge {
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.search-result-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-primary);
}

.search-result-content h3 mark {
    background: rgba(15, 52, 96, 0.2);
    color: var(--accent-color);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 700;
}

.search-result-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
    font-size: 0.9rem;
}

.search-result-excerpt mark {
    background: rgba(15, 52, 96, 0.15);
    color: var(--accent-color);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.search-result-footer {
    margin-top: auto;
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.search-result-card:hover .read-more-link {
    gap: 10px;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.no-results p {
    color: var(--text-light);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .search-box-large {
        padding: 25px;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filters label {
        margin-bottom: 8px;
    }
    
    .search-results-cards {
        grid-template-columns: 1fr;
    }
    
    .popular-tags {
        justify-content: flex-start;
    }
}


