/* Home Page Specific Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 80px;
    /* Offset for header */
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin: 1rem 0;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(94, 67, 243, 0.1);
    border: 1px solid rgba(94, 67, 243, 0.3);
    color: #a494ff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Search Box */
.search-container {
    width: 100%;
    margin-top: 2rem;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 4px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

.search-box svg {
    margin: 0 1rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 0.5rem;
    outline: none;
    width: 100%;
}

.search-box button {
    border-radius: 12px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .search-box {
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border-radius: 20px;
    }
    
    .search-box svg {
        display: none;
    }
    
    .search-box input {
        text-align: center;
        padding: 0.8rem;
    }
    
    .search-box button {
        width: 100%;
        padding: 1rem;
    }
}

.hero-visual {
    flex: 1;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0IiBoZWlnaHQ9IjQiPgo8cmVjdCB3aWR0aD0iNCIgaGVpZ2h0PSI0IiBmaWxsPSJ0cmFuc3BhcmVudCIvPgo8Y2lyY2xlIGN4PSIxIiBjeT0iMSIgcj0iMSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPgo8L3N2Zz4=');
    opacity: 0.5;
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.recent-posts {
    padding: 6rem 2rem;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.post-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--glass-border);
}

.c1 {
    background: linear-gradient(45deg, #111, #333);
}

.c2 {
    background: linear-gradient(45deg, #2a113a, #111);
}

.c3 {
    background: linear-gradient(45deg, #112a3a, #111);
}

.card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.read-more {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

.read-more:hover {
    opacity: 1;
    color: var(--accent);
}

/* Museum Link Header Special */
.museum-link {
    color: #d4af37 !important;
    /* Gold hint for museum */
}

.museum-link::after {
    background: #d4af37 !important;
}

/* Footer */
footer {
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    border-radius: 0;
    background: rgba(5, 5, 6, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-content .logo {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.socials {
    display: flex;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        gap: 2rem;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-visual {
        width: 100%;
        height: 300px;
        order: 1;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

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

    .recent-posts {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        height: 200px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}