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

:root {
    --primary-blue: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --primary-blue-dark: #1e40af;
    --accent-blue: #2563eb;
    --light-blue: #dbeafe;
    --lighter-blue: #eff6ff;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-2: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-3: linear-gradient(135deg, #93c5fd 0%, #60a5fa 100%);
    --gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent-blue);
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    text-decoration: none;
    letter-spacing: 2px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo a:hover {
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
    margin-top: 10px;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.1);
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: background 0.3s ease;
}

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

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    background: var(--lighter-blue);
    border: 2px solid var(--light-blue);
    color: var(--text-dark);
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border-radius: 30px;
    width: 280px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(30, 58, 138, 0.1);
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-blue);
    width: 350px;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.search-box input::placeholder {
    color: var(--text-gray);
}

.search-box .search-icon-wrapper {
    position: absolute;
    right: 50px;
    pointer-events: none;
    color: var(--text-gray);
}

.search-box input:focus ~ .search-icon-wrapper {
    color: var(--accent-blue);
}

.search-box .clear-search {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-gray);
    padding: 0.25rem;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.search-box .clear-search.visible {
    display: flex;
}

.search-box .clear-search:hover {
    color: var(--accent-blue);
}

.search-box .clear-search .icon {
    width: 16px;
    height: 16px;
}

.search-box button {
    background: var(--accent-blue);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.search-box button .icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.search-box button:active {
    transform: translateY(0);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--accent-blue);
    border-radius: 15px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(30, 58, 138, 0.15);
    z-index: 1000;
    display: none;
}

.search-suggestions.active {
    display: block;
}

.search-suggestions-section {
    padding: 0.5rem 0;
}

.search-suggestions-section-title {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--light-blue);
    margin-bottom: 0.5rem;
}

.search-suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-suggestion-item:hover {
    background: var(--lighter-blue);
}

.search-suggestion-item .icon {
    width: 18px;
    height: 18px;
    color: var(--text-gray);
}

.search-suggestion-item:hover .icon {
    color: var(--accent-blue);
}

.search-suggestion-item-text {
    flex: 1;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.search-suggestion-item-category {
    font-size: 0.8rem;
    color: var(--text-gray);
    padding: 0.25rem 0.5rem;
    background: var(--lighter-blue);
    border-radius: 12px;
}

.search-suggestions-empty {
    padding: 2rem 1rem;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.search-results-count {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--lighter-blue);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-align: center;
}

.search-results-count strong {
    color: var(--accent-blue);
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    text-decoration: none;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.social-icon:hover {
    transform: scale(1.2);
    color: var(--accent-blue);
}

.social-icon .icon {
    transition: fill 0.3s ease;
}

/* Hero Section */
.hero {
    background: var(--gradient-dark);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin: 4rem 0 3rem;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    width: 100%;
}

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

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: var(--lighter-blue);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-blue);
}

.category-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent);
    padding: 2rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-card:hover .category-overlay {
    transform: translateY(0);
}

.category-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.category-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Recommended Articles Section */
.recommended-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    position: relative;
    overflow: hidden;
}

.recommended-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.recommended-section .container {
    position: relative;
    z-index: 1;
}

.recommended-header {
    text-align: center;
    margin-bottom: 3rem;
}

.recommended-section .section-title {
    color: var(--white);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(251, 191, 36, 0.3);
    position: relative;
    display: inline-block;
    width: 100%;
    font-weight: 900;
    letter-spacing: 2px;
}

.recommended-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    text-align: center;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    letter-spacing: 1px;
}

.recommended-section .section-title::before {
    content: '⭐';
    display: inline-block;
    margin-right: 1rem;
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.recommended-section .section-title::after {
    content: '⭐';
    display: inline-block;
    margin-left: 1rem;
    font-size: 2.5rem;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.recommended-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid #fbbf24;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    animation: slideUp 0.6s ease-out;
}

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

.recommended-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d, #fbbf24, #f59e0b);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
    z-index: 2;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.recommended-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: #f59e0b;
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.6), 0 0 30px rgba(245, 158, 11, 0.4);
}

.recommended-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recommended-card:hover .recommended-image img {
    transform: scale(1.15);
}

.recommended-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% 100%;
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6), 0 0 15px rgba(245, 158, 11, 0.4);
    animation: badgeGlow 2s ease-in-out infinite;
    z-index: 3;
    letter-spacing: 1px;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6), 0 0 15px rgba(245, 158, 11, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 4px 30px rgba(245, 158, 11, 0.9), 0 0 25px rgba(245, 158, 11, 0.7);
        transform: scale(1.05);
    }
}

.recommended-content {
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 1) 100%);
}

.recommended-date {
    color: var(--accent-blue);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommended-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--primary-blue);
    line-height: 1.3;
    font-weight: 700;
    transition: color 0.3s ease;
}

.recommended-card:hover .recommended-title {
    color: var(--primary-blue-dark);
    text-shadow: 0 2px 5px rgba(30, 58, 138, 0.2);
}

.recommended-excerpt {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.recommended-read-more {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.recommended-read-more::after {
    content: '→';
    transition: transform 0.3s ease;
    display: inline-block;
}

.recommended-card:hover .recommended-read-more {
    color: var(--primary-blue-dark);
    gap: 1rem;
}

.recommended-card:hover .recommended-read-more::after {
    transform: translateX(5px);
}

/* Articles Section */
.articles-section {
    padding: 4rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid var(--light-blue);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.article-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-read-more {
    color: var(--accent-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.article-card:hover .article-read-more {
    gap: 1rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination button {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination button:hover:not(:disabled) {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white);
    transform: scale(1.1);
}

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

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

/* Article Detail Page */
.article-detail {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 20px;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 3px solid var(--accent-blue);
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.article-detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

.article-intro {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 2rem;
    border-left: 4px solid var(--accent-blue);
}

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

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-blue);
    margin: 2.5rem 0 1.5rem;
}

.article-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 2rem 0 1rem;
}

.article-body img {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
    border: 2px solid var(--accent-blue);
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

/* Product Recommendations */
.product-recommendations {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--accent-blue);
}

.product-recommendations h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-blue), transparent, var(--accent-blue));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 0 0.5rem 1rem;
}

.product-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.product-price {
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Product Page */
.products-page {
    padding: 4rem 0;
    background: var(--lighter-blue);
}

.products-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.product-page-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--accent-blue);
    padding: 15px;
    position: relative;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}

.product-card-rating-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.product-card-rating-count {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.product-page-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.product-page-card:hover {
    transform: translateY(-10px) rotate(1deg);
}

.product-page-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.product-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category Page */
.category-header {
    text-align: center;
    padding: 4rem 0 2rem;
    background: var(--gradient-dark);
}

.category-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--light-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--white);
    transform: scale(1.05);
}

/* About Page */
.about-page {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin: 3rem 0 1.5rem;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Contact Page */
.contact-page {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.contact-form {
    background: var(--lighter-blue);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid var(--accent-blue);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 5px;
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

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

.submit-btn {
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 1rem 3rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--accent-blue);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

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

.footer-section ul li a:hover {
    color: var(--light-blue);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--light-blue);
}

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

/* Product Detail Page */
.product-detail {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 20px;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--accent-blue);
    background: var(--lighter-blue);
    padding: 20px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
}

.product-detail-info {
    padding: 2rem 0;
}

.product-category-badge {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.product-detail-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-rating-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-blue);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    color: #fbbf24;
    fill: currentColor;
}

.star-icon[fill="none"] {
    color: #e5e7eb;
}

.star-small {
    width: 16px;
    height: 16px;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.rating-count {
    font-size: 1rem;
    color: var(--text-gray);
}

.product-detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.product-detail-price {
    font-size: 2.5rem;
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.product-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.buy-now-btn,
.read-article-btn {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid transparent;
}

.buy-now-btn {
    background: var(--accent-blue);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    background: var(--primary-blue-dark);
}

.read-article-btn {
    background: var(--white);
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.read-article-btn:hover {
    background: var(--lighter-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.buy-now-btn .icon,
.read-article-btn .icon {
    width: 20px;
    height: 20px;
}

/* Product Reviews Section */
.product-reviews-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--light-blue);
}

.reviews-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.product-reviews {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-review-item {
    background: var(--lighter-blue);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--light-blue);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-gray);
}

.review-rating {
    margin-bottom: 0.75rem;
}

.review-comment {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
    }
    
    .product-detail-name {
        font-size: 2rem;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-detail-title {
        font-size: 2.5rem;
    }

    .search-box input {
        width: 150px;
    }

    .search-box input:focus {
        width: 180px;
    }
}

