/* ========================================
   HOME.CSS
   Styles for home page
======================================== */

/* ----------------------------------------
   HOME CONTENT
---------------------------------------- */
.home-content {
    padding: 50px;
}

/* ----------------------------------------
   WELCOME SECTION
---------------------------------------- */
.welcome-section {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(245, 245, 220, 0.6);
    border-radius: 15px;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

.welcome-title {
    color: #4a2c17;
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.welcome-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #5d3e2a;
    max-width: 800px;
    margin: 0 auto 30px;
}

.site-highlight {
    background: white;
    padding: 25px;
    border-radius: 12px;
    border-left: 5px solid #8B4513;
    margin-top: 30px;
    text-align: left;
}

.site-highlight h3 {
    color: #4a2c17;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.site-highlight ul {
    list-style: none;
    padding: 0;
}

.site-highlight li {
    color: #5d3e2a;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.site-highlight li::before {
    content: "🔍";
    position: absolute;
    left: 0;
    top: 0;
}

/* ----------------------------------------
   SECTION TITLES
---------------------------------------- */
.section-title {
    color: #4a2c17;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    margin: 15px auto;
    border-radius: 2px;
}

/* ----------------------------------------
   FEATURED ARTICLES SECTION
---------------------------------------- */
.featured-section {
    margin-bottom: 60px;
}

/* View all articles button */
.view-all-articles {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
    text-decoration: none;
    color: white;
}

/* ----------------------------------------
   NAVIGATION SECTION
---------------------------------------- */
.navigation-section {
    background: rgba(245, 245, 220, 0.4);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid rgba(139, 69, 19, 0.2);
}

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

.nav-card {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(139, 69, 19, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    transition: left 0.3s ease;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.nav-card:hover::before {
    left: 0;
}

.nav-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.nav-card h3 {
    color: #4a2c17;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.nav-card p {
    color: #5d3e2a;
    line-height: 1.6;
    font-size: 1rem;
}

.nav-arrow {
    margin-top: 20px;
    color: #8B4513;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ----------------------------------------
   RESPONSIVE DESIGN
---------------------------------------- */

/* Large tablets and medium screens */
@media (max-width: 1024px) {
    .home-content {
        padding: 40px;
    }
    
    .welcome-section {
        padding: 35px;
        margin-bottom: 50px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-text {
        font-size: 1.1rem;
    }
    
    .site-highlight {
        padding: 20px;
    }
    
    .site-highlight h3 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }
    
    .featured-section {
        margin-bottom: 50px;
    }
    
    .navigation-section {
        padding: 35px;
    }
    
    .navigation-grid {
        gap: 25px;
        margin-top: 25px;
    }
    
    .nav-card {
        padding: 30px;
    }
    
    .nav-icon {
        font-size: 2.5rem;
        margin-bottom: 18px;
    }
    
    .nav-card h3 {
        font-size: 1.4rem;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .home-content {
        padding: 30px;
    }

    .welcome-section {
        padding: 25px;
        margin-bottom: 40px;
    }

    .welcome-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .welcome-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    
    .site-highlight {
        padding: 18px;
        margin-top: 25px;
    }
    
    .site-highlight h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .site-highlight li {
        margin-bottom: 6px;
        padding-left: 22px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
        margin: 12px auto;
    }
    
    .featured-section {
        margin-bottom: 40px;
    }
    
    .view-all-articles {
        margin-top: 30px;
    }
    
    .btn-view-all {
        padding: 12px 25px;
        font-size: 0.95rem;
    }

    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .nav-card {
        padding: 25px;
    }
    
    .nav-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .nav-card h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .nav-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .nav-arrow {
        margin-top: 15px;
        font-size: 1.1rem;
    }

    .navigation-section {
        padding: 25px;
    }
}

/* Small tablets and large phones */
@media (max-width: 600px) {
    .home-content {
        padding: 20px;
    }
    
    .welcome-section {
        padding: 20px;
        margin-bottom: 35px;
        border-radius: 12px;
    }
    
    .welcome-title {
        font-size: 1.6rem;
        margin-bottom: 18px;
    }
    
    .welcome-text {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 25px;
    }
    
    .site-highlight {
        padding: 15px;
        margin-top: 20px;
        border-radius: 10px;
    }
    
    .site-highlight h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .site-highlight li {
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }
    
    .section-title::after {
        width: 50px;
        margin: 10px auto;
    }
    
    .featured-section {
        margin-bottom: 35px;
    }
    
    .view-all-articles {
        margin-top: 25px;
    }
    
    .btn-view-all {
        padding: 10px 20px;
        font-size: 0.9rem;
        border-radius: 20px;
    }
    
    .navigation-section {
        padding: 20px;
        border-radius: 12px;
    }
    
    .navigation-grid {
        gap: 18px;
        margin-top: 18px;
    }
    
    .nav-card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .nav-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .nav-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .nav-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .nav-arrow {
        margin-top: 12px;
        font-size: 1rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .home-content {
        padding: 16px;
    }
    
    .welcome-section {
        padding: 16px;
        margin-bottom: 30px;
    }
    
    .welcome-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .welcome-text {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 20px;
    }
    
    .site-highlight {
        padding: 12px;
        margin-top: 16px;
    }
    
    .site-highlight h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .site-highlight li {
        font-size: 0.85rem;
        margin-bottom: 4px;
        padding-left: 18px;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    
    .section-title::after {
        width: 40px;
        margin: 8px auto;
    }
    
    .featured-section {
        margin-bottom: 30px;
    }
    
    .view-all-articles {
        margin-top: 20px;
    }
    
    .btn-view-all {
        padding: 8px 18px;
        font-size: 0.85rem;
        border-radius: 18px;
    }
    
    .navigation-section {
        padding: 16px;
    }
    
    .navigation-grid {
        gap: 15px;
        margin-top: 15px;
    }
    
    .nav-card {
        padding: 16px;
    }
    
    .nav-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .nav-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .nav-card p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .nav-arrow {
        margin-top: 10px;
        font-size: 0.95rem;
    }
}