/* ===================================
   GreenNookGarden - Minimalist Style
   =================================== */

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

:root {
    --primary-color: #2d3436;
    --secondary-color: #6c757d;
    --accent-color: #74b9ff;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --text-color: #2d3436;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Header
   =================================== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.logo i {
    color: var(--accent-color);
    font-size: 28px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

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

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

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

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    animation: fadeIn 1s ease;
}

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

.hero-title {
    font-size: 56px;
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 300;
}

/* ===================================
   Search Section
   =================================== */
.search-section {
    padding: 60px 0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 15px 30px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.search-box:hover {
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(116, 185, 255, 0.1);
}

.search-box:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(116, 185, 255, 0.15);
}

.search-box i {
    color: var(--text-light);
    margin-right: 15px;
}

.search-icon-btn {
    transition: var(--transition);
}

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

.search-box input {
    border: none;
    background: none;
    width: 100%;
    font-size: 16px;
    outline: none;
    color: var(--text-color);
}

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

.advanced-search-btn {
    background: var(--accent-color);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 10px;
    flex-shrink: 0;
}

.advanced-search-btn:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

/* ===================================
   Categories
   =================================== */
.categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

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

.category-card {
    background: var(--bg-color);
    padding: 50px 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '→';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    font-size: 24px;
    color: var(--accent-color);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-color) 0%, #f0f8ff 100%);
}

.category-card:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.category-card:active {
    transform: translateY(-2px);
}

.category-card i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
    display: block;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

/* ===================================
   Articles Section
   =================================== */
.articles {
    padding: 80px 0;
}

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

.article-card {
    background: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
}

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

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

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

.article-content {
    padding: 30px;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.article-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-title a {
    color: var(--primary-color);
}

.article-title a:hover {
    color: var(--accent-color);
}

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

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.article-date i {
    margin-right: 5px;
}

/* ===================================
   Pagination
   =================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.pagination-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

/* ===================================
   Social Widget
   =================================== */
.social-widget {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

.social-widget h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 20px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

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

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ===================================
   Article Detail Page
   =================================== */
.article-detail {
    padding: 80px 0;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.article-detail-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.article-detail-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-light);
    font-size: 15px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-featured-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 40px;
}

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

.article-body h2 {
    font-size: 32px;
    font-weight: 400;
    margin: 40px 0 20px;
    color: var(--primary-color);
}

.article-body h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.article-body p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.article-body a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    background: rgba(116, 185, 255, 0.15);
    padding: 0 4px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.article-body a:hover,
.article-body a:focus {
    background: rgba(116, 185, 255, 0.3);
    color: #1a4b78;
}

.article-body ul, .article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-content-image {
    width: 100%;
    margin: 40px 0;
    border-radius: 8px;
    overflow: hidden;
}

.product-recommendation {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    margin: 40px 0;
    border: 1px solid var(--border-color);
}

.product-recommendation h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.product-item {
    background: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

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

.product-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-item p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

/* ===================================
   About & Contact Pages
   =================================== */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: var(--bg-light);
}

.page-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.content-section h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.content-section p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-light);
    transition: var(--transition);
}

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

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

.submit-btn {
    background: var(--accent-color);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-card i {
        font-size: 36px;
    }
    
    .category-card h3 {
        font-size: 14px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-detail-title {
        font-size: 32px;
    }
    
    .article-featured-image {
        height: 300px;
    }
    
    .article-body h2 {
        font-size: 24px;
    }
    
    .article-body h3 {
        font-size: 20px;
    }
    
    .article-body p,
    .article-body li {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}


